/* =========================================================
   Space Traslados — Landing
   Identidad visual del brief
   ========================================================= */

:root {
  /* Colores */
  --verde-vibrante: #43B02A;   /* primario, CTAs, acentos */
  --verde-bosque:   #114B1E;   /* fondos oscuros: hero, CTA, footer */
  --verde-lima:     #7DDB6E;   /* acentos, detalles, hover */
  --gris-carbon:    #2C2C2C;   /* texto principal */
  --blanco:         #FFFFFF;
  --gris-claro:     #F5F7F5;   /* fondos de secciones alternas */

  /* Derivados */
  --verde-bosque-90: rgba(17, 75, 30, 0.90);
  --verde-bosque-70: rgba(17, 75, 30, 0.72);
  --sombra-sm: 0 2px 8px rgba(17, 75, 30, 0.08);
  --sombra-md: 0 10px 30px rgba(17, 75, 30, 0.12);
  --sombra-lg: 0 24px 60px rgba(17, 75, 30, 0.18);
  --radio: 16px;
  --radio-sm: 10px;
  --cont: 1180px;

  /* Tipografía */
  --font-titulo: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-cuerpo: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Iconos (Iconify) ---------- */
iconify-icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}

/* ---------- Accesibilidad: foco visible por teclado ---------- */
:focus-visible {
  outline: 3px solid var(--verde-vibrante);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 124px; }

body {
  font-family: var(--font-cuerpo);
  color: var(--gris-carbon);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Textura sutil global (grain) para romper la planitud digital */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .logo-text {
  font-family: var(--font-titulo);
  font-weight: 700;
  line-height: 1.12;
  color: var(--verde-bosque);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--cont);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Secciones ---------- */
section { padding-block: clamp(64px, 9vw, 116px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-vibrante);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--verde-vibrante);
  border-radius: 2px;
}

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
  color: #4a5a4d;
  text-wrap: pretty;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.alt-bg { background: var(--gris-claro); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn iconify-icon { font-size: 20px; flex: none; }

.btn-wa {
  background: var(--verde-vibrante);
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(67, 176, 42, 0.32);
}
.btn-wa:hover { background: #3a9c24; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(67, 176, 42, 0.42); }

.btn-light {
  background: var(--blanco);
  color: var(--verde-bosque);
}
.btn-light:hover { background: var(--verde-lima); color: var(--verde-bosque); transform: translateY(-2px); }

.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn:active { transform: translateY(1px) scale(0.985); }

/* =========================================================
   HEADER (sticky)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(17, 75, 30, 0.08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--sombra-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  padding-block: 6px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 100px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--verde-bosque);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--verde-vibrante);
  border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--verde-vibrante); }

/* Sección activa (scrollspy) */
.nav-links a.active { color: var(--verde-vibrante); }
.nav-links a.active::after { width: 100%; }

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(17, 75, 30, 0.15);
  border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--verde-bosque);
  border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(92dvh, 760px);
  display: flex;
  align-items: center;
  padding-block: 96px;
  color: var(--blanco);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(125% 95% at 12% 22%, rgba(8, 38, 17, 0.5), transparent 58%),
    linear-gradient(100deg, var(--verde-bosque) 8%, var(--verde-bosque-90) 38%, var(--verde-bosque-70) 62%, rgba(17,75,30,0.42) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(125, 219, 110, 0.16);
  border: 1px solid rgba(125, 219, 110, 0.5);
  color: var(--verde-lima);
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  line-height: 1.45;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-lima); box-shadow: 0 0 0 4px rgba(125,219,110,0.25); flex: none; }
.hero-badge strong { color: var(--blanco); font-weight: 800; letter-spacing: 0.02em; }

