/* El Mentor de la Libertad · Portada (rediseño oscuro, octubre 2026)
   Solo la portada (/index.html). Las apps y las demás páginas siguen con /apps/assets/style.css.
   - Siempre oscura (sin botón claro/oscuro). Letra: Barlow Condensed (títulos y texto) + JetBrains Mono (etiquetas).
   - Fondo animado (red de puntos con luces naranjas), barra de progreso arriba y cabecera que se esconde al bajar.
   - Escritorio: cada gesto de scroll lleva a la sección siguiente (scroll-snap). Móvil: scroll normal.
   Código: /assets/home.js */

:root {
  --bg: #020202; --bg2: #0a0d0e; --bg3: #141a1c; --glow: #18212a; --floor: #101719;
  --cream: #f3f0e8; --cream-ink: #0a0a0a;
  --fg: #fff; --muted: #a3a9ab; --dim: #6b7376; --line: #1f2729; --line-hi: #323d40;
  --accent: #ff9a1f; --accent-ink: #000; --accent-soft: rgba(255, 154, 31, .14); --bad: #e5484d;
  --card: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  --bd: linear-gradient(140deg, rgba(255, 154, 31, .55), rgba(255, 154, 31, .08) 40%, rgba(255, 154, 31, .06) 62%, rgba(255, 154, 31, .3));
  --bd-hi: linear-gradient(140deg, rgba(255, 176, 70, .95), rgba(255, 154, 31, .16) 42%, rgba(255, 154, 31, .1) 62%, rgba(255, 154, 31, .55));
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  /* nombres que usan la ventana «Solicitar plaza» y la banda de plazas (/assets/waitlist.js) */
  --font-display: var(--display); --font-sub: var(--display); --font-body: var(--body);
  --nav-h: 67px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body);
  font-size: 21px; font-weight: 500; line-height: 1.5; letter-spacing: .012em; font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* luz ambiente: foco frío arriba, suelo iluminado abajo, bordes negros */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 62% at 50% -6%, var(--glow) 0, rgba(2, 2, 2, 0) 100%),
    radial-gradient(ellipse 85% 26% at 50% 108%, var(--floor) 0, rgba(2, 2, 2, 0) 100%),
    radial-gradient(ellipse 95% 80% at 50% 40%, rgba(2, 2, 2, 0) 55%, rgba(0, 0, 0, .55) 100%);
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: .012em; }
h1, h2 { text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: .02em; }
p { margin: 0; }
a { color: inherit; }
b, strong { font-weight: 600; }
.wrap { max-width: 1120px; margin: 0 auto; width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(255, 154, 31, .35); }

/* ---------- Secciones (escritorio: una por pantalla) ---------- */
.s { position: relative; padding-block: clamp(64px, 10vw, 104px); }
@media (min-width: 900px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  html { scroll-snap-type: y mandatory; }
  .s {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: calc(var(--nav-h) + 22px) 40px;
    scroll-snap-align: start; scroll-snap-stop: always;
  }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Piezas comunes ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--mono); font-size: .84rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; line-height: 1.3;
  color: #ffc27a; padding: 10px 20px 10px 16px; border: 1px solid rgba(255, 154, 31, .5); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 154, 31, .16), rgba(255, 154, 31, .05));
  box-shadow: 0 0 28px -8px rgba(255, 154, 31, .55), inset 0 1px 0 rgba(255, 200, 130, .22); text-shadow: 0 0 14px rgba(255, 154, 31, .45);
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px rgba(255, 154, 31, .75); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 154, 31, .55), 0 0 10px 2px rgba(255, 154, 31, .75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 154, 31, 0), 0 0 10px 2px rgba(255, 154, 31, .75); } }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 18px; }
.lede b { color: var(--fg); }
.muted { color: var(--muted); }
.mentor { color: var(--fg); font-weight: 600; }
.small { font-size: .8rem; color: var(--dim); }
.small a, .src a, .cmfoot a { color: var(--fg); text-underline-offset: 3px; }
.grid { display: grid; gap: 20px; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1.05rem/1.1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  color: var(--accent); background: linear-gradient(180deg, rgba(255, 154, 31, .20), rgba(255, 154, 31, .10));
  border: 1px solid rgba(255, 154, 31, .7); border-radius: 14px; padding: 14px 28px;
  box-shadow: 0 0 22px -6px rgba(255, 154, 31, .45), inset 0 0 14px rgba(255, 154, 31, .08);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 200, 120, .35), transparent); transform: skewX(-18deg); transition: left .8s cubic-bezier(.16, 1, .3, 1); }
.btn:hover { background: linear-gradient(180deg, rgba(255, 154, 31, .32), rgba(255, 154, 31, .18)); box-shadow: 0 0 30px -4px rgba(255, 154, 31, .6), inset 0 0 16px rgba(255, 154, 31, .12); transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 1px)); }
.btn:hover::after { left: 130%; }
.btn.sm { padding: 9px 18px; font-size: .95rem; border-radius: 12px; }
.btn.lg { font-size: 1.3rem; padding: 17px 34px; text-transform: uppercase; letter-spacing: .05em; }
.btn:not(.sm) { animation: btnPulse 3.8s ease-in-out infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 22px -6px rgba(255, 154, 31, .45), inset 0 0 14px rgba(255, 154, 31, .08); } 50% { box-shadow: 0 0 38px -4px rgba(255, 154, 31, .7), inset 0 0 18px rgba(255, 154, 31, .14); } }

