/* ============================================================
   TOKENS
============================================================ */
:root {
  --fh-navy: #00314F;
  --fh-blue: #07598C;
  --fh-mid-blue: #2184B5;
  --fh-cyan: #66CCFF;
  --fh-white: #FFFFFF;
  --fh-light: #F5FAFD;
  --fh-text: #10212E;
  --fh-success: #2A9D8F;

  --fh-navy-rgb: 0, 49, 79;
  --fh-cyan-rgb: 102, 204, 255;

  --fh-deep: #001B2E;
  --fh-muted-onlight: #4C6478;
  --fh-muted-ondark: #AFD3EA;

  --font-display: "League Spartan", "Slenco Black", sans-serif;
  --font-body: "Manrope", "Gilroy", sans-serif;

  --container-w: 1240px;
  --container-narrow: 820px;
  --measure: 68ch;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --space-scene: clamp(4.5rem, 9vw, 8.5rem);

  /* Curvas propias — las de sistema son demasiado débiles */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --sticky-bar-h: 64px;
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fh-navy);
  color: var(--fh-white);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  line-height: 1.06;
}
h1 { font-size: clamp(2.4rem, 5.3vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }

p { margin: 0 0 1em; max-width: var(--measure); }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--fh-white); color: var(--fh-navy);
  padding: 0.75em 1.25em; z-index: 1300;
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--container-narrow); }

.scene { padding: var(--space-scene) 0; position: relative; }
.scene--light { background: var(--fh-light); color: var(--fh-text); }
.scene--light h2 { color: var(--fh-navy); }
.scene--navy { background: var(--fh-navy); color: var(--fh-white); }
.scene--deep { background: var(--fh-deep); color: var(--fh-white); }

/* Transición suave entre escenas claras/oscuras — evita el corte duro */
.scene::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 90px;
  pointer-events: none; z-index: -1;
}
.scene--light::before { background: linear-gradient(to bottom, rgba(245, 250, 253, 0) 0%, var(--fh-light) 100%); }
.scene--navy::before { background: linear-gradient(to bottom, rgba(0, 49, 79, 0) 0%, var(--fh-navy) 100%); }
.scene--deep::before { background: linear-gradient(to bottom, rgba(0, 27, 46, 0) 0%, var(--fh-deep) 100%); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fh-cyan);
  margin-bottom: 1.1rem;
}

.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); opacity: 0.85; max-width: 56ch; }

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border: none;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 999px;
  min-height: 48px;
  padding: 1rem 2.15rem;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid var(--fh-cyan); outline-offset: 3px; }