.hero h1 {
  color: var(--blanco);
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--verde-lima); }
.hero-logo { line-height: 0; margin-bottom: 8px; }
.hero-logo img {
  width: min(440px, 84%);
  height: auto;
  /* el logo es verde oscuro: lo pasamos a blanco para que contraste sobre el hero */
  filter: brightness(0) invert(1) drop-shadow(0 8px 22px rgba(0,0,0,0.5));
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(1.12rem, 1.85vw, 1.38rem);
  color: rgba(255,255,255,0.94);
  max-width: 600px;
  text-wrap: pretty;
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust iconify-icon { font-size: 19px; color: var(--verde-lima); flex: none; }

/* Animación de entrada del hero (stagger) */
.reveal-hero > * { opacity: 0; transform: translateY(18px); }
.reveal-hero.go > * { animation: heroIn .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal-hero.go > *:nth-child(1) { animation-delay: .05s; }
.reveal-hero.go > *:nth-child(2) { animation-delay: .15s; }
.reveal-hero.go > *:nth-child(3) { animation-delay: .25s; }
.reveal-hero.go > *:nth-child(4) { animation-delay: .35s; }
.reveal-hero.go > *:nth-child(5) { animation-delay: .45s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   EL VIAJE — scroll-scrubbing
   ========================================================= */
.scrolly { position: relative; background: var(--gris-carbon); padding-block: 0; }
.scrolly-track { position: relative; height: 320vh; }
.scrolly-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: grid; place-items: center;
}
.scrolly-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.scrolly-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Scrim sutil solo detrás del texto: el video se ve natural, sin lavar */
  background: radial-gradient(ellipse 95% 62% at 50% 50%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.18) 62%, transparent 100%);
}
.scrolly-captions { position: absolute; inset: 0; z-index: 2; }
.scrolly-cap {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -42%);
  width: min(90vw, 760px);
  margin: 0;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--blanco);
  text-shadow: 0 2px 26px rgba(0,0,0,0.72), 0 1px 4px rgba(0,0,0,0.55);
  text-wrap: balance;
  opacity: 0;
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.scrolly-cap.is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radio);
  padding: 30px 28px;
  min-height: 226px;
  color: var(--blanco);
  box-shadow: var(--sombra-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
/* Foto de fondo (cada card define su imagen con --card-bg) */
.card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
/* Velo verde para mantener el texto legible */
.card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(165deg, rgba(17,75,30,0.80) 0%, rgba(13,58,23,0.93) 100%);
  transition: background .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.card:hover::before { transform: scale(1.07); }
.card:hover::after { background: linear-gradient(165deg, rgba(17,75,30,0.66) 0%, rgba(13,58,23,0.88) 100%); }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: rgba(125, 219, 110, 0.16);
  border: 1px solid rgba(125, 219, 110, 0.40);
  border-radius: 14px;
  color: var(--verde-lima);
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.card:hover .card-icon { background: var(--verde-vibrante); color: var(--blanco); border-color: transparent; }
.card-icon iconify-icon { font-size: 28px; }
.card h3 { font-size: 1.24rem; margin-bottom: 8px; color: var(--blanco); }
.card p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; text-wrap: pretty; }

/* =========================================================
   POR QUÉ ELEGIR — banda con foto + features
   ========================================================= */
.why { background: var(--verde-bosque); color: var(--blanco); position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(125,219,110,0.16), transparent 70%);
}
.why .container { position: relative; z-index: 2; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.why-copy h2 { color: var(--blanco); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.why-copy .eyebrow { color: var(--verde-lima); }
.why-copy .eyebrow::before { background: var(--verde-lima); }
.why-copy > p { color: rgba(255,255,255,0.82); margin-top: 16px; font-size: 1.06rem; max-width: 460px; }

.why-features { margin-top: 32px; display: grid; gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-ic {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(125, 219, 110, 0.14);
  border: 1px solid rgba(125, 219, 110, 0.35);
  border-radius: 12px;
  color: var(--verde-lima);
}
.feature-ic iconify-icon { font-size: 23px; }
.feature h3 { color: var(--blanco); font-size: 1.12rem; margin-bottom: 3px; }
.feature p { color: rgba(255,255,255,0.74); font-size: 0.96rem; }

.why-media { position: relative; }
.why-media img {
  width: 100%; height: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra-lg);
}
.why-media .media-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--blanco);
  color: var(--verde-bosque);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--sombra-md);
  display: flex; align-items: center; gap: 10px;
}
.why-media .media-tag strong { color: var(--verde-vibrante); font-size: 1.3rem; }