/* Un solo sistema de tarjetas: fondo de cristal + borde de luz naranja */
.card, .stat, .ref, .big, .cols3 > div, .sol > div, .how > div, .facts > div, .pod, .steps .st, .tool, .q, .faq details {
  position: relative; background: var(--card); border: 1px solid rgba(255, 154, 31, .24); border-radius: 20px; padding: 28px;
  box-shadow: 0 -12px 30px -20px rgba(255, 154, 31, .4);
  transition: border-color .3s, transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
/* tarjetas con borde degradado y foco que sigue al ratón */
.fxc.fxc {
  border-color: transparent; background-origin: border-box;
  background-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 31, var(--ma, 0)), transparent 62%), var(--card), linear-gradient(#0a0a0a, #0a0a0a), var(--bd);
  background-clip: padding-box, padding-box, padding-box, border-box;
  box-shadow: 0 -14px 34px -22px rgba(255, 154, 31, .35);
}
.fxc.fxc:hover {
  --ma: .13; transform: translateY(-4px);
  background-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 31, var(--ma, 0)), transparent 62%), var(--card), linear-gradient(#0a0a0a, #0a0a0a), var(--bd-hi);
  box-shadow: 0 22px 50px -28px rgba(255, 154, 31, .5), 0 -14px 34px -18px rgba(255, 154, 31, .45);
}
.n { font-family: var(--display); font-weight: 500; line-height: 1; color: var(--accent); letter-spacing: .01em; text-shadow: 0 0 22px rgba(255, 154, 31, .35); font-variant-numeric: tabular-nums; }

/* ---------- Cabecera ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  background: rgba(2, 2, 2, .7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.topbar.is-hidden { transform: translateY(calc(-100% - 2px)); }
.topbar nav { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 28px; padding-block: 10px; }
.logo { display: block; line-height: 0; text-decoration: none; flex: none; }
.logo img { display: block; height: 39px; width: auto; }   /* logo sin fondo, un 10 % más grande que la versión con placa */
.navlinks { display: flex; gap: 28px; margin-left: auto; font-family: var(--mono); font-size: .74rem; font-weight: 500; }
.navlinks a { position: relative; white-space: nowrap; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; color: #f3f0e8; transition: color .25s; }
.navlinks a:hover { color: #ffc27a; }
.topbar .btn.sm { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; color: #ffc27a; }
.navlinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.navlinks a:hover::after, .navlinks a:focus-visible::after { transform: scaleX(1); }
@media (max-width: 1040px) { .navlinks { gap: 18px; } .navlinks a { letter-spacing: .1em; } }
/* Con cinco apps en el menú no caben por debajo de ~940 px: ahí se esconde, como en el móvil */
@media (max-width: 940px) { .navlinks { display: none; } .topbar .btn { margin-left: auto; } }

/* ---------- 1. Portada ---------- */
.hero { text-align: center; }
@media not all and (min-width: 900px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .hero.s { padding-top: calc(var(--nav-h) + clamp(28px, 7vw, 56px)); }
}
.hero-img { margin: 0 auto; width: 80%; max-width: 896px; overflow: hidden; mix-blend-mode: lighten;
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--fy, 0px)), 0); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.hero-img img { display: block; width: 100%; height: auto; animation: coinBreath 7s ease-in-out infinite; }
@keyframes coinBreath { 0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255, 154, 31, 0)); } 50% { filter: brightness(1.08) drop-shadow(0 10px 30px rgba(255, 154, 31, .18)); } }
@media (max-width: 700px) { .hero-img { width: 100%; } .hero-img img { width: 130%; max-width: none; margin-left: -15%; } }
.glint { position: relative; width: min(440px, 58%); height: 2px; margin: clamp(4px, 1vw, 10px) auto clamp(14px, 2.2vw, 26px); }
.glint::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 154, 31, .22), transparent); }
.glint i { position: absolute; top: -1px; left: 0; width: 46%; height: 3px; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); filter: drop-shadow(0 0 7px rgba(255, 154, 31, .85));
  animation: glint 5.6s cubic-bezier(.45, .05, .25, 1) infinite; }
@keyframes glint { 0% { transform: translateX(-8%); opacity: 0; } 14% { opacity: 1; } 58% { opacity: 1; } 82%, 100% { transform: translateX(116%); opacity: 0; } }
/* Botón principal: el programa + la acción. Más grande y luminoso que cualquier otro botón de la página */
.cta-main { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; flex-direction: column; align-items: center; gap: 7px;
  text-decoration: none; padding: 15px 38px 16px; border-radius: 18px; border: 1px solid rgba(255, 166, 60, .95);
  background: linear-gradient(180deg, rgba(255, 154, 31, .30), rgba(255, 154, 31, .12));
  box-shadow: 0 0 0 4px rgba(255, 154, 31, .08), 0 0 44px -6px rgba(255, 154, 31, .6), inset 0 0 22px rgba(255, 154, 31, .14);
  transition: background .25s, box-shadow .25s, transform .25s; animation: ctaPulse 3.2s ease-in-out infinite; }
.cta-main::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 210, 140, .45), transparent); transform: skewX(-18deg); animation: ctaSweep 4.5s cubic-bezier(.45, .05, .25, 1) 1.2s infinite; }
.cta-main:hover { background: linear-gradient(180deg, rgba(255, 154, 31, .42), rgba(255, 154, 31, .2)); transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px));
  box-shadow: 0 0 0 5px rgba(255, 154, 31, .12), 0 0 60px -4px rgba(255, 154, 31, .75), inset 0 0 26px rgba(255, 154, 31, .2); }
