/* Landing del reto LIFE MAXXXING, v4: la mezcla del 12-10 sacada del móvil a una web entera.
   Un motor lee el scroll y escribe --p (0 a 1) en cada bloque marcado; lo visual va aquí.
   Nada se apodera del scroll: el dedo manda. Con «reducir movimiento», todo queda quieto y entero. */

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --border: #262626;
  --text: #F5F5F5;
  --muted: #9A9A9A;
  --xxx: #FFA31A;
  --vivo: #FF3B30;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --barra: 56px;
  --grano: url("../img/grano.svg?v=4f");
  /* Plateado de la película (14-10). Va en objetos, titulares de portada y marcos. Nunca sobre el amarillo. */
  --cromo-claro: #F4F6F8;
  --cromo-medio: #A9AFB7;
  --cromo-oscuro: #5C626B;
  --pavonado: #1B1E23;
  --cromo-texto: linear-gradient(180deg, #FFFFFF 0%, #EEF0F3 30%, #B9BEC5 47%, #8F959D 53%, #EDF0F2 68%, #C8CDD3 100%);
  --cromo-borde: linear-gradient(135deg, #F7F8FA 0%, #8B919A 26%, #EEF0F3 48%, #5C626B 72%, #D6DADF 100%);
  --cromo-placa: linear-gradient(165deg, #F2F4F6 0%, #B6BBC2 26%, #ECEEF1 47%, #858B94 74%, #D3D7DC 100%);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0A0A0A; --text: #F5F5F5; } }
:root[data-theme="dark"] { --bg: #0A0A0A; --text: #F5F5F5; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--barra) + 8px); background: var(--bg); }
html.quieto { scroll-behavior: auto; }
html.modal-abierto { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 5vw, 56px); line-height: 1.04; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; }
p { margin: 0; }
a { color: var(--text); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.c { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .c { padding: 0 32px; } }

.k { display: inline-block; font: 700 12px/1.3 var(--mono); letter-spacing: 0.12em; color: var(--xxx); text-transform: uppercase; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #d6d6d6; max-width: 720px; }
.sub { margin-top: 56px; font-size: clamp(22px, 2.6vw, 30px); }

.saltar-a { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--text); color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.saltar-a:focus { top: 12px; }

/* Wordmark: A para texto, B para logo */
.wm { font-family: var(--display); white-space: nowrap; letter-spacing: 0.01em; }
.wm .x { color: var(--xxx); }
.wm-b { font-family: var(--display); white-space: nowrap; letter-spacing: 0.01em; }
.wm-b .x { background: var(--xxx); color: #000; padding: 0 0.14em; border-radius: 0.14em; }

/* Títulos en etiqueta blanca (pantalla de carga) */
.etq { display: inline; background: #F5F5F5; color: #0A0A0A; font-family: var(--display); line-height: 1.36; padding: 2px 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; box-shadow: 4px 4px 0 var(--xxx); }
.h-like { font-family: var(--display); }

/* Plateado: texto en cromo (titulares de portada) y marco de cromo. Sin soporte, blanco. */
.cromo { color: #E9ECEF; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cromo { background-image: var(--cromo-texto); background-size: 100% 1.1em; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.55)); }
}
.marco-cromo { border: 1.5px solid transparent !important; background: linear-gradient(var(--fondo-marco, #141414), var(--fondo-marco, #141414)) padding-box, var(--cromo-borde) border-box !important; }

/* Etiqueta de IA: va encima de cada imagen hecha con IA */
.ia { position: absolute; right: 8px; bottom: 8px; z-index: 4; font: 700 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #F5F5F5; background: rgba(0,0,0,.78); border: 1px solid #3a3a3a; padding: 5px 7px; border-radius: 5px; pointer-events: none; white-space: nowrap; }

/* Botones. Un solo amarillo a la vista: la barra se pasa a amarillo cuando no hay otro */
.cta, .cta-2, .cta-3, .btn-blanco { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; font: 800 16px/1.15 var(--body); text-decoration: none; cursor: pointer; border: 0; text-align: center; transition: transform .15s ease, background-color .2s ease, border-color .2s ease; }
.cta { background: var(--xxx); color: #000; }
.cta-2, .btn-blanco { background: #F5F5F5; color: #000; }
.cta-3 { background: transparent; color: var(--text); border: 1px solid #3a3a3a; font-weight: 600; }
.cta:hover, .cta-2:hover, .btn-blanco:hover { transform: translateY(-1px); }
.cta-3:hover { border-color: var(--text); }
.cta:focus-visible, .cta-2:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-ghost { font: 600 14px/1 var(--body); color: var(--text); background: transparent; border: 1px solid #3a3a3a; border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.btn-ghost:hover { border-color: var(--text); }
.enlace { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: 600 15px/1.2 var(--body); display: inline-flex; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #333; background: #101010; color: var(--text); font: 600 14px/1 var(--body); cursor: pointer; }
.chip span { font: 700 12px/1 var(--mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: #F5F5F5; color: #000; border-color: #F5F5F5; }
.chip[aria-pressed="true"] span { color: #333; }
.ancho-auto { align-self: flex-start; }
.chispas { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ============ PANTALLA DE CARGA ============ */
.carga { display: none; }
html.con-carga .carga { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; justify-content: space-between; padding: 60px 18px 28px; background: radial-gradient(120% 70% at 50% 38%, #1a1c20 0%, #0a0a0a 62%, #000 100%); transition: opacity .5s ease, visibility .5s; --c: 0; cursor: pointer; animation: cargaFuera .5s ease 4.5s forwards; }
html.con-carga .carga::before { content: ""; position: absolute; inset: 0; background-image: var(--grano); opacity: .14; mix-blend-mode: overlay; z-index: 1; }
html.con-carga .carga::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 46%, rgba(0,0,0,.94) 78%); z-index: 0; }
.carga > * { position: relative; z-index: 2; }
html.con-carga .carga.fuera { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes cargaFuera { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.carga-wm { font-family: var(--display); font-size: clamp(32px, 7vw, 76px); text-align: center; letter-spacing: 0.01em; margin-top: 18vh; }
.carga-wm .cromo { background-size: 100% 1.2em; }
.xfill { position: relative; color: transparent; -webkit-text-stroke: 1.4px var(--xxx); }
.xfill::after { content: "XXX"; position: absolute; left: 0; top: 0; color: var(--xxx); -webkit-text-stroke: 0; clip-path: inset(0 calc((1 - var(--c)) * 100%) 0 0); }
.carga-abajo { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; }
.carga-estado, .carga-pie { font: 700 11px/1 var(--mono); letter-spacing: 0.12em; color: #d6d6d6; display: flex; justify-content: space-between; }
.carga-pie { color: #bdbdbd; }
.consejo { background: rgba(10,10,10,.86); border: 1px solid #2e2e2e; border-left: 3px solid var(--xxx); border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.consejo b { font: 700 10.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--xxx); display: block; margin-bottom: 6px; }
.consejo span { display: block; transition: opacity .3s ease, filter .3s ease; }
.consejo span.cambia { opacity: 0; filter: blur(6px); }
.barra-carga { height: 4px; background: #2a2a2a; border-radius: 4px; overflow: hidden; }
.barra-carga i { display: block; height: 100%; width: calc(var(--c, 0) * 100%); background: #F5F5F5; }

/* ============ BARRA FIJA ============ */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--barra); background: rgba(10,10,10,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #1d1d1d; }
.barra-fila { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; }
html.con-ruta { --barra: 100px; }
.marca { text-decoration: none; font-size: 16px; display: inline-flex; align-items: center; min-height: 44px; }
.nav { display: none; }
.barra-der { display: flex; align-items: center; gap: 10px; }
.chip-ciclo { display: none; font: 700 11px/1 var(--mono); letter-spacing: 0.1em; color: #d6d6d6; border: 1px solid #333; border-radius: 6px; padding: 7px 9px; white-space: nowrap; }
.btn-barra { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #3a3a3a; background: transparent; color: var(--text); font: 800 14.5px/1 var(--body); text-decoration: none; white-space: nowrap; }
.btn-barra.amarillo { background: var(--xxx); color: #000; border-color: var(--xxx); }
@media (min-width: 600px) { .chip-ciclo { display: inline-block; } }
@media (min-width: 1040px) {
  .barra-fila, .mi-ruta { padding-left: 32px; padding-right: 22px; }
  .nav { display: flex; gap: 2px; }
  .nav a { text-decoration: none; color: #d6d6d6; font: 600 14px/1 var(--body); padding: 0 11px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
  .nav a:hover { color: var(--text); background: #161616; }
}
.mi-ruta { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 4px 0 16px; background: #141414; border-top: 1px solid #222; font: 600 14px/1.2 var(--body); color: #cfcfcf; }
.mi-ruta span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-ruta b { color: var(--text); }
.mi-ruta .enlace { font-size: 14px; min-height: 44px; padding: 0; }
.mi-ruta button { width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: var(--text); font: 700 20px/1 var(--body); cursor: pointer; border-radius: 50%; }
.aviso-r { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; background: #F5F5F5; color: #000; border-radius: 16px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.6); max-width: 560px; margin: 0 auto; }
.aviso-r[hidden] { display: none; }
.aviso-r p { font-weight: 600; font-size: 15px; }
.aviso-r-acc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.aviso-r .cta-2 { background: #0A0A0A; color: #F5F5F5; min-height: 46px; padding: 0 18px; font-size: 15px; }
.aviso-r .enlace { color: #000; }
.cerrar-mini { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: #000; font: 700 22px/1 var(--body); cursor: pointer; }

/* ============ 1 · PORTADA: EL VÍDEO PRIMERO ============ */
/* Base (sin JS, móvil apaisado): título, vídeo 16:9 y botones, uno debajo de otro */
.hero { position: relative; padding-top: var(--barra); }
.hero-pantalla { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 26px; }
.hero-arriba { order: 1; display: flex; flex-direction: column; gap: 8px; }
.hero-video { order: 2; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1.5px solid transparent; background: linear-gradient(#060606, #060606) padding-box, var(--cromo-borde) border-box; box-shadow: 0 30px 80px rgba(0,0,0,.65); }
.hero-video { isolation: isolate; z-index: 0; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #060606; }
.hero-abajo { order: 3; display: flex; flex-direction: column; gap: 12px; }
.hero h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.04; background-size: 100% 1.04em; }
.decrypt { font: 700 12px/1.3 var(--mono); letter-spacing: 0.12em; color: var(--xxx); min-height: 16px; }
.ia-video { top: 8px; right: 8px; bottom: auto; }
.v-play { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: rgba(0,0,0,.28); color: var(--text); cursor: pointer; }
.v-play b { font: 800 15px/1.2 var(--body); background: rgba(0,0,0,.72); border: 1px solid #3a3a3a; border-radius: 999px; padding: 8px 14px; }
.v-ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v-btn { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
#v-sonido[aria-pressed="false"] { border-color: #9aa0a8; }
.hero-accion { display: flex; flex-direction: column; gap: 12px; }
.acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.acciones .cta, .acciones .cta-3 { flex: 1 1 auto; }
.hero-p { font-size: 16px; color: #e4e4e4; max-width: 560px; }
.nota { font-size: 13px; color: #cfcfcf; }
html.js .hero:not(.on) .hero-arriba, html.js .hero:not(.on) .hero-abajo { opacity: 0; transform: translateY(10px); }
.hero-arriba, .hero-abajo { transition: opacity .6s ease, transform .6s ease; }

/* Móvil en vertical: el vídeo vertical ocupa la pantalla y el texto va en las franjas negras de arriba y abajo.
   El corte de la v3 es la película 16:9 centrada sobre negro: --banda es la altura de esa película en pantalla. */
@media (max-width: 899px) and (orientation: portrait) {
  .hero[data-alto="bandas"] .hero-pantalla { --alto: calc(100vh - var(--barra)); --alto: calc(100svh - var(--barra)); --banda: max(100vw * .5625, var(--alto) * .3164); display: grid; grid-template-rows: minmax(0, 1fr) var(--banda) minmax(0, 1fr); height: var(--alto); gap: 0; padding: 0; }
  .hero[data-alto="bandas"] .hero-video { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: #060606; }
  .hero[data-alto="bandas"] .ia-video { top: calc(50% - var(--banda) / 2 + 8px); }
  .hero[data-alto="bandas"] .v-play { top: calc(50% - var(--banda) / 2); bottom: auto; height: var(--banda); }
  .hero[data-alto="bandas"] .hero-arriba { grid-row: 1; align-self: end; position: relative; z-index: 2; padding: 0 16px 14px; }
  .hero[data-alto="bandas"] .hero-abajo { grid-row: 3; align-self: start; position: relative; z-index: 2; padding: 12px 16px 0; gap: 10px; }
  .hero[data-alto="bandas"] .hero-accion { gap: 0; }
  .hero[data-alto="bandas"] .hero-p { display: none; }
  /* Cuando el vertical llene el cuadro (corte v4): data-alto="lleno" y el vídeo va entero, con el texto alrededor */
  .hero[data-alto="lleno"] .hero-video { align-self: center; width: min(100%, (100svh - var(--barra) - 150px) * .5625); aspect-ratio: 9 / 16; }
}
@media (max-width: 899px) and (orientation: portrait) and (max-height: 700px) {
  .hero[data-alto="bandas"] .nota { display: none; }
  .hero h1 { font-size: 28px; }
}

/* Ordenador: el vídeo grande en el centro, con el título en cromo encima */
@media (min-width: 900px) {
  .hero-pantalla { --w: min(1060px, calc((100vh - var(--barra) - 350px) * 16 / 9), calc(100vw - 64px)); width: var(--w); min-width: 640px; margin: 0 auto; min-height: calc(100vh - var(--barra)); justify-content: center; gap: 16px; padding: 18px 0 30px; }
  .hero-arriba { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  /* El título va a dos líneas: el tamaño sale del ancho del vídeo, no de la ventana, para que nunca pase a tres ni se salga. */
  .hero h1 { font-size: clamp(34px, calc(var(--w) / 16.5), 60px); }
  .hero-video { border-radius: 18px; }
  .ia-video { top: 12px; right: 12px; }
  .hero-abajo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-accion { flex-direction: row; align-items: center; gap: 24px; }
  .hero-accion .acciones { flex: none; }
  .acciones .cta, .acciones .cta-3 { flex: 0 0 auto; }
  .hero-p { font-size: 16px; color: #cfcfcf; }
}

/* ============ 2 · FICHA ESTILO SKOOL ============ */
.skool { padding: 56px 0 80px; border-top: 1px solid #171717; }
.sk-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.sk-main, .sk-card, .sk-about { min-width: 0; }
.sk-tit { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.sk-tit .av { width: 46px; height: 46px; border-radius: 11px; background: var(--xxx); color: #000; font: 400 17px/46px var(--display); text-align: center; flex: none; }
.sk-tit h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.1; }
.sk-tit small { color: var(--muted); font-size: 14px; }
.gal { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.gal { --fondo-marco: #111; }
.gal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.play { width: 62px; height: 62px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff; display: grid; place-items: center; flex: none; }
.play::before { content: ""; border-left: 17px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; min-height: 44px; background: #111; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: #F5F5F5; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.th-play { position: absolute; inset: 0; display: grid; place-items: center; }
.ia-mini { position: absolute; right: 3px; bottom: 3px; font: 700 11px/1 var(--mono); letter-spacing: .02em; color: #F5F5F5; background: rgba(0,0,0,.8); border: 1px solid #3a3a3a; padding: 2px 3px; border-radius: 3px; }
.th-play::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 0 3px #000); }
.about { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.no-promete { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: #d6d6d6; }
.no-promete b { color: var(--text); }
.sk-card { --fondo-marco: var(--surface); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.gratis { font-family: var(--display); font-size: 34px; line-height: 1; }
.gratis small { font: 600 13px/1 var(--body); color: var(--muted); margin-left: 6px; }
.datos { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.datos li { display: flex; gap: 10px; align-items: baseline; }
.datos .e { width: 20px; flex: none; }
.sk-card .cta-2 { width: 100%; }
.sk-nota { color: var(--muted); font-size: 13px; text-align: center; }
@media (min-width: 900px) {
  .skool { padding: 80px 0 110px; }
  .sk-in { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main card" "about card"; gap: 24px 40px; align-items: start; }
  .sk-main { grid-area: main; }
  .sk-about { grid-area: about; }
  .sk-card { grid-area: card; position: sticky; top: calc(var(--barra) + 24px); }
  .thumbs { gap: 8px; margin-top: 10px; }
}

/* ============ BANDA DE PALABRAS ============ */
.banda { overflow: hidden; padding: 22px 0; border-top: 1px solid #171717; border-bottom: 1px solid #171717; transition: transform .35s ease-out; }
.banda-in { white-space: nowrap; font: 400 clamp(44px, 6vw, 76px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(245,245,245,.55); will-change: transform; }
.banda-in span { color: var(--xxx); -webkit-text-stroke: 0; }

/* ============ 3 · LAS 14 RUTAS EN 3 MUNDOS ============ */
/* Todo a la vista: tres mundos con sus rutas. Los monolitos caen al entrar en pantalla, una vez. Nada va atado a la rueda. */
.rutas { padding: 80px 0; border-top: 1px solid #171717; }
.rutas-cab { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.rutas-cab h2 { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; background-size: 100% 1.02em; }
/* La ruta de delante (19-10, §48.3): la ficha de la ruta 1 dentro de la página, con el mismo texto que la del test */
.ruta1 { --fondo-marco: #101113; margin-top: 28px; border-radius: 18px; overflow: hidden; padding-top: 18px; }
.ruta1 .fi-nom-h { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.06; background-size: 100% 1.06em; }
.ru1-pie { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; margin-top: 8px; border-top: 1px solid #222; }
.ru1-pie .cta, .ru1-pie .cta-3 { flex: 1 1 auto; }
@media (min-width: 900px) { .ruta1 { padding-top: 0; } .ru1-pie { padding: 18px 28px 22px; } .ru1-pie .cta, .ru1-pie .cta-3 { flex: 0 0 auto; } }
.mundos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
.mundo { border: 1.5px solid transparent; border-radius: 18px; background: linear-gradient(#101113, #101113) padding-box, var(--cromo-borde) border-box; overflow: hidden; display: flex; flex-direction: column; }
.mundo-cab { position: relative; isolation: isolate; overflow: hidden; min-height: 136px; padding: 40px 18px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.mundo-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(.75); z-index: -2; }
.mundo-cab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(16,17,19,.1) 0%, rgba(16,17,19,.55) 45%, #101113 96%); }
.mundo-n { font: 700 11px/1.2 var(--mono); letter-spacing: .12em; color: #dfe2e6; }
.mundo-cab h3 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.05; background-size: 100% 1.05em; }
.mundo-cab p { color: #d3d6da; font-size: 15px; line-height: 1.45; }
.mundo-cab .ia { top: 10px; bottom: auto; }
.mundo-rutas { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 8px 12px 14px; }
.ruta-fila { width: 100%; min-height: 84px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; padding: 10px 12px 10px 10px; background: #16181b; border: 1px solid #2a2d31; border-radius: 12px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.ruta-fila:hover { border-color: #9aa0a8; background: #1b1d21; transform: translateY(-1px); }
.ruta-fila.mia { border-color: #F5F5F5; }
.monolito { position: relative; width: 52px; height: 66px; flex: none; border-radius: 7px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 6px 0 4px;
  background: linear-gradient(180deg, #2b2f35 0%, #15181c 34%, rgba(0,0,0,0) 34.5%), var(--cromo-placa);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,0,0,.35), 0 8px 18px rgba(0,0,0,.55); }
.monolito i { font: 700 7.5px/1 var(--mono); font-style: normal; letter-spacing: .14em; color: #cdd1d6; }
.monolito b { font: 400 25px/1 var(--display); color: #1b1e23; letter-spacing: -.02em; text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 -1px 0 rgba(0,0,0,.2); }
.rf-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rf-nom { font: 800 16.5px/1.25 var(--body); color: var(--text); }
.rf-jefe { color: #c9cdd2; font-size: 14px; line-height: 1.4; }
.rf-jefe em { font: 700 10.5px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--xxx); margin-right: 4px; }
.rf-tuya { align-self: flex-start; font: 700 10.5px/1 var(--mono); letter-spacing: .08em; background: #F5F5F5; color: #000; border-radius: 5px; padding: 4px 6px; }
.rf-ir { font: 400 28px/1 var(--body); color: #9aa0a8; }
html.js .mundo:not(.dentro) .monolito { opacity: 0; transform: translateY(-28px) rotate(-7deg); }
html.js .mundo:not(.dentro) .rf-txt { opacity: 0; transform: translateX(12px); }
.mundo .monolito, .mundo .rf-txt { transition: opacity .45s ease, transform .6s cubic-bezier(.2, 1.45, .4, 1); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
@media (min-width: 900px) {
  .rutas { padding: 120px 0; }
  .mundos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; margin-top: 36px; }
  .mundo-cab { min-height: 170px; }
}

/* ============ 5 · EL TEST ============ */
.test { padding: 88px 0; background: #070707; border-top: 1px solid #171717; border-bottom: 1px solid #171717; background-image: linear-gradient(#111 1px, transparent 1px), linear-gradient(90deg, #111 1px, transparent 1px); background-size: 22px 22px; }
.test-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.test-cab { display: flex; flex-direction: column; gap: 12px; }
.test-cab h2 { font-size: clamp(30px, 3.8vw, 48px); }
.test-caja { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; min-height: 360px; }
.test-preg { display: flex; flex-direction: column; gap: 14px; }
.test-preg[hidden], .test-res[hidden] { display: none; }
.test-prog { display: flex; justify-content: space-between; align-items: center; font: 700 11px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.pips3 { display: flex; gap: 4px; }
.pips3 i { width: 26px; height: 4px; border-radius: 2px; background: #2a2a2a; }
.pips3 i.on { background: #F5F5F5; }
.test-preg h3 { font-size: clamp(22px, 2.6vw, 30px); outline: none; }
.opciones { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.op { display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 64px; padding: 14px 16px; background: #0f0f0f; border: 1px solid #2c2c2c; border-radius: 12px; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.op:hover { border-color: #F5F5F5; }
.op:active { transform: scale(.99); }
.op b { font-weight: 600; font-size: 16px; }
.op span { color: var(--muted); font-size: 14px; }
.test-res { display: flex; flex-direction: column; gap: 16px; }
.res-k { font: 700 11px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.res-principal { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; }
.res-img { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #111; }
.res-img img { width: 100%; height: 100%; object-fit: cover; }
.res-img .ia { right: 4px; bottom: 4px; font-size: 11px; padding: 3px 4px; }
.res-principal h3 { font-size: clamp(21px, 2.4vw, 28px); margin: 4px 0 8px; }
.res-principal p { color: #d6d6d6; font-size: 15px; }
.res-despues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.res-mini { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; min-height: 64px; background: #0f0f0f; border: 1px solid #2c2c2c; border-radius: 12px; cursor: pointer; }
.res-mini:hover { border-color: #F5F5F5; }
.res-mini span { font: 700 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.res-mini b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.res-acc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.res-acc .cta-3 { min-height: 52px; }
.res-nota { color: var(--muted); font-size: 14px; }
@media (min-width: 600px) { .opciones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .test-caja { padding: 28px; } }
@media (min-width: 900px) { .test { padding: 120px 0; } .test-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } .test-cab { position: sticky; top: calc(var(--barra) + 32px); } .res-principal { grid-template-columns: 140px minmax(0, 1fr); } }

/* ============ 6 · EL ESCAPARATE ============ */
.demos { padding: 88px 0; }
.demos-cab { display: flex; flex-direction: column; gap: 12px; }
.muro-caja { position: relative; height: clamp(300px, 38vw, 540px); overflow: hidden; margin: 32px 0 20px; perspective: 1400px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.muro { --f: clamp(0, calc(var(--p, 1) * 2.2), 1); position: absolute; left: -8%; right: -8%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; transform-origin: 50% 60%; transform: rotateX(calc((1 - var(--f)) * 34deg)) rotateZ(calc((1 - var(--f)) * -7deg)) scale(calc(.88 + var(--f) * .12)); }
.muro .fila { display: flex; gap: 12px; width: max-content; will-change: transform; }
.muro .fila:nth-child(1) { transform: translateX(calc(var(--p, 1) * -16%)); }
.muro .fila:nth-child(2) { transform: translateX(calc(-24% + var(--p, 1) * 16%)); }
.muro .fila:nth-child(3) { transform: translateX(calc(-8% + var(--p, 1) * -16%)); }
.muro img { width: clamp(130px, 17vw, 250px); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid #2a2a2a; background: #111; }
.carrusel { margin-top: 8px; }
.car-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.car-cuenta { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: #d6d6d6; }
.car-flechas { display: flex; gap: 8px; }
.flecha { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: var(--text); font: 600 18px/1 var(--body); cursor: pointer; }
.flecha:hover { border-color: var(--text); }
.flecha:disabled { opacity: .35; cursor: default; }
.carril { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #333 transparent; overscroll-behavior-x: contain; }
.carril:focus-visible { outline-offset: 4px; }
.demo { flex: 0 0 88%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.disp { position: relative; padding-right: 20%; padding-bottom: 7%; }
.portatil { border-radius: 10px; border: 5px solid transparent; border-bottom-width: 9px; background: linear-gradient(#000, #000) padding-box, var(--cromo-borde) border-box; overflow: hidden; aspect-ratio: 16 / 10; }
.portatil img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.movil { position: absolute; right: 0; bottom: 0; width: 26%; aspect-ratio: 390 / 844; border-radius: 14px; border: 4px solid transparent; background: linear-gradient(#000, #000) padding-box, var(--cromo-borde) border-box; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.movil img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-txt { display: flex; flex-direction: column; gap: 10px; }
.chip-ruta { align-self: flex-start; font: 700 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #d6d6d6; border: 1px solid #333; border-radius: 6px; padding: 6px 8px; }
.demo-txt h3 { font-size: clamp(22px, 2.4vw, 30px); }
.demo-txt p { color: #d6d6d6; }
.tag-ej { align-self: flex-start; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #0A0A0A; background: #F5F5F5; border-radius: 5px; padding: 6px 8px; }
.demo-acc { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 4px; }
.demo-acc .cta-2 { min-height: 48px; padding: 0 18px; font-size: 15px; }
.demo-acc .cta-3 { min-height: 48px; padding: 0 16px; font-size: 15px; }
@media (min-width: 900px) {
  .demos { padding: 120px 0; }
  .demo { flex-basis: 84%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 24px; }
}

/* Diálogos: ficha de ruta y probador */
dialog.modal { padding: 0; border: 1px solid #2c2c2c; border-radius: 18px; background: #0f0f0f; color: var(--text); width: calc(100vw - 32px); max-width: 1040px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
dialog.modal::backdrop { background: rgba(0,0,0,.8); }
dialog.modal[open] { animation: entra .25s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.cerrar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; background: #0f0f0f; color: var(--text); font: 600 22px/1 var(--body); cursor: pointer; flex: none; }
.cerrar:hover { border-color: var(--text); }
@media (max-width: 899px) {
  dialog.modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; border: 0; }
}
.fi-in { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100%; }
.ficha { max-width: 920px; }
.fi-cab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fi-img { position: relative; margin: -4px -18px 0; aspect-ratio: 16 / 9; background: #0b0b0b; overflow: hidden; }
.fi-img img { width: 100%; height: 100%; object-fit: cover; }
.fi-img .ia { z-index: 5; bottom: auto; top: 10px; left: 10px; right: auto; }
.fi-cab-txt { display: flex; flex-direction: column; gap: 12px; }
.fi-col { display: flex; flex-direction: column; min-width: 0; }
.fi-txt { position: relative; padding: 4px 18px 0; display: flex; flex-direction: column; gap: 16px; }
.fi-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fi-meta .n { color: var(--text); border: 1px solid #333; border-radius: 6px; padding: 6px 8px; }
.fi-txt h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.06; background-size: 100% 1.06em; }
.fi-bloque { display: flex; flex-direction: column; gap: 6px; }
.fi-bloque h3 { font: 700 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fi-bloque p { color: #e0e0e0; }
.fi-misiones { list-style: none; display: flex; flex-direction: column; gap: 6px; counter-reset: m; }
.fi-misiones li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: baseline; padding: 9px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-size: 15px; }
.fi-misiones li::before { content: counter(m); font-family: var(--display); color: var(--text); font-size: 16px; }
.fi-misiones li.jefe { border-color: #4a3a1e; background: #17110a; }
.fi-misiones li.jefe::before { color: var(--xxx); }
.fi-misiones li.jefe b { font-weight: 600; }
.fi-jefe { border-left: 3px solid var(--xxx); background: var(--surface); border-radius: 0 12px 12px 0; padding: 12px 14px; }
.fi-no { background: #121212; border: 1px dashed #3a3a3a; border-radius: 12px; padding: 12px 14px; }
.fi-demo { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.fi-demo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; }
.fi-demo b { display: block; font-size: 15px; }
.fi-demo .fi-demo-acc { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.fi-demo .fi-demo-acc .enlace { font-size: 14.5px; }
.fi-demo small { color: var(--muted); font-size: 13px; }
.fi-pie { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); margin-top: 8px; background: #0f0f0f; border-top: 1px solid #222; }
.fi-pie .cta { flex: 1 1 auto; min-width: 0; padding: 0 16px; }
.fi-nav { display: flex; gap: 6px; margin-left: auto; flex: none; }
.fi-nav .flecha, .fi-nav .cerrar { width: 46px; height: 46px; }
@media (min-width: 900px) {
  .fi-cab { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .fi-img { margin: 0; border-radius: 12px; border: 1.5px solid transparent; background: linear-gradient(#0b0b0b, #0b0b0b) padding-box, var(--cromo-borde) border-box; }
  dialog.ficha { border: 1.5px solid transparent; background: linear-gradient(#0f0f0f, #0f0f0f) padding-box, var(--cromo-borde) border-box; }
  .fi-txt { padding: 26px 28px 0; }
  .fi-pie { padding: 16px 28px; }
  .fi-pie .cta { flex: 0 0 auto; }
}

.probador { display: none; }
.probador[open] { display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 900px) { .probador[open] { max-width: 1240px; height: calc(100vh - 40px); height: calc(100dvh - 40px); } }
.pr-cab { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #222; }
.pr-tit-caja { flex: 1 1 180px; min-width: 0; }
.pr-tit-caja h3 { font-size: 20px; }
.pr-modo { display: flex; gap: 6px; }
.pr-modo .chip { min-height: 44px; padding: 0 14px; }
.pr-abrir { font-size: 14px; }
.pr-marco { position: relative; flex: 1; min-height: 0; background: #050505; overflow: hidden; }
.pr-carga { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.pr-escala { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.pr-escala iframe { display: block; border: 0; background: #fff; }
.pr-escala.movil-modo iframe { border-radius: 28px; border: 8px solid #1d1d1d; }
.pr-pie { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #222; }
.pr-pie .cta-2 { min-height: 48px; font-size: 15px; padding: 0 18px; }
@media (max-width: 899px) {
  .pr-tit-caja { flex: 1 1 calc(100% - 60px); }
  .pr-cab .cerrar { order: 1; }
  .pr-modo { order: 2; }
  .pr-abrir { order: 3; }
  .pr-pie .cta-2 { flex: 1 1 auto; }
}

/* ============ 7 · EL CICLO Y LA MISIÓN 0 ============ */
.ciclo { padding: 88px 0; border-top: 1px solid #171717; }
.ciclo h2 { margin: 8px 0 14px; max-width: 900px; }
.dias { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
.sem-t { font: 600 14px/1.3 var(--body); color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.sem-t b { color: var(--text); font-weight: 800; }
.sem { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.dia > button, .dia > div { width: 100%; height: 100%; min-height: 72px; display: flex; flex-direction: column; gap: 2px; padding: 8px 4px; border-radius: 10px; background: #101010; border: 1px solid #232323; color: var(--text); text-align: center; align-items: center; }
.dia > button { cursor: pointer; border-color: #3a3a3a; }
.dia > button:hover { border-color: #F5F5F5; }
.dia > button[aria-pressed="true"] { background: #F5F5F5; color: #000; border-color: #F5F5F5; }
.dia > button[aria-pressed="true"] .df, .dia > button[aria-pressed="true"] .dt, .dia > button[aria-pressed="true"] .dt-c { color: #222; }
.dn { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.dn-t { display: none; }
.df { font: 700 10.5px/1.2 var(--mono); color: #cfcfcf; letter-spacing: .02em; }
.dt { display: none; font-size: 12.5px; line-height: 1.25; color: #cfcfcf; }
.dt-c { font-size: 11px; line-height: 1.2; color: var(--muted); }
.dia.jefe .dt-c, .dia.jefe .dt { color: var(--text); font-weight: 600; }
.dia.jefe > button, .dia.jefe > div { border-color: #6b4a14; }
.dia.hoy > button, .dia.hoy > div { box-shadow: inset 0 0 0 2px var(--xxx); }
.dias-nota { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
@media (min-width: 900px) {
  .ciclo { padding: 120px 0; }
  .dias { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .dia > button, .dia > div { min-height: 112px; text-align: left; align-items: flex-start; padding: 10px 9px; gap: 4px; }
  .dn { font-size: 15px; }
  .dn-t { display: inline; }
  .dt { display: block; }
  .dt-c { display: none; }
}
.m0 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.m0-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.m0-img img { width: 100%; height: 100%; object-fit: cover; }
.m0-txt { display: flex; flex-direction: column; gap: 12px; padding: 4px 4px 8px; }
.m0-txt p { color: #d6d6d6; }
.m0-idea { margin: 0; padding: 16px 18px; border-left: 3px solid #F5F5F5; background: #0d0d0d; border-radius: 0 12px 12px 0; font-size: 18px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; }
.m0-dia { font: 700 11px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.m0-haces b { color: var(--text); }
@media (min-width: 900px) { .m0 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 32px; padding: 20px; } .m0-img { aspect-ratio: 4 / 3; } }

/* La app por dentro, en tres móviles */
.app { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 20px -16px 0; padding: 4px 16px 16px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.app-col { flex: 0 0 280px; scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.app-col figcaption { text-align: center; max-width: 280px; display: flex; flex-direction: column; gap: 4px; }
.app-col figcaption b { font-size: 16px; }
.app-col figcaption span { color: var(--muted); font-size: 14.5px; }
@media (min-width: 900px) { .app { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 24px 0 0; padding: 0; gap: 24px; } .app-col { flex: none; } }
.tel { width: 270px; border-radius: 40px; border: 9px solid transparent; box-shadow: 0 0 0 1px #2c2c2c, 0 30px 70px rgba(0,0,0,.6); background: linear-gradient(#000, #000) padding-box, var(--cromo-borde) border-box; position: relative; overflow: hidden; }
.tel::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; border-radius: 20px; background: #000; z-index: 40; }
.pantalla { height: 540px; overflow: hidden; position: relative; font-size: 13px; line-height: 1.45; }
.hud { padding: 38px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.hud .fila { display: flex; justify-content: space-between; align-items: center; font: 700 10.5px/1 var(--mono); letter-spacing: 0.08em; }
.hud .fila .pts { color: var(--xxx); }
.pips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; }
.pips i { height: 4px; border-radius: 2px; background: #2a2a2a; transition: background .3s ease; }
.pips i.ok { background: var(--xxx); }
.pips i.ya { background: repeating-linear-gradient(90deg, var(--xxx) 0 2px, transparent 2px 4px); }
.franja { position: relative; height: 128px; border-radius: 10px; background: #111 url("../img/ia/claude.webp?v=4f") center 30% / cover no-repeat; overflow: hidden; }
.franja::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.85)); }
.franja .etq { position: absolute; left: 10px; bottom: 12px; z-index: 2; font-size: 15px; }
.franja .ia { top: 6px; right: 6px; bottom: auto; font-size: 11px; padding: 3px 5px; }
.informe { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.informe .cab { font: 700 11px/1.3 var(--mono); letter-spacing: 0.12em; color: var(--xxx); }
.informe dl { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; margin: 0; }
.informe dt { font: 700 10.5px/1.6 var(--mono); letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.informe dd { margin: 0; color: #e0e0e0; }
.informe.mini { padding: 10px; gap: 6px; font-size: 12.5px; }
.informe.mini dl { grid-template-columns: 70px 1fr; }
.informe.mini dt { font-size: 11px; }
.falsos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.falso { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; font: 800 13.5px/1 var(--body); text-align: center; padding: 0 10px; }
.falso.borde { border: 1px solid #3a3a3a; color: var(--text); }
.falso.blanco { background: #F5F5F5; color: #000; }
.falso.ancho { width: 100%; }
.falso.borde.ancho { font: 700 10.5px/1 var(--mono); letter-spacing: .08em; }
.a3 { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 30px 16px 20px; background: #000; text-align: center; }
.a3 .wm { font-size: 13px; }
.sello { position: relative; transform: rotate(-5deg); padding: 14px 16px; background: var(--xxx); color: #000; font-family: var(--display); font-size: 25px; line-height: 1; width: 100%; }
.sello::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(0,0,0,.22) 1px, transparent 1.4px) 0 0 / 6px 6px; mix-blend-mode: multiply; }
.sello small { display: block; font: 700 10.5px/1 var(--mono); letter-spacing: 0.1em; margin-top: 8px; }
.sello.cae { animation: golpe .55s cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes golpe { 0% { transform: scale(2.4) rotate(-16deg); opacity: 0; } 55% { transform: scale(.93) rotate(-4deg); opacity: 1; } 75% { transform: scale(1.03) rotate(-5.5deg); } 100% { transform: scale(1) rotate(-5deg); } }
.tel.tiembla { animation: tiembla .28s linear .3s both; }
@keyframes tiembla { 20% { transform: translate(-3px, 2px); } 40% { transform: translate(3px, -2px); } 60% { transform: translate(-2px, -1px); } 80% { transform: translate(2px, 1px); } 100% { transform: none; } }
.a3 .resumen { font-size: 13.5px; color: #cfcfcf; max-width: 220px; }
.a4 { position: absolute; inset: 0; background: #000 url("../img/ia/portada.webp?v=4f") center top / cover no-repeat; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 14px 18px; }
.a4::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 46%, rgba(0,0,0,.92) 78%); }
.a4 > * { position: relative; }
.a4 .wm-b { font-size: 17px; text-align: center; }
.a4-abajo { display: flex; flex-direction: column; gap: 10px; }
.a4 .h-like { font-size: 21px; line-height: 1.38; }
.pts-g { display: flex; justify-content: space-between; align-items: baseline; font: 700 10.5px/1 var(--mono); letter-spacing: 0.1em; color: #ddd; }
.pts-g b { font-family: var(--display); font-size: 26px; color: var(--xxx); letter-spacing: 0; font-weight: 400; }
.a4 .reto { font: 700 11px/1.4 var(--mono); letter-spacing: 0.08em; color: #cfcfcf; text-align: center; }

/* ============ 8 · LOS PUNTOS Y LA CARTA ============ */
.puntos { padding: 88px 0; border-top: 1px solid #171717; }
.pu-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.pu-txt h2 { margin: 8px 0 24px; }
.pila { display: flex; flex-direction: column; gap: 16px; perspective: 900px; padding-bottom: 8px; }
.pila .obj { position: sticky; background: #151515; border: 1px solid #2a2a2a; border-radius: 16px; padding: 18px; min-height: 150px; box-shadow: 0 -10px 30px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 6px;
  --e: var(--p, 1); transform-origin: 50% 0; transform: rotateX(calc((1 - var(--e)) * 38deg)) translateY(calc((1 - var(--e)) * 36px)) scale(calc(1 - var(--c, 0) * .06)); opacity: clamp(0, calc(var(--e) * 1.6), 1); filter: brightness(calc(1 - var(--c, 0) * .45)); }
.pila .obj:nth-child(1) { top: calc(var(--barra) + 16px); }
.pila .obj:nth-child(2) { top: calc(var(--barra) + 28px); }
.pila .obj:nth-child(3) { top: calc(var(--barra) + 40px); }
.pila .obj:nth-child(4) { top: calc(var(--barra) + 52px); }
.pila .obj:nth-child(5) { top: calc(var(--barra) + 64px); }
.pila .obj:nth-child(6) { top: calc(var(--barra) + 76px); }
.obj .tag { font: 700 11px/1.3 var(--mono); letter-spacing: 0.1em; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.obj .tag em { font-style: normal; color: var(--text); }
.obj b { font-family: var(--display); font-weight: 400; font-size: 21px; margin-top: 6px; }
.obj .muted { color: #bdbdbd; font-size: 15px; }
.obj.con-insignia { padding-right: 132px; }
.obj-insignia { position: absolute; right: 12px; top: 40px; width: 112px; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
@media (min-width: 600px) { .obj.con-insignia { padding-right: 190px; } .obj-insignia { width: 160px; right: 18px; top: 30px; } }
.carta-caja { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.carta { width: 100%; max-width: 320px; border-radius: 18px; border: 1.5px solid transparent; background: linear-gradient(#121212, #121212) padding-box, var(--cromo-borde) border-box; box-shadow: 6px 6px 0 var(--xxx); overflow: hidden; }
.carta-img { position: relative; height: 190px; background: #111; overflow: hidden; }
.carta-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.ejemplo { position: absolute; top: 10px; left: 10px; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; background: #F5F5F5; color: #000; padding: 5px 7px; border-radius: 5px; }
.carta-pts { position: absolute; right: 10px; top: 10px; font: 400 18px/1 var(--display); background: #0A0A0A; color: var(--text); border: 1px solid #3a3a3a; padding: 6px 8px; border-radius: 6px; }
.carta-c { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.carta-c .nom { font-family: var(--display); font-size: 22px; line-height: 1; }
.carta-sub { font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.carta-rutas { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 5px; }
.cr { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.cr i { display: block; width: 100%; height: 26px; background: #262626; border-radius: 3px; position: relative; overflow: hidden; }
.cr i em { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v, 0) * 100%); background: #F5F5F5; }
.cr.max i em { background: var(--xxx); }
.cr b { font: 700 10px/1 var(--mono); color: var(--muted); }
.insignias { display: flex; flex-wrap: wrap; gap: 6px; }
.insignias span { font: 700 10px/1 var(--mono); letter-spacing: .06em; border: 1px solid #3a3a3a; border-radius: 6px; padding: 6px 7px; color: var(--text); }
.insignias span.apagada { color: var(--muted); border-style: dashed; }
.carta-txt { color: #cfcfcf; font-size: 15px; max-width: 320px; }
@media (min-width: 900px) { .puntos { padding: 120px 0; } .pu-in { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } .carta-caja { position: sticky; top: calc(var(--barra) + 40px); } }
/* Sin la carta (ciclo 2): la pila ocupa el ancho, con tope para que se lea */
@media (min-width: 900px) { .pu-in.sin-carta { grid-template-columns: minmax(0, 820px); } }

/* ============ 9 · LA GALA ============ */
.gala-sec { padding: 88px 0; border-top: 1px solid #171717; }
.gala-sec h2 { margin: 8px 0 24px; max-width: 900px; }
.pr-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.pr-txt { display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: #d6d6d6; }
.insignias-metal { margin-top: 28px; padding: 22px 16px; border-radius: 18px; border: 1.5px solid transparent; background: radial-gradient(120% 90% at 50% 0%, #1c1e22 0%, #0d0e10 70%) padding-box, var(--cromo-borde) border-box; text-align: center; }
.insignias-metal h3 { font-size: clamp(24px, 2.6vw, 32px); }
.insignias-metal > p { margin-top: 6px; font-size: 15px; }
.ins-lista { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.ins-lista li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ins-lista img { height: 92px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.ins-lista b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .01em; }
.ins-lista span { color: #b9bdc2; font-size: 13.5px; line-height: 1.4; }
@media (min-width: 900px) { .insignias-metal { padding: 30px 28px; } .ins-lista { gap: 24px; } .ins-lista img { height: 150px; } .ins-lista b { font-size: 17px; } .ins-lista span { font-size: 15px; } }
.otros { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.otros div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px dashed #333; border-radius: 14px; }
.otros span { color: var(--muted); font-size: 15px; }
.letra { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 760px; }
@media (min-width: 900px) { .gala-sec { padding: 120px 0; } .pr-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; } .otros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============ 10 · EL SEGUNDO CEREBRO ============ */
.cerebro { padding: 88px 0; border-top: 1px solid #171717; }
.ce-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ce-txt { display: flex; flex-direction: column; gap: 16px; }
.ce-txt p { color: #d6d6d6; font-size: 17px; }
.ce-dato { display: flex; gap: 28px; font: 700 11px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.ce-dato b { color: var(--text); font-family: var(--display); font-size: clamp(30px, 4vw, 44px); display: block; letter-spacing: 0; font-weight: 400; line-height: 1.1; }
.term { background: #050505; border: 1px solid #222; border-radius: 12px; padding: 12px 14px 14px; font: 500 13px/1.65 var(--mono); min-height: 210px; }
.term .bar { display: flex; gap: 5px; margin-bottom: 10px; }
.term .bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.tm-l { white-space: pre-wrap; word-break: break-word; }
.tm-cmd { color: #F5F5F5; }
.tm-cmd::before { content: "> "; color: var(--xxx); }
.tm-ok { color: #cfcfcf; }
.tm-ok::before { content: "● "; color: var(--xxx); }
.tm-dim { color: #9a9a9a; }
.tm-cursor { display: inline-block; width: 8px; height: 14px; background: var(--xxx); vertical-align: -2px; margin-left: 2px; animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.ce-vis { position: relative; }
.ce-img { position: relative; height: 340px; border-radius: 14px; overflow: hidden; background: #111; }
.ce-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ce-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,0) 50%, #0A0A0A 100%); }
.ce-img .ia { top: 10px; bottom: auto; }
.grafo-caja { position: relative; margin-top: -90px; z-index: 2; }
#grafo { width: 100%; height: 320px; display: block; }
@media (min-width: 900px) { .cerebro { padding: 120px 0; } .ce-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; } .ce-img { height: 420px; } #grafo { height: 380px; } }

/* ============ 11 · QUIÉN TE LO ENSEÑA ============ */
.julen { padding: 88px 0 72px; border-top: 1px solid #171717; }
.ju-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.quien-img { position: relative; height: 420px; border-radius: 14px; overflow: hidden; background: #111; clip-path: inset(0 calc((1 - var(--p, 1)) * 44%) round 14px); }
.quien-img img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 40%; }
.quien-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,.88) 100%); }
.firma { position: absolute; left: 16px; bottom: 18px; z-index: 2; font-family: var(--script); font-size: 76px; line-height: 1.1; padding: 0 12px 0 4px; color: #fff; text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 18px rgba(255,255,255,.45), 0 0 34px rgba(255,255,255,.25); transform: rotate(-6deg); clip-path: inset(-20px calc((1 - clamp(0, calc((var(--p, 1) - .55) / .45), 1)) * 100%) -20px -10px); }
.ju-txt { display: flex; flex-direction: column; gap: 16px; }
.ju-txt h2 { margin-top: 4px; }
.ju-txt > p { color: #d6d6d6; font-size: 17px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }
.cita { margin: 0; font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; border-left: 3px solid var(--text); padding-left: 16px; }
.tira { display: grid; grid-template-columns: 1.6fr 1fr 1.6fr; gap: 8px; margin-top: 28px; }
.tira img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
.tira img:nth-child(2) { object-position: 50% 30%; }
.tira-nota { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
@media (min-width: 900px) { .julen { padding: 120px 0 96px; } .ju-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; } .quien-img { height: 560px; } .tira img { height: 240px; } }

/* ============ 12 · LA COMUNIDAD ============ */
.comunidad { padding: 88px 0; border-top: 1px solid #171717; background: #0c0c0c; }
.com-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.com-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.com-main h2 { font-size: clamp(27px, 4.2vw, 50px); line-height: 1.4; }
.vsl { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.vsl-img { position: relative; aspect-ratio: 16 / 9; background: #111; display: grid; place-items: center; }
.vsl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.vsl-img .play { position: relative; z-index: 2; }
.vsl-txt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.vsl-txt b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.vsl-txt span { color: var(--muted); font-size: 15px; }
.incluye { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.incluye li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.incluye .e { font-size: 20px; line-height: 1.3; flex: none; }
.incluye b { display: block; font-size: 16.5px; }
.incluye span:not(.e) { color: var(--muted); font-size: 15px; }
.promesa { margin: 6px 0 0; font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; display: flex; flex-direction: column; gap: 10px; }
.promesa cite { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.para-ti { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pt { border-radius: 14px; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); }
.pt.no { background: transparent; border-style: dashed; border-color: #333; }
.pt h3 { font-size: 19px; margin-bottom: 10px; }
.pt ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: #d6d6d6; }
.oro { border-left: 3px solid #F5F5F5; padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 10px; color: #d6d6d6; font-size: 16.5px; }
.precio-card { background: var(--surface); border: 1px solid #333; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.precio { display: flex; align-items: baseline; gap: 6px; }
.precio b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; }
.precio span { font: 600 18px/1 var(--body); color: var(--muted); }
.moneda { color: #d6d6d6; font-size: 15px; }
.moneda b { color: var(--text); font-weight: 600; }
.pc-datos { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #d6d6d6; }
.pc-datos li { padding-left: 22px; position: relative; }
.pc-datos li::before { content: "✓"; position: absolute; left: 0; color: var(--text); font-weight: 800; }
.precio-card .cta { width: 100%; }
.livebar { display: flex; align-items: center; gap: 10px; font: 700 12px/1.4 var(--mono); letter-spacing: .06em; color: #d6d6d6; border: 1px solid #2a2a2a; border-radius: 10px; padding: 10px 12px; }
.livebar .punto { width: 8px; height: 8px; border-radius: 50%; background: #5a5a5a; flex: none; }
.livebar.vivo .punto { background: var(--vivo); }
.pc-nota { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .comunidad { padding: 120px 0; } .com-in { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } .precio-card { position: sticky; top: calc(var(--barra) + 32px); } .vsl { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } .para-ti { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ 13 · 90 DAYS ============ */
.days { padding: 88px 0; border-top: 1px solid #171717; }
.days h2 { margin: 8px 0 24px; max-width: 900px; }
.days-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.days-txt { display: flex; flex-direction: column; gap: 16px; font-size: 17px; color: #d6d6d6; }
.days-txt .muted { font-size: 15.5px; }
.escalera { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.escalera li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: baseline; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.escalera li:nth-child(2) { margin-left: 16px; }
.escalera li:nth-child(3) { margin-left: 32px; border-color: #3a3a3a; }
.esc-n { grid-row: span 2; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--text); }
.escalera b { font-size: 17px; }
.escalera li span:not(.esc-n) { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .days { padding: 120px 0; } .days-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } .escalera li:nth-child(2) { margin-left: 36px; } .escalera li:nth-child(3) { margin-left: 72px; } }

/* ============ 14 · PREGUNTAS ============ */
.faq { padding: 88px 0; border-top: 1px solid #171717; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.faq h2 { margin-top: 8px; }
.faq details { border-bottom: 1px solid #222; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--display); font-size: 20px; color: var(--text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: #cfcfcf; font-size: 16px; max-width: 760px; }
@media (min-width: 900px) { .faq { padding: 120px 0; } .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } .faq-in > div:first-child { position: sticky; top: calc(var(--barra) + 32px); align-self: start; } }

/* ============ 15 · LA PRÓXIMA PARTIDA ============ */
.cierre { padding: 96px 0 104px; border-top: 1px solid #171717; text-align: center; }
.cierre-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.partida { border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px 16px; font: 700 12px/1.5 var(--mono); letter-spacing: 0.1em; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.partida b { color: var(--text); }
.dias-faltan { color: var(--text); }
.cierre h2 { font-size: clamp(40px, 7vw, 80px); line-height: 1.3; }
.cta-grande { min-height: 60px; padding: 0 40px; font-size: 18px; }

/* ============ PIE LEGAL ============ */
.pie { border-top: 1px solid #171717; padding: 40px 0 56px; background: var(--bg); }
.pie-in { display: flex; flex-direction: column; gap: 18px; }
.pie-wm { font-size: 18px; }
.pie-txt { display: flex; flex-direction: column; gap: 10px; color: #a8a8a8; font-size: 14px; max-width: 820px; }
.pie-txt a { color: #d6d6d6; }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pie-enlaces a { min-height: 44px; display: inline-flex; align-items: center; }

/* Títulos palabra a palabra: cada palabra entra con el scroll */
.palabras .w { display: inline-block; --v: clamp(0, calc(var(--p, 1) * (var(--n) + 2) - var(--i)), 1); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 16px)); filter: blur(calc((1 - var(--v)) * 4px)); }

/* Reducir movimiento: sin mesetas ni animaciones; todo entero y quieto */
html.quieto .mundo .monolito, html.quieto .mundo .rf-txt, html.quieto .hero-arriba, html.quieto .hero-abajo { transition: none; }
html.quieto .tm-cursor, html.quieto dialog.modal[open] { animation: none; }
html.quieto .pila .obj { position: relative; top: auto !important; }
html.quieto .banda { transition: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Auditoría 26-10 (A4): la ruta ideal que aún no se juega, dicho claro. */
.res-honesto { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #3a3a3a; border-radius: 10px; background: #121212; }

/* ============ 0 · EL PROMPT DE ARRANQUE (28-10, CONFIRMACIONES 308) ============ */
/* Arriba del todo, encima de la portada: el DM de MAX manda aquí. Sin amarillo en el botón: el amarillo es «Apúntate». */
.arranque { padding-top: calc(var(--barra) + 14px); padding-bottom: 6px; }
.arranque + .hero { padding-top: 0; }
.arranque-in { display: flex; flex-direction: column; gap: 8px; }
.arranque-in > * { max-width: 760px; }
.arranque h2 { font: 400 clamp(22px, 5.6vw, 28px)/1.1 var(--display); }
.arranque p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.arranque-acc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.arranque-ok { font-size: 14px; color: var(--text); min-height: 1em; }
.arranque-ver summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font: 600 15px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; }
.arranque-prompt { white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0 0; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--xxx); border-radius: 10px; font: 400 14px/1.5 var(--body); color: var(--text); max-width: 760px; }
@media (min-width: 900px) { .arranque { padding-top: calc(var(--barra) + 22px); } }
