/* =========================================================================
   ProFlight — Landing Campaña General · Argentina
   Construida sobre el sistema de diseño oficial (tokens.css).
   Display: Neue Haas Grotesk Display (Thin) · fallback Inter · UI: Inter.
   Paleta austera: White #FBFAFA · Dark Blue #061F31 · Blue #003C67.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

:root {
  --wrap: 1200px;
  --wrap-narrow: 920px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(52px, 7.2vw, 104px);   /* -18% vertical rhythm */
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(34px, 5vw, 66px); }

/* ---- Typography --------------------------------------------------------- */
.display-0, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--color-dark-blue);
  text-wrap: balance;
}
.display-0 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 200; }
.h1 { font-size: clamp(2.2rem, 5.6vw, 3.3rem); }
.h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 400; }

/* Signature two-tone: grey→blue gradient fill on display headlines */
.hl-gradient {
  background: linear-gradient(100deg, #A9BAC6 0%, #003C67 62%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hl-mute { color: #5E7080; }        /* grey lead-in — darkened for contrast (≥3:1 on light gradient) */
.hl-accent { color: var(--color-blue); }
.on-dark .hl-gradient { background: linear-gradient(100deg, #6E8494 0%, #FBFAFA 70%); -webkit-background-clip: text; background-clip: text; }
.on-dark .hl-mute { color: #6E8494; }
.on-dark .hl-accent { color: #7FA8C8; }

.eyebrow {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-blue);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.6; color: #4A4A4B; }
.body { font-size: 1rem; line-height: 1.62; color: #4A4A4B; }
.numeral { font-family: var(--font-display); font-weight: 300; color: var(--color-silver); font-size: 0.9rem; letter-spacing: 0.05em; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- Buttons (design system) ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-ui); font-weight: 500; font-size: 0.95rem;
  padding: 0.85em 1.6em; border-radius: var(--radius-full);
  border: 1.5px solid transparent; text-decoration: none;
  transition: background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
/* Ícono guía del botón (WhatsApp / agenda): no se encoge y acompaña al texto */
.btn > svg { flex: none; }

/* Primary — filled Dark Blue */
.btn-primary { background: var(--color-dark-blue); color: var(--color-white); border-color: var(--color-dark-blue); }
.btn-primary:hover { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }

/* Outline — default state (Black outline) */
.btn-outline { background: transparent; color: var(--color-black); border-color: var(--color-black); }
.btn-outline:hover { background: var(--color-dark-blue); border-color: var(--color-dark-blue); color: #fff; }

/* On dark surfaces */
.on-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.on-dark .btn-outline:hover { background: #fff; color: var(--color-dark-blue); border-color: #fff; }
.btn-on-dark { background: #fff; color: var(--color-dark-blue); border-color: #fff; }
.btn-on-dark:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }

/* Subtle secondary on dark (menor contraste que el primario y que el verde) */
.btn-subtle { background: transparent; color: rgba(255,255,255,0.74); border-color: rgba(255,255,255,0.28); font-weight: 400; }
.btn-subtle:hover { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-subtle svg { opacity: 0.85; }

/* WhatsApp */
.btn-wa { background: #25D366; color: #06301A; border-color: #25D366; }
.btn-wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #06301A; }
.btn-wa.outline { background: transparent; color: #1EBE5A; border-color: #1EBE5A; }
.btn-wa.outline:hover { background: #25D366; color: #06301A; border-color: #25D366; }

.btn-lg { font-size: 1.02rem; padding: 1.05em 2.2em; }
.btn-sm { font-size: 0.85rem; padding: 0.6em 1.15em; min-height: 40px; }
.btn-block { display: flex; width: 100%; }
.btn { min-height: 44px; }  /* WCAG 2.5.5 touch target */

/* ---- Header / Nav ------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;   /* transparente sobre el video del hero */
  display: flex; align-items: center;
  transition: background var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
/* Páginas sin hero oscuro detrás (ej. legales): el nav no puede depender del
   scroll para volverse legible, porque a los 0-20px quedaría transparente
   sobre fondo claro (logo y texto blancos invisibles). Queda oscuro siempre. */
.nav-always-solid { background: var(--color-dark-blue); }
.nav.solid { background: var(--color-dark-blue); box-shadow: var(--shadow-md); }
/* Progreso de lectura (solo mobile): línea fina en el borde superior que se va
   completando al bajar. Va dentro del nav fijo, por eso acompaña siempre.
   Arriba el fondo siempre es oscuro (hero o nav sólido) => línea clara. */
.scroll-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 6; background: rgba(255,255,255,0.16); overflow: hidden; }
.scroll-progress i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform 90ms linear; }
@media (min-width: 900px){ .scroll-progress { display: none; } }
/* Cuando el menú móvil está abierto, el header necesita fondo sólido aunque esté arriba */
.nav:has(.mobile-menu:not([hidden])) { background: var(--color-dark-blue); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
/* Badge de rating de Google en el header — dato real, verificado en la ficha de Google Business Profile */
.nav-rating { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 36px; padding: 6px 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.8rem; line-height: 1; text-decoration: none; white-space: nowrap; transition: background var(--dur-base) var(--ease-standard); }
.nav-rating:hover { background: rgba(255,255,255,0.22); text-decoration: none; }
.nav-rating .ic-star { flex: none; color: #fff; }
.nav-rating strong { font-weight: 600; }
.nav-rating-count { color: rgba(255,255,255,0.66); font-weight: 400; }
@media (max-width: 480px){ .nav-rating-count { display: none; } }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 400; text-decoration: none; transition: color var(--dur-base); }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; width: 44px; height: 44px; color: #fff; cursor: pointer; }
.nav-burger .ic-close { display: none; }
.nav-burger[aria-expanded="true"] .ic-menu { display: none; }
.nav-burger[aria-expanded="true"] .ic-close { display: block; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

.spacer-nav { height: var(--nav-h); }

/* ---- Hero (video full-bleed de fondo, texto blanco encima) -------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-dark-blue);
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--gradient-06); }
.hero-bg picture, .hero-bg .hero-poster, .hero-bg .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* Baja el encuadre para mostrar la parte superior de la composición (no cortar cabezas) */
  object-position: center 22%;
}
.hero-poster { z-index: 1; display: block; }
/* Video: solo desktop (ver JS). Fade-in al reproducir, tapa el poster. */
.hero-video { z-index: 2; opacity: 0; transition: opacity 0.8s var(--ease-standard); }
.hero-video.loaded { opacity: 1; }
/* Scrim mínimo: el video ya viene oscurecido desde edición. Solo un leve refuerzo
   arriba (para el nav transparente) y una insinuación a la izquierda del texto. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(90deg, rgba(6,31,49,0.28) 0%, rgba(6,31,49,0.06) 48%, transparent 80%),
    linear-gradient(180deg, rgba(6,31,49,0.34) 0%, transparent 18%, transparent 82%, rgba(6,31,49,0.28) 100%);
}
.hero-inner {
  position: relative; z-index: 4; width: 100%;
  padding-block: calc(var(--nav-h) + clamp(44px, 8vh, 92px)) clamp(52px, 8vh, 92px);
}
.hero-copy { max-width: min(1060px, 100%); text-shadow: 0 2px 24px rgba(0,0,0,0.32); }
.hero-eyebrow { margin-bottom: 22px; }
/* Salto de línea controlado: sólo en mobile (ver media query del hero) */
.br-mobile { display: none; }
/* H1: dos líneas + tipografía más ancha (misma familia, expandida horizontalmente).
   display:block + width:fit-content = shrink-to-fit para el scaleX PERO en bloque
   (para que el eyebrow, que es inline, quede en su propia línea arriba). */
.hero-title {
  display: block; width: fit-content; max-width: 100%;
  transform: scaleX(1.07); transform-origin: left center;
  /* Bold real (700 = el peso más pesado cargado de Inter; el 200 heredado de
     .display-0 ni existe en la familia y caía en 300). Tracking más ceñido,
     como corresponde a una display en negrita. */
  font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(2.3rem, 5.1vw, 3.9rem); line-height: 1.05;
  margin-bottom: clamp(30px, 4vw, 46px);
}
/* Bajada + botones en la MISMA columna de info, alineados al margen izquierdo del texto */
.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 3vw, 30px); }
.hero-foot .lead { max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-shadow: 0 2px 20px rgba(0,0,0,0.28); }
.hero-cta { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 0; }
.hero-cta .btn { justify-content: center; }
.hero-actions .hero-micro { margin-top: 4px; }

@media (max-width: 899px){
  .hero { min-height: min(92vh, 700px); }
  /* En mobile el poster ya es oscuro: scrim leve, apenas para asegurar legibilidad */
  .hero-scrim { background:
    linear-gradient(180deg, rgba(6,31,49,0.36) 0%, rgba(6,31,49,0.18) 40%, rgba(6,31,49,0.34) 100%); }
  .hero-copy { max-width: 100%; }
  /* La negrita ocupa ~8% más de ancho: bajo un punto el tamaño en mobile para
     que "para convertirte en piloto." siga entrando en UNA línea (título = 2 líneas). */
  .hero-title { transform: scaleX(1.03); font-size: clamp(1.72rem, 7.2vw, 2.6rem); }
  /* Eyebrow en dos líneas: el corte va después de "Argentina". La línea
     decorativa se alinea con el primer renglón (con center quedaría en el medio). */
  .br-mobile { display: inline; }
  .hero-eyebrow { align-items: flex-start; line-height: 1.5; }
  .hero-eyebrow::before { margin-top: 0.75em; }
  /* Bajada y botones apilados */
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-foot .lead { max-width: 100%; flex-basis: auto; }
  .hero-actions { width: 100%; align-items: flex-start; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
}


/* ---- Resultados de formación (texto + imagen protagonista) ------------- */
.results { background: var(--color-white); }
.results-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 900px){ .results-grid { grid-template-columns: 1.05fr 0.95fr; } }
.results-copy { max-width: 42ch; }
.results-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-dark-blue); box-shadow: var(--shadow-md); }
.results-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.results-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(6,31,49,0.22) 0%, rgba(6,31,49,0) 52%); }

/* ---- Roadmap — línea de tiempo con puntos numerados --------------------- */
.roadmap { background: var(--gradient-01); }
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 66px); }
/* la línea que conecta los puntos */
.timeline::before { content: ""; position: absolute; top: 23px; left: 10%; right: 10%; height: 2px; background: var(--color-silver); z-index: 0; }
.tl-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-node {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--color-dark-blue); color: #fff;
  display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.tl-label { margin-top: 16px; font-size: 0.85rem; line-height: 1.4; color: var(--color-black); max-width: 20ch; }
/* Primer paso resaltado ("empezás acá"): halo doble tipo faro + latido sutil.
   El ::after es el segundo anillo, desfasado, para que la onda se lea mejor.
   Va position:absolute, así que no entra en el grid del nodo (no mueve el número). */
.tl-step.tl-active .tl-node { background: var(--color-blue); animation: tl-pulse 1.6s var(--ease-standard) infinite; }
.tl-step.tl-active .tl-node::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: tl-ring 1.6s var(--ease-standard) infinite 0.55s;
}
.tl-step.tl-active .tl-label { color: var(--color-blue); font-weight: 600; }
.tl-here { display: block; margin-top: 5px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-blue); }
@keyframes tl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,60,103,0.75); transform: scale(1); }
  45%  { transform: scale(1.07); }
  70%  { box-shadow: 0 0 0 18px rgba(0,60,103,0); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(0,60,103,0); transform: scale(1); }
}
@keyframes tl-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0,60,103,0.45); }
  70%  { box-shadow: 0 0 0 15px rgba(0,60,103,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,60,103,0); }
}
@media (prefers-reduced-motion: reduce){
  .tl-step.tl-active .tl-node, .tl-step.tl-active .tl-node::after { animation: none; }
}
/* Mobile: línea de tiempo vertical */
@media (max-width: 720px){
  .timeline { grid-template-columns: 1fr; gap: 0; margin-top: clamp(28px, 6vw, 40px); }
  .timeline::before { top: 23px; bottom: 23px; left: 23px; right: auto; width: 2px; height: auto; }
  .tl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; padding-bottom: 28px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-label { margin-top: 11px; max-width: none; font-size: 0.95rem; }
}