.cta-k { display: inline-flex; align-items: center; gap: 9px; font: 500 .7rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #f3f0e8; opacity: .9; }
.cta-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 2px rgba(255, 154, 31, .8); }
.cta-t { font: 600 clamp(1.5rem, 2.4vw, 1.8rem)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #ffb049; text-shadow: 0 0 18px rgba(255, 154, 31, .45); }
.cta-t i { font-style: normal; display: inline-block; margin-left: 10px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.cta-main:hover .cta-t i { transform: translateY(4px); }
.cta-main { padding: 19px 40px 18px; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 154, 31, .08), 0 0 40px -8px rgba(255, 154, 31, .5), inset 0 0 20px rgba(255, 154, 31, .12); }
  50% { box-shadow: 0 0 0 7px rgba(255, 154, 31, .05), 0 0 64px -4px rgba(255, 154, 31, .8), inset 0 0 26px rgba(255, 154, 31, .2); } }
@keyframes ctaSweep { 0% { left: -60%; } 45%, 100% { left: 130%; } }
.hero .sub { margin: 26px auto 0; max-width: 50ch; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.hero .sub b { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 0; max-width: 48rem; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px 9px 14px; border: 1px solid rgba(255, 154, 31, .36); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 154, 31, .07), rgba(255, 154, 31, .02)); font-size: .9rem; color: #d5d9da; line-height: 1.3;
  box-shadow: 0 0 20px -12px rgba(255, 154, 31, .6); }
