/* Página pública (rediseño 02/11/2026, quinta versión: «el mundo es la IA»; referencias en web/REFERENCIAS_V5.md).
   La portada es un mundo 3D (app/src/mundo/, three.js + GSAP) y el resto de la web vive de noche. Los tokens de la app se copian al armar desde
   app/src/styles.css; aquí se fija la noche encima y cada asistente lleva su color (.id-<id>, el mismo de
   app/src/sistema.css). Letras: Hubot Sans para títulos (ancha), Mona Sans para texto y cifras. */
@font-face { font-family: "Mona Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 900; font-stretch: 75% 125%; src: url("/recursos/mona-sans.woff2") format("woff2-variations"), url("/recursos/mona-sans.woff2") format("woff2"); }
@font-face { font-family: "Hubot Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 900; font-stretch: 75% 125%; src: url("/recursos/hubot-sans.woff2") format("woff2-variations"), url("/recursos/hubot-sans.woff2") format("woff2"); }
:root {
  --bg: #f4f6f9; --bg-2: #eef1f5;
  --halo-0: transparent; --halo-1: transparent; --halo-2: transparent; --halo-3: transparent; --halo-4: transparent;
  --panel: #ffffff; --panel-fuerte: #ffffff; --panel-2: rgba(11, 18, 32, .035); --panel-solido: #ffffff;
  --line: rgba(11, 18, 32, .08); --line-2: rgba(11, 18, 32, .15);
  --text: #0b1220; --muted: #475569; --faint: #5b6b82;
  --accent: #0369a1; --accent-2: rgba(3, 105, 161, .09); --accent-text: #ffffff; --accent-glow: rgba(56, 189, 248, .3);
  --hielo: #38bdf8; --glaciar: #7dd3fc; --plata: #cbd5e1; --pelaje: #334155; --noche: #0b1220; --nieve: #f8fafc;
  --sobre-fuerte: #ffffff; 
  --danger: #b91c1c; --danger-bg: rgba(220, 38, 38, .07); --warn: #92400e; --warn-bg: rgba(245, 158, 11, .11);
  --cliente: #475569; --ia: #0369a1; --codigo: #047857; --dueno: #b45309; --persona: #c2410c;
  --radius: 14px; --radius-s: 9px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 10px 28px -18px rgba(11, 18, 32, .22);
  --blur: none;
  --puntos: rgba(11, 18, 32, .09);
  --tarjeta-op: .9;
  --letra: "Mona Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --letra-titulo: "Hubot Sans Variable", "Mona Sans Variable", system-ui, sans-serif;
  --id: var(--accent); --id-texto: var(--accent); --id-suave: var(--accent-2);
  
  --t-micro: 180ms; --t-panel: 260ms; --t-lento: 420ms;
  --curva: cubic-bezier(.2, .7, .2, 1); --curva-salida: cubic-bezier(.4, 0, 1, 1);
  
  --foco: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  
  
  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 20px; --e-6: 24px; --e-8: 32px; --e-10: 40px; --e-12: 48px;
  
  --r-xs: 8px; --r-s: 12px; --r-m: 16px; --r-l: 22px; --r-xl: 28px; --r-pill: 999px;
  
  --tx-xs: 12px; --tx-s: 13.5px; --tx-m: 15px; --tx-l: 17px; --tx-xl: 22px; --tx-2xl: 34px;
  
  --sombra-1: 0 1px 2px rgba(11, 18, 32, .06), 0 6px 16px -10px rgba(11, 18, 32, .18);
  --sombra-3: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 32px 80px -28px rgba(11, 18, 32, .42);
  
  --z-flotante: 5; --z-hoja: 20; --z-modal: 50; --z-aviso: 60; --z-brindis: 70;
  
  --campo-alto: 42px; --borde-campo: color-mix(in srgb, var(--pelaje) 58%, var(--nieve));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14; --bg-2: #0b1220;
  --halo-0: transparent; --halo-1: transparent; --halo-2: transparent; --halo-3: transparent; --halo-4: transparent;
  --panel: #0d1422; --panel-fuerte: #0f1727; --panel-2: rgba(148, 163, 184, .06); --panel-solido: #0f1727;
  --line: rgba(203, 213, 225, .08); --line-2: rgba(203, 213, 225, .15);
  --text: #eef2f7; --muted: #94a3b8; --faint: #7b8ba3;
  --accent: #38bdf8; --accent-2: rgba(56, 189, 248, .12); --accent-text: #07101c; --accent-glow: rgba(56, 189, 248, .34);
  --sobre-fuerte: #07101c;
  --danger: #f87171; --danger-bg: rgba(248, 113, 113, .1); --warn: #fbbf24; --warn-bg: rgba(251, 191, 36, .09);
  --cliente: #cbd5e1; --ia: #38bdf8; --codigo: #34d399; --dueno: #fbbf24; --persona: #fb923c;
  --shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 16px 40px -20px rgba(0, 0, 0, .7);
  --puntos: rgba(203, 213, 225, .06);
  
  --borde-campo: color-mix(in srgb, var(--plata) 40%, var(--noche));
  --sombra-1: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 22px -12px rgba(0, 0, 0, .7);
  --sombra-3: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 40px 100px -30px rgba(0, 0, 0, .85);
  --tarjeta-op: .5;
  color-scheme: dark;
  }
}
:root {
  color-scheme: dark;
  --bg: #04070d; --bg-2: #070c17; --panel: #0a1120; --panel-2: rgba(226, 232, 240, .04); --panel-solido: #0c1424; --panel-fuerte: #0e1729;
  --line: rgba(226, 232, 240, .08); --line-2: rgba(226, 232, 240, .15);
  --text: #eef2f7; --muted: #a3b1c4; --faint: #7d8ca2;
  --accent: #38bdf8; --accent-text: #04121f; --accent-glow: rgba(56, 189, 248, .45);
  --texto-2: var(--muted); --accent-texto: #7dd3fc; --aviso: #fbbf24; --ancho: 1200px;
}
/* identidad de cada asistente: --id para la luz, --id-texto para letras (sobre la noche, la misma luz) */
/* (Adrián 03/11: cada uno con un color propio y bien distinto: azul, morado, rojo, claro…). Las clases .id-<id> las arma
   web/armar.js desde app/src/colores.json (la tabla única, la misma de la app); el mundo 3D lee --id de ellas */
.id-ventas { --id: #3b82f6; --id-texto: #93c5fd; }
.id-agenda { --id: #a855f7; --id-texto: #d8b4fe; }
.id-produccion { --id: #ef4444; --id-texto: #fca5a5; }
.id-diseno { --id: #cbd5e1; --id-texto: #e2e8f0; }
.id-secretaria { --id: #10b981; --id-texto: #6ee7b7; }
.id-preventa { --id: #f59e0b; --id-texto: #fcd34d; }
.id-crm { --id: #ec4899; --id-texto: #f9a8d4; }
.id-oficina { --id: #84cc16; --id-texto: #bef264; }
.id-arquitecto { --id: #06b6d4; --id-texto: #67e8f9; }
.id-estudiante { --id: #f97316; --id-texto: #fdba74; }
.id-aquapack { --id: #14b8a6; --id-texto: #5eead4; }
/* la web siempre es de noche; si el sistema pide oscuro no cambia nada (queda para el día que haya un tema claro) */
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }

* { box-sizing: border-box; }
/* el «tnum» de Mona Sans trae un cero tachado: cifras proporcionales en todo (igual que app/src/sistema.css) */
*, *::before, *::after { font-variant-numeric: proportional-nums !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 16px/1.6 var(--letra); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--accent-texto); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: rgba(56, 189, 248, .3); }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--letra-titulo); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0 0 12px; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--panel-solido); color: var(--text); padding: 10px 14px; border-radius: 9px; border: 1px solid var(--line-2); }
.saltar:focus { top: 12px; }
.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 28px; }
.envoltura.estrecha { max-width: 820px; }
.envoltura.ancha { max-width: 1320px; }
main { position: relative; z-index: 1; }

/* ---------- cabecera: transparente sobre la noche, con su línea ---------- */
.cabecera { position: sticky; top: 0; z-index: 20; background: rgba(4, 7, 13, .62); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .cabecera { background: rgba(4, 7, 13, .45); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); } }
.cabecera-fila { display: flex; align-items: center; gap: 16px; min-height: 64px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--letra-titulo); font-weight: 650; font-stretch: 112%; font-size: 17px; letter-spacing: .06em; color: var(--text); text-decoration: none; }
/* el lobo de la marca (diseño de Adrián, el mismo app/public/lobo.svg): usado como máscara, toma el color del texto */
.lobo { display: inline-block; flex: none; height: 30px; aspect-ratio: 1; position: relative; background: currentColor; -webkit-mask: url("/recursos/marca.svg") center / contain no-repeat; mask: url("/recursos/marca.svg") center / contain no-repeat; }
/* al pasar el mouse por el logo, el ojo destella un instante (la posición sale de app/src/lobo-geometria.js) */
.logo .lobo::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff 0, var(--hielo) 9%, transparent 22%); }
.logo:hover .lobo::before, .logo:focus-visible .lobo::before { animation: destello var(--t-lento) var(--curva); }
@keyframes destello { 30% { opacity: 1; } }
.menu { margin-left: auto; }
.menu ul, .menu-movil ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu a, .menu-movil a { display: block; color: var(--texto-2); text-decoration: none; font-size: 14.5px; font-weight: 520; padding: 8px 12px; border-radius: 9px; transition: background-color var(--t-micro) var(--curva), color var(--t-micro); }
.menu a:hover, .menu-movil a:hover { color: var(--text); background: var(--panel-2); }
.menu a[aria-current], .menu-movil a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 9px 9px 0 0; }
.menu-movil { display: none; }
.menu-movil summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--text); border: 1px solid var(--line-2); }
.menu-movil summary::-webkit-details-marker { display: none; }
.hamburguesa, .hamburguesa::before, .hamburguesa::after { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform var(--t-micro) var(--curva), opacity var(--t-micro); }
.hamburguesa { position: relative; }
.hamburguesa::before, .hamburguesa::after { content: ""; position: absolute; left: 0; }
.hamburguesa::before { top: -5px; }
.hamburguesa::after { top: 5px; }
.menu-movil[open] .hamburguesa { background: transparent; }
.menu-movil[open] .hamburguesa::before { transform: translateY(5px) rotate(45deg); }
.menu-movil[open] .hamburguesa::after { transform: translateY(-5px) rotate(-45deg); }
.menu-movil nav { position: absolute; left: 0; right: 0; top: calc(100% + 1px); padding: 8px; border-radius: 0 0 14px 14px; background: var(--panel-solido); border: 1px solid var(--line); border-top: 0; box-shadow: 0 30px 60px -20px #000; animation: entrar var(--t-panel) var(--curva) both; }
.menu-movil ul { flex-direction: column; gap: 2px; }
.menu-movil a { font-size: 16.5px; padding: 12px 14px; }

/* ---------- botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; min-height: 44px; background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 620; text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 0 0 1px rgba(56, 189, 248, .4), 0 10px 40px -10px var(--accent-glow); transition: transform var(--t-micro) var(--curva), background-color var(--t-micro), box-shadow var(--t-micro) var(--curva); }
.boton:hover { text-decoration: none; background: #7dd3fc; box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 0 0 1px rgba(125, 211, 252, .6), 0 14px 50px -10px var(--accent-glow); }
.boton:active { transform: scale(.97); transition-duration: 80ms; }
.boton.sec { background: rgba(226, 232, 240, .04); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.boton.sec:hover { background: rgba(226, 232, 240, .09); }
.boton.chico { padding: 7px 14px; min-height: 36px; font-size: 14.5px; flex: none; }
.cabecera .boton.chico { margin-left: 6px; }
.boton.grande { padding: 12px 22px; min-height: 50px; font-size: 16.5px; }
.boton.enorme { padding: 16px 30px; min-height: 58px; font-size: 18.5px; margin: 8px 0 28px; }

/* ---------- títulos y textos ---------- */
h1 { font-size: clamp(44px, 6.6vw, 104px); font-weight: 640; font-stretch: 112%; letter-spacing: -.035em; line-height: .96; margin-bottom: 26px; max-width: 12ch; }
h1 em { font-style: normal; color: var(--accent-texto); }
.sub { color: var(--texto-2); max-width: 60ch; font-size: 17px; }
.sub.grande { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; }
.sub.chica { font-size: 15px; }
.acciones { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 14px; }
.nota { color: var(--texto-2); font-size: 14.5px; margin-top: 18px; }
.cifra-ejemplo { display: inline-block; padding: 0 7px; border-radius: 6px; background: color-mix(in srgb, var(--id, var(--accent)) 22%, transparent); color: inherit; font-weight: 600; white-space: nowrap; }

/* ---------- la portada: el mundo 3D (app/src/mundo/, empaquetado dentro de web.js) ----------
   Sin WebGL o sin scripts no hay mundo: la portada queda sobre la noche y el recorrido como lista. Las letras del HUD
   (marcas, números, esquinas) van en monoespaciada chica, como en Igloo y Active Theory; los títulos, en Hubot. */
:root { --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace; }
.mundo { display: none; }
.con-mundo .mundo { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #04060c; }
/* mientras arma la primera imagen, la noche lo tapa; al primer cuadro aclara desde la niebla */
.con-mundo .mundo::after { content: ""; position: absolute; inset: 0; background: var(--bg); transition: opacity 1.6s var(--curva); }
.mundo-listo .mundo::after { opacity: 0; }
#mundo { display: block; width: 100%; height: 100%; }
.mundo-pasado .relato-pasos { visibility: hidden; }
.hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .6s var(--curva); }
.hud.visible { opacity: 1; }
.hud polyline { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 2 5; }
.hud path { stroke: #fff; stroke-width: 1; }
.hud text { fill: rgba(255, 255, 255, .85); font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.nombres-mundo { list-style: none; margin: 0; padding: 0; }
.nombres-mundo li { position: absolute; left: 0; top: 0; translate: -50% 0; display: grid; justify-items: center; gap: 3px; white-space: nowrap; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: opacity .5s var(--curva); will-change: transform; }
.nombres-mundo li { text-shadow: 0 0 2px rgba(4, 7, 13, .9), 0 1px 12px rgba(4, 7, 13, .8); }
.nombres-mundo b { font-weight: 650; color: #fff; }
.nombres-mundo span { display: inline-flex; align-items: center; gap: 6px; color: var(--id-texto, rgba(240, 245, 250, .8)); }
.nombres-mundo li[data-vivo] span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--codigo); box-shadow: 0 0 8px var(--codigo); }
/* los que vienen solo se presentan en la última escena */
.nombres-mundo li.fuera, .nombres-mundo li:not([data-vivo]) { opacity: 0; }
.mundo[data-paso="4"] .nombres-mundo li:not([data-vivo]):not(.fuera) { opacity: 1; }
.inicio .cabecera { background: transparent; border-bottom-color: transparent; }
@supports (backdrop-filter: blur(1px)) { .inicio .cabecera { background: rgba(4, 7, 13, .25); } }
.con-mundo.inicio .cabecera, .con-mundo .inicio .cabecera { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.heroe { position: relative; min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding: 48px 0 72px; }
.con-mundo .heroe { justify-content: flex-end; padding-bottom: 14vh; }
/* la portada es la frase y una línea; los botones esperan al final del recorrido (el mundo es lo que se mira) */
.con-mundo .heroe h1 { font-size: clamp(48px, 6.2vw, 100px); max-width: 11ch; margin-bottom: 18px; }
.con-mundo .heroe .sub { max-width: 62ch; font-size: clamp(16px, 1.3vw, 18.5px); }
.relato-acciones { margin: 26px 0 0; }
.con-recorrido .relato-acciones, .con-recorrido .relato-nota { pointer-events: auto; }
.con-recorrido .relato-nota { color: #e6ecf3; text-shadow: 0 1px 30px rgba(4, 7, 13, .6); }
.heroe-texto { position: relative; z-index: 2; }
.heroe-texto .sub { max-width: 46ch; }
.con-mundo .heroe-texto > :not(h1) { text-shadow: 0 1px 30px rgba(4, 7, 13, .6); }
/* la máscara de cada palabra (SplitText) recorta; se le da aire abajo para que no corte la «q» ni la «g» */
.palabra-mask { padding-bottom: .16em; margin-bottom: -.16em; }
.con-mundo .heroe-texto .sub, .con-mundo .heroe-texto .nota { color: #e6ecf3; }
.hud-linea { font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.con-mundo .hud-linea { color: rgba(240, 245, 250, .8); }
.hud-esquina { display: none; }
/* al centro de abajo: a la derecha la tapaba «Pausar animaciones» (04/11) */
.con-recorrido .hud-esquina { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; translate: -50% 0; bottom: 24px; margin: 0; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(240, 245, 250, .78); }
.con-recorrido .hud-esquina::before { content: ""; width: 1px; height: 28px; background: linear-gradient(transparent, #fff); animation: bajar 1.8s var(--curva) infinite; }
@keyframes bajar { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- el relato: al bajar, la cámara recorre el mundo ---------- */
.relato { position: relative; z-index: 1; }
.relato-pasos { list-style: none; margin: 0 auto; padding: 40px 28px; max-width: 820px; display: grid; gap: 40px; }
.relato-n { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--faint); margin: 0 0 14px; }
.relato-titulo { font-family: var(--letra-titulo); font-stretch: 110%; font-weight: 620; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 10px; color: var(--text); }
.relato-texto { color: var(--texto-2); font-size: 17px; max-width: 44ch; }
.globo { max-width: 300px; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.45; background: #0e1729; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px #000; margin: 8px 0; }
.globo.cliente { border-bottom-left-radius: 4px; }
.globo.asistente { border-bottom-right-radius: 4px; background: color-mix(in srgb, var(--id) 16%, #0b1324); border-color: color-mix(in srgb, var(--id) 40%, transparent); box-shadow: 0 20px 60px -24px color-mix(in srgb, var(--id) 60%, transparent); }
.aviso-usted { position: relative; display: grid; gap: 2px; max-width: 360px; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--texto-2); background: rgba(10, 17, 32, .9); border: 1px solid var(--line-2); margin: 8px 0; }
.aviso-usted b, .aviso-dueno b { font-size: 12px; font-weight: 650; letter-spacing: .03em; color: var(--id); }
.aviso-usted b::before, .aviso-dueno b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--id); box-shadow: 0 0 8px var(--id); vertical-align: 1px; }
.aviso-usted.decide, .aviso-dueno.decide { color: var(--text); border-color: color-mix(in srgb, var(--dueno) 55%, transparent); background: color-mix(in srgb, var(--dueno) 10%, #0a1120); }
.decida { justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 650; color: #1a1204; background: var(--dueno); border-radius: 999px; padding: 2px 9px; }
/* con el recorrido: cada paso es una escena fija sobre el mundo (el texto abajo a la izquierda, como un pie de HUD) y sus
   globos los pega entrada-web.js a lo que pasa en 3D (el mensaje, el lobo del vendedor, la respuesta que vuela) */
.con-recorrido .relato { height: 520vh; }
.con-recorrido .relato-pasos { position: fixed; inset: 0; z-index: 2; max-width: none; margin: 0; padding: 0; display: block; pointer-events: none; }
.con-recorrido .relato-pasos > li { position: absolute; inset: 0; visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 max(28px, calc((100vw - var(--ancho)) / 2 + 28px)) 12vh; }
.con-recorrido .relato-n, .con-recorrido .relato-titulo, .con-recorrido .relato-texto { max-width: min(560px, 46vw); }
.con-recorrido .relato-n, .con-recorrido .relato-texto { text-shadow: 0 1px 30px rgba(4, 7, 13, .6); }
.con-recorrido .relato-n { color: rgba(240, 245, 250, .78); display: flex; align-items: center; gap: 12px; }
.con-recorrido .relato-n::after { content: ""; width: 48px; height: 1px; background: rgba(255, 255, 255, .55); }
.con-recorrido .relato-titulo { font-size: clamp(30px, 3.6vw, 54px); }
.con-recorrido .relato-texto { color: #e6ecf3; }
.con-recorrido [data-ancla] { position: absolute; left: 0; top: 0; margin: 0; width: max-content; max-width: min(320px, 80vw); text-shadow: none; will-change: transform;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.con-recorrido .globo.cliente { background: rgba(14, 23, 41, .78); }
.con-recorrido .globo.asistente { background: color-mix(in srgb, var(--id) 22%, rgba(11, 19, 36, .8)); }
.con-recorrido .aviso-usted { background: rgba(10, 17, 32, .82); }
.con-recorrido .aviso-usted.decide { background: color-mix(in srgb, var(--dueno) 14%, rgba(10, 17, 32, .85)); }
/* cuando la respuesta ya llegó, el aviso queda quieto abajo, encendido en el color de quien lo manda */
.con-recorrido [data-ancla].fijo { box-shadow: 0 0 0 1px color-mix(in srgb, var(--id) 45%, transparent), 0 24px 70px -24px color-mix(in srgb, var(--id) 80%, transparent); }

/* ---------- consola: «Escríbales usted» ---------- */
.demo-seccion { position: relative; z-index: 1; }
.consola { --n-bg: #050912; --n-panel: #0a1120; --n-panel-2: #101a2d; --n-line: rgba(226, 232, 240, .08); --n-line-2: rgba(226, 232, 240, .16); --n-text: #eef2f7; --n-muted: #a3b1c4; --n-faint: #8291a7;
  position: relative; color: var(--n-text); background: var(--n-bg); border: 1px solid var(--n-line-2); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 120px -60px rgba(56, 189, 248, .35); }
.consola::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-panel) var(--curva);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 232, 240, .05), transparent 70%); }
.consola:hover::after { opacity: 1; }
.consola-barra { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--n-line); background: var(--n-panel); }
.escenas { display: none; gap: 2px; padding: 3px; border-radius: 10px; background: var(--n-bg); border: 1px solid var(--n-line); }
.js .escenas { display: inline-flex; }
.escenas button { font: inherit; font-size: 13px; font-weight: 550; color: var(--n-muted); background: transparent; border: 0; border-radius: 7px; padding: 6px 12px; min-height: 30px; cursor: pointer; white-space: nowrap; transition: background-color var(--t-micro) var(--curva), color var(--t-micro); }
.escenas button:hover { color: var(--n-text); }
.escenas button[aria-selected="true"] { color: var(--n-text); background: var(--n-panel-2); box-shadow: 0 0 0 1px var(--n-line-2) inset; }
.consola-nota { margin-left: auto; font-size: 12.5px; color: var(--n-faint); white-space: nowrap; }
.carriles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) minmax(0, 1fr); }
.carril { position: relative; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--n-line); }
.carril:last-child { border-right: 0; }
.carril::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--id, var(--n-line-2)); box-shadow: 0 0 18px var(--id, transparent); }
.carril.usted { background: linear-gradient(180deg, rgba(226, 232, 240, .03), transparent 40%); }
.carril.usted::before { background: #cbd5e1; opacity: .6; box-shadow: none; }
.carril-cab { display: flex; align-items: center; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--n-line); background: radial-gradient(240px 90px at 30px 50%, color-mix(in srgb, var(--id, #cbd5e1) 10%, transparent), transparent 70%); }
.carril-cab h3 { font-size: 15.5px; font-weight: 640; font-stretch: 108%; letter-spacing: .01em; line-height: 1.2; }
.carril-estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--n-muted); }
.carril:not(.usted) .carril-estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--codigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--codigo) 20%, transparent); }
.criatura { position: relative; width: 30px; height: 52px; flex: none; }
.criatura canvas { position: absolute; inset: -6px -10px; width: calc(100% + 20px); height: calc(100% + 12px); }
.hilo, .bandeja { list-style: none; margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 9px; height: 400px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.hilo::-webkit-scrollbar, .bandeja::-webkit-scrollbar { display: none; }
.bandeja { height: 352px; }
.burbuja { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; background: var(--n-panel-2); border: 1px solid var(--n-line); }
.burbuja.cliente { align-self: flex-start; border-bottom-left-radius: 4px; }
.burbuja.asistente { align-self: flex-end; border-bottom-right-radius: 4px; background: color-mix(in srgb, var(--id) 15%, var(--n-panel)); border-color: color-mix(in srgb, var(--id) 30%, transparent); }
.demo-codigo { align-self: center; max-width: 92%; text-align: center; font-size: 12.5px; font-weight: 550; color: color-mix(in srgb, var(--id) 80%, var(--n-text)); border: 1px dashed color-mix(in srgb, var(--id) 45%, transparent); border-radius: 999px; padding: 3px 11px; }
.escribiendo { display: inline-flex; gap: 4px; padding: 12px 14px; }
.escribiendo span { width: 5px; height: 5px; border-radius: 50%; background: var(--n-muted); animation: puntos 1s infinite ease-in-out; }
.escribiendo span:nth-child(2) { animation-delay: .15s; } .escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes puntos { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.aviso-dueno { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: var(--n-muted); background: var(--n-panel); border: 1px solid var(--n-line); }
.cuenta { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--n-line); font-size: 13px; color: var(--n-muted); }
.cuenta b { color: var(--n-text); font-weight: 650; font-stretch: 112%; }
.carril.usted.llega::before { animation: llega 1.1s var(--curva); }
@keyframes llega { 25% { opacity: 1; box-shadow: 0 0 22px 3px rgba(226, 232, 240, .5); } }
.pruebe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--n-line); }
.pruebe[hidden] { display: none; }
.pruebe span { width: 100%; font-size: 12.5px; color: var(--n-faint); }
.pruebe button { font: inherit; font-size: 13px; color: var(--n-text); background: transparent; border: 1px solid var(--n-line-2); border-radius: 999px; padding: 6px 12px; min-height: 32px; cursor: pointer; text-align: left; transition: border-color var(--t-micro) var(--curva), background-color var(--t-micro), transform var(--t-micro) var(--curva); }
.pruebe button:hover { border-color: color-mix(in srgb, var(--id) 60%, transparent); background: color-mix(in srgb, var(--id) 10%, transparent); }
.pruebe button:active { transform: scale(.97); }
.consola-pie { margin: 0; padding: 12px 18px; border-top: 1px solid var(--n-line); font-size: 12.5px; color: var(--n-faint); background: var(--n-panel); }
.entra { animation: entrar var(--t-panel) var(--curva) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(8px) scale(.985); } }