/* =========================================================
   GALERÍA
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: row dense;
  gap: 16px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio);
  cursor: pointer;
  background: var(--gris-claro);
  box-shadow: var(--sombra-sm);
}
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(17,75,30,0.78), transparent 55%);
  color: var(--blanco);
  font-family: var(--font-titulo);
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery figure:hover figcaption { opacity: 1; }
.gallery .zoom-ic {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.92);
  color: var(--verde-bosque);
  border-radius: 50%;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery figure:hover .zoom-ic { opacity: 1; transform: scale(1); }
.gallery .zoom-ic iconify-icon { font-size: 18px; }

/* =========================================================
   TESTIMONIOS
   (sección fácil de ocultar: añadir hidden al <section>)
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--blanco);
  border: 1px solid rgba(17, 75, 30, 0.09);
  border-radius: var(--radio);
  padding: 30px 28px;
  box-shadow: var(--sombra-sm);
  display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: #F5B301; margin-bottom: 16px; }
.stars iconify-icon { font-size: 22px; }
.testi blockquote { font-size: 1.05rem; color: var(--gris-carbon); flex: 1; text-wrap: pretty; }
.testi-author { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde-bosque);
  color: var(--blanco);
  display: grid; place-items: center;
  font-family: var(--font-titulo); font-weight: 700;
}
.testi-author .name { font-family: var(--font-titulo); font-weight: 600; color: var(--verde-bosque); }
.testi-author .role { font-size: 0.86rem; color: #6b786d; }

/* =========================================================
   ZONAS
   ========================================================= */
.zonas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.zonas-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blanco);
  border: 1px solid rgba(17,75,30,0.12);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-titulo);
  font-weight: 600;
  color: var(--verde-bosque);
  box-shadow: var(--sombra-sm);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.chip iconify-icon { font-size: 17px; color: var(--verde-vibrante); }
.chip:hover { transform: translateY(-3px); border-color: var(--verde-vibrante); }
.chip.more { background: var(--verde-vibrante); color: var(--blanco); border-color: transparent; }
.chip.more iconify-icon { color: var(--blanco); }
.zonas-note { margin-top: 24px; color: #4a5a4d; }

.zonas-map {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-md);
  border: 1px solid rgba(17,75,30,0.1);
  min-height: 340px;
  position: relative;
}
.zonas-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(1.05); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { background: var(--verde-bosque); color: var(--blanco); text-align: center; position: relative; overflow: hidden; }
.cta-final::before, .cta-final::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(67,176,42,0.22), transparent 70%);
}
.cta-final::before { width: 420px; height: 420px; left: -140px; bottom: -180px; }
.cta-final::after { width: 360px; height: 360px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(125,219,110,0.16), transparent 70%); }
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { color: var(--blanco); font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-final p { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,0.85); font-size: 1.12rem; text-wrap: pretty; }
.cta-final .btn { margin-top: 34px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #0d3a17; color: rgba(255,255,255,0.8); padding-block: 64px 88px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand img { height: 90px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand .tagline {
  font-family: var(--font-titulo);
  font-weight: 600;
  color: var(--verde-lima);
  font-size: 1.1rem;
}
.footer-col h4 {
  font-family: var(--font-titulo);
  font-weight: 700;
  color: var(--blanco);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { display: inline-flex; align-items: center; gap: 10px; transition: color .2s ease; }
.footer-col a:hover { color: var(--verde-lima); }
.footer-col iconify-icon { font-size: 18px; color: var(--verde-vibrante); flex: none; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-credit a { color: rgba(255,255,255,0.78); font-weight: 600; transition: color .2s ease; }
.footer-credit a:hover { color: var(--verde-lima); }

/* =========================================================
   WHATSAPP FLOTANTE (mobile)
   ========================================================= */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-vibrante);
  color: var(--blanco);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(67,176,42,0.45);
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float iconify-icon { font-size: 40px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(67,176,42,0.45), 0 0 0 0 rgba(67,176,42,0.4); }
  50% { box-shadow: 0 10px 26px rgba(67,176,42,0.45), 0 0 0 12px rgba(67,176,42,0); }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(8, 28, 14, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--sombra-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--blanco);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav iconify-icon, .lightbox-close iconify-icon { font-size: 24px; }
.lightbox-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .reveal-hero > * { opacity: 1 !important; transform: none !important; }
  img.img-fade { opacity: 1 !important; }
  html { scroll-behavior: auto; }
  /* El scroll-scrubbing colapsa a una sección estática con los 3 textos apilados */
  .scrolly-track { height: auto; }
  .scrolly-stage { position: static; height: auto; min-height: 60vh; padding: 72px 0; }
  .scrolly-captions { position: static; display: grid; gap: 26px; padding: 0 24px; }
  .scrolly-cap { position: static; left: auto; top: auto; transform: none !important; opacity: 1 !important; margin-inline: auto; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--blanco);
  border: 1px solid rgba(17,75,30,0.10);
  border-radius: var(--radio-sm);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--verde-bosque);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary iconify-icon {
  font-size: 22px;
  color: var(--verde-vibrante);
  flex: none;
  transition: transform .3s ease;
}
.faq-item[open] summary iconify-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: #4a5a4d; text-wrap: pretty; }
.faq-item[open] { border-color: rgba(67,176,42,0.35); }

