/* ═══════════════════════════════════════════════════════════════════════
   futuro.css — Dirección visual "La institución, verificada" (sep 2026)
   Se carga después de style.css. Primero redefine los tokens (así todo el
   sitio pasa al tema nuevo), después reemplaza encabezado y portada.

   Paleta: tinta nocturna de fondo, cian solo como luz (líneas, escaneo, foco,
   botón principal), verde solo para estados verificados. Sin emojis, sin
   etiquetas en mayúsculas, sin sombras grises genéricas.
   Tipografías: Chakra Petch (títulos) + IBM Plex Sans (textos y números).
   ═══════════════════════════════════════════════════════════════════════ */

:root, [data-theme="dark"], [data-theme="light"] {
  --tinta:     #07152B;
  --plano:     #0E2240;
  --plano-2:   #122A4D;
  --cian:      #00D4FF;
  --niebla:    #D6E4EE;
  --bruma:     #7F97AE;
  --verificado:#3DDC97;
  --linea:     rgba(127, 151, 174, 0.18);
  --linea-luz: rgba(0, 212, 255, 0.28);

  /* Tokens de style.css apuntados a la paleta nueva */
  --cp: var(--cian); --cp-dark: #7EE8FF; --cp-light: var(--cian);
  --cp-bg: rgba(0, 212, 255, 0.07); --cp-bdr: rgba(0, 212, 255, 0.24);
  --ch: var(--cian);
  --cyan: var(--cian); --cyan-dark: #7EE8FF; --cyan-bg: rgba(0, 212, 255, 0.07); --cyan-bdr: rgba(0, 212, 255, 0.24);
  --bg: var(--tinta); --bg2: #0A1B35; --bg3: var(--plano); --surface: var(--plano);
  --text: var(--niebla); --text2: #C4D5E2; --muted: #A7BACB; --muted2: var(--bruma);
  --border: var(--linea); --border2: rgba(127, 151, 174, 0.3);
  --green: var(--verificado); --green-bg: rgba(61, 220, 151, 0.1); --green-bdr: rgba(61, 220, 151, 0.3);
  --shadow-sm: none; --shadow: 0 1px 0 var(--linea); --shadow-md: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.8); --shadow-cp: none;
  --font-d: 'Chakra Petch', 'Segoe UI', sans-serif;
  --font-b: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color-scheme: dark;
}