.chips li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px 1px rgba(255, 154, 31, .75); }
.chips b { color: var(--fg); margin-right: -4px; }
.scroll-cue { display: none; }
@media (min-width: 900px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .scroll-cue { display: grid; place-items: center; position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
    border: 1.5px solid rgba(255, 154, 31, .45); border-radius: 14px; }
  .scroll-cue::before { content: ""; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { transform: translateY(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
}
.rise { transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
html.pre .rise { opacity: 0; transform: translateY(22px); }

/* ---------- 2. Vídeo de presentación (miniatura de YouTube; el reproductor se carga al pulsar) ---------- */
.vsec { text-align: center; }
.vsec .wrap { max-width: 1240px; }
.video { position: relative; width: min(1000px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--vr, 16px); overflow: hidden; background: #0b0b0c;
  border: 1px solid rgba(255, 154, 31, calc(.2 + .3 * var(--vg, 1)));
  box-shadow: 0 30px 90px -36px rgba(255, 154, 31, calc(.15 + .45 * var(--vg, 1))), 0 24px 60px rgba(0, 0, 0, .5);
  transform: scale(var(--vs, 1)); transform-origin: 50% 35%; opacity: var(--vo, 1); will-change: transform; }
@media (min-width: 900px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .video { width: min(1200px, 100%, calc((100svh - 250px) * 16 / 9)); }
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; color: #f2e9dd;
  background: radial-gradient(55% 75% at 50% 42%, rgba(247, 147, 26, .28), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 64px), #0b0b0c; }
.video-soon .play { width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%; background: #f7931a; color: #000; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(247, 147, 26, .18); }
.video-soon .play svg, .yt .play svg { width: 44%; height: 44%; margin-left: 6%; }
.yt { position: absolute; inset: 0; display: block; overflow: hidden; color: #f2e9dd; background: #0b0b0c; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(1.05); transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .4s ease; }
.yt::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 70% at 50% 50%, transparent 35%, rgba(0, 0, 0, .42)), linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .55)); }
.yt .play { position: absolute; z-index: 1; left: 50%; top: 50%; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%;
  background: #f7931a; color: #000; display: grid; place-items: center; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(247, 147, 26, .2), 0 0 44px rgba(247, 147, 26, .45); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease; }
.yt-len { position: absolute; z-index: 1; left: 50%; bottom: 7%; transform: translateX(-50%); white-space: nowrap;
  font: 500 clamp(.6rem, 1.1vw, .72rem)/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #f2e9dd;
  padding: 8px 13px; border-radius: 999px; background: rgba(11, 11, 12, .55); border: 1px solid rgba(242, 233, 221, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.yt:hover img, .yt:focus-visible img { transform: scale(1.03); filter: brightness(.95) saturate(1.05); }
.yt:hover .play, .yt:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(247, 147, 26, .24), 0 0 60px rgba(247, 147, 26, .65); }
.yt:focus-visible { outline: 3px solid #f7931a; outline-offset: -3px; }
@media (max-width: 520px) { .yt-len { bottom: 6%; padding: 6px 10px; } }
.soon-title { font: 600 clamp(26px, 3.6vw, 40px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.soon-sub { font-size: clamp(15px, 1.9vw, 19px); color: #b9b2a8; }
.hero-cta { display: grid; justify-items: center; gap: 14px; margin-top: 30px; position: relative; z-index: 1; }
.scarcity { font-size: .9rem; color: var(--muted); }
.scarcity .dot { display: inline-block; vertical-align: 1px; margin-right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2.6s ease-out infinite; }

/* ---------- 3. El problema: preguntas a la izquierda, cifras 2×2 a la derecha ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.qs { position: relative; display: grid; gap: 12px; align-content: center; }
.q { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; cursor: pointer; overflow: hidden;
  font-size: 1.12rem; line-height: 1.4; color: #d5d9da; -webkit-tap-highlight-color: transparent; user-select: none; }
.q input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.q .box { position: relative; flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 154, 31, .7); background: rgba(255, 154, 31, .06);
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.q .box svg { width: 18px; height: 18px; overflow: visible; }
.q .box path { fill: none; stroke: #000; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .42s cubic-bezier(.65, 0, .35, 1); }
.q .box::after { content: ""; position: absolute; inset: -2px; border-radius: 9px; pointer-events: none; }
.q:hover { border-color: rgba(255, 154, 31, .45); }
.q:hover .box { border-color: var(--accent); transform: scale(1.06); }
.q input:focus-visible ~ .box { outline: 2px solid var(--accent); outline-offset: 3px; }
.q::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 154, 31, .18), transparent); transform: skewX(-18deg); }
.q.on { color: #fff; border-color: rgba(255, 154, 31, .6); background-color: rgba(255, 154, 31, .05); box-shadow: 0 0 34px -14px rgba(255, 154, 31, .6); }
.q.on .box { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px rgba(255, 154, 31, .6); }
.q.on .box path { stroke-dashoffset: 0; transition-delay: .06s; }
.q.on .box::after { animation: boxPing .75s ease-out; }
.q.on::after { animation: sweep 1s cubic-bezier(.16, 1, .3, 1); }
@keyframes boxPing { 0% { box-shadow: 0 0 0 0 rgba(255, 154, 31, .7); } 100% { box-shadow: 0 0 0 14px rgba(255, 154, 31, 0); } }
@keyframes sweep { 0% { left: -45%; opacity: 1; } 100% { left: 125%; opacity: 1; } }
.q-done { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 38px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #ffc27a;
  padding: 9px 16px; border: 1px solid rgba(255, 154, 31, .5); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 154, 31, .16), rgba(255, 154, 31, .05));
  box-shadow: 0 0 28px -8px rgba(255, 154, 31, .55); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.qs.all .q-done { opacity: 1; transform: none; }
.sparks { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 5; }
.sparks i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #ffd29a;
  box-shadow: 0 0 10px 3px rgba(255, 154, 31, .9); animation: spark var(--t, .9s) cubic-bezier(.16, 1, .3, 1) forwards; }
.sparks b { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 154, 31, .8);
  box-shadow: 0 0 18px rgba(255, 154, 31, .6), inset 0 0 12px rgba(255, 154, 31, .35); animation: ring .9s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(var(--s, 14)); opacity: 0; } }
@keyframes spark { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px 26px; }
.stat .n { font-size: clamp(2.4rem, 4.4vw, 3.4rem); }
.stat .t { color: var(--muted); margin-top: 12px; font-size: .95rem; line-height: 1.45; }
.src { font-size: .8rem; color: var(--dim); margin-top: 22px; max-width: 90ch; }

/* ---------- 4. Refugios ---------- */
.refuges { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; align-items: stretch; }
.ref { display: flex; flex-direction: column; padding: 26px 24px; }
.ref h3 { font-size: 1.55rem; }
.ref ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.ref li { position: relative; padding-left: 30px; }
.ref li::before { content: ""; position: absolute; left: 0; top: .06em; width: 20px; height: 20px; border-radius: 50%; background: center / 11px no-repeat; }
.ref:not(.btc) li::before { background-color: rgba(229, 72, 77, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.ref.btc li::before { background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* Bitcoin resalta: marco naranja entero, fondo más negro con luz arriba, texto claro, respira */
.ref.btc.fxc.fxc, .ref.btc {
  border: 1px solid var(--accent);
  background: radial-gradient(120% 55% at 50% 0, rgba(255, 154, 31, .16), rgba(255, 154, 31, 0) 70%), #0b0b0c;
  box-shadow: 0 0 0 1px rgba(255, 154, 31, .35), 0 20px 60px -24px rgba(255, 154, 31, .6);
  animation: btcGlow 5s ease-in-out infinite;
}
@keyframes btcGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 154, 31, .35), 0 20px 60px -24px rgba(255, 154, 31, .55); } 50% { box-shadow: 0 0 0 1px rgba(255, 154, 31, .55), 0 0 60px -10px rgba(255, 154, 31, .55); } }
.ref.btc h3 { color: var(--accent); }
.ref.btc ul { color: #f2e9dd; }
.ovni { margin-top: auto; padding-top: 18px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
/* comentario real bajo los refugios: mismo lenguaje que los comentarios de YouTube, a todo el ancho */
.quote-cm { position: relative; margin: 22px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 22px 30px 22px 24px; border-radius: 14px; background-color: #121212;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='white' stroke-opacity='.05' stroke-width='1'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-0 0M56 48l0 0'/%3E%3Cpath d='M0 16v-16M56 16v-16M28 97L0 81M28 97l28-16'/%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -40px #000; transition: border-color .3s; }
.quote-cm figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.quote-cm figcaption b { color: var(--fg); font-weight: 600; font-size: .95rem; }
.quote-cm blockquote { margin: 8px 0 0; font-size: 1.06rem; line-height: 1.5; color: #fff; }
.quote-cm:hover { border-color: rgba(255, 154, 31, .35); }

/* ---------- 5. La trampa (cabe en una pantalla) ---------- */
.trapnums { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; gap: 16px; }
.big { display: flex; align-items: center; gap: 24px; padding: 24px 28px; }
.big .n { flex: none; font-size: clamp(2.6rem, 4.8vw, 3.8rem); }
.big p { color: var(--muted); font-size: 1rem; line-height: 1.4; max-width: 34ch; }
.big p b { color: var(--fg); }
.after { margin-top: 22px; max-width: 70ch; color: var(--muted); font-size: 1.05rem; }
.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; gap: 16px; }
.cols3 > div { padding: 20px 24px; }
.cols3 h3 { font-size: 1.25rem; margin-bottom: 6px; }
.cols3 p { color: var(--muted); font-size: .98rem; line-height: 1.4; }

/* ---------- 6. La solución ---------- */
.sol { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.k { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 154, 31, .5); background: var(--accent-soft);
  color: var(--accent); font-family: var(--mono); font-size: .82rem; margin-bottom: 20px; }
.sol h3, .steps h3 { margin-bottom: 10px; }
.sol p, .steps p { color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* ---------- 7. Cómo funciona ---------- */
.how { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.how > div { padding: 26px 22px; }
.how .n { font-size: 3rem; height: 48px; display: flex; align-items: center; }
.how .n svg { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(255, 154, 31, .4)); }
.how .n.inf svg { width: 64px; height: 36px; }
.how h3 { margin: 14px 0 8px; font-size: 1.28rem; }
.how p { color: var(--muted); font-size: .96rem; line-height: 1.45; }

/* ---------- 8. Temario ---------- */
.curri { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 30px; }
.mods { position: relative; margin: 0; padding: 0; list-style: none; display: grid; }
.mods::before, .mods::after { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; }
.mods::before { background: rgba(255, 255, 255, .08); }
.mods::after { background: linear-gradient(180deg, var(--accent), rgba(255, 154, 31, .35)); box-shadow: 0 0 12px rgba(255, 154, 31, .6);
  transform-origin: 50% 0; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.mods li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 22px; align-items: center; padding: 7px 14px 7px 0; }
.mods li::after { content: ""; position: absolute; top: 3px; bottom: 3px; left: 58px; right: -10px; z-index: -1; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 154, 31, .13), rgba(255, 154, 31, 0) 85%); opacity: 0; transition: opacity .3s; }
.mn { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 500 .78rem/1 var(--mono); color: #ffc27a; background: #0b0b0b; border: 1px solid rgba(255, 154, 31, .75);
  box-shadow: 0 0 0 4px #050505, 0 0 16px -2px rgba(255, 154, 31, .55);
  transition: background-color .45s, color .45s, border-color .45s, box-shadow .45s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.mods p { color: var(--muted); font-size: 1rem; line-height: 1.4; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .3s, opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.mods li:last-child p { border-bottom: 0; }
.mods p b { display: block; margin-bottom: 2px; font: 500 1.3rem/1.15 var(--display); letter-spacing: .02em; color: var(--fg); }
.mods p span { display: block; }
.mods li:hover::after { opacity: 1; }
.mods li:hover .mn { background: var(--accent); border-color: var(--accent); color: #000; box-shadow: 0 0 0 5px #050505, 0 0 22px rgba(255, 154, 31, .75); transform: scale(1.06); }
.mods li:hover p { color: #d5d9da; }
/* aparición: el raíl se llena de arriba abajo y cada módulo se enciende a su paso */
html.js .mods.fx { opacity: 1; transform: none; filter: none; transition: none; }
html.js .mods.fx:not(.in)::after { transform: scaleY(0); }
html.js .mods.fx:not(.in) .mn { border-color: rgba(255, 255, 255, .14); color: var(--dim); box-shadow: 0 0 0 5px #050505; }
html.js .mods.fx:not(.in) p { opacity: 0; transform: translateX(28px); }
html.js .mods.fx.in .mn { transition-delay: calc(var(--j, 0) * 230ms + 180ms); }
html.js .mods.fx.in p { transition-delay: calc(var(--j, 0) * 230ms); }
.notfor { position: relative; padding: 6px 0 6px 30px; border-left: 1px solid rgba(229, 72, 77, .4); }
.nf-k { margin-bottom: 10px; font: 500 .7rem/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.notfor h3 { font-size: 1.7rem; color: #d5d9da; margin-bottom: 18px; }
.notfor ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.notfor li { position: relative; padding-left: 30px; }
.notfor li::before { content: ""; position: absolute; left: 0; top: .06em; width: 20px; height: 20px; border-radius: 50%; background: rgba(229, 72, 77, .16) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* ---------- 10. Quién te acompaña ---------- */
.about { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 44px; align-items: center; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 154, 31, .35);
  background: radial-gradient(70% 55% at 55% 30%, rgba(255, 154, 31, .38), transparent 70%), #000; box-shadow: 0 30px 70px -40px rgba(255, 154, 31, .55); }
.photo-name { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font: 600 clamp(100px, 12vw, 150px)/.85 var(--display); text-transform: uppercase; color: rgba(242, 233, 221, .08); letter-spacing: .02em; pointer-events: none; }
.photo img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 104%; max-width: none; height: auto; }
.about .lede { color: var(--fg); font-size: 1.05rem; margin-top: 16px; }
.about p.muted { margin-top: 12px; font-size: 1rem; max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.facts > div { padding: 16px 18px; border-radius: 16px; }
.facts .n { font-size: 1.8rem; }
.facts .t { font-size: .86rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.pods { margin-top: 28px; }
.pods h3 { margin-bottom: 14px; font-size: 1.2rem; }
.podgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pod { display: block; text-decoration: none; padding: 18px 22px; }
.pod b { display: block; font-size: 1.04rem; }
.pod span { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.pod em { display: block; font-style: normal; color: var(--fg); font-size: .88rem; margin-top: 10px; transition: color .2s; }
a.pod:hover em { color: var(--accent); }
.cmfoot { margin-top: 10px; font-size: .84rem; color: var(--dim); }

/* ---------- 11. Comentarios: tarjetas con textura hexagonal y esquinas naranjas ---------- */
.comments { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 30px -18px 0; padding: 18px 18px 22px; scroll-padding-inline: 18px;
  scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); }
.cm { position: relative; margin: 0; flex: 0 0 min(460px, 88%); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: 36px 34px 28px; border-radius: 14px;
  background-color: #121212; background-image: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='white' stroke-opacity='.05' stroke-width='1'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-0 0M56 48l0 0'/%3E%3Cpath d='M0 16v-16M56 16v-16M28 97L0 81M28 97l28-16'/%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid rgba(255, 154, 31, .24); box-shadow: 0 -12px 30px -20px rgba(255, 154, 31, .4), 0 30px 60px -40px #000; transition: border-color .3s; }
.cm::before, .quote-cm::before { content: ""; position: absolute; inset: -9px; pointer-events: none; opacity: .9;
  --c: var(--accent); --l: 18px; --t: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l);
  background-repeat: no-repeat; transition: inset .5s cubic-bezier(.16, 1, .3, 1), opacity .4s; }
.cm:hover { border-color: rgba(255, 154, 31, .45); }
.cm:hover::before, .quote-cm:hover::before { inset: -4px; opacity: 1; }
.cm p { font-size: 1.1rem; line-height: 1.58; color: #fff; }
.cm .who { display: flex; align-items: center; gap: 16px; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.cm .av, .quote-cm .av { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.5rem/1 var(--display); color: var(--accent); text-shadow: 0 0 12px rgba(255, 154, 31, .5);
  background: radial-gradient(circle at 50% 30%, rgba(255, 154, 31, .3), rgba(255, 154, 31, .06) 62%, #151515);
  box-shadow: 0 0 0 2px #121212, 0 0 0 3px rgba(255, 154, 31, .55); }
.quote-cm .av { width: 46px; height: 46px; font-size: 1.3rem; }
.cm .who span { display: block; min-width: 0; overflow-wrap: anywhere; }
.cm .who b { display: block; color: var(--fg); font-weight: 600; }
.mid-cta { margin-top: 26px; }

/* ---------- 12. Cómo entrar: pasos + plazas y garantía ---------- */
.steps { position: relative; margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps::before { content: ""; position: absolute; top: 22px; left: 23px; right: calc((100% - 54px) / 4 - 23px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 154, 31, .45)); box-shadow: 0 0 12px rgba(255, 154, 31, .55);
  transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.65, 0, .35, 1); }
.steps li { position: relative; display: grid; gap: 16px; align-content: start; }
.steps .k { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0; font-size: .86rem; font-weight: 500; color: #000;
  background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px #050505, 0 0 24px rgba(255, 154, 31, .65);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease; }
.steps .st { padding: 22px 22px 24px; }
.steps .st.fxc.fxc { background-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 31, var(--ma, 0)), transparent 62%), linear-gradient(180deg, rgba(255, 154, 31, .07), rgba(255, 154, 31, .01)), linear-gradient(#0a0a0a, #0a0a0a), var(--bd-hi); }
.steps h3 { font-size: 1.35rem; }
html.js .steps.fx { opacity: 1; transform: none; filter: none; transition: none; }
html.js .steps.fx:not(.in)::before { transform: scaleX(0); }
html.js .steps.fx:not(.in) .k { transform: scale(.3); opacity: 0; }
html.js .steps.fx.in .k { transition-delay: calc(var(--j, 0) * 300ms + 120ms); }
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 44px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.offer > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; }
.offer .ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(255, 154, 31, .35); background: rgba(255, 154, 31, .05); }
.offer .ic svg { width: 19px; height: 19px; }
.offer h3 { font-size: 1.1rem; margin-bottom: 3px; color: #e6e8e9; }
.offer p { color: var(--muted); font-size: .93rem; line-height: 1.45; }

/* ---------- 13. Preguntas frecuentes ---------- */
.faq { margin-top: 26px; max-width: 860px; display: grid; gap: 8px; }
.faq details { padding: 0; border-radius: 16px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-hi); display: grid; place-items: center; color: var(--accent); font-size: 1.1rem; transition: transform .3s; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open], .faq details:hover { border-color: rgba(255, 154, 31, .5); }
.faq details p { color: var(--muted); padding: 0 22px 18px; max-width: 70ch; font-size: 1rem; line-height: 1.5; }

/* ---------- 14. Reserva de la llamada (Calendly) ---------- */
.final .wrap { border: 1px solid rgba(255, 154, 31, .3); border-radius: 32px; padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 64px); text-align: center;
  background: radial-gradient(ellipse 70% 90% at 50% 0, rgba(255, 154, 31, .2), rgba(255, 154, 31, 0) 70%), var(--card); box-shadow: 0 40px 120px -60px rgba(255, 154, 31, .5); }
.final h2 { max-width: 18ch; margin: 0 auto; }
.final .lede { margin-inline: auto; }
.final-cta { display: flex; justify-content: center; margin-top: 30px; }
.fine { font-size: .84rem; color: var(--dim); margin: 18px auto 0; max-width: 62ch; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 15. Herramientas + pie ---------- */
.tools-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tools { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; }
.tool { display: block; text-decoration: none; padding: 24px; }
.tool b { font-size: 1.2rem; }
.tool span { display: block; color: var(--muted); margin-top: 6px; font-size: 1rem; }
.tool em { display: block; font-style: normal; color: var(--accent); margin-top: 14px; font-size: .95rem; }
footer { margin-top: clamp(48px, 8vh, 80px); padding-block: 28px 8px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; display: grid; gap: 10px; line-height: 1.6; }
footer a { color: inherit; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .refuges, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .cols3, .sol, .how, .tools, .podgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curri { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem { grid-template-columns: minmax(0, 1fr); }
  .big { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 760px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .photo { max-width: 360px; width: 100%; }
  .trapnums, .offer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 19px; }
  .refuges, .steps, .cols3, .sol, .how, .tools, .podgrid { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 14px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: -14px; width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(255, 154, 31, .45)); box-shadow: 0 0 12px rgba(255, 154, 31, .55);
    transform-origin: 50% 0; transition: transform .5s ease calc(var(--j, 0) * 300ms + 300ms); }
  html.js .steps.fx:not(.in) li::after { transform: scaleY(0); }
  .steps li { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; }
  .mods li { gap: 16px; padding-right: 0; }
  .mods p { font-size: 1rem; }
  .notfor { padding-left: 22px; }
  .quote-cm { padding: 20px 20px 20px 18px; gap: 14px; }
  .stats { gap: 12px; }
  .stat { padding: 18px 16px; }
  .stat .n { font-size: 2.4rem; }
  .stat .t { font-size: .88rem; }
  .q { padding: 16px 18px; font-size: 1.05rem; }
  .card, .ref, .sol > div, .how > div, .steps .st, .tool { padding: 22px; }
  .big { padding: 22px; }
  .cm { padding: 30px 24px 24px; }
  .eyebrow { font-size: .72rem; letter-spacing: .14em; padding: 8px 16px 8px 13px; }
  .logo img { height: 34px; }
  .topbar .btn.sm { padding: 9px 13px; font-size: .68rem; letter-spacing: .1em; }
  :root { --nav-h: 61px; }
}

/* Pantallas bajas (portátiles de 768 px): todo un poco más compacto para que cada sección quepa entera */
@media (min-width: 900px) and (max-height: 940px) {
  .s { padding-block: calc(var(--nav-h) + 8px) 22px !important; }
  h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
  .eyebrow { margin-bottom: 14px; padding: 8px 16px 8px 13px; font-size: .74rem; }
  .lede { margin-top: 10px; font-size: 1rem; }
  .problem, .refuges, .trapnums, .sol, .how, .curri, .steps, .tools { margin-top: 22px; }
  .q { padding: 15px 20px; font-size: 1.04rem; }
  .stat { padding: 18px 22px; }
  .stat .n { font-size: 2.7rem; }
  .stat .t { margin-top: 8px; font-size: .9rem; }
  .src { margin-top: 14px; }
  .ref { padding: 20px 20px; }
  .ref ul { gap: 8px; margin-top: 12px; font-size: .95rem; }
  .ovni { font-size: 1.02rem; padding-top: 12px; }
  .quote-cm { margin-top: 16px; padding: 16px 26px 16px 20px; }
  .quote-cm blockquote { font-size: .98rem; margin-top: 4px; }
  .mods li { padding: 2px 14px 2px 0; }
  .mods p { font-size: .94rem; padding: 7px 0; }
  .mods p b { font-size: 1.15rem; }
  .how > div { padding: 20px 18px; }
  .how h3 { font-size: 1.15rem; }
  .how p { font-size: .9rem; }
  .about { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 36px; }
  .about .lede { font-size: .98rem; margin-top: 10px; }
  .about p.muted { font-size: .94rem; margin-top: 8px; }
  .facts { margin-top: 14px; gap: 10px; }
  .facts > div { padding: 12px 16px; }
  .facts .n { font-size: 1.5rem; }
  .facts .t { font-size: .8rem; margin-top: 4px; }
  .pods { margin-top: 18px; }
  .pods h3 { margin-bottom: 10px; font-size: 1.1rem; }
  .pod { padding: 13px 18px; }
  .pod em { margin-top: 6px; }
  .faq { margin-top: 20px; gap: 7px; }
  .faq summary { padding: 9px 20px; font-size: 1.05rem; }
  .faq summary::after { width: 26px; height: 26px; }
  .cm { padding: 28px 28px 22px; gap: 22px; }
  .cm p { font-size: 1.02rem; }
  .steps .st { padding: 18px 18px 20px; }
  .offer { margin-top: 20px; padding-top: 16px; }
}

/* ---------- Efectos: fondo, barra de progreso, luz del cursor ---------- */
.fx-net, .fx-grid, .fx-glow { position: fixed; pointer-events: none; z-index: -1; }
.fx-net { inset: 0; width: 100%; height: 100%; opacity: .9; }
.fx-grid { inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 10%, transparent 75%);
  animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { background-position: 72px 72px, 72px 72px; } }
.fx-glow { left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 31, .10), rgba(255, 154, 31, .035) 40%, transparent 68%);
  transform: translate3d(var(--gx, 50vw), var(--gy, 30vh), 0); will-change: transform; opacity: 0; transition: opacity .6s; }
.fx-glow.on { opacity: 1; }
.fx-bar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 90; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, rgba(255, 154, 31, 0), var(--accent) 35%, #ffd08a); box-shadow: 0 0 12px rgba(255, 154, 31, .8); pointer-events: none; }

/* Aparición al llegar a cada sección (solo si hay JS: html.js) */
html.js .fx { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(10px);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .9s ease; transition-delay: calc(var(--i, 0) * 90ms); }
html.js .fx.in { opacity: 1; transform: none; filter: none; }
/* titulares: palabra a palabra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(112%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k, 0) * 55ms); }
.fxh.in .w > span { transform: none; }
/* tarjetas: el contorno se dibuja, luego el fondo y el texto */
.ln { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; transition: opacity .6s ease; }
.ln rect { width: calc(100% - 1px); height: calc(100% - 1px); fill: none; }
.ln .lf { fill: #0d0d0d; opacity: 0; transition: opacity .7s ease calc(var(--bdl, 0ms) + 380ms); }
.ln .lr { stroke: rgba(255, 154, 31, .75); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(255, 154, 31, .7));
  transition: stroke-dashoffset 1s cubic-bezier(.33, 1, .68, 1) var(--bdl, 0ms); }
.bld { background: none !important; border-color: transparent !important; box-shadow: none !important; animation: none !important; transform: translateY(26px); transition: transform 1s cubic-bezier(.16, 1, .3, 1) var(--bdl, 0ms) !important; }
.bld > :not(.ln) { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.bld.go { transform: none; }
.bld.go .ln .lr { stroke-dashoffset: 0; }
.bld.go .ln .lf { opacity: 1; }
.bld.go > :not(.ln) { opacity: 1; transform: none; }
.bld.go > :nth-child(2) { transition-delay: calc(var(--bdl, 0ms) + 420ms); }
.bld.go > :nth-child(3) { transition-delay: calc(var(--bdl, 0ms) + 500ms); }
.bld.go > :nth-child(4) { transition-delay: calc(var(--bdl, 0ms) + 580ms); }
.bld.go > :nth-child(n+5) { transition-delay: calc(var(--bdl, 0ms) + 660ms); }

/* ---------- Ventana «Solicitar plaza» y banda de plazas (/assets/waitlist.js) ---------- */
.wl-lock, .wl-lock body { overflow: hidden; }
.ml-cal-wait, .ml-cal-wait * { cursor: progress !important; }   /* la agenda de Calendly está cargando */
.wl-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.wl-modal[hidden] { display: none; }
.wl-backdrop { position: absolute; inset: 0; background: rgba(2, 2, 2, .66); -webkit-backdrop-filter: blur(10px) saturate(.9); backdrop-filter: blur(10px) saturate(.9); opacity: 0; transition: opacity .25s ease; }
.wl-card { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow: auto; text-align: center; color: #f2e9dd;
  background: radial-gradient(90% 65% at 50% 0%, rgba(255, 154, 31, .26), transparent 68%), #0a0a0a;
  border: 1px solid rgba(255, 154, 31, .6); border-radius: 24px; padding: 36px 32px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 154, 31, .18);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
.wl-modal.open .wl-backdrop { opacity: 1; }
.wl-modal.open .wl-card { opacity: 1; transform: none; }
.wl-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(242, 233, 221, .22); background: rgba(255, 255, 255, .04); color: #f2e9dd; cursor: pointer; padding: 0; }
.wl-close:hover { border-color: var(--accent); color: var(--accent); }
.wl-close svg { width: 18px; height: 18px; }
.wl-logo { display: block; height: 76px; width: auto; max-width: 100%; margin: 0 auto 20px; }
.wl-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #ffc27a; }
.wl-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2.6s ease-out infinite; }
.wl-card h2 { font: 500 clamp(36px, 7vw, 50px)/1.05 var(--display); text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.wl-card h2 em { font-style: normal; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .13em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.wl-card p { margin: 0 auto 22px; max-width: 40ch; color: #cfc6b9; font-size: 1.05rem; line-height: 1.45; }
.wl-form { display: grid; gap: 12px; }
.wl-form input { width: 100%; font: 500 1.1rem/1.2 var(--body); letter-spacing: .02em; color: #fff; text-align: center; background: rgba(0, 0, 0, .45); border: 1px solid var(--line-hi); border-radius: 999px; padding: 16px 22px; }
.wl-form input::placeholder { color: var(--dim); }
.wl-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 154, 31, .2); }
.wl-form .btn { width: 100%; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; padding: 16px 22px; }
.wl-card .wl-legal { margin: 14px auto 0; font-size: .8rem; color: var(--dim); }
.wl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) { .wl-card { padding: 32px 20px 22px; } .wl-logo { height: 64px; } }

.ml-band { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: min(600px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 9px 9px 9px 20px; border-radius: 999px;
  font-family: var(--body); color: #f2e9dd; background: rgba(10, 10, 10, .92); border: 1px solid rgba(255, 154, 31, .4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 30px -10px rgba(255, 154, 31, .45);
  opacity: 0; transform: translate(-50%, calc(100% + 30px)); transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.ml-band.in { opacity: 1; transform: translate(-50%, 0); }
.ml-band .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: ping 2.6s ease-out infinite; }
.ml-band-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ml-band-text b { font: 600 1.15rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.ml-band.is-full .ml-band-text b { color: var(--accent); }
.ml-band-text span { font-size: .8rem; line-height: 1.25; color: var(--muted); }
.ml-band-btn { flex: none; display: inline-flex; align-items: center; font: 600 1rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #000; background: var(--accent); border-radius: 999px; padding: 12px 18px; text-decoration: none; white-space: nowrap; }
.ml-band-btn:hover { filter: brightness(1.08); }
.ml-band-x { flex: none; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; }
.ml-band-x:hover, .ml-band-x:focus-visible { color: #fff; background: rgba(255, 255, 255, .09); outline: none; }
.ml-band-x svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .ml-band { gap: 10px; padding: 7px 5px 7px 16px; } .ml-band-btn { padding: 11px 14px; } }

/* ---------- Volver arriba (discreto, abajo a la derecha; sube si la banda de plazas o el aviso de cookies lo tapan) ---------- */
.to-top { position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--tt-lift, 0px));
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #ffc27a; text-decoration: none;
  background: rgba(10, 10, 10, .62); border: 1px solid rgba(255, 154, 31, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, border-color .2s, background .2s, bottom .25s ease; }
.to-top.show { opacity: .8; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { opacity: 1; border-color: rgba(255, 154, 31, .75); background: rgba(10, 10, 10, .85); }
.to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html.wl-lock .to-top { opacity: 0; pointer-events: none; }

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none !important; }
  .fx-net, .fx-glow, .fx-bar { display: none; }
  .fx-grid, .btn, .btn::after, .cta-main, .cta-main::after, .eyebrow::before, .hero-img img, .ref.btc, .glint i, .scarcity .dot, .wl-kicker .dot, .ml-band .dot, .scroll-cue::before { animation: none !important; }
  html.js .fx, .w > span { opacity: 1; transform: none; filter: none; transition: none; }
  .wl-card, .wl-backdrop, .ml-band, .topbar { transition: none; }
  .q.on::after, .q.on .box::after { animation: none; }
  .sparks { display: none; }
  .video { transform: none; opacity: 1; }
  .to-top { transition: opacity .2s ease; transform: none; }
}