/* ---- JetSMART / gradient feature --------------------------------------- */
.jetsmart { background: var(--gradient-03); }
/* Composición centrada (acuerdo) */
.jetsmart-center { text-align: center; }
.jetsmart .h2, .jetsmart .lead { color: var(--color-dark-blue); }
.jetsmart-title { font-family: var(--font-display); font-weight: 200; font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.03; letter-spacing: -0.015em; color: var(--color-dark-blue); margin: 6px 0 0; }
.jetsmart-title .hl-mute { color: #6E8092; }
.jetsmart-center .lead { max-width: 60ch; margin: 24px auto 0; }
.jetsmart-cta { margin-top: clamp(28px, 4vw, 40px); }
.jetsmart-lockup { display: flex; align-items: center; gap: 18px; margin: 24px 0 10px; flex-wrap: wrap; }
.jetsmart-lockup.center { justify-content: center; margin: 0 auto clamp(26px, 4vw, 40px); }
.jetsmart .eyebrow.center { margin-bottom: 14px; }
.jetsmart-lockup .pf-mark { height: 30px; width: auto; }
.jetsmart-lockup .js-logo { height: 26px; width: auto; }   /* logo oficial JetSMART */
.jetsmart-lockup .plus { color: var(--color-dark-grey); font-size: 1.2rem; font-weight: 300; line-height: 1; }
/* ---- Indicators (icon + caption) --------------------------------------- */
.indicators { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); margin-top: 34px; }
.indicator { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.indicator .ic { flex: none; width: 28px; height: 28px; color: var(--color-blue); }
.ind-text { display: flex; flex-direction: column; gap: 3px; }
.indicator b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--color-dark-blue); line-height: 1.2; }
.indicator span { font-size: 0.9rem; color: #4A4A4B; line-height: 1.35; }

/* ---- Split rows --------------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 860px){ .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; background: var(--gradient-05); box-shadow: var(--shadow-md); }
.split-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Pricing card ------------------------------------------------------- */
.pricing { background: var(--color-white); }
.price-card {
  background: var(--gradient-01);
  border: 1px solid var(--color-silver); border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.price-card .kicker { margin-bottom: 10px; }
.price-includes { margin: 26px 0; display: grid; gap: 14px; }
.price-includes li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--color-black); }
.price-includes li svg { color: var(--color-blue); flex: none; }
.price-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Fidelity table */
.fid-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--color-grey); }
.fid-row:last-child { border-bottom: 1px solid var(--color-grey); }
.fid-row .cat { font-weight: 600; color: var(--color-dark-blue); font-size: 0.92rem; }
.fid-row .rng { color: var(--fg-secondary); font-size: 0.9rem; }
.fid-row .amt { font-family: var(--font-display); font-weight: 400; color: var(--color-blue); font-size: 1.05rem; }
@media (max-width: 560px){
  .fid-row { grid-template-columns: 1fr auto; grid-template-areas: "cat amt" "rng rng"; gap: 4px 12px; }
  .fid-row .cat { grid-area: cat; } .fid-row .amt { grid-area: amt; } .fid-row .rng { grid-area: rng; }
}

