*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a1628;
  --ocean:   #1a3a5c;
  --orange:  #e85d20;
  --orange2: #ff7a3d;
  --sand:    #f5f0e8;
  --white:   #ffffff;
  --teal:    #00b4d8;
  --gray:    #8a9bb5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}

nav.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-logo .sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--orange2) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ───────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/2025-10-23 (2).webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}

#hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.35) 40%,
    rgba(10,22,40,0.7) 85%,
    rgba(10,22,40,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,180,216,0.45);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
}

.hero-title span { color: var(--orange); }

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(232,93,32,0.4);
}

.hero-cta:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,93,32,0.55);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0.6;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── STATS STRIP ────────────────────────────────── */
.stats-strip {
  background: var(--orange);
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}

/* ─── SECTION COMMON ─────────────────────────────── */
section { padding: 7rem 2.5rem; }

.section-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
}

.section-title span { color: var(--teal); }

.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 1.5rem 0;
  border-radius: 2px;
}

/* ─── QUIÉNES SOMOS ──────────────────────────────── */
#nosotros { background: var(--navy); }

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.25rem;
}

.about-text p strong {
  color: var(--white);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-image-wrap { position: relative; }

.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--orange);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.about-image-badge .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}

.about-image-badge .lbl {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ─── SERVICIOS ──────────────────────────────────── */
#servicios { background: #060f1e; }

.servicios-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  text-align: center;
}

.servicios-header .divider { margin: 1.5rem auto; }

.servicios-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--ocean);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s;
}

.card:hover .card-img { transform: scale(1.05); }

.card-img-wrap {
  overflow: hidden;
  position: relative;
}

.card-img-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
}

.card-body { padding: 1.75rem; }

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.85rem; }

/* ─── GALERÍA ────────────────────────────────────── */
#galeria {
  padding: 0;
  background: var(--navy);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 340px;
}

.galeria-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galeria-item:first-child { grid-row: 1 / 3; }

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.galeria-item:hover img { transform: scale(1.08); }

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria-item:hover .galeria-overlay { background: rgba(10,22,40,0.45); }

.galeria-icon {
  opacity: 0;
  font-size: 2rem;
  transition: opacity 0.3s;
}

.galeria-item:hover .galeria-icon { opacity: 1; }

.galeria-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 0 3rem;
  text-align: center;
}

.galeria-header .divider { margin: 1.5rem auto; }

/* ─── DÓNDE ESTAMOS ──────────────────────────────── */
#ubicacion {
  background: var(--navy);
  padding-bottom: 0;
}

.ubicacion-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.ubicacion-text .section-title { margin-bottom: 0; }

.ubicacion-info {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.25rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.info-val {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.ubicacion-map {
  width: 100%;
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.ubicacion-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: invert(90%) hue-rotate(180deg);
}

.ubicacion-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── CONTACTO CTA ───────────────────────────────── */
#contacto {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--navy) 60%);
  text-align: center;
  padding: 7rem 2.5rem;
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#contacto::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contacto-inner .section-title { margin-bottom: 1rem; }

.contacto-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-whatsapp:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, transform 0.2s;
}

.btn-instagram:hover { border-color: var(--white); transform: translateY(-2px); }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: #050d1a;
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.footer-logo .sub {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.footer-socials { display: flex; gap: 1.25rem; }

.footer-socials a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-socials a:hover { color: var(--orange); }

/* ─── WAVE DECORATION ────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg { display: block; }

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1100px) {
  .about-grid { gap: 3.5rem; }
  .servicios-grid { gap: 1.5rem; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; letter-spacing: 0.15em; }
  .nav-links.open .nav-cta { padding: 0.75rem 2.5rem; font-size: 0.9rem; }
  .hamburger { display: flex; z-index: 101; }
  nav { background: rgba(10, 22, 40, 0.92); backdrop-filter: blur(12px); }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap img { height: 380px; }
  .about-image-badge { left: 1rem; bottom: 1rem; }
  .about-image-wrap { padding-bottom: 0; }

  .servicios-grid { grid-template-columns: 1fr 1fr; }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }
  .galeria-item:first-child { grid-row: auto; }

  .ubicacion-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ubicacion-map { height: 300px; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-whatsapp, .btn-instagram { width: 100%; max-width: 300px; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* Mobile */
@media (max-width: 600px) {
  section { padding: 4.5rem 1.25rem; }
  nav { padding: 1rem 1.25rem; }

  .stats-strip { gap: 1.5rem; padding: 1rem 1.25rem; }
  .stat-num { font-size: 1.6rem; }

  .about-image-wrap img { height: 280px; }
  .about-features { grid-template-columns: 1fr; gap: 0.75rem; }

  .servicios-grid { grid-template-columns: 1fr; }
  .card-img { height: 260px; }

  .galeria-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .galeria-item { height: 240px; }
  .galeria-header { padding: 4.5rem 1.25rem 2rem; }

  .ubicacion-map { height: 260px; }
  .ubicacion-photo { height: 260px; }

  .hero-content { padding: 0 5%; width: 90%; max-width: 90%; }
  .hero-sub { font-size: 0.9rem; }
  .hero-badge { font-size: 0.6rem; }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2.2rem; }
  .stat-num { font-size: 1.4rem; }
}