.btn--cta {
  position: relative;
  overflow: hidden;
  color: var(--fh-navy);
  background: linear-gradient(135deg, var(--fh-cyan), var(--fh-white));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 32px -8px rgba(var(--fh-cyan-rgb), 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
}
.btn--cta:hover { box-shadow: 0 18px 40px -8px rgba(var(--fh-cyan-rgb), 0.55), 0 2px 6px rgba(0, 0, 0, 0.18); }

.btn--ghost {
  color: var(--fh-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--sm { min-height: 44px; padding: 0.65rem 1.4rem; font-size: 0.9rem; }
.btn--wrap { display: inline-flex; flex-direction: column; align-items: center; }

.micro-text { font-size: 0.85rem; opacity: 0.72; margin-top: 0.9rem; }

/* ============================================================
   ESCENA 1 — HERO CINEMATOGRÁFICO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--fh-navy);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg picture, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 22%;
  animation: heroKenBurns 20s var(--ease-in-out) infinite alternate;
}
@media (max-width: 859px) {
  .hero__bg picture, .hero__bg img { object-position: 50% 18%; }
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 27, 46, 0.94) 0%, rgba(0, 27, 46, 0.72) 38%, rgba(0, 27, 46, 0.22) 62%, rgba(0, 27, 46, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 27, 46, 0.55) 0%, rgba(0, 27, 46, 0) 30%);
}
@media (max-width: 859px) {
  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(0,27,46,0.97) 0%, rgba(0,27,46,0.86) 38%, rgba(0,27,46,0.35) 70%, rgba(0,27,46,0.15) 100%);
  }
}

.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: 0.05; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 64px 64px; }

.hero__route { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; }
.hero__route-path { stroke: var(--fh-cyan); stroke-width: 1.5; fill: none; opacity: 0.6; animation: routeGlide 26s linear infinite; }
@keyframes routeGlide { to { stroke-dashoffset: -400; } }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: calc(var(--topbar-h) + 2rem) 1.5rem 3.5rem;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__title {
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  margin-bottom: 0.65em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; }

.hero__support {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 600;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  opacity: 0.92;
  max-width: 52ch;
}
.hero__promise {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  opacity: 0.8;
  max-width: 54ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  align-items: center;
  font-weight: 700;
  color: var(--fh-cyan);
  margin: 1.4rem 0 1.9rem;
  font-size: 0.98rem;
}
.hero__meta .sep { opacity: 0.5; color: var(--fh-white); }

.hero__countdown {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.hero__countdown[hidden] { display: none; }
.cd-unit {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.6rem 0.75rem;
  min-width: 62px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.cd-unit__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.cd-unit__label { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; margin-top: 0.1rem; }
.hero__cd-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.75; margin-bottom: 0.5rem; }

.hero__state-msg {
  display: inline-block;
  font-weight: 800;
  color: var(--fh-navy);
  background: var(--fh-cyan);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
}
.hero__state-msg[hidden] { display: none; }

.hero__scrollcue {
  position: absolute;
  left: 1.5rem;
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--fh-muted-ondark);
  font-weight: 600;
}
.hero__scrollcue svg { animation: scrollBob 1.8s var(--ease-in-out) infinite; }
@keyframes scrollBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 640px) { .hero__scrollcue { display: none; } }

/* Entrada secuencial del hero — un único momento autoral */
.hero__title .line span {
  opacity: 0; transform: translateY(100%);
  animation: lineIn 640ms var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) span { animation-delay: 150ms; }
.hero__title .line:nth-child(2) span { animation-delay: 260ms; }
.hero__title .line:nth-child(3) span { animation-delay: 370ms; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }

.hero__eyebrow, .hero__support, .hero__promise, .hero__meta, .hero__countdown, .hero__state-msg, .hero__cta-block {
  opacity: 0; transform: translateY(14px);
  animation: heroFadeUp 600ms var(--ease-out) forwards;
}
.hero__eyebrow { animation-delay: 60ms; }
.hero__support { animation-delay: 480ms; }
.hero__promise { animation-delay: 560ms; }
.hero__meta { animation-delay: 640ms; }
.hero__countdown, .hero__state-msg { animation-delay: 640ms; }
.hero__cta-block { animation-delay: 740ms; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   ESCENA 2 — EL PROBLEMA Y SU COSTO
============================================================ */
.problem { overflow: hidden; }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .problem__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; } }

.problem__title { max-width: 18ch; }
.problem__text { font-size: 1.08rem; opacity: 0.88; }

.problem__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
@media (min-width: 900px) { .problem__list { margin-top: 0.5rem; } }
.problem__list li {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  color: var(--fh-muted-ondark);
  opacity: 0;
  transform: translateX(var(--scatter, -18px)) rotate(var(--rot, -1deg));
  transition: opacity 550ms var(--ease-out), transform 650ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out);
  transition-delay: var(--stagger, 0s);
}
.problem__list li.is-aligned {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
  color: var(--fh-white);
  border-color: var(--fh-cyan);
}

.problem__close {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  max-width: 22ch;
  text-transform: uppercase;
  color: var(--fh-cyan);
}

/* ============================================================
   ESCENA 3 — IDENTIFICACIÓN POR ETAPA
============================================================ */
.stages h2 { max-width: 22ch; }
.stages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2.75rem 0 2.25rem;
}
@media (min-width: 720px) { .stages__grid { grid-template-columns: repeat(2, 1fr); } }

.stage-card {
  position: relative;
  background: var(--fh-white);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  box-shadow: 0 1px 2px rgba(var(--fh-navy-rgb), 0.06), 0 20px 40px -18px rgba(var(--fh-navy-rgb), 0.22);
  border: 1px solid rgba(var(--fh-navy-rgb), 0.06);
  transform-style: preserve-3d;
  transition: box-shadow 220ms var(--ease-out);
  overflow: hidden;
}
.stage-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 30%, rgba(var(--fh-cyan-rgb), 0.55), transparent 70%);
  background-size: 220% 220%;
  background-position: 0% 0%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 300ms var(--ease-out), background-position 900ms var(--ease-out);
  pointer-events: none;
}
.stage-card:hover::before, .stage-card:focus-within::before { opacity: 1; background-position: 100% 100%; }
.stage-card:hover { box-shadow: 0 1px 2px rgba(var(--fh-navy-rgb), 0.08), 0 26px 50px -18px rgba(var(--fh-navy-rgb), 0.3); }

.stage-card__num { font-family: var(--font-display); font-weight: 800; color: rgba(var(--fh-navy-rgb), 0.14); font-size: 2.4rem; line-height: 1; margin-bottom: 0.5rem; }
.stage-card h3 { color: var(--fh-navy); font-size: 1.12rem; margin-bottom: 0.55rem; }
.stage-card p { color: var(--fh-text); opacity: 0.82; margin: 0; font-size: 0.98rem; }