html { background: var(--tinta); }
body {
  background: var(--tinta);
  color: var(--niebla);
  font-family: var(--font-b);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .section-title { font-family: var(--font-d); letter-spacing: -0.01em; }
::selection { background: rgba(0, 212, 255, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; border-radius: 4px; }

/* ─── Barra de oferta: una línea sobria, no un grito en mayúsculas ─────── */
.announce-bar {
  background: var(--plano); color: var(--niebla);
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.84rem;
  border-bottom: 1px solid var(--linea);
}

/* ─── Encabezado ──────────────────────────────────────────────────────── */
header {
  height: 88px;
  background: rgba(7, 21, 43, 0.78);
  border-bottom: 1px solid var(--linea);
}
header.scrolled { background: rgba(7, 21, 43, 0.94); box-shadow: none; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; background: rgba(127, 151, 174, 0.1); }
.nav-links a.active { color: #fff; }
.lang-switch { background: transparent; border: 1px solid var(--linea); }
.lang-flag.active { background: var(--plano); box-shadow: 0 0 0 1px var(--linea-luz); }

/* ─── Botones: uno lleno (la acción principal), el resto de línea ──────── */
.btn { border-radius: 8px; font-family: var(--font-b); font-weight: 600; letter-spacing: 0; }
.btn-primary, .nav-links a.btn-primary {
  background: var(--cian); color: #04111F; box-shadow: none;
}
.btn-primary:hover, .nav-links a.btn-primary:hover { background: #5BE3FF; color: #04111F; transform: none; box-shadow: none; }
.btn-secondary, .btn-outline {
  background: transparent; color: var(--niebla); border: 1px solid var(--border2); box-shadow: none;
}
.btn-secondary:hover, .btn-outline:hover { border-color: var(--cian); color: #fff; background: transparent; }

/* ═══════════════════════════════════════════════════════════════════════
   PORTADA
   ═══════════════════════════════════════════════════════════════════════ */
.fx-hero {
  position: relative;
  overflow: hidden;
  padding: calc(34px + 88px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--linea);
}
/* Retícula de plano técnico, muy tenue, que se apaga hacia los bordes */
.fx-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 212, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 212, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}
.fx-hero-inner {
  position: relative;
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.fx-hero h1 {
  font-size: clamp(2.3rem, 3.55vw, 3.3rem);
  line-height: 1.05; font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin: 0 0 1.5rem;
}
.fx-hero h1 span { display: block; }
@media (min-width: 961px) { .fx-hero h1 span { white-space: nowrap; } }
.fx-hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.65;
  color: var(--muted); max-width: 34rem; margin: 0 0 2rem;
}
.fx-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.fx-hero-actions .btn { padding: 0.95rem 1.5rem; font-size: 0.98rem; }
.fx-hero-note { font-size: 0.86rem; color: var(--bruma); margin: 0 0 2.25rem; }
.fx-hero-facts {
  list-style: none; margin: 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--linea);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem;
  max-width: 30rem;
}
.fx-hero-facts li { font-size: 0.9rem; color: var(--niebla); padding-left: 1rem; position: relative; }
.fx-hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 1px; background: var(--cian);
}

/* ─── El certificado y el escaneo ─────────────────────────────────────── */
.fx-cert { margin: 0; perspective: 1600px; }
.fx-cert-sheet {
  position: relative;
  border-radius: 6px; overflow: hidden;
  transform: rotateY(-9deg) rotateX(3deg);
  transform-origin: 60% 50%;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.22),
    -28px 30px 80px -40px rgba(0, 212, 255, 0.35),
    0 50px 90px -45px rgba(0, 0, 0, 0.85);
}
.fx-cert-sheet img { display: block; width: 100%; height: auto; }

/* Línea de luz que recorre el certificado una sola vez al cargar */
.fx-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 22%;
  /* estela suave + línea nítida con brillo en el borde inferior */
  background: linear-gradient(to bottom, rgba(0, 212, 255, 0) 0%, rgba(0, 180, 230, 0.10) 75%, rgba(0, 180, 230, 0.22) 97%);
  border-bottom: 3px solid var(--cian);
  box-shadow: 0 6px 18px rgba(0, 212, 255, 0.55);
  transform: translateY(-100%);
  opacity: 0;
  animation: fx-escaneo 1.7s cubic-bezier(0.45, 0, 0.25, 1) 0.5s 1 forwards;
}
@keyframes fx-escaneo {
  0%   { transform: translateY(-100%); opacity: 1; }
  88%  { transform: translateY(420%);  opacity: 1; }
  100% { transform: translateY(460%);  opacity: 0; }
}
/* Marco que se enciende sobre el QR cuando el escaneo termina */
.fx-qr-ring {
  position: absolute; left: 80.1%; top: 3.2%; width: 15.8%; height: 23.9%;
  border: 3px solid var(--verificado); border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.18), 0 0 30px rgba(61, 220, 151, 0.45);
  opacity: 0; transform: scale(1.12);
  animation: fx-encender 0.5s ease-out 2.05s 1 forwards;
}
@keyframes fx-encender { to { opacity: 1; transform: scale(1); } }

.fx-cert-status {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.75rem;
  margin: 1.4rem 0 0 1.5rem;
  opacity: 0; animation: fx-aparecer 0.5s ease-out 2.3s 1 forwards;
}
@keyframes fx-aparecer { to { opacity: 1; } }
.fx-cert-status strong {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--verificado);
}
.fx-cert-status strong svg { width: 18px; height: 18px; flex: none; }
.fx-cert-status span { font-size: 0.86rem; color: var(--bruma); }
.fx-cert-hint { flex-basis: 100%; }

@media (prefers-reduced-motion: reduce) {
  .fx-scan { display: none; }
  .fx-qr-ring, .fx-cert-status { animation: none; opacity: 1; transform: none; }
}