/* ---- Cards grid (modalidades / requisitos) ----------------------------- */
.cards-2 { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 760px){ .cards-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--bg-elevated); border: 1px solid var(--color-grey);
  border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px);
  transition: box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-silver); }
.card .tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.card .tag .t { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--color-dark-blue); }
.card .tag .m { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-secondary); }
.card .body { margin: 12px 0 18px; }
.list-check li, .list-num li { display: flex; gap: 12px; padding: 7px 0; font-size: 0.92rem; color: var(--color-black); line-height: 1.45; }
.list-check li svg { color: var(--color-blue); flex: none; margin-top: 2px; }
.list-num { counter-reset: n; }
.list-num li { counter-increment: n; }
.list-num li::before { content: counter(n); font-family: var(--font-display); color: var(--color-blue); font-weight: 400; flex: none; width: 1.4em; }

/* ---- Dark sections (simulators / tech / final) ------------------------- */
.on-dark { background: var(--gradient-06); color: var(--color-white); }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .display-0 { color: #fff; }
.on-dark .lead, .on-dark .body { color: rgba(255,255,255,0.72); }
.on-dark .eyebrow { color: #7FA8C8; }
.on-dark .numeral { color: rgba(255,255,255,0.4); }

/* ---- Simuladores — lista (hover cambia la imagen) ---------------------- */
.sims-layout { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px){ .sims-layout { grid-template-columns: 0.82fr 1.18fr; } }
.sims-nav { margin-top: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; gap: 2px; }
.sims-name { background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.3; color: rgba(255,255,255,0.4); padding: 3px 0; display: inline-flex; align-items: center; gap: 10px; transition: color var(--dur-base) var(--ease-standard); }
.sims-name:hover, .sims-name.is-active { color: #fff; }
.sims-name.is-active { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.sim-tag { display: inline-block; font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--color-blue); color: #fff; padding: 2px 7px; border-radius: var(--radius-full); vertical-align: middle; font-weight: 700; text-shadow: none; }
/* visor: slides apilados, crossfade */
.sims-viewer { display: grid; grid-template-columns: minmax(0, 1fr); }
.sims-slide { grid-area: 1 / 1; position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); border: 1px solid rgba(127,168,200,0.18); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease-standard); }
.sims-slide.is-active { opacity: 1; visibility: visible; }
.sims-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sims-slide[data-sim="4"] img { object-position: center 34%; }
.sims-slide[data-sim="5"] img { object-position: center 42%; }
.sims-slide figcaption { display: none; }
@media (max-width: 899px){
  /* mobile: galería con scroll horizontal, se oculta la lista */
  .sims-nav { display: none; }
  .sims-viewer { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .sims-viewer::-webkit-scrollbar { display: none; }
  .sims-slide { grid-area: auto; flex: 0 0 82%; opacity: 1 !important; visibility: visible !important; scroll-snap-align: start; }
  .sims-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 52%, rgba(6,31,49,0.82) 100%); }
  .sims-slide figcaption { display: block; position: absolute; z-index: 2; left: 0; bottom: 0; padding: 14px 16px; color: #fff; font-weight: 600; font-size: 0.9rem; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
}
@media (prefers-reduced-motion: reduce){ .sims-slide { transition: none; } }

/* ---- Testimonios en video (carrusel) ----------------------------------- */
.stories { background: var(--bg-page); padding-top: clamp(30px, 4.5vw, 60px); }
/* separación moderada entre la sección anterior y los testimonios en video */
.section:has(+ #testimonios) { padding-bottom: clamp(34px, 5vw, 72px); }
.stories-head { display: flex; align-items: center; gap: clamp(18px, 4vw, 44px); }
.stories-head h2 { margin-top: 8px; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: clamp(18px, 3vw, 28px); margin-bottom: clamp(16px, 2.4vw, 24px); }
.cnav { width: 46px; height: 46px; border-radius: var(--radius-full); border: 1px solid var(--color-grey); color: var(--color-dark-blue); display: grid; place-content: center; background: #fff; cursor: pointer; transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base); }
.cnav:hover { background: var(--color-grey); border-color: var(--color-silver); }
.stories-grid { display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.stories-grid::-webkit-scrollbar { display: none; }
.story { flex: 0 0 clamp(320px, 38vw, 520px); scroll-snap-align: start; text-align: left; margin: 0; padding: 0; background: #fff; border: 1px solid var(--color-grey); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base); }
.story:hover { border-color: var(--color-silver); box-shadow: var(--shadow-md); }
.story-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-dark-blue); }
.story-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(6,31,49,0) 38%, rgba(6,31,49,0.72) 100%); }
.story-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; margin: auto; z-index: 4; width: 58px; height: 58px; border-radius: var(--radius-full); background: #fff; color: var(--color-dark-blue); display: grid; place-content: center; box-shadow: var(--shadow-md); transition: background var(--dur-base) var(--ease-standard), transform var(--dur-base); }
.story:hover .play { background: var(--color-grey); transform: scale(1.06); }
.play svg { margin-left: 2px; }
.story-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; gap: 12px; }
.story-foot .who { font-family: var(--font-display); font-weight: 400; font-size: 1rem; color: var(--color-dark-blue); }
.story-foot .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-secondary); }
@media (max-width: 560px){ .story { flex-basis: 84vw; } }