/* ---------- secciones ---------- */
.seccion { position: relative; padding: 120px 0 0; scroll-margin-top: 80px; }
.seccion:last-of-type { padding-bottom: 120px; }
.seccion h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 640; font-stretch: 110%; letter-spacing: -.03em; margin-bottom: 16px; max-width: 20ch; }
.seccion h3 { font-size: 18px; font-weight: 640; font-stretch: 106%; margin-bottom: 8px; }
.titular { max-width: 760px; margin-bottom: 40px; }
.titular .sub { margin: 0; }
.tarjeta { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.tarjeta p:last-child { margin-bottom: 0; }
.tarjeta p { color: var(--texto-2); }
.tarjeta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--t-panel) var(--curva);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--id, var(--accent)) 12%, transparent), transparent 70%); }
.tarjeta:hover::after { opacity: 1; }

/* las cifras medidas: un libro de cuentas, grande */
.libro-cifras { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.libro-cifras > div { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.libro-cifras > div + div { padding-left: 28px; }
.libro-cifras > div:last-child { border-right: 0; }
.libro-cifras dt { font-family: var(--letra); font-size: clamp(44px, 5.2vw, 76px); font-weight: 450; font-stretch: 115%; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; color: #f8fafc; text-shadow: 0 0 40px rgba(56, 189, 248, .25); }
.libro-cifras dt small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--texto-2); text-shadow: none; }
.libro-cifras dd { margin: 0; font-size: 15px; color: var(--texto-2); }
.libro-cifras dd span { display: block; margin-top: 10px; color: var(--text); font-weight: 550; }

.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.pasos > li { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 26px 26px 8px; }
.pasos > li:first-child { padding-left: 0; }
.pasos > li:last-child { border-right: 0; }
.pasos > li::after { display: none; }
.paso-num { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 600; font-stretch: 112%; color: var(--accent-texto); }

.dos-columnas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.lista { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 11px; }
.lista li { position: relative; padding-left: 30px; }
.lista li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c) center / 11px no-repeat; }
.lista.si li { --c: var(--codigo); }
.lista.si li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lista.no li { --c: #475569; }
.lista.no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.titulo-cifras { margin-top: 64px !important; font-size: 24px !important; }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.cifra-num { font-family: var(--letra); font-size: clamp(36px, 4vw, 52px); font-weight: 450; font-stretch: 115%; letter-spacing: -.04em; line-height: 1; color: #f8fafc !important; margin-bottom: 14px !important; }
.cifra-num span { font-size: 15px; font-weight: 500; color: var(--texto-2); letter-spacing: 0; }
.cifra { border-top: 2px solid var(--id, var(--accent)); }

/* los asistentes: cada tarjeta con su luz arriba; los que vienen, apagados */
.equipo { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.equipo .tarjeta { display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.equipo .tarjeta::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--id, var(--line-2)); opacity: .25; }
.equipo .tarjeta.disponible::before { opacity: 1; box-shadow: 0 0 24px 2px var(--id); }
.equipo .tarjeta.disponible { background: radial-gradient(420px 180px at 20% 0%, color-mix(in srgb, var(--id) 12%, transparent), transparent 70%), var(--panel); border-color: color-mix(in srgb, var(--id) 22%, var(--line)); }
.equipo.disponibles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.seccion h3.titulo-grupo { margin: 48px 0 6px; font-size: 22px; }
.titulo-grupo + .sub { margin-bottom: 0; }
.titulo-grupo + .sub + .equipo { margin-top: 18px; }
.estado { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 550; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; border: 1px solid var(--line-2); color: var(--texto-2); }
.estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.estado.disponible { color: var(--text); }
.estado.disponible::before { background: var(--codigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--codigo) 25%, transparent); }
.tarjeta-enlace { transition: border-color var(--t-micro) var(--curva); }
.tarjeta-enlace h3 a { color: var(--text); text-decoration: none; }
.tarjeta-enlace h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; z-index: 1; }
.tarjeta-enlace h3 a:focus-visible { outline: none; }
.tarjeta-enlace h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.tarjeta-enlace:hover { border-color: color-mix(in srgb, var(--id, var(--accent)) 50%, var(--line)); }
.tarjeta-enlace:hover h3 a { color: var(--id-texto, var(--accent-texto)); }
.equipo.compacto { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.equipo.compacto .tarjeta { padding: 18px; }
.equipo.compacto .tarjeta.disponible { grid-column: span 2; padding: 24px; min-height: 150px; }
.equipo.compacto h3 { font-size: 16px; margin: 0; }
.equipo.compacto .tarjeta.disponible h3 { font-size: 24px; font-stretch: 110%; }
.equipo.compacto .estado { margin-bottom: 4px; }
.equipo.compacto .tarjeta:not(.disponible) { background: transparent; border-style: dashed; }
.equipo.compacto .tarjeta:not(.disponible) h3 { font-weight: 560; color: var(--texto-2); }

/* cabeza de cada página (la portada tiene su héroe) */
.cabeza-pagina { position: relative; padding: 72px 0 8px; }
.cabeza-pagina::before { content: ""; position: absolute; inset: -64px 0 auto; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(800px 360px at 25% 0%, color-mix(in srgb, var(--id, #38bdf8) 14%, transparent), transparent 70%); }
.cabeza-pagina h1 { font-size: clamp(38px, 5.4vw, 76px); margin-bottom: 18px; max-width: 18ch; }
.cabeza-pagina .estado { margin-bottom: 14px; }
.cabeza-pagina .para { max-width: 64ch; color: var(--texto-2); margin-top: 8px; }
.cabeza-pagina .para strong { color: var(--text); }
.seccion-pegada { padding-top: 40px; }
.seccion-pegada + .seccion-pegada { padding-top: 0; }
.seccion-pegada .titulo-grupo { margin-top: 8px; font-size: 22px; }
.migas ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--texto-2); }
.migas li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--faint); }
.migas a { display: inline-block; padding: 2px 0; }
.aviso-preparacion { margin-top: 24px; max-width: 680px; }
.aviso-preparacion .boton { margin-top: 6px; }
.titulo-tarjeta, .seccion h2.titulo-tarjeta { font-size: 19px; font-weight: 640; margin-bottom: 8px; }
.texto-largo p { color: var(--texto-2); max-width: 72ch; }
.texto-largo strong { color: var(--text); }
.enlaces-mas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 15px; }
.enlaces-mas a, .nota a { display: inline-block; padding: 3px 0; }
.flecha::after { content: " →"; display: inline-block; transition: transform var(--t-micro) var(--curva); }
.flecha:hover::after { transform: translateX(3px); }