/* ─── Celular y tablet ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .fx-hero { padding-top: calc(34px + 72px + 2.5rem); }
  .fx-hero-inner { grid-template-columns: 1fr; }
  .fx-cert-sheet { transform: none; }
  .fx-cert-status { margin-left: 0; }
  header { height: 72px; }
}
@media (max-width: 520px) {
  .fx-hero h1 { font-size: 2rem; }
  .fx-hero-actions .btn { width: 100%; justify-content: center; }
  .fx-hero-facts { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SECCIONES (debajo de la portada)
   Títulos a la izquierda, sin etiquetas en mayúsculas ni tarjetas repetidas.
   Las pantallas son capturas reales del campus.
   ═══════════════════════════════════════════════════════════════════════ */
.fx-sec { padding: clamp(4.5rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--linea); position: relative; }
.fx-sec-alt { background: #081a33; }
.fx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); position: relative; }
.fx-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.fx-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; font-weight: 700;
  color: #fff; margin: 0 0 1rem; text-wrap: balance;
}
.fx-head p { font-size: 1.05rem; line-height: 1.65; color: var(--muted); margin: 0; max-width: 38rem; }
.fx-small { font-size: 0.84rem; color: var(--bruma); margin: 0.85rem 0 0; }
.fx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fx-split > .fx-head { position: sticky; top: 140px; margin-bottom: 0; }

/* ─── La falsa elección: tres columnas separadas por líneas ───────────── */
.fx-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linea); }
.fx-door { padding: 1.75rem 1.75rem 0 0; }
.fx-door + .fx-door { padding-left: 1.75rem; border-left: 1px solid var(--linea); }
.fx-door h3 { font-size: 1.12rem; color: var(--bruma); margin: 0 0 0.75rem; font-weight: 600; }
.fx-door p { font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin: 0; }
.fx-door.is-us { position: relative; }
.fx-door.is-us::before { content: ""; position: absolute; left: -1px; right: 0; top: -1px; height: 2px; background: var(--cian); box-shadow: 0 0 14px rgba(0, 212, 255, 0.6); }
.fx-door.is-us h3 { color: #fff; }
.fx-door.is-us p { color: var(--niebla); }

/* ─── Para quién: filas como un índice ────────────────────────────────── */
.fx-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.fx-rows li { border-bottom: 1px solid var(--linea); }
.fx-rows a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 2rem;
  padding: 1.5rem 0.25rem; text-decoration: none; transition: background 0.2s;
}
.fx-rows a:hover { background: rgba(0, 212, 255, 0.035); }
.fx-rows strong { font-family: var(--font-d); font-size: 1.2rem; font-weight: 600; color: #fff; }
.fx-rows span { grid-column: 1; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }
.fx-rows em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 0.88rem; font-weight: 600; color: var(--cian); white-space: nowrap; }
.fx-rows a:hover em { text-decoration: underline; text-underline-offset: 4px; }

/* ─── El problema ─────────────────────────────────────────────────────── */
.fx-problem { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fx-pains { list-style: none; margin: 0; padding: 0; }
.fx-pains li { padding: 0 0 1.75rem 1.5rem; border-left: 1px solid var(--linea); position: relative; }
.fx-pains li::before { content: ""; position: absolute; left: -4px; top: 0.45em; width: 7px; height: 7px; border-radius: 1px; background: #E0655B; }
.fx-pains li:last-child { padding-bottom: 0; }
.fx-pains h3 { font-size: 1.1rem; color: #fff; margin: 0 0 0.4rem; font-weight: 600; }
.fx-pains p { font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin: 0; }
.fx-fix {
  background: var(--plano); border: 1px solid var(--linea); border-top: 2px solid var(--verificado);
  border-radius: 6px; padding: 2rem;
}
.fx-fix-kicker { font-size: 0.88rem; font-weight: 600; color: var(--verificado); margin: 0 0 0.6rem; }
.fx-fix h3 { font-size: 1.35rem; line-height: 1.25; color: #fff; margin: 0 0 1.5rem; }
.fx-fix ul, .fx-plan ul, .fx-readout ul { list-style: none; margin: 0; padding: 0; }
.fx-fix li, .fx-plan li, .fx-readout li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.95rem; line-height: 1.5; color: var(--niebla); padding: 0.45rem 0;
}
.fx-fix li svg, .fx-plan li svg, .fx-readout li svg { width: 16px; height: 16px; flex: none; margin-top: 0.2em; color: var(--verificado); }

/* ─── Qué incluye: franjas que alternan de lado ───────────────────────── */
.fx-strip {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--linea);
}
.fx-strip.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fx-strip.is-flip .fx-strip-copy { order: 2; }
.fx-strip h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; color: #fff; margin: 0 0 1rem; }
.fx-strip-lead { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0 0 1.1rem; }
.fx-strip-lead strong, .fx-more strong { color: var(--niebla); font-weight: 600; }
.fx-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; }
.fx-tags li { font-size: 0.8rem; color: var(--cian); border: 1px solid var(--linea-luz); border-radius: 4px; padding: 0.2rem 0.55rem; }
.fx-more { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--linea); }
.fx-more > div { padding: 0.85rem 0; border-bottom: 1px solid var(--linea); }
.fx-more dt { font-size: 0.95rem; font-weight: 600; color: var(--niebla); margin-bottom: 0.2rem; }
.fx-more dd { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--bruma); }