.stages__note { font-weight: 700; color: var(--fh-navy); max-width: 46ch; font-size: 1.05rem; }
.stages__cta { margin-top: 2.25rem; }

/* ============================================================
   ESCENA 4 — RUTA DE TRES DÍAS
============================================================ */
.route { }
.route__sub { max-width: 54ch; }

.route__timeline {
  position: relative;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 920px;
}

.route__svg {
  position: absolute;
  left: 27px;
  top: 6px;
  width: 3px;
  height: calc(100% - 12px);
  z-index: 0;
}
@media (min-width: 720px) { .route__svg { left: 87px; } }

.route__day {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 720px) { .route__day { grid-template-columns: 176px 1fr; gap: 1.5rem; } }

.route__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  text-align: center;
  padding-top: 0.15rem;
  transition: -webkit-text-stroke-color 420ms var(--ease-out), color 420ms var(--ease-out);
}
@supports (-webkit-text-stroke: 1px) { .route__num { color: transparent; } }
@media (min-width: 720px) {
  .route__num { font-size: 6.5rem; text-align: left; padding-left: 0.25rem; }
}
.route__day.is-lit .route__num {
  color: var(--fh-cyan);
  -webkit-text-stroke: 1.5px var(--fh-cyan);
}

.route__card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  transition: transform 380ms var(--ease-out), background 380ms var(--ease-out);
}
.route__day.is-lit .route__card { background: rgba(255, 255, 255, 0.075); }

.route__date { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem; font-weight: 700; color: var(--fh-cyan); margin-bottom: 0.35rem; }
.route__title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.route__body { opacity: 0.85; margin: 0 0 0.75rem; }
.route__result { font-size: 0.9rem; font-weight: 700; color: var(--fh-cyan); margin: 0; }
.route__result::before { content: "→ "; }

.route__close {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  max-width: 30ch;
}
.route__cta { margin-top: 1.75rem; }

.special-guest {
  margin-top: 2.5rem;
  max-width: 920px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
}
.special-guest[hidden] { display: none; }
.special-guest img { width: 60px; height: 60px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.special-guest p { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.special-guest strong { color: var(--fh-cyan); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

/* ============================================================
   ESCENA 5 — QUIÉN LO ACOMPAÑA
============================================================ */
.authority__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}
@media (min-width: 900px) { .authority__grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }

.authority__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
}
.authority__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.authority__title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 16ch; }
.authority__bio { font-size: 1.06rem; opacity: 0.88; }

.authority__signals { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.authority__signals li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; font-size: 0.98rem; }
.authority__signals svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--fh-cyan); }

.authority__quote { font-style: normal; font-weight: 700; color: var(--fh-navy); border-left: 2px solid var(--fh-cyan); padding-left: 1rem; margin: 1.5rem 0 0; }

/* ============================================================
   ESCENA 4.5 — TESTIMONIO (YouTube)
============================================================ */
.eyebrow--onlight { color: var(--fh-blue); }

.testimonial__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) { .testimonial__grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }

.testimonial__title { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 16ch; color: var(--fh-navy); }
.testimonial__text { font-size: 1.05rem; opacity: 0.85; margin-bottom: 1.75rem; }

.yt-facade {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 70px -22px rgba(var(--fh-navy-rgb), 0.45);
}
.yt-facade__poster { width: 100%; height: 100%; object-fit: cover; }
.yt-facade__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,27,46,0.75) 0%, rgba(0,27,46,0.05) 45%, rgba(0,27,46,0.15) 100%);
}
.yt-facade__play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px;
  border: none; background: transparent; padding: 0; cursor: pointer;
  transition: transform 180ms var(--ease-out);
}
.yt-facade__play:hover, .yt-facade__play:focus-visible { transform: scale(1.06); }
.yt-facade__play:focus-visible { outline: 3px solid var(--fh-cyan); outline-offset: 4px; border-radius: 999px; }
.yt-facade__play svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)); }

.yt-facade__caption {
  position: absolute; left: 1.25rem; bottom: 1rem; z-index: 1;
  color: #fff; font-weight: 700; font-size: 0.85rem; margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; z-index: 0; }

.yt-endcard {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  text-align: center; padding: 1.5rem;
  background: rgba(0, 27, 46, 0.94);
  color: #fff;
}
.yt-endcard[hidden] { display: none; }
.yt-endcard__logo { border-radius: 8px; }
.yt-endcard__text { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 2.6vw, 1.5rem); max-width: 20ch; margin: 0; }
.yt-endcard__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.4rem; }