/* lightbox de video */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; background: rgba(6,31,49,0.62); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease-standard), visibility var(--dur-slow); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-card { position: relative; width: min(900px, 100%); background: var(--color-dark-blue); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); overflow: hidden; transform: translateY(14px); transition: transform var(--dur-slow) var(--ease-standard); box-shadow: var(--shadow-lg); }
.lightbox.open .lb-card { transform: none; }
.lb-stage { position: relative; aspect-ratio: 16 / 9; background: #04111c; }
.lb-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.lb-meta { padding: 18px 20px; color: #fff; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lb-meta h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.02em; }
.lb-meta p { margin: 0; color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.lb-meta .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); flex: 0 0 auto; }
.lb-close { position: absolute; top: 13px; right: 13px; z-index: 6; width: 44px; height: 44px; border-radius: var(--radius-full); background: rgba(6,31,49,0.6); border: 1px solid rgba(255,255,255,0.14); color: #fff; display: grid; place-content: center; cursor: pointer; transition: background var(--dur-base) var(--ease-standard); }
.lb-close:hover { background: rgba(6,31,49,0.94); }
@media (prefers-reduced-motion: reduce){ .lightbox, .lb-card { transition: opacity var(--dur-base) linear; } }

/* Modal de testimonio con foto (desktop): tarjeta centrada, sin foto, solo nombre/país/cita */
.tmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; background: rgba(6,31,49,0.62); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease-standard), visibility var(--dur-slow); }
.tmodal[hidden] { display: none; }
.tmodal.open { opacity: 1; visibility: visible; }
.tmodal-card { position: relative; width: min(560px, 100%); max-height: min(80vh, 640px); overflow-y: auto; background: #fff; border: 1px solid var(--color-grey); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 40px); transform: translateY(14px); transition: transform var(--dur-slow) var(--ease-standard); box-shadow: var(--shadow-lg); }
.tmodal.open .tmodal-card { transform: none; }
.tmodal-name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--color-dark-blue); line-height: 1.15; margin: 0; }
.tmodal-country { font-size: 0.92rem; color: var(--fg-secondary); margin-top: 6px; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.tmodal-country .flag-icon { width: 20px; height: 12px; }
.tmodal-quote { font-size: 1rem; line-height: 1.7; color: #4A4A4B; margin: 0; }
.tmodal-close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; border-radius: var(--radius-full); background: #fff; border: 1px solid var(--color-grey); box-shadow: var(--shadow-md); color: var(--color-dark-blue); display: grid; place-content: center; cursor: pointer; transition: background var(--dur-base) var(--ease-standard); }
.tmodal-close:hover { background: var(--color-grey); }
@media (prefers-reduced-motion: reduce){ .tmodal, .tmodal-card { transition: opacity var(--dur-base) linear; } }

/* ---- Nuestros pilotos (testimonios con foto) --------------------------- */
/* Mobile: panel oscuro a pantalla completa + tarjetas debajo */
.pilots-panel { background: var(--gradient-06); color: #fff; }
.pilots-panel-inner { display: flex; flex-direction: column; max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 10vw, 60px) var(--gutter); }
.pilots-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.1rem, 8.5vw, 3rem); line-height: 1.05; color: #fff; letter-spacing: -0.01em; }
.pilots-lead { margin-top: 16px; color: rgba(255,255,255,0.66); font-size: 0.98rem; line-height: 1.55; max-width: 38ch; }
.pilots-airlines { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: clamp(20px, 5vw, 30px) clamp(14px, 4vw, 26px); margin-top: clamp(28px, 7vw, 44px); }
.pilots-airlines li { display: flex; align-items: center; height: clamp(24px, 6vw, 32px); }
.pilots-airlines img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; object-position: left center; opacity: 0.9; }
.pilots-cards-area { padding: clamp(30px, 8vw, 52px) var(--gutter); }
.pilots-cards { display: flex; gap: clamp(14px, 3vw, 20px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; margin: 0; }
.pilots-cards::-webkit-scrollbar { display: none; }
/* Desktop: split (panel + tarjetas lado a lado) */
@media (min-width: 900px){
  .pilots { max-width: var(--wrap); margin-inline: auto; padding-block: var(--section-y); padding-inline: var(--gutter); display: grid; grid-template-columns: 0.82fr 1.3fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
  .pilots-panel { border-radius: var(--radius-md); }
  .pilots-panel-inner { min-height: 0; height: 100%; justify-content: flex-start; max-width: none; margin: 0; padding: clamp(30px, 3.2vw, 46px); }
  .pilots-title { font-size: clamp(1.9rem, 3vw, 2.8rem); }
  .pilots-airlines { margin-top: auto; padding-top: clamp(28px, 3vw, 44px); }
  .pilots-cards-area { padding: 0; position: relative; min-width: 0; }
  .pilots-cards { padding-bottom: 0; }  /* borde inferior exacto = borde de las cards */
  /* los puntos salen del flujo para que la altura del área = altura de las cards,
     así el panel oscuro termina justo al borde inferior de las tarjetas */
  .pilots-cards-area .dots { position: absolute; left: 0; right: 0; top: 100%; margin-top: 14px; }
  /* flechas para deslizar los testimonios (2 visibles + slide a la 3ra) */
  .pilots-cards-area .pnav { display: grid; place-content: center; position: absolute; top: 34%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: var(--radius-full); background: #fff; border: 1px solid var(--color-grey); box-shadow: var(--shadow-md); color: var(--color-dark-blue); cursor: pointer; transition: background var(--dur-base) var(--ease-standard); }
  .pilots-cards-area .pnav:hover { background: var(--color-grey); }
  .pilots-cards-area .pnav.prev { left: 8px; }
  .pilots-cards-area .pnav.next { right: 8px; }
}
/* tarjetas de testimonio: retrato del egresado + nombre, país y cita */
.pcard { flex: 0 0 min(80%, 300px); scroll-snap-align: start; scroll-margin-top: calc(var(--nav-h) + 12px); border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--color-grey); display: flex; flex-direction: column; }
@media (min-width: 900px){ .pcard { flex-basis: calc(50% - 10px); } }  /* 2 cards exactas, sin peek de la 3ra */
.pnav { display: none; }
.pcard-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-silver); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pcard-body { padding: clamp(16px, 2.2vw, 22px); display: flex; flex-direction: column; }
.pcard-name { font-family: var(--font-display); font-weight: 400; font-size: 1.16rem; color: var(--color-dark-blue); line-height: 1.15; }
.pcard-country { font-size: 0.85rem; color: var(--fg-secondary); margin-top: 3px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.flag-icon { width: 18px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(6,31,49,0.12); flex: 0 0 auto; }
.pcard-quote { font-size: 0.94rem; line-height: 1.6; color: #4A4A4B; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* el expandido in situ es solo mobile — en desktop "Ver más" abre el modal (.tmodal) en su lugar */
@media (max-width: 899px){
  .pcard.expanded .pcard-quote { -webkit-line-clamp: unset; overflow: visible; }
}
.pcard-more { align-self: flex-start; margin-top: 10px; background: none; border: 0; padding: 8px 0; color: var(--color-blue); font-weight: 500; font-size: 0.9rem; cursor: pointer; min-height: 44px; }
.pcard-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Puntos indicadores de carrusel ------------------------------------ */
.dots { display: flex; justify-content: center; gap: 4px; margin-top: clamp(16px, 3vw, 22px); }
/* área táctil 32px; el punto visible (::before) se mantiene chico */
.dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-content: center; }
/* Tinte oscuro (no silver): el silver se camuflaba con el fondo claro y con el
   final del gradient-01 de Tecnología, que es exactamente #D6DCDC. */
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(6,31,49,0.42); transition: background var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.dot.is-active::before { background: var(--color-blue); transform: scale(1.3); }
.on-dark .dot::before { background: rgba(255,255,255,0.34); }
.on-dark .dot.is-active::before { background: #fff; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { background: var(--gradient-01); }
.faq-list { margin-top: 10px; border-top: 1px solid var(--color-silver); }
.faq-item { border-bottom: 1px solid var(--color-silver); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--color-dark-blue); }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; transition: transform var(--dur-base) var(--ease-standard); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--color-blue); border-radius: 2px; }
.faq-q .pm::before { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); transition: opacity var(--dur-base); }
.faq-item.open .faq-q .pm::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-standard); }
.faq-a .inner { padding: 0 0 22px; color: var(--fg-secondary); line-height: 1.6; font-size: 0.96rem; max-width: 70ch; }