.fx-strip-media { position: sticky; top: 150px; }
.fx-screen {
  margin: 0; border-radius: 8px; overflow: hidden; background: var(--plano);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.2), 0 40px 80px -40px rgba(0, 0, 0, 0.9), -20px 24px 70px -40px rgba(0, 212, 255, 0.3);
}
.fx-screen img, .fx-screen video { display: block; width: 100%; height: auto; }
.fx-screen-sub {
  position: relative; width: 58%; margin: -10% 0 0 auto; z-index: 1;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.fx-strip.is-flip .fx-screen-sub { margin: -10% auto 0 0; }

.fx-readout {
  background: var(--plano); border: 1px solid var(--linea); border-left: 2px solid var(--cian);
  border-radius: 6px; padding: 1.75rem 2rem;
  background-image: linear-gradient(to right, rgba(0, 212, 255, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.fx-readout-title { font-family: var(--font-d); font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0 0 0.75rem; }
.fx-readout ul { columns: 2; column-gap: 2rem; }
.fx-readout li { break-inside: avoid; }
.fx-readout li svg { color: var(--cian); }

/* ─── Video ───────────────────────────────────────────────────────────── */
.fx-video { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fx-video .fx-head { margin: 0; }
.fx-video-frame video { aspect-ratio: 16 / 9; object-fit: cover; background: #03101F; }
.fx-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 1.25rem 0 1.75rem; padding: 0; }
.fx-meta li { font-size: 0.86rem; color: var(--bruma); padding-left: 0.9rem; position: relative; }
.fx-meta li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; background: var(--cian); border-radius: 1px; }

/* ─── Ficha técnica ───────────────────────────────────────────────────── */
.fx-spec { margin: 0; border-top: 1px solid var(--linea); }
.fx-spec > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--linea); }
.fx-spec dt { font-family: var(--font-d); font-size: 1.05rem; font-weight: 600; color: #fff; }
.fx-spec dt span { font-family: var(--font-b); font-size: 0.8rem; font-weight: 500; color: var(--cian); margin-left: 0.4rem; }
.fx-spec dd { margin: 0; font-size: 0.92rem; line-height: 1.75; color: var(--muted); }
.fx-spec dd span + span::before { content: "·"; color: var(--bruma); margin: 0 0.55rem; }

/* ─── Cómo funciona ───────────────────────────────────────────────────── */
.fx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.fx-steps li { border-top: 1px solid var(--linea); padding-top: 1.25rem; position: relative; }
.fx-steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--cian); }
.fx-step-num { display: block; font-family: var(--font-d); font-size: 0.95rem; font-weight: 600; color: var(--cian); margin-bottom: 0.9rem; }
.fx-steps h3 { font-size: 1.1rem; color: #fff; margin: 0 0 0.5rem; }
.fx-steps p { font-size: 0.93rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* ─── Precios: dos columnas tipo ficha ────────────────────────────────── */
.fx-ribbon { display: inline-block; font-size: 0.88rem; font-weight: 600; color: var(--verificado); border: 1px solid rgba(61, 220, 151, 0.35); border-radius: 4px; padding: 0.3rem 0.7rem; margin: 0 0 1.5rem; }
.fx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--linea); border-radius: 8px; overflow: hidden; }
.fx-plan { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; background: var(--tinta); }
.fx-plan + .fx-plan { border-left: 1px solid var(--linea); }
.fx-plan.is-full { background: var(--plano); box-shadow: inset 0 2px 0 var(--cian); }
.fx-plan h3 { font-size: 1.3rem; color: #fff; margin: 0 0 1.25rem; }
.fx-plan-old { font-size: 0.9rem; color: var(--bruma); text-decoration: line-through; margin: 0; }
.fx-plan-price { font-family: var(--font-d); font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.05; color: #fff; margin: 0.15rem 0 0.25rem; }
.fx-plan-price span { font-size: 1rem; font-weight: 500; color: var(--bruma); vertical-align: 0.9em; }
.fx-plan-unit { font-size: 0.88rem; color: var(--bruma); margin: 0 0 1.25rem; }
.fx-plan-monthly { font-size: 1.05rem; font-weight: 600; color: var(--cian); margin: 0 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.fx-plan-monthly span { display: block; font-size: 0.84rem; font-weight: 400; color: var(--bruma); margin-top: 0.2rem; }
.fx-plan ul { flex: 1; margin-bottom: 2rem; }
.fx-plan li { font-size: 0.92rem; padding: 0.35rem 0; }
.fx-plan .btn { justify-content: center; }

.fx-app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 2rem; padding: 2rem; border: 1px solid var(--linea); border-radius: 8px; }
.fx-app h3 { font-size: 1.25rem; color: #fff; margin: 0 0 0.6rem; }
.fx-app p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin: 0 0 1.25rem; max-width: 40rem; }
.fx-phone { position: relative; width: 190px; border-radius: 30px; padding: 7px; background: #03101F; box-shadow: 0 0 0 1px var(--linea-luz), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.fx-phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px; }
.fx-mute { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(3, 16, 31, 0.75); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fx-mute:hover { border-color: var(--cian); }
.fx-notes { margin-top: 2rem; display: grid; gap: 0.5rem; }
.fx-notes p { font-size: 0.86rem; line-height: 1.6; color: var(--bruma); margin: 0; max-width: 52rem; }
.fx-notes a { color: var(--cian); font-weight: 600; }

/* ─── Preguntas frecuentes ────────────────────────────────────────────── */
.fx-faq { margin: 0; max-width: none; gap: 0; border-top: 1px solid var(--linea); }
.fx-faq .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--linea); border-radius: 0; }
.fx-faq .faq-item.open { border-color: var(--linea); }
.fx-faq .faq-q { padding: 1.2rem 0; font-size: 1rem; font-weight: 500; color: var(--niebla); }
.fx-faq .faq-q:hover { background: transparent; color: #fff; }
.fx-faq .faq-a-inner { padding: 0 2.5rem 0 0; font-size: 0.95rem; }
.fx-faq .faq-item.open .faq-a { max-height: 420px; padding: 0 0 1.25rem; }

/* ─── Cierre ──────────────────────────────────────────────────────────── */
.fx-close { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8rem) 0; }
.fx-close .fx-hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000 10%, transparent 70%); }
.fx-close h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; color: #fff; margin: 0 0 1rem; max-width: 22ch; }
.fx-close p { font-size: 1.05rem; color: var(--muted); margin: 0 0 2rem; max-width: 36rem; }
.fx-close .fx-small { margin-top: 1.25rem; font-size: 0.86rem; color: var(--bruma); }

/* ─── Páginas por público (academias, empresas) ───────────────────────── */
.fx-kicker { font-size: 0.92rem; font-weight: 600; color: var(--cian); margin: 0 0 1rem; }
.fx-hero-pub h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); text-wrap: balance; margin-bottom: 1rem; }
.fx-hero-sub { font-family: var(--font-d); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.4; color: var(--niebla); margin: 0 0 1.25rem; max-width: 34rem; }
.fx-pub-media { position: relative; top: 0; }
.fx-pains-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); }
.fx-pains-2 li, .fx-pains-2 li:last-child { padding-bottom: 0; }
.fx-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.fx-cols li { border-top: 1px solid var(--linea); padding-top: 1.25rem; position: relative; }
.fx-cols li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--verificado); }
.fx-cols h3 { font-size: 1.12rem; line-height: 1.3; color: #fff; margin: 0 0 0.6rem; }
.fx-cols p { font-size: 0.94rem; line-height: 1.7; color: var(--muted); margin: 0; }
.fx-rows-plain span { display: flex; gap: 0.75rem; align-items: center; padding: 1.1rem 0.25rem; font-family: var(--font-d); font-size: 1.1rem; font-weight: 600; color: #fff; }
.fx-rows-plain svg { width: 18px; height: 18px; flex: none; color: var(--verificado); }

/* ─── Accesibilidad y detalles (revisión con frontend-design + ui-ux-pro-max) ── */
.fx-skip {
  position: absolute; left: 1rem; top: -100px; z-index: 10000;
  background: var(--cian); color: #04111F; font-weight: 600; padding: 0.75rem 1.1rem; border-radius: 6px;
}
.fx-skip:focus { top: 1rem; }
main:focus { outline: none; }
/* Botones de idioma y menú: área táctil de 44px sin cambiar cómo se ven */
.lang-flag { position: relative; }
.lang-flag::after { content: ""; position: absolute; inset: -8px; }
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
/* Pie: títulos en tipo de oración, sin mayúsculas espaciadas */
.footer-col h5 { text-transform: none; letter-spacing: 0; font-family: var(--font-d); font-size: 0.95rem; font-weight: 600; color: var(--niebla); }
/* Respuestas largas: sin corte */
.fx-faq .faq-item.open .faq-a { max-height: 1200px; }
.faq-q { cursor: pointer; }
/* Ficha técnica: lista en columnas, sin puntos medios */
.fx-spec dd ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.fx-spec dd li { break-inside: avoid; padding: 0.2rem 0 0.2rem 0.9rem; position: relative; line-height: 1.55; }
.fx-spec dd li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 4px; height: 4px; background: var(--bruma); border-radius: 1px; }

/* ─── Celular y tablet ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* La captura va después del primer párrafo, no al final de toda la lista */
  .fx-strip .fx-strip-copy { display: contents; }
  .fx-strip h3 { order: 1; margin-bottom: 0; }
  .fx-strip .fx-strip-lead { order: 2; margin: 0; }
  .fx-strip .fx-tags { order: 3; margin: 0; }
  .fx-strip .fx-strip-media { order: 4; margin: 0.5rem 0; }
  .fx-strip .fx-more { order: 5; }
  .fx-strip { gap: 1rem; }
  .fx-pains-2 { grid-template-columns: 1fr; }
  .fx-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-split, .fx-problem, .fx-strip, .fx-strip.is-flip, .fx-video { grid-template-columns: 1fr; }
  .fx-split > .fx-head { position: static; margin-bottom: 2rem; }
  .fx-strip.is-flip .fx-strip-copy { order: 0; }
  .fx-strip-media { position: relative; top: 0; }
  .fx-doors { grid-template-columns: 1fr; }
  .fx-door, .fx-door + .fx-door { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--linea); }
  .fx-door.is-us::before { left: 0; }
  .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-spec > div { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 640px) {
  .fx-cols { grid-template-columns: 1fr; }
  .fx-spec dd ul { columns: 1; }
  /* Texto de lectura a 16px en celular */
  .fx-head p, .fx-door p, .fx-rows span, .fx-pains p, .fx-strip-lead, .fx-more dd,
  .fx-spec dd, .fx-steps p, .fx-cols p, .fx-app p, .fx-fix li, .fx-plan li,
  .fx-faq .faq-a-inner, .fx-close p, .fx-hero-lead { font-size: 1rem; }
  .fx-plans { grid-template-columns: 1fr; }
  .fx-plan + .fx-plan { border-left: 0; border-top: 1px solid var(--linea); }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-rows a { grid-template-columns: 1fr; }
  .fx-rows em { grid-column: 1; grid-row: auto; }
  .fx-readout ul { columns: 1; }
  .fx-app { grid-template-columns: 1fr; justify-items: center; }
  .fx-screen-sub { width: 72%; }
  .fx-close .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOVIMIENTO (sobrio). Los estados iniciales solo existen bajo html.fx-anim,
   que agrega futuro.js cuando el visitante no pidió reducir el movimiento.
   ═══════════════════════════════════════════════════════════════════════ */

/* Transición suave entre páginas e idiomas (View Transitions, navegadores nuevos) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }
}

/* 1 · Pantallas que se "verifican" al entrar: la misma línea de luz del certificado */
.fx-anim .fx-strip-media .fx-screen, .fx-anim .fx-pub-media .fx-screen { position: relative; }
.fx-anim .fx-strip-media .fx-screen img, .fx-anim .fx-pub-media .fx-screen img {
  filter: brightness(0.32) saturate(0.5);
  transition: filter 0.9s cubic-bezier(0.3, 0, 0.2, 1) 0.2s;
}
.fx-anim .fx-strip-media .fx-screen::after, .fx-anim .fx-pub-media .fx-screen::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28%;
  background: linear-gradient(to bottom, rgba(0, 212, 255, 0) 0%, rgba(0, 180, 230, 0.10) 80%, rgba(0, 180, 230, 0.22) 98%);
  border-bottom: 2px solid var(--cian); box-shadow: 0 6px 16px rgba(0, 212, 255, 0.45);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
}
.fx-anim .is-visto .fx-screen img { filter: none; }
.fx-anim .is-visto .fx-screen::after { animation: fx-escaneo-pantalla 1.1s cubic-bezier(0.45, 0, 0.25, 1) 1 forwards; }
.fx-anim .is-visto .fx-screen-sub::after { animation-delay: 0.45s; }
.fx-anim .is-visto .fx-screen-sub img { transition-delay: 0.6s; }
@keyframes fx-escaneo-pantalla {
  0%   { transform: translateY(-100%); opacity: 1; }
  85%  { transform: translateY(260%);  opacity: 1; }
  100% { transform: translateY(290%);  opacity: 0; }
}
.fx-anim .fx-screen-sub { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out 0.45s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s; }
.fx-anim .is-visto .fx-screen-sub { opacity: 1; transform: none; }