.destacada { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px; background: radial-gradient(600px 260px at 0% 0%, rgba(56, 189, 248, .09), transparent 70%), var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.destacada h2 { margin-bottom: 14px; }
.rejilla-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }

.preguntas { margin-top: 26px; display: grid; border-top: 1px solid var(--line-2); }
.preguntas details { border-bottom: 1px solid var(--line); }
.preguntas summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 580; font-size: 17.5px; position: relative; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--texto-2); border-bottom: 1.5px solid var(--texto-2); transform: translateY(-70%) rotate(45deg); transition: transform var(--t-micro) var(--curva); }
.preguntas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.preguntas summary:hover { color: var(--accent-texto); }
.preguntas details p { padding: 0 48px 0 0; color: var(--texto-2); max-width: 72ch; }
.preguntas details p:last-child { padding-bottom: 22px; margin: 0; }

.instalar { text-align: center; padding: 64px 32px; background: radial-gradient(500px 260px at 50% 0%, rgba(56, 189, 248, .14), transparent 70%), var(--panel); }
.instalar h2 { margin: 0 auto 12px; }
.instalar .sub { margin: 0 auto 18px; }
.instrucciones { text-align: left; margin-top: 8px; }
.instrucciones > div { background: var(--panel-2); border-radius: 16px; padding: 20px; }
.instrucciones h3 { font-size: 17px; }