/* ---- Final CTA ---------------------------------------------------------- */
.final { position: relative; }
.final .h1 { margin-bottom: 20px; }
.final .lead { color: rgba(255,255,255,0.8); max-width: 52ch; }
.final-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--color-dark-blue); color: rgba(255,255,255,0.72); padding-block: clamp(40px, 6vw, 64px); }
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.6; max-width: 34ch; }
.footer h3, .footer h4 { color: #fff; font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: flex; align-items: center; min-height: 44px; font-size: 0.9rem; }
/* aspect-ratio (no height fija): el embed de Google Maps se generó para 1024×768
   (4/3) — forzarlo a una altura fija con ancho 100% lo estira a proporciones muy
   distintas en mobile (columna angosta) y el mapa queda descentrado/recortado. */
.footer-map { margin-top: 12px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,0.14); aspect-ratio: 4 / 3; max-height: 260px; }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-bot { margin-top: clamp(30px,5vw,44px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---- Sticky mobile CTA + WhatsApp float --------------------------------- */
/* padding-bottom respeta el home indicator / gesture bar de iPhones con notch
   (requiere viewport-fit=cover en el <meta viewport>, ya configurado) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--color-dark-blue); padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)) var(--gutter);
  display: flex; gap: 10px; box-shadow: 0 -6px 20px rgba(6,31,49,0.2);
  transform: translateY(110%); transition: transform var(--dur-slow) var(--ease-standard);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; }
@media (min-width: 900px){ .sticky-cta { display: none; } }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 85;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366;
  display: grid; place-content: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-standard);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 899px){ .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); } }
/* en mobile la barra fija inferior no debe tapar el contenido final del footer */
@media (max-width: 899px){ .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* ---- Reveal on scroll (progressive enhancement) ------------------------- */
/* Hidden state applies ONLY when JS is active (.js on <html>). Si el JS falla
   o el IntersectionObserver nunca dispara, el propio script tiene un
   fallback (setTimeout) que fuerza todo visible a los 1.6s — por eso es
   seguro dejar la animación activa también en mobile, no solo desktop. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* =========================================================================
   Additions — CRO optimization pass
   ========================================================================= */

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--color-dark-blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top var(--dur-base) var(--ease-standard); }
.skip-link:focus { top: 8px; }

/* Focus-visible states (keyboard/touch) — solid outline works in forced-colors mode.
   --focus-radius deja que cada tipo de elemento use SU radio real: los .btn son
   píldoras (--radius-full) y no --radius-sm, si no el contorno queda desalineado
   del borde redondeado del botón (se ve como si se "despegara" un filo al tocar). */
a:focus-visible, button:focus-visible, .btn:focus-visible, .faq-q:focus-visible, .disc-q:focus-visible {
  outline: 2px solid var(--color-blue); outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,60,103,0.35); border-radius: var(--focus-radius, var(--radius-sm));
}
.btn:focus-visible { --focus-radius: var(--radius-full); }
.on-dark a:focus-visible, .on-dark .btn:focus-visible, .nav a:focus-visible, .nav button:focus-visible, .footer a:focus-visible {
  outline-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.4);
}