/* 2 · Profundidad al bajar: la pantalla de encima va un poco más lenta (CSS scroll-driven) */
@supports (animation-timeline: view()) {
  .fx-anim .fx-screen-sub {
    animation: fx-profundidad linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes fx-profundidad { from { translate: 0 34px; } to { translate: 0 -34px; } }
  .fx-anim .fx-cert { animation: fx-cert-sube linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  @keyframes fx-cert-sube { from { translate: 0 0; } to { translate: 0 -48px; } }
}

/* 3 · El certificado responde al puntero: inclinación leve y reflejo de luz */
.fx-cert-sheet {
  transform: rotateY(calc(-9deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg)));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fx-cert-sheet.is-apuntado { transition-duration: 0.12s; }
.fx-cert-sheet::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.4s ease;
}
.fx-cert-sheet.is-apuntado::before { opacity: 1; }
@media (max-width: 960px) { .fx-cert-sheet { transform: none; } }

/* 4 · Tildes que se dibujan una por una */
.fx-anim .fx-fix li svg path, .fx-anim .fx-plan li svg path, .fx-anim .fx-readout li svg path {
  stroke-dasharray: 24; stroke-dashoffset: 24;
}
.fx-anim .is-visto li svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.3, 0, 0.2, 1) calc(0.15s + var(--i, 0) * 70ms);
}

/* 5 · Los pasos se completan en orden */
.fx-anim .fx-steps li::before { transform: scaleX(0); transform-origin: left; }
.fx-anim .fx-steps.is-visto li::before { transform: scaleX(1); transition: transform 0.5s cubic-bezier(0.3, 0, 0.2, 1); }
.fx-anim .fx-steps.is-visto li:nth-child(2)::before { transition-delay: 0.3s; }
.fx-anim .fx-steps.is-visto li:nth-child(3)::before { transition-delay: 0.6s; }
.fx-anim .fx-steps.is-visto li:nth-child(4)::before { transition-delay: 0.9s; }
.fx-anim .fx-steps .fx-step-num { opacity: 0.35; transition: opacity 0.4s ease; }
.fx-anim .fx-steps.is-visto li .fx-step-num { opacity: 1; }
.fx-anim .fx-steps.is-visto li:nth-child(2) .fx-step-num { transition-delay: 0.3s; }
.fx-anim .fx-steps.is-visto li:nth-child(3) .fx-step-num { transition-delay: 0.6s; }
.fx-anim .fx-steps.is-visto li:nth-child(4) .fx-step-num { transition-delay: 0.9s; }