/* ============================================================
   ESCENA 6 — REGISTRO
============================================================ */
.registro { text-align: center; }
.registro__card { max-width: 640px; margin: 0 auto; }
.registro__title { max-width: 18ch; margin-left: auto; margin-right: auto; }
.registro__meta { color: var(--fh-cyan); font-weight: 700; margin: 1.5rem 0 2rem; font-size: 0.98rem; line-height: 1.9; }

/* ============================================================
   ESCENA 7 — FAQ + CIERRE
============================================================ */
.faq { margin-top: 2.5rem; }
.faq__item { border-bottom: 1px solid rgba(var(--fh-navy-rgb), 0.12); }
.faq__question {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; font-size: 1.04rem; color: var(--fh-navy); min-height: 48px;
}
.faq__question:focus-visible { outline: 3px solid var(--fh-mid-blue); outline-offset: 2px; }
.faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 220ms var(--ease-out);
  color: var(--fh-blue);
}
.faq__question[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms var(--ease-out);
}
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel-inner p { padding: 0 0 1.2rem; color: var(--fh-text); opacity: 0.88; margin: 0; }

.closing { text-align: center; }
.closing__title { max-width: 22ch; margin: 0 auto 0.6em; }
.closing__text { max-width: 46ch; margin: 0 auto 2rem; opacity: 0.85; }

/* ============================================================
   CTA PERSISTENTE — ESCRITORIO (superior) Y MÓVIL (inferior)
============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--topbar-h);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.75rem;
  background: rgba(0, 27, 46, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  transition: transform 320ms var(--ease-drawer);
}
.topbar.is-visible { transform: translateY(0); }
@media (min-width: 860px) { .topbar { display: flex; } }
.topbar__text {
  font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fh-white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.topbar .btn { flex-shrink: 0; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  height: var(--sticky-bar-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--fh-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-left: 1rem; padding-right: 1rem;
  transform: translateY(100%);
  transition: transform 320ms var(--ease-drawer);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 860px) { .sticky-cta { display: none; } }
.sticky-cta__text { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fh-muted-ondark); white-space: nowrap; }
.sticky-cta .btn { padding: 0.7rem 1.3rem; font-size: 0.88rem; min-height: 48px; }

/* ============================================================
   BOTÓN FLOTANTE DE WHATSAPP
============================================================ */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #06341f;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.85rem;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.4);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  opacity: 0; transform: translateY(12px) scale(0.94);
  animation: fabIn 500ms var(--ease-out) 900ms forwards;
}
@keyframes fabIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.46); }
.whatsapp-fab:active { transform: translateY(0) scale(0.97); }
.whatsapp-fab:focus-visible { outline: 3px solid var(--fh-navy); outline-offset: 3px; }
.whatsapp-fab__icon { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-fab__text { display: none; padding-right: 0.3rem; text-transform: none; letter-spacing: 0; }
@media (min-width: 640px) {
  .whatsapp-fab { padding: 0.75rem 1.1rem 0.75rem 0.75rem; }
  .whatsapp-fab__text { display: inline; }
}
/* Deja espacio a la barra sticky móvil para que no se superpongan */
@media (max-width: 859px) {
  .whatsapp-fab { bottom: calc(var(--sticky-bar-h) + 1rem + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--fh-deep); padding: 4.5rem 0 calc(4.5rem + env(safe-area-inset-bottom, 0px)); text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer__logo { height: 44px; width: auto; }
.footer__wordmark { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.04em; margin: 0; }
.footer__wordmark span { color: var(--fh-cyan); }
.footer__legal { font-weight: 700; margin-bottom: 0.6rem; }
.footer__disclaimer { font-size: 0.85rem; opacity: 0.65; max-width: 560px; margin: 0 auto 1.5rem; }
.footer__links { font-size: 0.85rem; opacity: 0.75; }
.footer__links a, .footer__links span { margin: 0 0.6rem; }
.footer__links a { text-decoration: underline; }
.footer__links .is-disabled { text-decoration: none; opacity: 0.55; cursor: default; }

/* ============================================================
   REVEAL — un momento autoral, no idéntico en cada bloque
============================================================ */
.reveal-fade {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out), filter 750ms var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-fade.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.reveal-rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-rise.is-visible { opacity: 1; transform: translateY(0); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__bg img { animation: none !important; transform: none !important; }
  .hero__route-path { animation: none !important; }
  .reveal-fade, .reveal-rise { opacity: 1 !important; transform: none !important; filter: none !important; }
  .problem__list li { opacity: 1 !important; transform: none !important; color: var(--fh-white) !important; border-color: var(--fh-cyan) !important; }
  .stage-card { transform: none !important; }
  .hero__title .line span,
  .hero__eyebrow, .hero__support, .hero__promise, .hero__meta, .hero__countdown, .hero__state-msg, .hero__cta-block {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .hero__scrollcue svg { animation: none !important; }
}