/* Mobile nav menu */
.mobile-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--color-dark-blue); border-top: 1px solid rgba(255,255,255,0.12); padding: 8px var(--gutter) 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.mobile-menu[hidden] { display: none; }   /* el atributo hidden debe ganarle a display:flex */
.mobile-menu a { color: rgba(255,255,255,0.86); text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: #fff; }
@media (min-width: 900px){ .mobile-menu { display: none !important; } }
/* En phones ocultamos el CTA largo del header (queda logo + burger); el CTA
   principal está en el hero y en la barra fija inferior. En tablet 561–899 se muestra. */
@media (max-width: 899px){
  .nav-cta-btn { font-size: 0.82rem; padding: 0.6em 1em; }
}
@media (max-width: 560px){
  .nav-cta-btn { display: none; }
}

/* Hero micro */
.hero-micro { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--color-blue); letter-spacing: 0.01em; }
.micro { font-size: 0.9rem; color: #4A4A4B; line-height: 1.5; }

/* Trust bar */
.trustbar { background: var(--color-white); border-block: 1px solid var(--color-grey); }
.trustbar-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); padding-block: clamp(24px, 3vw, 34px); }
@media (min-width: 760px){ .trustbar-grid { grid-template-columns: repeat(3, 1fr); } }
/* Ícono a tamaño fijo (no depende de la altura del texto): antes usaba
   align-items:stretch + svg height:100%, así que el ícono se agrandaba o
   achicaba según cuántas líneas ocupara la descripción de CADA item —
   quedaban los 3 íconos de tamaños distintos y desalineados entre sí. */
