/* Vulcano · web comercial.
   Identidad heredada de la presentación (transformaciondigital.online): negro, naranja #FF5727,
   grises azulados, Open Sans + JetBrains Mono y el cuadrado naranja como sello de marca.
   Los botones usan --btn (#D12A00) para que el texto blanco cumpla el contraste mínimo. */
:root {
  --stage: #E6EBEF;
  --paper: #FFFFFF;
  --soft: #F3F5F8;
  --line: #C8D5DC;
  --ink: #0B0C0E;
  --muted: #56626B;
  --accent: #FF5727;
  --accent-deep: #D12A00;
  --accent-soft: #FFE9E1;
  --btn: #D12A00;
  --btn-hover: #A82200;
  --ok: #0E8558;
  --ok-soft: #DDF3EA;
  --danger: #C2262E;
  --danger-soft: #FBE4E5;
  --inv-bg: #0B0C0E;
  --inv-fg: #FFFFFF;
  --inv-muted: #A9B4BC;
  --inv-line: #2A3137;
  --inv-card: #14171A;
  --font-sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgb(11 12 14 / 6%), 0 12px 40px rgb(11 12 14 / 8%);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-back: cubic-bezier(.3, 1.6, .5, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --stage: #070809; --paper: #111316; --soft: #1A1D21; --line: #2C333A; --ink: #F2F4F6;
    --muted: #9AA6AF; --accent: #FF6A3D; --accent-deep: #FF8F6B; --accent-soft: #3A1A10;
    --ok: #41C995; --ok-soft: #10291F; --danger: #FF6E73; --danger-soft: #3A1517;
    --inv-bg: #050607; --inv-fg: #FFFFFF; --inv-muted: #A9B4BC; --inv-line: #262C31; --inv-card: #101316;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 40px rgb(0 0 0 / 35%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --stage: #070809; --paper: #111316; --soft: #1A1D21; --line: #2C333A; --ink: #F2F4F6;
  --muted: #9AA6AF; --accent: #FF6A3D; --accent-deep: #FF8F6B; --accent-soft: #3A1A10;
  --ok: #41C995; --ok-soft: #10291F; --danger: #FF6E73; --danger-soft: #3A1517;
  --inv-bg: #050607; --inv-fg: #FFFFFF; --inv-muted: #A9B4BC; --inv-line: #262C31; --inv-card: #101316;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 40px rgb(0 0 0 / 35%);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img, video { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section.soft { background: var(--soft); }
.section.inverse { background: var(--inv-bg); color: var(--inv-fg); }
.section.stamp::after { /* sello de marca: el cuadrado naranja del logotipo */
  content: ""; position: absolute; right: var(--gutter); bottom: 34px; width: 10px; height: 10px; background: var(--accent);
}
.s-head { display: grid; gap: 12px; max-width: 860px; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head .s-head { margin-bottom: 0; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.inverse .eyebrow { color: var(--accent); }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
h2 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 64ch; }
.inverse .lede { color: var(--inv-muted); }
.foot-note { font-size: 13px; color: var(--muted); }
.inverse .foot-note { color: var(--inv-muted); }

/* ---------- Botones y piezas ---------- */
.btn {
  border: 0; background: var(--btn); color: #FFFFFF; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; line-height: 1.2; min-height: 44px;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease-out);
}
.btn:hover { background: var(--btn-hover); box-shadow: 0 10px 30px rgb(209 42 0 / 30%); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-deep); box-shadow: none; }
.inverse .btn.ghost, .hero .btn.ghost, .mbar .btn.ghost { color: var(--inv-fg); border-color: var(--inv-line); }
.inverse .btn.ghost:hover, .hero .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.lg { font-size: 16px; padding: 14px 22px; min-height: 50px; }
.chip { font-family: var(--font-mono); font-size: 12.5px; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; color: var(--ink); background: var(--soft); white-space: nowrap; }
.dot-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.dot-list li { padding-left: 18px; position: relative; color: var(--muted); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--accent); }
.dot-list li b { color: var(--ink); }

/* ---------- Cabecera ---------- */
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  background: color-mix(in srgb, var(--inv-bg) 86%, transparent); color: var(--inv-fg);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--inv-line);
}
.nav::after { /* progreso de lectura */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), #FFC531);
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; color: var(--inv-fg); }
.brand-logo { height: 58px; width: auto; display: block; overflow: visible; }
.brand-logo .lg-head { transition: transform .45s var(--ease-back); }
.brand:hover .brand-logo .lg-head { transform: translateY(-5px) rotate(-4deg); }
.brand:hover .brand-logo .lg-head:nth-child(even) { transform: translateY(-5px) rotate(4deg); }
.brand:hover .brand-logo .lg-head:nth-child(2) { transition-delay: .05s; }
.brand:hover .brand-logo .lg-head:nth-child(3) { transition-delay: .1s; }
.brand:hover .brand-logo .lg-head:nth-child(4) { transition-delay: .15s; }
.brand .app-ico { display: grid; transition: transform .4s var(--ease-back); }
.brand:hover .app-ico { transform: rotate(-12deg) scale(1.08); }
.brand .app-ico svg { width: 30px; height: 30px; display: block; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--inv-muted); padding: 8px 10px; border-radius: 6px; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--inv-fg); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--inv-line); color: var(--inv-fg); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Portada ---------- */
.hero { position: relative; background: var(--inv-bg); color: var(--inv-fg); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(var(--inv-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--inv-line) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: .5;
}
.fragua-3d { position: absolute; inset: 0; z-index: -3; opacity: 0; transition: opacity 1.4s ease; }
.fragua-3d.on { opacity: 1; }
.fragua-3d canvas { display: block; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(11 12 14 / 97%) 0%, rgb(11 12 14 / 93%) 42%, rgb(11 12 14 / 40%) 70%, rgb(11 12 14 / 55%) 100%),
    linear-gradient(0deg, rgb(11 12 14 / 95%) 0%, transparent 32%);
}
.sparks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  min-height: min(calc(100svh - var(--nav-h) - 60px), 840px); padding-block: clamp(44px, 6vw, 72px);
}
.hero-left { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero .by { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--inv-muted); }
.hero .by .logo { width: 60px; height: auto; }
.logo .lg-k { fill: var(--inv-fg); } .logo .lg-o { fill: var(--accent); } .logo .lg-d { fill: var(--accent-deep); }
.wordmark { margin: 0; line-height: 1; }
.wordmark .logo-v svg { width: min(480px, 100%); height: auto; display: block; overflow: visible; }
.lg-head, .lg-word { transform-box: fill-box; transform-origin: 50% 100%; }
.js .hero .lg-head { animation: head-pop .9s var(--ease-back) both; animation-delay: calc(.35s + var(--i) * .12s); }
.js .hero .lg-word { animation: word-rise .8s var(--ease-out) both .1s; }
@keyframes head-pop { from { transform: translateY(46px) scale(.6); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes word-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.factoria { font-size: clamp(19px, 2vw, 23px); font-weight: 600; color: #E3E8EC; margin-top: 18px; letter-spacing: -0.01em; max-width: 26ch; }
.factoria b { color: var(--accent); font-weight: 800; }
.slogan { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.3; font-weight: 700; color: #fff; border-left: 4px solid var(--accent); padding-left: 16px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--inv-muted); }
.hero-proof b { color: var(--inv-fg); font-weight: 700; }
.hero-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.js .hero-left > * { animation: fade-up .8s var(--ease-out) both; }
.js .hero-left > :nth-child(1) { animation-delay: .05s; }
.js .hero-left > :nth-child(3) { animation-delay: .75s; }
.js .hero-left > :nth-child(4) { animation-delay: .9s; }
.js .hero-left > :nth-child(5) { animation-delay: 1.05s; }
.js .composer { animation: fade-up 1s var(--ease-out) both .5s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-hint { position: absolute; right: var(--gutter); bottom: 72px; font-size: 12px; color: var(--inv-muted); z-index: 1; }
.hero-next { border-top: 1px solid var(--inv-line); background: rgb(11 12 14 / 70%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-next .wrap { min-height: 60px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 13.5px; color: var(--inv-muted); padding-block: 12px; }
.hero-next b { font-family: var(--font-mono); color: var(--accent); font-weight: 600; font-size: 12.5px; }
.hero-next i { font-style: normal; color: var(--inv-fg); font-weight: 600; }

/* Formulario en forma de correo (portada y contacto) */
.mailbox {
  border: 1px solid var(--inv-line); border-radius: 14px; overflow: hidden; background: #14171A; color: var(--inv-fg);
  display: flex; flex-direction: column; position: relative;
}
.mailbox.glass {
  background: rgb(20 23 26 / 72%); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 90px rgb(255 87 39 / 18%), 0 0 0 1px rgb(255 255 255 / 4%) inset;
}
.mailbox .mh { background: rgb(255 255 255 / 4%); padding: 12px 18px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mailbox .mh span { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--inv-muted); }
.mailbox .presets { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--inv-line); }
.mailbox .presets button { border: 1px solid var(--inv-line); background: transparent; color: var(--inv-fg); border-radius: 999px; font-size: 13px; font-weight: 600; padding: 7px 13px; min-height: 36px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.mailbox .presets button:hover { border-color: var(--accent); }
.mailbox .presets button[aria-pressed="true"] { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.mailbox .q { display: block; padding: 16px 18px 0; font-size: 13px; font-weight: 600; color: var(--inv-muted); }
.mailbox textarea { display: block; width: 100%; border: 0; outline: none; resize: vertical; background: transparent; color: var(--inv-fg); font: inherit; font-size: 17px; line-height: 1.5; padding: 8px 18px 16px; min-height: 132px; }
.mailbox textarea::placeholder, .mailbox input::placeholder { color: #7C8891; }
.mailbox .fields { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 18px 14px; }
.mailbox .fields label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--inv-muted); }
.mailbox .fields input { font: inherit; font-size: 15px; color: var(--inv-fg); background: rgb(0 0 0 / 35%); border: 1px solid var(--inv-line); border-radius: 8px; padding: 10px 12px; min-height: 44px; outline: none; transition: border-color .2s; }
.mailbox .fields input:focus { border-color: var(--accent); }
.mailbox textarea:focus { background: rgb(255 87 39 / 6%); }
.mailbox .mf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--inv-line); flex-wrap: wrap; }
.mailbox .lola { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--inv-muted); line-height: 1.35; }
.mailbox .lola svg { width: 38px; height: 38px; display: block; flex: none; }
.mailbox .lola b { color: var(--inv-fg); }
.mailbox .send { display: flex; gap: 8px; align-items: center; }
.mic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--inv-line); background: transparent; color: var(--inv-fg); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; flex: none; }
.mic:hover { border-color: var(--accent); color: var(--accent); }
.mic svg { width: 20px; height: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { padding: 14px 18px; background: rgb(65 201 149 / 12%); color: #41C995; font-weight: 600; font-size: 14.5px; border-top: 1px solid var(--inv-line); animation: slidein .4s var(--ease-out); }
.form-ok.warn { background: rgb(255 197 49 / 10%); color: #FFC531; }
.mailbox.sent { animation: mail-send .9s var(--ease-out); }
@keyframes mail-send { 0% { transform: none; } 35% { transform: scale(.96) rotate(-1deg); } 60% { transform: translate(24px, -18px) scale(.9) rotate(4deg); opacity: .4; } 100% { transform: none; opacity: 1; } }

/* ---------- Cinta de peticiones ---------- */
.marquee { background: var(--inv-bg); border-top: 1px solid var(--inv-line); padding: 22px 0; overflow: hidden; display: grid; gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-row { display: flex; gap: 12px; width: max-content; animation: mq 70s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--inv-fg); background: var(--inv-card); border: 1px solid var(--inv-line); border-radius: 999px; padding: 7px 16px 7px 8px; white-space: nowrap; }
.mq-row span svg { width: 28px; height: 28px; display: block; }
.mq-row q { quotes: "«" "»"; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Lo pides y lo tienes ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit { border: 1.5px solid var(--line); border-radius: 16px; padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.benefit.hot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.b-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; transition: transform .5s var(--ease-back); }
.benefit:hover .b-ico { transform: rotate(-8deg) scale(1.1); }
.b-ico svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 15px; font-weight: 700; color: var(--accent-deep); margin-top: 4px; }
.benefit .b-big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.benefit .dot-list { margin-top: 4px; font-size: 15px; }
.crew-strip { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 36px; justify-content: center; }
.crew-strip svg { width: 52px; height: 52px; display: block; animation: bob 2.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.2s); }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Tarjetas con foco que sigue al puntero */
.spot { position: relative; overflow: hidden; }
.spot > * { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.tilt.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--ease-out), opacity .6s ease, border-color .2s; }

/* ---------- Cómo se forja: recorrido con scroll ---------- */
.scrolly { padding: 0; }
.scrolly-pin { padding-block: clamp(64px, 9vw, 110px); }
.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; position: relative; }
.flow-line, .flow-fill { position: absolute; left: calc(100% / 14); top: 43px; height: 3px; border-radius: 3px; }
.flow-line { right: calc(100% / 14); background: var(--line); }
.flow-fill { width: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 12px rgb(255 87 39 / 45%); }
.flow-token {
  position: absolute; top: 44px; left: calc(100% / 14); width: 20px; height: 20px; margin: -10px 0 0 -10px; z-index: 2;
  background: var(--accent); box-shadow: 0 0 0 6px rgb(255 87 39 / 22%), 0 0 28px 6px rgb(255 87 39 / 55%);
  transform: rotate(45deg); border-radius: 4px; pointer-events: none;
}
.fstep { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 6px; background: none; border: 0; cursor: pointer; }
.fstep .fav { width: 88px; height: 88px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; transition: border-color .3s, box-shadow .3s, transform .45s var(--ease-back); }
.fstep .fav svg { width: 70px; height: 70px; display: block; }
.fstep .fav .mail { width: 40px; height: 40px; color: var(--accent-deep); }
.fstep b { font-size: 16px; }
.fstep span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.fstep .n { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-deep); font-weight: 600; }
.fstep:hover .fav { border-color: var(--accent); }
.fstep[aria-current="true"] .fav { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 12px 30px rgb(255 87 39 / 25%); transform: translateY(-6px) scale(1.08); }
.fstep.done .fav { border-color: var(--accent); }
.flow-stage { margin-top: 40px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 28px; box-shadow: var(--shadow); }
.flow-stage .fs-av svg { width: 150px; height: 150px; display: block; }
.fs-av.pop svg { animation: pop .55s var(--ease-back); }
@keyframes pop { from { transform: scale(.7) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.fs-txt { display: grid; gap: 8px; }
.fs-n { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-deep); font-weight: 600; }
.fs-txt p { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; min-height: 3em; }
.fs-txt p strong { color: var(--accent-deep); }
.flow-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.scroll-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.scroll-hint i { width: 18px; height: 28px; border: 2px solid var(--line); border-radius: 10px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
.scrolly.pinned { height: 320vh; }
.scrolly.pinned .scrolly-pin { position: sticky; top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding-block: 32px; }
.scrolly.pinned .scrolly-pin > .wrap { width: 100%; }
.scrolly:not(.pinned) .scroll-hint { display: none; }
.scrolly.pinned #flowTour { display: none; }

/* ---------- Pruébalo tú ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: stretch; }
.sim-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--soft); font-size: 13px; font-weight: 700; }
.box-h span { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--muted); }
.sim-presets { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sim-presets button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; min-height: 34px; cursor: pointer; }
.sim-presets button:hover { border-color: var(--accent); }
.sim-presets button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sim-field { display: flex; gap: 10px; align-items: center; padding: 6px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sim-field input { flex: 1; min-width: 0; font: inherit; font-size: 14.5px; color: var(--ink); border: 0; outline: none; padding: 6px 0; background: transparent; }
.sim textarea { display: block; width: 100%; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); outline: none; resize: none; padding: 12px 16px; min-height: 84px; }
.sim-field input:focus, .sim textarea:focus { background: var(--accent-soft); }
.sim-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; }
.inbox { flex: 1; min-height: 260px; max-height: 440px; overflow: auto; }
.inbox-empty { padding: 16px; color: var(--muted); font-size: 14px; }
.im { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); animation: slidein .4s var(--ease-out); }
.im > svg, .im .av { width: 34px; height: 34px; flex: none; display: block; }
.im .av { border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.im .body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.im .ih { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.im b { font-size: 14.5px; }
.im p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.im.out { background: var(--soft); }
.im .opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.im .opts button { border: 1.5px solid var(--line); border-radius: 6px; padding: 0; background: var(--paper); cursor: pointer; overflow: hidden; position: relative; transition: border-color .2s, transform .2s; }
.im .opts button:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
.im .opts button.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.im .opts button:disabled { cursor: default; }
.im .opts img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.im .opts span { position: absolute; left: 4px; top: 4px; background: var(--inv-bg); color: var(--inv-fg); font-weight: 800; font-size: 11px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 3px; }
.im .opts span.rec { left: auto; right: 4px; width: auto; padding: 0 6px; background: var(--btn); color: #fff; font-size: 10px; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.backstage { background: var(--inv-bg); color: var(--inv-fg); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; position: relative; overflow: hidden; }
.backstage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at 80% -10%, rgb(255 87 39 / 14%), transparent 60%); }
.backstage > * { position: relative; }
.bs-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.bs-top b { font-size: 16px; }
.bs-top .sub { display: block; font-size: 13px; color: var(--inv-muted); }
.bs-clock { font-family: var(--font-mono); font-size: 30px; font-weight: 600; line-height: 1; text-align: right; }
.bs-clock small { display: block; font-size: 11.5px; color: var(--inv-muted); font-weight: 400; margin-top: 4px; }
.stations { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
.station { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; border: 1.5px solid var(--inv-line); font-size: 11.5px; font-weight: 700; color: var(--inv-muted); opacity: .55; transition: all .35s var(--ease-out); }
.station svg { width: 40px; height: 40px; display: block; }
.station.done { opacity: 1; color: var(--inv-fg); background: var(--inv-card); }
.station.on { opacity: 1; color: #fff; background: #3A1A10; border-color: var(--accent); box-shadow: 0 0 26px rgb(255 87 39 / 38%); transform: translateY(-4px); }
.station.on svg { animation: hop .5s ease-in-out infinite alternate; }
@keyframes hop { to { transform: translateY(-4px) rotate(-4deg); } }
.log { flex: 1; background: var(--inv-card); border: 1px solid var(--inv-line); border-radius: 10px; padding: 14px 16px; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; display: flex; flex-direction: column; gap: 8px; min-height: 250px; max-height: 360px; overflow: auto; }
.log > div { display: flex; gap: 10px; align-items: flex-start; animation: slidein .35s var(--ease-out); }
.log .t { color: #7C8891; flex: none; }
.log svg { width: 20px; height: 20px; flex: none; margin-top: 1px; display: block; }
.log .who { color: #FF8A63; font-weight: 600; }
.log .tx { color: #D8DEE3; }
.log .wait { color: #FFC531; }
.sim-done { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--inv-line); padding-top: 14px; animation: slidein .4s var(--ease-out); }
.sim-done b { color: #41C995; }
.sim-done span { color: var(--inv-muted); }

/* ---------- Equipo ---------- */
.crew { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.crew-phases { display: flex; flex-wrap: wrap; gap: 22px 26px; align-content: start; }
.crew-phase h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.crew-phase h3 i { font-style: normal; font-family: var(--font-mono); color: var(--accent-deep); }
.crew-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.crew-grid button { width: 112px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 6px; cursor: pointer; display: grid; justify-items: center; gap: 2px; transition: border-color .2s, transform .35s var(--ease-back), background-color .2s, box-shadow .25s; }
.crew-grid button svg { width: 64px; height: 64px; display: block; transition: transform .45s var(--ease-back); }
.crew-grid button span { font-weight: 700; font-size: 14.5px; }
.crew-grid button small { font-size: 11.5px; color: var(--muted); line-height: 1.25; text-align: center; min-height: 2.5em; }
.crew-grid button:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 26px rgb(11 12 14 / 10%); }
.crew-grid button:hover svg { transform: scale(1.12) rotate(-6deg); }
.crew-grid button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.crew-card { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: var(--shadow); }
.crew-big svg { width: 150px; height: 150px; display: block; }
.crew-big.pop svg { animation: pop .55s var(--ease-back); }
.crew-phase-l { font-size: 13px; font-weight: 700; color: var(--muted); }
.crew-card h3 { font-size: 34px; letter-spacing: -0.02em; margin-top: 2px; }
.crew-role { font-size: 16px; font-weight: 700; color: var(--accent-deep); }
.bubble { position: relative; background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 17px; line-height: 1.45; margin-top: 6px; min-height: 4.4em; align-self: stretch; }
.bubble::before { content: ""; position: absolute; left: 28px; top: -9px; width: 16px; height: 16px; background: var(--soft); border-left: 1.5px solid var(--line); border-top: 1.5px solid var(--line); transform: rotate(45deg); }
.crew-desc { color: var(--muted); font-size: 15px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; animation: blink-caret 1s infinite; }
@keyframes blink-caret { 50% { opacity: .2; } }

/* Ojos que parpadean en todos los avatares */
.bot .eye { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; animation-delay: var(--bd, 0s); }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* ---------- Frente a lo de siempre ---------- */
.race { display: grid; gap: 26px; }
.lane { display: grid; gap: 10px; }
.lane-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lane-h b { font-size: 18px; }
.lane.vul .lane-h b { color: var(--accent-deep); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.lane-clock { font-size: 18px; font-weight: 700; color: var(--muted); }
.lane-clock.done { color: var(--ok); animation: pop .5s var(--ease-back); }
.race .track { height: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.race .fill { height: 100%; width: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 45%, var(--paper)); }
.lane.vul .fill { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 14px rgb(255 87 39 / 50%); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.stops li { display: grid; gap: 2px; font-size: 13px; color: var(--muted); opacity: .4; transition: opacity .3s, transform .3s; transform: translateY(4px); }
.stops li b { font-size: 14px; color: var(--ink); }
.stops li.reached { opacity: 1; transform: none; }
.compare-table { margin-top: 48px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.ct-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); }
.ct-row + .ct-row { border-top: 1px solid var(--line); }
.ct-row > * { padding: 16px 20px; }
.ct-row .k { font-weight: 700; }
.ct-row .t { color: var(--muted); }
.ct-row .v { background: color-mix(in srgb, var(--accent-soft) 55%, var(--paper)); border-left: 3px solid var(--accent); }
.ct-row.h > * { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-block: 10px; background: var(--soft); }
.ct-row.h .v { color: var(--accent-deep); font-weight: 600; background: var(--accent-soft); }

/* ---------- Caso real ---------- */
.real { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: start; }
.tline { display: grid; align-content: start; }
.tl-it { display: grid; grid-template-columns: 58px 34px 1fr; gap: 10px; align-items: start; padding: 7px 0; position: relative; }
.tl-it .h { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent-deep); padding-top: 4px; }
.tl-it .d svg { width: 34px; height: 34px; display: block; }
.tl-it:not(:last-child)::after { content: ""; position: absolute; left: 84.5px; top: 40px; bottom: -6px; width: 1.5px; background: var(--line); }
.tl-it .x b { display: block; font-size: 15.5px; }
.tl-it .x span { font-size: 14px; color: var(--muted); }
.big40 { margin-top: 16px; display: flex; align-items: baseline; gap: 14px; border-top: 2px solid var(--ink); padding-top: 14px; }
.big40 b { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.big40 > span { font-size: 15px; color: var(--muted); }
.compare { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: var(--shadow); }
.compare img { display: block; width: 100%; height: auto; pointer-events: none; }
.compare .layer-a, .compare .layer-d { position: relative; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare .top .layer-d { position: absolute; inset: 0; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--btn); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700; box-shadow: 0 0 0 6px rgb(255 87 39 / 25%), 0 4px 16px rgba(0,0,0,.25); }
.compare .lb { position: absolute; top: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; color: #fff; }
.compare .lb.a { left: 12px; background: var(--danger); }
.compare .lb.d { right: 12px; background: var(--ok); }
.compare .ann { position: absolute; border: 3px solid; border-radius: 6px; pointer-events: none; }
.compare .ann.bad { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.compare .ann.good { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.compare .tag { position: absolute; font-size: 13px; font-weight: 700; color: #fff; padding: 4px 9px; border-radius: 4px; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.compare .tag.bad { background: var(--danger); }
.compare .tag.good { background: var(--ok); }
.compare-cap { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ---------- Frida y Lupa ---------- */
.dz { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.ask { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: grid; gap: 6px; }
.ask small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ask q { font-size: 17px; font-weight: 600; quotes: "«" "»"; }
.dz .dot-list { margin-top: 18px; font-size: 15px; }
.dz-view { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tabs button { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 8px 12px; min-height: 38px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.tabs button:hover { border-color: var(--accent); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs button .rec { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--btn); border-radius: 999px; padding: 1px 6px; margin-left: 6px; }
.tabs .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.tabs .variant { font-size: 12px; padding: 5px 9px; min-height: 32px; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); display: grid; place-items: center; aspect-ratio: 1366 / 788; box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .25s, transform .4s var(--ease-out); }
.shot img.swap { opacity: 0; transform: scale(.985); }
.shot.movil img { object-fit: cover; object-position: top; width: auto; max-width: 100%; }
.shot-cap { font-size: 15px; min-height: 46px; }
.shot-cap b { color: var(--accent-deep); }
.choose { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.choose .btn { padding: 8px 14px; font-size: 13.5px; min-height: 40px; }
.choose .res { color: var(--ok); font-weight: 600; flex-basis: 100%; }

.evd { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: start; margin-top: clamp(64px, 8vw, 104px); }
.ev-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ev-list div { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 14px 16px; }
.ev-list b { display: block; font-size: 15px; margin-bottom: 2px; }
.ev-list span { font-size: 14px; color: var(--muted); }
.ev-meta { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.pdfv { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.thumbs { display: grid; gap: 8px; align-content: start; }
.thumbs button { border: 1.5px solid var(--line); border-radius: 3px; padding: 0; background: #fff; cursor: pointer; overflow: hidden; transition: transform .2s; }
.thumbs button:hover { transform: translateX(3px); }
.thumbs button img { display: block; width: 100%; height: auto; }
.thumbs button[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.page { border-radius: 4px; overflow: auto; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); max-height: 620px; }
.page img { display: block; width: 100%; height: auto; }
.head-av svg { width: 72px; height: 72px; display: block; }

/* ---------- Hablas con el taller ---------- */
.dec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cmt { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.cmt .ch { background: var(--soft); padding: 10px 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.cmt .ch b { color: var(--ink); }
.cmt .cb { padding: 16px; display: flex; gap: 12px; }
.cmt .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.cmt .tx { font-size: 17px; line-height: 1.45; min-height: 76px; }
.more { border-top: 1px solid var(--line); padding: 12px 16px 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.more span { width: 100%; font-size: 13px; color: var(--muted); font-weight: 600; }
.more q { quotes: "«" "»"; font-size: 13.5px; background: var(--soft); border-radius: 999px; padding: 5px 12px; }
.acts { display: grid; gap: 8px; align-content: start; }
.acts h3 { font-size: 14px; font-weight: 700; color: var(--muted); }
.act { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; background: var(--soft); font-size: 15px; opacity: .35; transform: translateX(-6px); transition: opacity .35s, background-color .35s, transform .45s var(--ease-back); }
.act .aav svg { width: 28px; height: 28px; display: block; }
.act.done { opacity: 1; background: var(--ok-soft); transform: none; }
.channels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.chn { border-top: 3px solid var(--ink); padding-top: 12px; display: grid; gap: 4px; align-content: start; }
.chn b { font-size: 16px; }
.chn span { font-size: 14px; color: var(--muted); }
.chn.hot { border-top-color: var(--accent); }

/* ---------- 24 horas (con modo noche) ---------- */
#dia { transition: background-color .7s ease, color .7s ease; overflow: hidden; }
#dia::before { /* cielo estrellado */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent), radial-gradient(1px 1px at 63% 34%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 78% 9%, #fff 50%, transparent), radial-gradient(1px 1px at 88% 52%, #fff 50%, transparent),
    radial-gradient(1px 1px at 7% 78%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 52% 86%, #fff 50%, transparent),
    radial-gradient(1px 1px at 35% 30%, #fff 50%, transparent), radial-gradient(1px 1px at 95% 80%, #fff 50%, transparent),
    radial-gradient(1px 1px at 70% 70%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 20% 45%, #fff 50%, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { filter: brightness(.55); } }
#dia.night { background: #07090C; color: #F2F4F6; --soft: #14181C; --paper: #0F1215; --line: #2A3137; --ink: #F2F4F6; --muted: #A9B4BC; --accent-deep: #FF8F6B; }
#dia.night::before { opacity: .7; }
#dia > .wrap { position: relative; }
.sky { position: absolute; right: var(--gutter); top: -8px; width: 64px; height: 64px; }
.sky i { position: absolute; inset: 0; border-radius: 50%; transition: transform .8s var(--ease-out), opacity .6s; }
.sky .sun { background: radial-gradient(circle, #FFC531 45%, rgb(255 197 49 / 25%) 46%, transparent 70%); }
.sky .moon { box-shadow: inset -14px 6px 0 0 #F2F4F6; transform: translateY(30px) rotate(-30deg); opacity: 0; }
#dia.night .sky .sun { transform: translateY(30px); opacity: 0; }
#dia.night .sky .moon { transform: none; opacity: 1; }
.day { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.tl-wrap { display: flex; flex-direction: column; gap: 6px; position: relative; }
.tl-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 14px; height: 38px; transition: opacity .3s; }
.tl-row .nm { font-weight: 600; font-size: 14.5px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tl-row .nm .sav svg { width: 28px; height: 28px; display: block; }
.tl-row .nm small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; line-height: 1.2; }
.tl-row.off { opacity: .45; }
.day .track { position: relative; height: 16px; background: var(--soft); border-radius: 3px; transition: background-color .7s; }
.day .track .seg { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 70%, var(--paper)); border-radius: 3px; }
.day .track .seg.alt { background: color-mix(in srgb, var(--ink) 55%, var(--paper)); }
.day .track .tick { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; background: var(--ink); border-radius: 1px; }
.axis { display: grid; grid-template-columns: 190px 1fr; gap: 14px; }
.axis .scale { position: relative; height: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.axis .scale span { position: absolute; transform: translateX(-50%); }
.axis .scale span:first-child { transform: none; }
.axis .scale span:last-child { transform: translateX(-100%); }
.cursor-layer { position: absolute; top: 0; bottom: 60px; left: 204px; right: 0; pointer-events: none; }
.cursor { position: absolute; top: -6px; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 10px rgb(255 87 39 / 60%); }
.cursor::before { content: ""; position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; background: var(--accent); }
.slider-row { display: grid; grid-template-columns: 190px 1fr; gap: 14px; align-items: center; margin-top: 8px; }
.slider-row label { font-size: 13px; color: var(--muted); font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 32px; }
.day-panel { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; transition: background-color .7s, border-color .7s; }
.day-panel .clock { font-family: var(--font-mono); font-size: 44px; font-weight: 600; line-height: 1; }
.day-panel .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.day-panel .state { display: grid; gap: 6px; font-size: 14.5px; }
.day-panel .state span { color: var(--muted); }
.day-panel .note { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.no { background: var(--danger-soft); color: var(--danger); }
#dia.night .pill.no { background: #3A1517; color: #FF6E73; }
#dia.night .pill.ok { background: #10291F; color: #41C995; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Calidad ---------- */
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 44px 260px minmax(0, 1fr) 170px; gap: 22px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.layer:nth-child(odd) { background: var(--soft); border-color: transparent; }
.layer .n svg { width: 38px; height: 38px; display: block; }
.layer b { font-size: 16.5px; }
.layer span { color: var(--muted); font-size: 15px; }
.layer .when { font-size: 12.5px; color: var(--ink); text-align: right; font-weight: 600; }
.layer.reveal { transform: translateX(-28px); }
.layer.reveal.in { transform: none; }

/* ---------- Seguridad ---------- */
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--inv-line); border-left: 1px solid var(--inv-line); }
.guard { padding: 28px 28px 30px; border-right: 1px solid var(--inv-line); border-bottom: 1px solid var(--inv-line); display: grid; gap: 10px; align-content: start; }
.guard .sq { width: 10px; height: 10px; background: var(--accent); }
.guards.in .guard .sq { animation: arm 1.3s ease both; animation-delay: calc(.2s + var(--i, 0) * .16s); }
@keyframes arm { 0% { box-shadow: 0 0 0 0 rgb(255 87 39 / 0%); transform: scale(.4); } 40% { box-shadow: 0 0 22px 6px rgb(255 87 39 / 75%); transform: scale(1.5); } 100% { box-shadow: 0 0 10px 1px rgb(255 87 39 / 45%); transform: none; } }
.guard b { font-size: 19px; color: var(--inv-fg); }
.guard span { color: var(--inv-muted); font-size: 15.5px; }
.guard.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(255 87 39 / 13%), transparent 60%); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; }
.certs span { font-family: var(--font-mono); font-size: 12px; border: 1px solid var(--inv-line); color: var(--inv-muted); padding: 5px 10px; border-radius: 3px; }
.sec-foot { margin-top: 36px; display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap; }

/* ---------- Resultados ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.stat { padding: 22px 20px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat .v { font-size: clamp(44px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 22px; font-weight: 700; color: var(--accent); margin-left: 4px; letter-spacing: 0; }
.stat .l { font-size: 15px; color: var(--muted); }
.case-txt { display: flex; flex-direction: column; gap: 16px; }
.case-txt p { font-size: 16.5px; color: var(--muted); }
.case-txt p b { color: var(--ink); }
.case-txt p.foot-note { font-size: 13px; }
.prio { display: grid; gap: 8px; }
.prio div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: baseline; font-size: 15px; }
.prio .lv { font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px; text-align: center; }
.lv.u { background: var(--danger-soft); color: var(--danger); }
.lv.a { background: var(--accent-soft); color: var(--accent-deep); }
.lv.m { background: var(--soft); color: var(--ink); }
.lv.b { background: var(--soft); color: var(--muted); }
.prio span { color: var(--muted); }

/* ---------- El taller, ahora mismo (datos en directo) ---------- */
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: live 1.6s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.live-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 2px solid var(--ink); }
.live-stats > div { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.live-stats .v { font-size: 52px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.live-stats .l { font-size: 15px; color: var(--muted); }
.live-work { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.live-work > div { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.live-work > div:first-child { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.live-work svg { width: 52px; height: 52px; flex: none; display: block; }
.live-work b { display: block; font-size: 15px; }
.live-work span { font-size: 14px; color: var(--muted); }

/* ---------- Cómo empezamos ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.phase { padding: 0 26px 0 0; display: grid; gap: 12px; align-content: start; }
.phase .bar-p { height: 6px; background: var(--line); transform-origin: left; }
.phase.reveal .bar-p { transform: scaleX(0); transition: transform .9s var(--ease-out) calc(var(--i, 0) * .15s + .1s); }
.phase.reveal.in .bar-p { transform: none; }
.phase:nth-child(1) .bar-p { background: color-mix(in srgb, var(--accent) 35%, var(--paper)); }
.phase:nth-child(2) .bar-p { background: color-mix(in srgb, var(--accent) 55%, var(--paper)); }
.phase:nth-child(3) .bar-p { background: color-mix(in srgb, var(--accent) 78%, var(--paper)); }
.phase:nth-child(4) .bar-p { background: var(--accent); }
.phase .ph-av svg { width: 84px; height: 84px; display: block; }
.phase .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.phase b { font-size: 23px; letter-spacing: -0.01em; }
.phase .dot-list { font-size: 15.5px; gap: 8px; }
.phase .dot-list li::before { background: var(--ink); width: 5px; height: 5px; }
.impl-note { margin-top: 40px; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; background: var(--soft); border-radius: 8px; padding: 18px 22px; font-size: 15.5px; }
.impl-note .sw { width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background-color .4s .5s; }
.impl-note .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease-back) .5s; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); }
.impl-note.in .sw { background: var(--accent); }
.impl-note.in .sw::after { transform: translateX(16px); }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 58px 18px 22px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; transition: transform .35s var(--ease-back); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: var(--accent); box-shadow: 0 10px 30px rgb(255 87 39 / 10%); }
.faq details[open] .a { animation: slidein .35s var(--ease-out); }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 16px; max-width: 72ch; }
.faq .a b { color: var(--ink); }

/* ---------- Contacto ---------- */
#contacto { overflow: hidden; }
#contacto::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px circle at 85% 20%, rgb(255 87 39 / 13%), transparent 60%); }
#contacto > .wrap { position: relative; }
.close { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.close h2 { font-size: clamp(38px, 5.5vw, 64px); }
.close .lede { margin-top: 18px; font-size: 19px; }
.close-pals { display: flex; align-items: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.close-pals .vulcanin svg { width: 108px; height: auto; display: block; transform-origin: 50% 100%; animation: wiggle 2.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-5deg) translateY(-4px); } 40% { transform: rotate(4deg); } 60% { transform: rotate(-2deg); } }
.close-pals .crew-strip { margin-top: 0; justify-content: flex-start; gap: 2px; }
.close-pals .crew-strip svg { width: 38px; height: 38px; }
.contact-dl { margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.contact-dl dt { font-family: var(--font-mono); font-size: 11.5px; color: var(--inv-muted); }
.contact-dl dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--inv-fg); }
.contact-dl a { text-decoration: none; border-bottom: 2px solid var(--accent); }

/* ---------- Aviso de privacidad en los formularios ---------- */
.privacy-note { margin: 0; padding: 0 18px 14px; font-size: 12.5px; line-height: 1.5; color: var(--inv-muted); }
.privacy-note a { color: var(--inv-fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.privacy-note a:hover { color: var(--accent); }

/* ---------- Página legal ---------- */
.nav .legal-back { margin-left: auto; }
.brand img.app-ico { width: 30px; height: 30px; display: block; }
.legal { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 110px); }
.legal-wrap { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.legal-toc a { font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; transition: border-color .2s, color .2s; }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent-deep); }
.legal section { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; scroll-margin-top: calc(var(--nav-h) + 12px); }
.legal section h2 { font-size: 23px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.legal section h2::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.legal section p, .legal .dot-list { font-size: 16px; color: var(--muted); max-width: 70ch; }
.legal section p b, .legal .dot-list b { color: var(--ink); }
.legal section a { color: var(--accent-deep); }
.legal-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px 24px; background: var(--soft); border-radius: 10px; padding: 18px 20px; }
.legal-dl dt { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.legal-dl dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.footer a[aria-current="page"] { color: var(--inv-fg); }

/* ---------- Pie ---------- */
.footer { background: var(--inv-bg); color: var(--inv-muted); border-top: 1px solid var(--inv-line); padding-block: 40px 32px; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.footer .logo { width: 84px; height: auto; display: block; }
.footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: var(--inv-muted); text-decoration: none; }
.footer a:hover { color: var(--inv-fg); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--inv-line); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.footer .legal i { display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 8px; }

/* ---------- Vídeo ---------- */
.film { position: fixed; inset: 0; z-index: 60; background: rgb(7 8 10 / 94%); display: grid; place-items: center; padding: 20px; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.film-box { width: min(1200px, 100%); display: grid; gap: 12px; animation: pop .45s var(--ease-back); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; display: block; }
.film-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #E9EDF0; font-size: 14px; }
.film-bar b { display: inline-flex; align-items: center; gap: 10px; }
.film-bar b::before { content: ""; width: 8px; height: 8px; background: #FF5727; }
.film-close { background: transparent; border: 1px solid #2F363C; color: #E9EDF0; border-radius: 8px; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 600; font-size: 14px; }
.film-close:hover { border-color: #FF5727; color: #FF8A63; }

/* ---------- Dictado y barra del móvil ---------- */
.mbar { display: none; }
.dict { position: fixed; inset: 0; z-index: 70; background: rgb(7 8 10 / 62%); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s ease; }
.dict-sheet { background: var(--paper); color: var(--ink); width: min(520px, 100%); border-radius: 22px 22px 0 0; padding: 14px 22px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 14px; animation: sheet .4s var(--ease-out); box-shadow: 0 -20px 60px rgb(0 0 0 / 40%); }
@keyframes sheet { from { transform: translateY(100%); } }
.dict-grab { width: 40px; height: 5px; border-radius: 999px; background: var(--line); }
.dict-who { display: flex; align-items: center; gap: 12px; align-self: stretch; }
.dict-who svg { width: 48px; height: 48px; display: block; flex: none; }
.dict-who b { display: block; font-size: 16px; }
.dict-who span { font-size: 13.5px; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--accent); transform: scaleY(.2); animation: wave 1s ease-in-out infinite; animation-delay: calc(var(--i) * -.13s); }
.dict.idle .wave i { animation-play-state: paused; }
@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.dict-tx { align-self: stretch; min-height: 72px; max-height: 160px; overflow: auto; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 16px; line-height: 1.45; }
.dict-tx .interim { color: var(--muted); }
.dict-btns { display: flex; align-items: center; justify-content: center; gap: 28px; }
.dict-btns .round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dict-btns .round svg { width: 20px; height: 20px; }
.dict-btns .rec { width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--btn); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px var(--accent-soft); animation: rec 1.6s ease-in-out infinite; }
.dict-btns .rec svg { width: 26px; height: 26px; }
@keyframes rec { 50% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--accent-soft) 60%, transparent); } }
.dict-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Capa de chispas ---------- */
.fx-layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s var(--ease-out), border-color .2s, background-color .7s; transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* Titulares palabra a palabra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms + .05s); }
.in .w > span { transform: none; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .nav-cta { margin-left: auto; }
  .nav-toggle { display: grid; margin-left: 0; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--inv-bg);
    border-bottom: 1px solid var(--inv-line); padding: 10px var(--gutter) 18px; gap: 2px;
  }
  .nav.open .nav-links a { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--inv-line); }
  .nav.open .nav-links a::after { display: none; }
  .nav.open .nav-links a[aria-current="true"] { color: var(--accent); }
  .crew { grid-template-columns: 1fr; }
  .crew-card { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .crew-card .bubble, .crew-card .crew-desc { flex-basis: 100%; }
  .crew-big svg { width: 110px; height: 110px; }
  .real, .dz, .evd, .day, .case, .close, .sim { grid-template-columns: 1fr; }
  .real { gap: 28px; }
  .evd .pdfv { max-width: 560px; }
  .layer { grid-template-columns: 44px 220px minmax(0, 1fr); }
  .layer .when { grid-column: 3; text-align: left; margin-top: -14px; }
  .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phases { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .footer .wrap { grid-template-columns: auto 1fr; }
  .footer .certs { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-shade { background: linear-gradient(0deg, rgb(11 12 14 / 94%) 0%, rgb(11 12 14 / 84%) 50%, rgb(11 12 14 / 90%) 100%); }
  .hero-hint { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav .nav-cta { display: none; }
  .nav .nav-cta.legal-back { display: inline-flex; padding: 8px 12px; font-size: 13px; }
  .nav-toggle { margin-left: auto; }
  .brand-logo { height: 48px; }
  .hero-grid { padding-block: 36px 40px; gap: 32px; }
  .hero-actions .btn { flex: 1 1 200px; }
  .hero-actions a[href="#pruebalo"] { display: none; }
  .mailbox .mf { flex-direction: column; align-items: stretch; }
  .mailbox .send { justify-content: flex-end; }
  .mailbox .send .btn { flex: 1; }
  .marquee { padding: 16px 0; }
  .mq-row span { font-size: 14px; }
  .benefits { grid-template-columns: 1fr; }
  .scrolly-pin { padding-block: 64px; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-line, .flow-fill, .flow-token { display: none; }
  .fstep { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; align-items: center; gap: 2px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 8px 8px; }
  .fstep .fav { width: 64px; height: 64px; grid-row: 1 / span 3; }
  .fstep .fav svg { width: 52px; height: 52px; }
  .fstep[aria-current="true"] { border-color: var(--accent); }
  .fstep[aria-current="true"] .fav { transform: none; }
  .flow-stage { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .flow-stage .fs-av svg { width: 80px; height: 80px; }
  .crew-phases { gap: 18px; }
  .crew-grid button { width: 96px; }
  .crew-grid button svg { width: 54px; height: 54px; }
  .stops { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-row .k { padding-bottom: 4px; }
  .ct-row .t { padding-block: 4px 10px; }
  .ct-row .t::before { content: "Lo de siempre · "; font-family: var(--font-mono); font-size: 11.5px; }
  .ct-row .v::before { content: "Vulcano · "; font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-deep); }
  .ct-row.h { display: none; }
  .compare .tag { font-size: 10px; padding: 2px 6px; }
  .big40 b { font-size: 44px; }
  .ev-list { grid-template-columns: 1fr; }
  .dec { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr 1fr; }
  .tl-row, .axis, .slider-row { grid-template-columns: 100px 1fr; gap: 8px; }
  .tl-row { height: 32px; }
  .tl-row .nm { font-size: 12.5px; white-space: normal; }
  .tl-row .nm small { display: none; }
  .tl-row .nm .sav svg { width: 22px; height: 22px; }
  .cursor-layer { left: 108px; }
  .axis .scale span.minor { display: none; }
  .sky { width: 44px; height: 44px; top: -4px; }
  .sky .moon { box-shadow: inset -10px 4px 0 0 #F2F4F6; }
  .layer { grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: start; padding: 12px; }
  .layer .n { grid-row: 1 / span 3; }
  .layer b, .layer span:not(.n), .layer .when { grid-column: 2; text-align: left; margin-top: 0; }
  .guards { grid-template-columns: 1fr; }
  .stat:nth-child(even) { padding-left: 16px; }
  .phases { grid-template-columns: 1fr; gap: 28px; }
  .phase { padding: 0; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .section.stamp::after { bottom: 20px; }
  .station svg { width: 32px; height: 32px; }
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    display: flex; gap: 8px; padding: 8px; border-radius: 16px;
    background: rgb(11 12 14 / 92%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--inv-line);
    transform: translateY(150%); transition: transform .45s var(--ease-out); box-shadow: 0 12px 40px rgb(0 0 0 / 35%);
  }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; min-height: 48px; }
  .mbar .btn.ghost { flex: 0 1 auto; }
}
@media (max-width: 480px) {
  .channels { grid-template-columns: 1fr; }
  .stat .v small { font-size: 18px; }
  .tabs .sep { display: none; }
  .mailbox .presets button { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .w > span { opacity: 1; transform: none; }
  .mq-row { flex-wrap: wrap; width: auto; justify-content: center; }
}