/* ---------- páginas legales ---------- */
.legal { padding: 64px 0 88px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.legal .titulo-legal { color: var(--texto-2); font-size: 14.5px; font-weight: 550; letter-spacing: .02em; margin-bottom: 14px; }
.legal .version { display: inline-block; font-size: 13px; font-weight: 600; color: var(--aviso); background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); padding: 3px 11px; border-radius: 99px; margin-bottom: 18px; }
.legal .tarjeta { padding: clamp(20px, 4vw, 44px); }
.legal .tarjeta p, .legal li { color: var(--text); }
.legal h2 { font-size: 20px; font-weight: 640; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 22px; margin: 0 0 12px; display: grid; gap: 6px; }
.legal .aviso-legal { color: var(--texto-2); font-size: 14.5px; }

/* ---------- 404: huellas en la nieve que se pierden (las mismas de la app: piezas.jsx, Rastro) ---------- */
.perdido { text-align: center; padding-top: 80px; }
.perdido h1 { margin-left: auto; margin-right: auto; }
.perdido .sub { margin: 0 auto 22px; }
.rastro { display: block; width: 220px; height: auto; margin: 0 auto 20px; color: var(--faint); overflow: visible; }
.rastro .paso { opacity: var(--max); animation: huella-pisa calc(var(--t-lento) * 10) ease-out calc(var(--k) * var(--t-lento)) infinite backwards; }
.paso-0 { --k: 0; --max: 1; } .paso-1 { --k: 1; --max: .87; } .paso-2 { --k: 2; --max: .74; } .paso-3 { --k: 3; --max: .61; }
.paso-4 { --k: 4; --max: .48; } .paso-5 { --k: 5; --max: .35; } .paso-6 { --k: 6; --max: .22; }
@keyframes huella-pisa { 0% { opacity: 0; } 6% { opacity: 1; } 55% { opacity: var(--max); } 85%, 100% { opacity: 0; } }
.emblema { display: grid; place-items: center; color: var(--text); }
.emblema.chico { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel-solido); box-shadow: 0 0 40px -10px var(--accent-glow); }
.emblema.chico .lobo { height: 46px; }
.emblema .anillo, .emblema .luna { display: none; }