.trust-item { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
.trust-ic { flex: none; color: var(--color-blue); }
.trust-ic svg { display: block; width: 24px; height: 24px; }
.trust-text { display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.trust-item .k { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; color: var(--color-dark-blue); line-height: 1.2; }
.trust-item .d { font-size: 0.875rem; color: #4A4A4B; line-height: 1.35; }

/* Source note */

/* Roadmap aclaración */
.ramp-note { margin-top: 26px; font-size: 0.82rem; line-height: 1.55; color: var(--fg-secondary); max-width: 78ch; }

/* Payment options (3) */
.pay-options { display: grid; gap: clamp(14px, 2vw, 20px); margin: clamp(24px, 3vw, 34px) 0 20px; }
@media (min-width: 720px){ .pay-options { grid-template-columns: repeat(3, 1fr); } }
.pay-opt { background: var(--bg-elevated); border: 1px solid var(--color-grey); border-radius: var(--radius-sm); padding: 18px 20px; }
.pay-h { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--color-dark-blue); margin-bottom: 6px; }
.pay-opt p { font-size: 0.9rem; line-height: 1.5; color: #4A4A4B; }
.pay-hosting { font-size: 0.85rem; color: var(--fg-secondary); margin-top: 4px; }

/* Disclosure (accordion) — reuses FAQ interaction */
.disc-list { border-top: 1px solid var(--color-silver); }
.disc-item { border-bottom: 1px solid var(--color-silver); }
.disc-q { width: 100%; background: none; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--font-ui); font-weight: 500; font-size: 0.92rem; color: var(--color-dark-blue); }
.disc-q .pm { flex: none; width: 20px; height: 20px; position: relative; }
.disc-q .pm::before, .disc-q .pm::after { content: ""; position: absolute; background: var(--color-blue); border-radius: 2px; }
.disc-q .pm::before { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.disc-q .pm::after { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); transition: opacity var(--dur-base); }
.disc-item.open .disc-q .pm::after { opacity: 0; }
.disc-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-standard); }
.disc-a .inner { padding: 0 0 20px; color: #4A4A4B; line-height: 1.6; font-size: 0.92rem; }
.disc-a .inner p { margin-bottom: 0; }

/* Comparison table (Full-Time vs Part-Time) */
.compare-wrap { margin-top: clamp(28px, 4vw, 44px); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--color-grey); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 500; color: var(--color-dark-blue); font-size: 1rem; border-bottom: 1.5px solid var(--color-silver); }
.compare tbody th { font-weight: 600; color: var(--color-dark-blue); }
.compare tbody td { color: var(--fg-secondary); }
.compare tbody tr:hover { background: var(--color-grey); }
@media (max-width: 640px){
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .compare tbody tr { border: 1px solid var(--color-grey); border-radius: var(--radius-sm); margin-bottom: 14px; padding: 6px 4px; }
  .compare tbody tr:hover { background: transparent; }
  .compare tbody th { border-bottom: 1px solid var(--color-grey); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-dark-grey); }
  .compare tbody td { border: 0; padding: 8px 16px; position: relative; }
  .compare tbody td::before { content: attr(data-label); display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-blue); margin-bottom: 2px; }
}