/* =========================================================
   CONTACTO / FORMULARIO
   ========================================================= */
.contacto-grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: clamp(32px,5vw,56px); align-items: center; }
.contacto-copy h2 { font-size: clamp(1.8rem,3.4vw,2.5rem); }
.contacto-copy > p { margin-top: 16px; color: #4a5a4d; font-size: 1.06rem; max-width: 440px; }
.contacto-list { margin-top: 26px; display: grid; gap: 14px; }
.contacto-list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-titulo); font-weight: 500; color: var(--verde-bosque); }
.contacto-list iconify-icon { font-size: 22px; color: var(--verde-vibrante); flex: none; }

.presupuesto-form {
  background: var(--blanco);
  border: 1px solid rgba(17,75,30,0.10);
  border-radius: var(--radio);
  box-shadow: var(--sombra-md);
  padding: clamp(24px,3vw,34px);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-titulo); font-weight: 600; font-size: 0.9rem; color: var(--verde-bosque); }
.field input, .field textarea {
  font-family: var(--font-cuerpo);
  font-size: 1rem;
  color: var(--gris-carbon);
  background: var(--gris-claro);
  border: 1px solid rgba(17,75,30,0.12);
  border-radius: var(--radio-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa89c; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--verde-vibrante);
  background: var(--blanco);
  box-shadow: 0 0 0 3px rgba(67,176,42,0.15);
}
.field textarea { resize: vertical; min-height: 84px; }
.presupuesto-form .btn { width: 100%; margin-top: 4px; white-space: normal; }
.presupuesto-form .form-note { text-align: center; font-size: 0.85rem; color: #6b786d; margin: 0; }

/* =========================================================
   BOTÓN VOLVER ARRIBA
   ========================================================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 94px;
  z-index: 89;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-bosque);
  color: var(--blanco);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--sombra-md);
  opacity: 0; transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--verde-vibrante); }
.to-top iconify-icon { font-size: 40px; }

/* =========================================================
   FADE-IN de imágenes al cargar
   ========================================================= */
img.img-fade { opacity: 0; transition: opacity .6s ease; }
img.img-fade.loaded { opacity: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .contacto-grid { grid-template-columns: minmax(0, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .why-media img { max-height: 380px; }
  .zonas-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Header / logo más compactos en mobile */
  html { scroll-padding-top: 92px; }
  .header-inner { min-height: 68px; }
  .brand img { height: 56px; }

  /* Menú mobile */
  .nav-links {
    position: fixed;
    top: 69px; left: 0; right: 0;   /* = alto del header mobile (68px + 1px borde): el menú queda pegado, sin hueco */
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--blanco);
    padding: 14px 24px 22px;
    box-shadow: var(--sombra-md);
    border-bottom: 1px solid rgba(17,75,30,0.08);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
                opacity .3s ease,
                visibility 0s linear .35s;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
                opacity .3s ease,
                visibility 0s;
  }
  .nav-links a { padding: 13px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(17,75,30,0.06); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery figure.tall { grid-row: span 1; }

  section { padding-block: 58px; }
  .hero { min-height: auto; padding-block: 72px; }
  .hero-bg { background-image: url('assets/van-aeropuerto-800.webp'); }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .hero-trust { gap: 12px; }
  .hero-badge { border-radius: 16px; }
  .container { padding-inline: 18px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   AJUSTES MOBILE — hero centrado + video del "viaje" en loop
   ========================================================= */
@media (max-width: 760px) {
  /* Hero: centrar el contenido en mobile */
  .hero-content { text-align: center; margin-inline: auto; }
  .hero-logo img { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* Sección del video: en mobile se reproduce en loop (el seek por scroll
     no es fiable en iOS), así que el track no necesita 320vh y el stage no
     se fija: es una pantalla con el video corriendo. */
  .scrolly-track { height: auto; }
  .scrolly-stage { position: relative; height: 78vh; height: 78dvh; }
}