/* ---------- pie ---------- */
.pie { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 52px 0 28px; margin-top: 120px; font-size: 14.5px; color: var(--texto-2); background: #03060b; }
.pie-rejilla { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.pie-titulo { font-family: var(--letra); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 10px; font-weight: 600; }
.pie-lema { margin-top: 12px; max-width: 36ch; }
.pie-titulo-2 { margin-top: 22px; }
.pie-enlaces { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.pie-enlaces a { display: inline-block; padding: 4px 0; color: var(--texto-2); text-decoration: none; }
.pie-enlaces a:hover { color: var(--text); text-decoration: underline; }
.pie-final { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.pie-final p { margin: 0; }

/* ---------- las secciones entran suaves (solo lo que todavía no se ve al cargar) ---------- */
.js .revelar { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--curva) var(--retraso, 0ms), transform .7s var(--curva) var(--retraso, 0ms); }
.js .revelar.visto { opacity: 1; transform: none; }

/* ---------- v5: las piezas (referencias en web/REFERENCIAS_V5.md) ---------- */
/* después del recorrido el mundo queda de fondo, apagado, y la cabecera vuelve a tener su vidrio */
.mundo-pasado .nombres-mundo, .mundo-pasado .hud { visibility: hidden; }
.mundo-pasado.inicio .cabecera, .mundo-pasado .inicio .cabecera { background: rgba(4, 6, 12, .55); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }

/* la marquesina: lo que les escriben, y a quién le llega (Magic UI «Marquee») */
.marquesina { position: relative; z-index: 1; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(4, 6, 12, .7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquesina-pista { display: flex; width: max-content; animation: marquesina 56s linear infinite; }
.marquesina:hover .marquesina-pista { animation-play-state: paused; }
.marquesina ul { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.marquesina li { display: inline-flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; border-radius: 14px; white-space: nowrap; font-size: 15px; color: #dbe4ef;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent), #0a1020; border: 1px solid rgba(226, 232, 240, .09); }
.marquesina li.usted { --id: #fbbf24; }
.marquesina li b { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--id); background: color-mix(in srgb, var(--id) 12%, transparent); }
.marquesina li b::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--id); box-shadow: 0 0 8px var(--id); }
@keyframes marquesina { to { transform: translateX(-50%); } }

/* el camino de un mensaje (Magic UI «Animated Beam»): líneas tenues y una luz que corre por ellas */
.haz { position: relative; height: 260px; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: radial-gradient(600px 220px at 38% 50%, rgba(56, 189, 248, .07), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .02), transparent), #060a14; }
.haz > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.haz > svg path { fill: none; stroke: rgba(226, 232, 240, .12); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.haz > svg path.luz { stroke: var(--id, #4ade80); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px var(--id, #4ade80)); animation: haz 2.8s cubic-bezier(.5, 0, .3, 1) infinite; }
.haz > svg path.luz:nth-of-type(n + 7) { animation-delay: .9s; }
.haz > svg path.luz:nth-of-type(n + 9) { animation-delay: 1.8s; }
@keyframes haz { to { stroke-dashoffset: 0; } }
.haz .nodo { position: absolute; left: var(--x); top: var(--y); translate: -50% -32px; display: grid; justify-items: center; gap: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.haz .entra { --x: 10%; --y: 130px; --id: #4ade80; }
.haz .centro { --x: 38%; --y: 130px; --id: #e2e8f0; }
.haz .id-ventas { --x: 66%; --y: 70px; }
.haz .id-agenda { --x: 66%; --y: 190px; }
.haz .usted { --x: 90%; --y: 130px; --id: #fbbf24; }
.haz .nodo i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.haz .centro i { width: 60px; height: 60px; border-radius: 18px; translate: 0 -6px; }
.haz .centro .lobo { height: 34px; }

/* los íconos con volumen (como los de Raycast): un cuadrado de su color, con luz arriba y sombra abajo */
.icono-vol, .haz .nodo i { color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--id, #64748b) 88%, #fff), color-mix(in srgb, var(--id, #64748b) 42%, #050a16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -8px 14px rgba(2, 6, 23, .38), 0 12px 28px -12px color-mix(in srgb, var(--id, #64748b) 80%, transparent); }
/* Huskai, al centro: la marca en blanco sobre un cristal oscuro (el logo no se redibuja: es la máscara de lobo.svg) */
.haz .centro i { background: linear-gradient(160deg, #1e293b, #020617); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(226, 232, 240, .14), 0 0 44px -6px rgba(56, 189, 248, .55); }
.icono-vol svg, .haz .nodo i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(2, 6, 23, .45)); }
.icono-vol { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.equipo .tarjeta:not(.disponible) .icono-vol { width: 34px; height: 34px; border-radius: 10px; opacity: .8; }
.equipo .tarjeta:not(.disponible) .icono-vol svg { width: 18px; height: 18px; }

/* las cifras como bento: la primera grande, las demás alrededor; cada una en su caja con un brillo de su color */
.libro-cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 12px; border-top: 0; }
.libro-cifras > div, .libro-cifras > div + div { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: radial-gradient(360px 200px at 0% 0%, rgba(56, 189, 248, .08), transparent 70%), #080d19; }
.libro-cifras > div:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.libro-cifras > div:first-child dt { font-size: clamp(64px, 8vw, 128px); }
/* la cifra grande con su comparación a la vista: el mismo día contra el día 7 (14,9 % frente a 2,6 %) */
.libro-cifras > div:first-child::before, .libro-cifras > div:first-child::after { position: absolute; top: 28px; width: 68px; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px; border-radius: 12px 12px 4px 4px; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.libro-cifras > div:first-child::before { content: "mismo día"; width: 84px; right: 118px; height: 210px; color: #04121f; background: linear-gradient(180deg, #7dd3fc, #0ea5e9); box-shadow: 0 0 40px -6px rgba(56, 189, 248, .6); }
.libro-cifras > div:first-child::after { content: "día 7"; right: 36px; top: 202px; height: 36px; color: #cbd5e1; background: #1e293b; }
.libro-cifras > div:nth-child(2) { grid-column: span 2; background: radial-gradient(360px 200px at 100% 0%, rgba(165, 180, 252, .1), transparent 70%), #080d19; }
.libro-cifras > div:last-child { border-right: 1px solid var(--line); background: radial-gradient(300px 200px at 100% 100%, rgba(251, 191, 36, .08), transparent 70%), #080d19; }
.libro-cifras dt { font-size: clamp(40px, 4.2vw, 64px); font-variant-numeric: tabular-nums; }

/* ---------- v5.1: la prueba en vivo de la portada, la ficha del lobo y el cursor sobre los lobos ---------- */
.probar-vivo[hidden], .chat-vivo[hidden], .ficha-lobo[hidden] { display: none; }
.probar-vivo { margin-top: 28px; max-width: 480px; display: grid; gap: 10px; }
.con-mundo .heroe-texto > .probar-vivo { text-shadow: none; }
.probar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.probar-chips button { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(226, 232, 240, .16); background: rgba(6, 10, 18, .6); color: #e6ecf3;
  font: 500 13.5px/1.1 inherit; font-family: inherit; cursor: pointer; backdrop-filter: blur(8px); transition: border-color .2s, background .2s, transform .2s var(--curva); }
.probar-chips button:hover { border-color: rgba(74, 222, 128, .55); background: rgba(74, 222, 128, .08); }
.probar-chips button:active, .probar-campo button:active { transform: scale(.97); }
.probar-campo { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 14px; border: 1px solid rgba(226, 232, 240, .14);
  background: rgba(5, 8, 15, .74); backdrop-filter: blur(10px); transition: border-color .2s, box-shadow .2s; }
.probar-campo:focus-within { border-color: rgba(74, 222, 128, .55); box-shadow: 0 0 0 3px rgba(74, 222, 128, .12); }
.probar-campo input { flex: 1; min-width: 0; padding: 9px 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 15px; }
.probar-campo input::placeholder { color: rgba(230, 236, 243, .5); }
.probar-campo button { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #4ade80; color: #03140a; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px -6px rgba(74, 222, 128, .7); transition: transform .2s var(--curva); }
.probar-campo svg, .ficha-cerrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.probar-nota { margin: 2px 0 0; font: 500 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(230, 236, 243, .5); }
/* la conversación: el mensaje del visitante (verde, de WhatsApp), el que lo piensa y lo que responde */
.chat-vivo { display: grid; gap: 6px; margin-bottom: 4px; }
.chat-vivo p { margin: 0; max-width: 42ch; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.42; color: #eef2f7;
  backdrop-filter: blur(10px); animation: vivo-entra .5s var(--curva) both; }
.chat-vivo b { display: block; margin-bottom: 3px; font: 600 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--id-texto, #c7d2fe); }
.vivo-cliente { justify-self: start; background: rgba(21, 128, 61, .32); border: 1px solid rgba(74, 222, 128, .35); border-bottom-left-radius: 4px; }
.vivo-asistente, .vivo-piensa { justify-self: start; background: color-mix(in srgb, var(--id) 13%, rgba(5, 8, 15, .82)); border: 1px solid color-mix(in srgb, var(--id) 40%, transparent); }
.vivo-piensa { color: rgba(230, 236, 243, .7); }
.vivo-piensa::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--id); box-shadow: 0 0 10px var(--id); animation: latido 1s ease-in-out infinite; }
.chat-vivo .vivo-codigo { padding: 4px 0; backdrop-filter: none; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--codigo, #4ade80); }
.vivo-usted { background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .45); }
.vivo-usted b { color: #fcd34d; }
.vivo-usted.decide::after { content: "Decide usted"; display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #fbbf24; color: #1c1404; font: 600 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@keyframes vivo-entra { from { opacity: 0; transform: translateY(8px) scale(.98); } }
/* con la conversación abierta, la línea bajo el título se va y los botones quedan en una fila: el campo sigue a la vista */
.heroe-texto:has(.hablando) > .sub { display: none; }
.probar-vivo.hablando .probar-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.probar-vivo.hablando .probar-chips button { flex: none; }
@keyframes latido { 50% { opacity: .25; transform: scale(.7); } }

/* la ficha del lobo tocado: la cámara se acerca y deja al lobo a la derecha (en el celular, arriba) */
/* el gris solo si no tiene clase de asistente (:where no suma peso; si no, le ganaba a .id-<id>) */
:where(.ficha-lobo) { --id: #94a3b8; --id-texto: #cbd5e1; }
.ficha-lobo { position: fixed; z-index: 30; left: max(24px, 6vw); top: 50%; translate: 0 -50%; width: min(390px, calc(100vw - 32px));
  padding: 28px 28px 26px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--id) 38%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--id) 15%, rgba(7, 11, 20, .88)), rgba(5, 8, 15, .92));
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07); backdrop-filter: blur(14px); animation: ficha-entra .7s var(--curva) both; }
.ficha-estado { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--id-texto); }
.ficha-lobo.vivo .ficha-estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--codigo, #4ade80); box-shadow: 0 0 8px var(--codigo, #4ade80); }
.ficha-lobo h2 { margin: 0 0 12px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.02em; }
.ficha-texto { margin: 0 0 22px; color: #d4dbe5; line-height: 1.55; }
.ficha-cerrar { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(226, 232, 240, .14);
  border-radius: 10px; background: rgba(226, 232, 240, .04); color: #e6ecf3; cursor: pointer; }
.ficha-lobo .boton { background: var(--id); color: #05070d; box-shadow: 0 8px 24px -8px var(--id); }
.ficha-cerrar:hover { background: rgba(226, 232, 240, .1); }
@keyframes ficha-entra { from { opacity: 0; transform: translateX(-20px); } }
.heroe-texto, .hud-esquina, .hud { transition: opacity .5s var(--curva); }
.con-ficha .heroe-texto, .con-ficha .hud-esquina, .con-ficha .hud { opacity: 0; pointer-events: none; }
.con-ficha .relato-pasos { visibility: hidden; }
.sobre-lobo .heroe, .sobre-lobo .relato { cursor: pointer; }
.nombres-mundo li.encima:not(.fuera) { opacity: 1; }
/* el color activo: cuando la escena toma el color de un asistente (clic, cursor encima o su respuesta), la pantalla también
   (--activo «r, g, b» y --tinte 0 → 1 los pone entrada-web.js) */
.con-mundo .mundo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--tinte, 0);
  background: radial-gradient(55% 60% at 74% 64%, rgba(var(--activo, 56, 189, 248), .17), transparent 70%),
    linear-gradient(180deg, rgba(var(--activo, 56, 189, 248), .07), transparent 35%); }
/* una sombra suave detrás del texto de cada paso: los lobos y la red del fondo no se cruzan con las letras */
.con-recorrido .relato-pasos > li::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 12% 88%, rgba(3, 5, 10, .72), transparent 70%); }
.nombres-mundo li.encima::after { content: "Toque para conocerlo"; margin-top: 4px; font-size: 9.5px; letter-spacing: .12em; color: var(--id-texto, #cbd5e1); }

/* ---------- pantallas medianas y celulares (desde 360 px) ---------- */
@media (max-width: 1080px) {
  .consola-nota { display: none; }
  .carriles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .carril.usted { grid-column: 1 / -1; order: 3; border-right: 0; border-top: 1px solid var(--n-line); }
  .carril.usted .bandeja { height: auto; max-height: 260px; }
  .carril:nth-child(3) { border-right: 0; }
  .carril:first-child { border-right: 1px solid var(--n-line); }
}
@media (max-width: 980px) {
  .rejilla-tres { grid-template-columns: 1fr; }
  .pasos, .libro-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pasos > li:nth-child(2n) { border-right: 0; }
  .pasos > li:nth-child(odd) { padding-left: 0; }
  .pasos > li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .libro-cifras > div:first-child { grid-row: auto; }
  .libro-cifras > div:first-child::before, .libro-cifras > div:first-child::after { display: none; }
  .cifras, .equipo, .equipo.compacto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipo.compacto .tarjeta.disponible { grid-column: auto; }
  .destacada { grid-template-columns: 1fr; gap: 20px; }
  .pie-rejilla { grid-template-columns: 1fr 1fr; }
  .pie-rejilla > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .menu-movil { display: block; }
  .cabecera .boton.chico { margin-left: auto; }
  .cabecera-fila { gap: 10px; min-height: 58px; }
  .carriles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .carriles::-webkit-scrollbar { display: none; }
  .carril, .carril.usted { flex: 0 0 88%; scroll-snap-align: start; border-top: 0; border-right: 1px solid var(--n-line); order: 0; }
  .carril.usted { order: 2; }
  .carril.usted .bandeja { height: 352px; max-height: none; }
  .carril:last-child { border-right: 0; }
  .consola-barra { overflow-x: auto; scrollbar-width: none; }
  /* el celular: el texto del héroe abajo, el lobo arriba; en el recorrido, el texto arriba y los globos abajo */
  .con-mundo .heroe { min-height: calc(100svh - 58px); padding-bottom: 4vh; }
  .con-mundo .hud-linea { display: none; }
  .con-mundo .heroe h1 { font-size: clamp(38px, 11vw, 50px); margin-bottom: 14px; }
  .con-recorrido [data-paso="4"] { justify-content: flex-end; padding-bottom: 6vh; }
  .con-recorrido .hud-esquina { display: none; }
  .con-recorrido .relato-pasos > li { justify-content: flex-start; padding: 84px 16px 0; }
  .con-recorrido .relato-pasos > li::before { background: linear-gradient(180deg, rgba(3, 5, 10, .7), transparent 42%); }
  .con-recorrido .relato-n, .con-recorrido .relato-titulo, .con-recorrido .relato-texto { max-width: none; }
  .con-recorrido .relato-titulo { font-size: 27px; }
  .con-recorrido .relato-texto { font-size: 15px; }
  .con-recorrido [data-ancla] { max-width: calc(100vw - 32px); font-size: 14px; }
  /* la prueba: los botones en una fila que se desliza; la ficha abajo, con el lobo arriba */
  .probar-vivo { margin-top: 18px; max-width: none; }
  .probar-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .probar-chips::-webkit-scrollbar { display: none; }
  .probar-chips button { flex: none; }
  /* con la conversación abierta, los botones y la línea de abajo del título se van: así no sube hasta los lobos */
  .probar-vivo.hablando .probar-chips { display: none; }
  .ficha-lobo { left: 16px; right: 16px; top: auto; bottom: 16px; translate: none; width: auto; padding: 22px 20px 20px; animation-name: ficha-sube; }
  @keyframes ficha-sube { from { opacity: 0; transform: translateY(24px); } }
}
@media (max-width: 620px) {
  .envoltura { padding: 0 16px; }
  h1 { font-size: clamp(40px, 11.4vw, 56px); }
  .acciones .boton { width: 100%; }
  .consola { border-radius: 0; border-left: 0; border-right: 0; }
  #demo .envoltura { padding: 0; }
  #demo .titular { padding: 0 16px; }
  .hilo { height: 360px; padding: 14px; }
  .dos-columnas, .cifras, .equipo, .equipo.compacto, .equipo.disponibles, .pie-rejilla { grid-template-columns: 1fr; }
  .pasos, .libro-cifras { grid-template-columns: 1fr; }
  .pasos > li { border-right: 0; padding: 22px 0 8px; }
  .pasos > li + li { border-top: 1px solid var(--line); }
  .libro-cifras > div:first-child, .libro-cifras > div:nth-child(2) { grid-column: auto; }
  .libro-cifras > div, .libro-cifras > div + div { padding: 22px; }
  .marquesina li { font-size: 14px; }
  .haz { margin-inline: -4px; }
  .haz .nodo { font-size: 9px; letter-spacing: .1em; }
  .haz .nodo i { width: 40px; height: 40px; border-radius: 12px; }
  .haz .centro i { width: 50px; height: 50px; }
  .seccion { padding-top: 88px; }
  .seccion:last-of-type { padding-bottom: 88px; }
  .tarjeta, .destacada { padding: 20px; }
  .instalar { padding: 40px 18px; }
  .boton.enorme { width: 100%; padding: 16px; font-size: 18px; }
  .pie { margin-top: 88px; }
}

/* sin animaciones para quien lo pidió (web.js dibuja la manada quieta y muestra todo el relato), salvo que haya elegido
   «Encenderlas» (data-movimiento="siempre", entrada-web.js) */
@media (prefers-reduced-motion: reduce) {
  html:not([data-movimiento="siempre"]) { scroll-behavior: auto; }
  html:not([data-movimiento="siempre"]) *, html:not([data-movimiento="siempre"]) *::before, html:not([data-movimiento="siempre"]) *::after { animation: none !important; transition: none !important; }
}
.mundo-quieto-aviso { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; font-size: 13px; color: #e6ecf3; background: rgba(4, 7, 13, .78); border: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; max-width: calc(100% - 32px); }
.mundo-quieto-aviso button { font: inherit; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-text, #04101f); cursor: pointer; }
.mundo-pasado .mundo-quieto-aviso { display: none; }
/* con el mundo en marcha solo queda el botón «Pausar animaciones», discreto en la esquina */
.mundo-quieto-aviso.solo-boton { left: auto; right: 18px; transform: none; padding: 4px; background: rgba(4, 7, 13, .55); }
.mundo-quieto-aviso.solo-boton button { background: transparent; color: #e6ecf3; font-weight: 500; font-size: 12.5px; }
/* en el teléfono, arriba bajo la cabecera, sobre el cielo (abajo tapaba la caja de la demo, 03/11) */
@media (max-width: 700px) {
  .mundo-quieto-aviso { top: 72px; bottom: auto; font-size: 12.5px; white-space: nowrap; }
  /* solo el signo de pausa, redondo y chico: con el texto tapaba el título de cada paso (04/11); el lector lo sigue leyendo */
  .mundo-quieto-aviso.solo-boton { right: 12px; padding: 0; }
  .mundo-quieto-aviso.solo-boton button { width: 34px; height: 34px; padding: 0; font-size: 0; display: grid; place-items: center; }
  .mundo-quieto-aviso.solo-boton button::before { content: ""; width: 10px; height: 12px; border-inline: 3px solid #e6ecf3; box-sizing: border-box; }
}
@media (prefers-reduced-transparency: reduce) {
  .cabecera, .menu-movil nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--panel-solido); }
}
@media print {
  body { background: #fff; color: #000; }
  .cabecera, .saltar, .migas, .mundo, #demo { display: none; }
}