.mod-cta { margin-top: clamp(28px, 4vw, 40px); }
.faq-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--color-blue); font-weight: 500; }

/* Modality interest links (per card) */
.mod-interest { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-grey); }
.mod-interest a { color: var(--color-blue); font-weight: 500; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.mod-interest a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Entry price dominant over total */
.price-entry { display: flex; flex-direction: column; gap: 6px; padding-bottom: clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--color-silver); }
.price-entry .pe-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-blue); font-weight: 600; }
.price-entry .pe-amount { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1; color: var(--color-blue); letter-spacing: -0.02em; }
.price-entry .pe-desc { font-size: 0.92rem; color: #4A4A4B; line-height: 1.5; margin-top: 4px; max-width: 52ch; }
.price-total-mini { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--color-silver); }
.price-total-mini .l { font-size: 0.9rem; color: var(--color-dark-grey); }
.price-total-mini .v { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--color-dark-blue); }


/* Reduce section-head bottom margin slightly (tighter rhythm) */
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* forced-colors: keep focus visible */
@media (forced-colors: active){
  a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid CanvasText; }
}

/* ---- Tecnología — grid editorial (título + foto + descripción) ---------- */
.tech { background: var(--gradient-01); }
.tech-cols { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 36px); }
@media (min-width: 560px){ .tech-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px){ .tech-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1120px){ .tech-cols { grid-template-columns: repeat(5, 1fr); } }
.tech-col { display: flex; flex-direction: column; }
.tech-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.55rem); color: var(--color-dark-grey); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 16px; }
.tech-photo { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--gradient-06); margin-bottom: 16px; }
.tech-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-desc { font-size: 0.9rem; line-height: 1.58; color: #4A4A4B; }
/* mobile: las 5 tarjetas en galería horizontal */
@media (max-width: 559px){
  .tech-cols { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 8px; }
  .tech-cols::-webkit-scrollbar { display: none; }
  .tech-col { flex: 0 0 80%; scroll-snap-align: start; }
  .tech-title { min-height: 2.4em; }
}

/* ---- Flota — cabecera + tarjetas de aviones ---------------------------- */
/* ---- Modalidades — foto arriba de cada tarjeta (edge-to-edge) ----------- */
.mod-card { overflow: hidden; }
.mod-photo { margin: calc(-1 * clamp(24px, 3vw, 36px)); margin-bottom: clamp(18px, 2.5vw, 26px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-silver); }
.mod-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }

.fleet2-head { max-width: 620px; margin-bottom: clamp(34px, 5vw, 54px); }
.fleet2-grid { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.fleet2-grid::-webkit-scrollbar { display: none; }
.fleet2-card { flex: 0 0 74%; scroll-snap-align: start; }
@media (min-width: 560px){ .fleet2-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; } .fleet2-card { flex: none; } }
@media (min-width: 960px){ .fleet2-grid { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); } }

/* ---- Un gesto = una tarjeta --------------------------------------------
   scroll-snap-stop: always impide que un swipe fuerte saltee tarjetas: el
   scroll se detiene sí o sí en el siguiente anclaje. Conserva el momentum
   nativo del navegador, así que el gesto sigue siendo ágil (no lo frena). */
.story, .pcard, .fleet2-card, .tech-col, .sims-slide { scroll-snap-stop: always; }

/* ---- Mobile: carruseles a sangre ---------------------------------------
   El contenedor se extiende hasta el borde de la pantalla (margen negativo)
   y recupera el margen por dentro (padding), así la primera tarjeta sigue
   alineada al texto pero las que asoman se cortan en el borde del viewport.
   scroll-padding mantiene el snap alineado al margen de texto. */
@media (max-width: 899px){
  .stories-grid, .pilots-cards, .sims-viewer {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}
@media (max-width: 559px){
  .fleet2-grid, .tech-cols {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}
.fleet2-photo { aspect-ratio: 16 / 10; display: grid; place-items: center; margin-bottom: 14px; padding: 6px; }
.fleet2-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fleet2-meta { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--color-grey); padding-top: 14px; }
.fleet2-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--color-dark-blue); line-height: 1.1; }
.fleet2-specs { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.fleet2-specs li { font-size: 0.88rem; color: #4A4A4B; line-height: 1.4; }

/* ---- Hero: colores de texto sobre el video (al final para ganar a .on-dark) ---- */
.hero .lead { color: rgba(255,255,255,0.92); max-width: 50ch; }
.hero .eyebrow { color: #AECBDE; }
.hero .eyebrow::before { background: #AECBDE; }
.hero .hl-mute { color: #C6D5E0; }
.hero .hero-micro { color: #CBDCE9; }
