/* RILSTEN · dirección A «Sala de control». Tokens, retícula visible, tipografía Archivo + IBM Plex Mono. */
:root {
  --ink: #0A0A09; --ink2: #121211; --ink3: #1B1B19;
  --bone: #ECEBE6; --paper: #F4F3EE; --silver: #9A998F; --info: #B8B7AD; --ko: #0A0A09;
  --signal: #FF5A2A; --ok: #3DDC97;
  --line: rgba(236, 235, 230, .14); --line-s: rgba(236, 235, 230, .28);
  --line-d: rgba(10, 10, 9, .16); --line-ds: rgba(10, 10, 9, .34);
  --pad: 40px; --n: 4;
  --ease: cubic-bezier(.32, .72, 0, 1); --expo: cubic-bezier(.16, 1, .3, 1);
  --f-d: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-m: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --hh: 56px;
}
@media (min-width: 1180px) { :root { --pad: 64px; } }
@media (max-width: 900px) { :root { --pad: 24px; } }
@media (max-width: 640px) { :root { --pad: 16px; --n: 2; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 1.0625rem/1.6 var(--f-d); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--f-m); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; font: 500 .8rem var(--f-m); transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.gl #gl { opacity: 1; }

/* ── retícula de columnas visible ── */
.cols { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 0 var(--pad); pointer-events: none; }
.cols span { border-left: 1px solid var(--line); transform-origin: top; }
.cols span:last-child { border-right: 1px solid var(--line); }
@media (max-width: 640px) { .cols span:nth-child(n+3) { display: none; } .cols span:nth-child(2) { border-right: 1px solid var(--line); } }
.cols--d span { border-color: var(--line-d); }

/* ── piezas comunes ── */
.tag { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 .78rem/1.3 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--info); }
.live { width: 8px; height: 8px; background: var(--signal); flex: none; transform: skewX(-18deg); animation: blink 2.4s var(--ease) infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.stamp { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; color: var(--signal); font: 500 .78rem/1.2 var(--f-m); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.stamp--s { padding: 2px 6px; font-size: .78rem; }
.ln { display: block; overflow: hidden; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
.ln > span { display: block; }
.h-xl, .h-l, .h-m { margin: 0; font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: .98; text-wrap: balance; }
.h-xl { font-size: clamp(2.2rem, min(5.2vw, 9.6vh), 6.6rem); }
.h-l { font-size: clamp(2rem, 4.7vw, 5.4rem); }
.h-m { font-size: clamp(1.7rem, 3.5vw, 3.9rem); line-height: 1.04; font-weight: 700; }
.h-xl em { font-style: normal; color: var(--signal); }
.h-l em, .h-m em { font-style: normal; color: var(--signal); }

.btn { position: relative; display: inline-flex; align-items: stretch; min-height: 48px; border: 1px solid var(--line-s); background: transparent; color: var(--bone); text-decoration: none; overflow: hidden; isolation: isolate; font-weight: 600; font-size: .95rem; transition: transform .5s var(--ease), border-color .4s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); border-color: var(--bone); }
.btn:active { transform: scale(.98); }
.btn__t { display: flex; align-items: center; padding: 0 20px; white-space: nowrap; }
.btn__i { display: grid; place-items: center; width: 48px; flex: none; border-right: 1px solid currentColor; }
.btn__i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.btn:hover .btn__i svg { transform: translateX(3px); }
.btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--solid::before { background: var(--signal); }
.btn--solid:hover { color: var(--ink); border-color: var(--signal); }
.btn--sm { min-height: 40px; font-size: .85rem; }
.btn--sm .btn__i { width: 40px; }

/* ── cabecera ── */
.top { position: fixed; z-index: 60; top: 12px; left: var(--pad); right: var(--pad); height: var(--hh); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 8px 0 20px; background: rgba(10, 10, 9, .86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); }
.top__logo { display: block; width: 138px; }
.top__logo img { width: 100%; height: auto; }
.top__nav { display: flex; justify-content: center; gap: 4px; }
.top__nav a { position: relative; padding: 8px 14px; text-decoration: none; font: 500 .78rem/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }
.top__nav a span { display: inline-block; transition: transform .5s var(--ease); }
.top__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__menu { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; background: none; border: 0; }
.top__menu i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bone); transition: transform .6s var(--ease), top .6s var(--ease); }
.top__menu i:nth-child(1) { top: 18px; } .top__menu i:nth-child(2) { top: 26px; }
.top.open .top__menu i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.top.open .top__menu i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1000px) {
  .top { grid-template-columns: 1fr auto; padding: 0 4px 0 16px; }
  .top__cta { display: none; }
  .top__menu { display: block; }
  .top__logo { width: 124px; }
  .top__nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 96px var(--pad) 48px; background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
  .top.open .top__nav { clip-path: inset(0); }
  .top__nav a { font: 800 clamp(1.9rem, 8.4vw, 3rem)/1.1 var(--f-d); font-stretch: 112%; letter-spacing: -.02em; text-transform: none; padding: 5px 0; transform: translateY(24px); opacity: 0; transition: transform .8s var(--ease), opacity .6s; }
  .top__nav a::after { display: none; }
  .top.open .top__nav a { transform: none; opacity: 1; }
  .top.open .top__nav a:nth-child(2) { transition-delay: .06s; } .top.open .top__nav a:nth-child(3) { transition-delay: .12s; } .top.open .top__nav a:nth-child(4) { transition-delay: .18s; } .top.open .top__nav a:nth-child(5) { transition-delay: .24s; } .top.open .top__nav a:nth-child(6) { transition-delay: .3s; } .top.open .top__nav a:nth-child(7) { transition-delay: .36s; }
}

/* ── HERO ── */
.hero { position: relative; overflow-x: clip; min-height: 100svh; display: flex; flex-direction: column; z-index: 2; }
.hero__in { position: relative; z-index: 3; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad); padding: calc(var(--hh) + 36px) 0 28px; align-items: center; }
.hero__copy { grid-column: 1 / 4; grid-row: 1; display: grid; gap: clamp(14px, 2.4vh, 26px); justify-items: start; padding-right: 24px; }
.hero__copy .h-xl { margin-top: 2px; }
.lead { margin: 0; max-width: 33rem; font-size: clamp(.98rem, 1.15vw, 1.12rem); line-height: 1.55; color: #cfcec7; }
.lead strong { color: var(--bone); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__stage { position: relative; grid-column: 3 / 5; grid-row: 1; align-self: stretch; min-height: 360px; }
.r-slot { position: absolute; inset: 0 3% 150px 16%; display: grid; place-items: center; container-type: size; }
.r-poster { position: absolute; width: 74%; height: auto; opacity: .95; transition: opacity .8s; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.gl .r-poster { opacity: 0; }
.ring { position: absolute; width: min(112cqw, 104cqh); aspect-ratio: 1; max-width: none; pointer-events: none; overflow: visible; }
.ring__base { fill: none; stroke: var(--line); stroke-width: .35; }
.ring__ticks line { stroke: var(--line-s); stroke-width: .3; }
.ring__ticks line.m { stroke: var(--bone); stroke-width: .55; }
.ring__sweep { fill: none; stroke: var(--signal); stroke-width: 1.1; stroke-linecap: butt; }
.ring__lbl { fill: var(--silver); font: 500 4.2px var(--f-m); letter-spacing: .1em; }

.ticket { position: absolute; left: 0; bottom: 0; width: min(100%, 420px); background: rgba(10, 10, 9, .78); border: 1px solid var(--line-s); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.ticket__bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--info); font-size: .78rem; }
.ticket__clock { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; font-size: .78rem; min-width: 5ch; text-align: right; }
.ticket.ok .ticket__clock { color: var(--ok); }
.ticket p { margin: 0; padding: 10px 14px 0; font-size: .84rem; line-height: 1.4; min-height: 3.4em; }
.ticket__in { color: var(--bone); }
.ticket__out { color: #b9b8b0; border-left: 2px solid var(--signal); margin: 8px 14px 0; padding: 2px 0 2px 10px !important; min-height: 2.9em; }
.ticket.ok .ticket__out { border-color: var(--ok); color: var(--bone); }
.ticket__foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px 11px; font-size: .78rem; color: var(--info); }
.ticket__lang { color: var(--ink); background: var(--bone); padding: 1px 6px; font-weight: 500; }
.ticket__sim { margin-left: auto; color: var(--signal); }

.strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad); padding: 0; list-style: none; border-top: 1px solid var(--line); }
.strip li { padding: 14px 18px 18px; display: grid; gap: 5px; align-content: start; }
.strip li + li { border-left: 1px solid var(--line); }
.strip b { font-weight: 500; font-size: .78rem; color: var(--info); }
.strip span { font-size: .84rem; line-height: 1.4; color: var(--bone); }
.strip .mono { font-size: .95rem; letter-spacing: .06em; }
.strip__time { font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-top: calc(var(--hh) + 20px); }
  .hero__stage { display: contents; }
  .r-slot { position: relative; inset: auto; order: -1; height: min(40vh, 330px); margin: 0 auto; width: 100%; }
  .r-poster { width: auto; height: 86%; }
  .ring { width: min(100cqw, 104cqh); }
  .hero__copy { padding-right: 0; }
  .ticket { position: relative; width: 100%; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .tag { font-size: .7rem; letter-spacing: .04em; }
  .h-xl { font-size: clamp(2rem, 9.4vw, 3rem); font-stretch: 108%; }
  .r-slot { height: min(30vh, 250px); }
  .strip li { padding: 12px 12px 14px; }
}

/* ── DEMO (sección clara) con el filo en diagonal de la R ── */
.demo-wrap { position: relative; z-index: 4; margin-top: -1px; }
.demo-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(12vw + 4px); z-index: 5; background: var(--signal); pointer-events: none; opacity: var(--cut, 0);
  clip-path: polygon(0 calc(var(--cut, 0) * 12vw), 100% 0, 100% 3px, 0 calc(var(--cut, 0) * 12vw + 3px)); }
.demo { position: relative; background: var(--bone); color: var(--ink); clip-path: polygon(0 calc(var(--cut, 0) * 12vw), 100% 0, 100% 100%, 0 100%); }
.demo .cols { z-index: 0; }
.demo__in { position: relative; z-index: 2; padding: clamp(72px, 9vw, 130px) var(--pad) clamp(56px, 6vw, 96px); }
.demo__head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 0; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.demo__head .tag { grid-column: 1 / -1; color: var(--ink); gap: 14px; }
.demo__head .h-l { grid-column: 1 / 4; }
.demo__p { grid-column: 4; margin: 0; font-size: .95rem; line-height: 1.5; color: #3b3b37; padding-left: 20px; }
@media (max-width: 900px) { .demo__head .h-l, .demo__p { grid-column: 1 / -1; } .demo__p { padding-left: 0; } }

.mods { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: var(--ink); gap: 1px; }
.mod { min-width: 0; display: flex; flex-direction: column; background: var(--ink); color: var(--bone); }
.mod--clock { grid-column: 1 / 3; }
.mod--chat { background: var(--paper); color: var(--ink); }
.mod__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--info); font-size: .78rem; }
.mod--chat .mod__bar { border-color: var(--line-d); color: #4a4a45; }
.chip { padding: 2px 8px; border: 1px solid currentColor; font-size: .78rem; font-variant-numeric: tabular-nums; }
.chip[data-st="run"] { color: var(--signal); } .chip[data-st="ok"] { color: #0b6b44; } .chip[data-st="late"] { color: var(--signal); background: var(--signal); color: var(--ink); }
.chat:empty::before { content: "Elige una consulta de ejemplo o escribe la tuya. El reloj arranca al enviarla."; margin: auto; max-width: 24ch; text-align: center; font: 400 .85rem/1.5 var(--f-m); color: #6d6d66; }
@media (max-width: 1100px) { .mods { grid-template-columns: 1fr 1fr; } .mod--clock { grid-column: 1 / -1; } }
@media (max-width: 640px) { .mods { grid-template-columns: 1fr; } }

/* reloj */
.mod--clock { padding-bottom: 18px; }
.clock { container-type: inline-size; display: flex; justify-content: center; align-items: baseline; padding: clamp(18px, 3vw, 40px) 16px 0; font: 800 36cqw/.9 var(--f-d); font-stretch: 62%; letter-spacing: 0; }
@supports not (font-size: 1cqw) { .clock { font-size: 28vw; } }
.dg { display: inline-block; width: .5em; text-align: center; font-size: min(34cqw, 15rem); line-height: .92; padding-top: .04em; font-variant-numeric: tabular-nums; }
.dg--c { width: .26em; color: var(--info); transform: translateY(-.04em); }
[data-run] .dg--c { animation: blink 1s steps(2, jump-none) infinite; }
.dg.roll { animation: roll .5s var(--expo); }
@keyframes roll { from { transform: translateY(32%); opacity: 0; } to { transform: none; opacity: 1; } }
[data-done="ok"] .dg { color: var(--ok); }
[data-done="late"] .dg { color: var(--signal); }
.ticks { display: flex; gap: 3px; align-items: flex-end; height: 34px; margin: 22px 16px 0; }
.ticks i { flex: 1; height: 58%; background: rgba(236, 235, 230, .55); transition: background .3s, height .3s var(--ease); }
.ticks i:nth-child(12n+1) { height: 100%; }
.ticks i[data-on] { background: var(--signal); opacity: .9; }
.ticks i[data-ok] { background: var(--ok); }
.ticks__ax { display: flex; justify-content: space-between; margin: 6px 16px 0; color: var(--info); font-size: .7rem; }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 22px 16px 0; border-top: 1px solid var(--line); }
.cstats div { padding: 12px 12px 0 0; }
.cstats dt { color: var(--info); font-size: .7rem; }
.cstats dd { margin: 4px 0 0; font-size: .9rem; color: var(--bone); font-variant-numeric: tabular-nums; }
[data-done="ok"] [data-c-state] { color: var(--ok); } [data-done="late"] [data-c-state] { color: var(--signal); }
.cnote { margin: 14px 16px 0; min-height: 3.1em; font-size: .85rem; line-height: 1.5; color: #bdbcb4; max-width: 46ch; }
.cctl { margin: auto 16px 0; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; border: 1px solid var(--line-s); }
.seg button { background: none; border: 0; padding: 10px 14px; font: 500 .78rem/1 var(--f-m); letter-spacing: .05em; text-transform: uppercase; color: var(--info); transition: background .4s var(--ease), color .4s; }
.seg button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.seg button + button { border-left: 1px solid var(--line-s); }
.link { background: none; border: 0; padding: 8px 2px; color: var(--bone); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-s); }
.link:hover { text-decoration-color: var(--signal); }

/* chat */
.chat { flex: 1; min-height: 230px; max-height: 300px; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 9px; scrollbar-width: thin; }
.bub { max-width: 90%; padding: 9px 12px 8px; font-size: .88rem; line-height: 1.42; }
.bub p { margin: 0; }
.bub small { display: block; margin-top: 5px; font: 500 .78rem/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.bub--me { align-self: flex-end; background: #fff; border: 1px solid var(--line-ds); }
.bub--bot { align-self: flex-start; background: var(--ink); color: var(--bone); }
.bub--sys { align-self: center; max-width: 100%; border: 1px dashed var(--signal); color: #8a2a0f; font: 500 .78rem var(--f-m); text-transform: uppercase; letter-spacing: .04em; }
.pop { animation: pop .55s var(--expo) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.typing { display: flex; gap: 4px; padding: 13px 14px; }
.typing span { width: 5px; height: 5px; background: var(--bone); animation: dot 1s var(--ease) infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px; min-height: 0; }
.quick:not(:empty) { padding-bottom: 8px; }
.qbtn { background: transparent; border: 1px solid var(--ink); padding: 8px 12px; font: 500 .78rem/1 var(--f-m); transition: background .4s var(--ease), color .4s; }
.qbtn:hover { background: var(--ink); color: var(--bone); }
.langs { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.lang { display: flex; gap: 10px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-d); padding: 9px 14px; min-width: 0; transition: background .35s var(--ease); }
.lang:hover { background: rgba(10, 10, 9, .06); }
.lang b { flex: none; width: 2.2em; font-size: .7rem; color: var(--signal); }
.lang span { min-width: 0; font-size: .8rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #34342f; }
.lang[aria-pressed="true"] { background: var(--ink); } .lang[aria-pressed="true"] span { color: var(--bone); }
.send { display: flex; border-top: 1px solid var(--ink); }
.send input { flex: 1; min-width: 0; padding: 14px; background: #fff; border: 0; border-radius: 0; font: 400 .92rem var(--f-d); color: var(--ink); }
.send input::placeholder { color: #6d6d66; }
.send input:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.send button { width: 52px; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--bone); border: 0; transition: background .4s var(--ease); }
.send button:hover { background: var(--signal); color: var(--ink); }
.send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* cockpit */
.steps { list-style: none; margin: 0; padding: 14px 16px 6px; display: grid; gap: 2px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .86rem; color: #77766e; transition: color .4s; }
.steps i { flex: none; width: 10px; height: 10px; border: 1px solid #77766e; transition: background .3s, border-color .3s; transform: skewX(-18deg); }
.steps li[data-st="active"] { color: var(--bone); } .steps li[data-st="active"] i { background: var(--signal); border-color: var(--signal); animation: blink 1s var(--ease) infinite; }
.steps li[data-st="done"] { color: var(--bone); } .steps li[data-st="done"] i { background: var(--ok); border-color: var(--ok); }
.steps li[data-st="idle"] { color: var(--signal); } .steps li[data-st="idle"] i { border-color: var(--signal); }
.rec { margin: 8px 16px 0; padding-top: 6px; border-top: 1px solid var(--line); display: grid; }
.rec div { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rec dt { color: var(--info); font-size: .7rem; }
.rec dd { margin: 0; font-size: .86rem; line-height: 1.35; }
.rec dd.flash { animation: flash .9s var(--expo); }
@keyframes flash { from { color: var(--signal); transform: translateX(6px); opacity: 0; } to { color: inherit; transform: none; opacity: 1; } }
.cp__note { margin: auto 16px 0; padding: 14px 0 16px; color: var(--info); font-size: .78rem; line-height: 1.5; text-transform: none; letter-spacing: .02em; }

/* ── cierre ── */
.close { position: relative; z-index: 4; background: var(--ink); padding-top: clamp(80px, 10vw, 150px); }
.close__in { position: relative; z-index: 2; margin: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 0; padding-bottom: clamp(64px, 8vw, 110px); }
.close__in > .tag { grid-column: 1 / -1; }
.close__in .h-m { grid-column: 1 / 4; padding-right: 24px; }
.close__g { grid-column: 4; align-self: end; padding: 0 20px; color: #cfcec7; font-size: .95rem; }
.close__g p { margin: 0; }
.plans { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line-s); }
.plan { padding: 18px 20px 26px; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; padding-left: 0; }
.plan h3 { margin: 0; color: var(--info); font-weight: 500; font-size: .78rem; }
.plan__p { margin: 14px 0 0; display: flex; align-items: baseline; gap: 4px; }
.plan__p b { font: 800 clamp(2rem, 3.4vw, 3.4rem)/1 var(--f-d); font-stretch: 100%; letter-spacing: -.02em; }
.plan__p span { color: var(--info); font-size: .9rem; }
.plan__a { margin: 6px 0 0; font: 500 .78rem var(--f-m); color: var(--info); text-transform: uppercase; letter-spacing: .04em; }
.plan__d { margin: 14px 0 0; font-size: .88rem; line-height: 1.5; color: #cfcec7; max-width: 30ch; }
.fine { margin: 0; color: var(--info); font-size: .8125rem; line-height: 1.6; text-transform: none; letter-spacing: .02em; }
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.foot__in { margin: 0 var(--pad); padding: 28px 0 96px; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; }
.foot__logo { width: 150px; height: auto; }
.foot__t { margin: 0; color: var(--info); font-size: .78rem; }
.foot__t a { color: var(--bone); text-underline-offset: 4px; }
@media (max-width: 900px) {
  .close__in .h-m, .close__g { grid-column: 1 / -1; padding: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .plan:first-child { border-top: 0; }
}

/* ── botones flotantes: cuadrados, en la retícula ── */
.dock { position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; align-items: flex-end; transition: transform .7s var(--ease), opacity .5s; }
.dock.off { transform: translateY(130%); opacity: 0; pointer-events: none; }
.dock__b { display: flex; align-items: center; justify-content: center; height: 48px; min-width: 48px; background: var(--ink); color: var(--bone); border: 1px solid var(--line-s); text-decoration: none; overflow: hidden; transition: background .45s var(--ease), color .45s, border-color .45s; box-shadow: 0 0 0 1px rgba(10, 10, 9, .6); }
.dock__b svg { width: 22px; height: 22px; flex: none; }
.dock__l { max-width: 0; opacity: 0; white-space: nowrap; font-size: .78rem; transition: max-width .6s var(--ease), opacity .3s, margin .6s var(--ease); }
.dock__b:hover .dock__l, .dock__b:focus-visible .dock__l { max-width: 110px; opacity: 1; margin: 0 14px 0 2px; }
.dock__b--wa svg { color: #25d366; }
.dock__b:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.dock__b--wa:hover svg { color: #128c4a; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; visibility: hidden; transform: translate(-50%, 300%); max-width: calc(100vw - 32px); padding: 12px 16px; background: var(--bone); color: var(--ink); font-size: .7rem; line-height: 1.4; text-transform: none; letter-spacing: .02em; transition: transform .6s var(--ease); pointer-events: none; }
.toast.on { visibility: visible; transform: translate(-50%, 0); }

/* ── cursor ── */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; mix-blend-mode: difference; color: #fff; }
.ptr .cursor { display: block; }
.cursor.on { opacity: 1; }
.ptr, .ptr a, .ptr button, .ptr input { cursor: none; }
.cursor i { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border: 1px solid #fff; border-radius: 50%; transition: transform .5s var(--ease), opacity .3s; }
.cursor b { position: absolute; left: 24px; top: -8px; font: 500 .78rem/16px var(--f-m); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .5s var(--ease); font-variant-numeric: tabular-nums; }
.cursor.hot i { transform: scale(1.7); }
.cursor.lbl b { opacity: 1; transform: none; }
.cursor.clk i { transform: scale(1.35); border-style: dashed; animation: spin 6s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ── estados iniciales de animación (solo con JS y sin reducción de movimiento) ── */
.js:not(.rm) .ln > span { opacity: 0; }
.js:not(.rm) [data-in], .js:not(.rm) [data-rv] { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.js:not(.rm) .top { opacity: 0; transform: translateY(-14px); }
.js:not(.rm) .cols span { transform: scaleY(0); }
.js:not(.rm) #ringA { opacity: 0; }
.js:not(.rm):not(.ready) .dock { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 1180px) { .dock { right: 8px; } }


/* ═════════ v2 · revisión de acabado ═════════ */
.demo, .light { --ko: #ECEBE6; }
#inicio, #demo, #planes, #contacto { scroll-margin-top: 84px; }
html { scroll-padding-top: 84px; }

/* cabecera sólida */
.top { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* retícula por debajo del canvas; texto con placa para que las líneas no lo crucen */
.hero { z-index: auto; }
.hero .cols { z-index: 0; }
#gl { z-index: 1; }
.tag, .sub, .lead, .demo__p, .guar__line, .guar__fine, .gclock, .plans-s .h-m, .final .h-xl, .fsteps, .flow .tag { background: var(--ko); }
.ln { width: fit-content; max-width: 100%; }
.ln > span { background: var(--ko); }
.tag { width: fit-content; font-size: .85rem; color: var(--info); padding-right: 10px; }
.tag--d { color: #2b2b28; }
.demo__head .tag { justify-self: start; }
.demo__p { width: fit-content; }

/* hero: mensaje y aire */
.hero__copy { padding-left: 20px; }
.sub { margin: 0; font: 600 clamp(1.05rem, 1.55vw, 1.45rem)/1.3 var(--f-d); letter-spacing: -.005em; color: var(--bone); padding-right: 8px; }
.lead { max-width: 31rem; font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.6; text-wrap: pretty; color: #d6d5ce; }
.r-slot { inset: 0 3% 150px 16%; container-type: size; }

/* ticket compacto bajo el anillo */
.ticket { width: min(100%, 540px); }
.ticket__bar { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 8px 14px; font-size: .78rem; }
.ticket__st { color: var(--info); }
.ticket__body { display: grid; grid-template-columns: 1fr 1fr; }
.ticket .ticket__body p { margin: 0; padding: 10px 14px; font-size: 1rem; line-height: 1.4; min-height: 4.2em; border: 0; }
.ticket .ticket__out { border-left: 1px solid var(--line); color: #c9c8c0; }
.ticket.ok .ticket__out { border-left-color: var(--ok); color: var(--bone); }
.ticket__foot { padding: 6px 14px 8px; border-top: 1px solid var(--line); color: var(--signal); font-size: .78rem; }

/* demo: orden, bocadillos, tiempo de respuesta */
.mod--clock { order: -1; }
.chat { min-height: 150px; }
.bub { font-size: 1rem; line-height: 1.45; }
.cstats .took dd b { display: block; font: 800 2rem/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; color: var(--bone); font-variant-numeric: tabular-nums; }
.cstats .took dd small { display: block; margin-top: 5px; font-size: .8125rem; color: var(--info); text-transform: none; letter-spacing: .01em; line-height: 1.3; }
[data-done="ok"] .took b { color: var(--ok); } [data-done="late"] .took b { color: var(--signal); }
.cstats { grid-template-columns: 1fr 1.5fr 1fr; }
.mod--cp > summary { list-style: none; cursor: default; }
.mod--cp > summary::-webkit-details-marker { display: none; }
.chev { display: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease); }
.mod--cp[open] .chev { transform: rotate(-135deg); }
.lang b { font-size: .78rem; }
.lang span { font-size: .92rem; }
.send input { font-size: 1rem; }

/* cómo funciona (pin) */
.flow { position: relative; z-index: 2; min-height: 100svh; }
.flow__in { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad); min-height: 100svh; padding: 96px 0 32px; align-items: center; }
.flow__txt { grid-column: 1 / 3; padding: 0 24px 0 20px; display: grid; gap: 18px; align-content: center; justify-items: start; }
.flow__stage { grid-column: 3 / 5; position: relative; align-self: stretch; border-left: 1px solid var(--line); }
.flow .r-slot { inset: 5% 8% 24% 8%; }
.flow .ring { width: min(104cqw, 104cqh); }
.ring__prog { fill: none; stroke: var(--signal); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rd { position: absolute; left: 24px; right: 0; bottom: 18px; display: grid; gap: 4px; }
.rd b { font: 800 clamp(2.4rem, 5vw, 4.6rem)/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rd span { color: var(--info); }
.fsteps { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line-s); width: 100%; }
.fsteps li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity .5s var(--ease); align-items: baseline; }
.fsteps li.on { opacity: 1; }
.fsteps b { color: var(--info); font-weight: 500; }
.fsteps h3 { margin: 0; font: 700 1.3rem/1.2 var(--f-d); font-stretch: 100%; letter-spacing: -.01em; }
.fsteps li.on h3 { color: var(--bone); }
.fd { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.fsteps li.on .fd { grid-template-rows: 1fr; }
.fd p { overflow: hidden; margin: 0; min-height: 0; padding-top: 0; color: #d0cfc8; font-size: 1.02rem; max-width: 44ch; }
.fsteps li.on .fd p { padding-top: 6px; }

/* garantía (pin) */
.guar { position: relative; z-index: 3; min-height: 100svh; background: var(--ink); }
.guar__in { position: relative; z-index: 2; min-height: 100svh; margin: 0 var(--pad); padding: 96px 0 40px 20px; display: grid; align-content: center; justify-items: start; gap: clamp(12px, 2.4vh, 26px); }
.gclock { display: flex; width: fit-content; font: 800 min(27vw, 40vh)/.86 var(--f-d); font-stretch: 62%; letter-spacing: 0; font-variant-numeric: tabular-nums; padding: 0 .06em; }
.gclock span { display: inline-block; width: .5em; text-align: center; }
.gclock .gc { width: .26em; color: var(--info); }
.zero .gclock { color: var(--signal); }
.gbar { width: 100%; height: 6px; background: rgba(236, 235, 230, .14); }
.gbar i { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(var(--gp, 1)); }
.guar__line { margin: 0; max-width: 28ch; font: 800 clamp(1.5rem, 3.4vw, 3.6rem)/1.05 var(--f-d); font-stretch: 112%; letter-spacing: -.015em; }
.guar__line .g2 { display: block; opacity: var(--g2, 1); transform: translateY(calc((1 - var(--g2, 1)) * 26px)); }
.guar__line em { font-style: normal; color: var(--signal); }
.guar__fine { margin: 0; padding-right: 8px; max-width: 70ch; color: var(--info); text-transform: none; letter-spacing: .02em; line-height: 1.6; }

/* planes */
.plans-s { position: relative; z-index: 3; background: var(--ink); padding: clamp(80px, 10vw, 150px) 0 clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.plans-s__in { position: relative; z-index: 2; margin: 0 var(--pad); display: grid; justify-items: start; gap: 22px 0; padding-left: 0; }
.plans-s .tag, .plans-s .h-m { margin-left: 20px; }
.plans-s .h-m { max-width: 20ch; width: fit-content; }
.plans-s .plans { width: 100%; margin-top: clamp(24px, 4vw, 48px); }
.plan, .plan:first-child { padding-left: 20px; }
.plan:first-child { border-left: 0; }
.plan .btn { margin-top: 20px; width: 100%; justify-content: space-between; }
.plan .btn__i--r { border-right: 0; border-left: 1px solid currentColor; }
.plan.fine { display: flex; align-items: flex-end; padding-bottom: 28px; }

/* cierre a pantalla completa */
.final { position: relative; z-index: 3; min-height: 100svh; background: var(--ink); display: flex; flex-direction: column; border-top: 1px solid var(--line); overflow: hidden; }
.final__in { position: relative; z-index: 2; flex: 1; margin: 0 var(--pad); padding: 120px 0 48px 20px; display: grid; align-content: center; justify-items: start; gap: clamp(18px, 3vh, 32px); }
.final .h-xl { font-size: clamp(2.4rem, min(7.4vw, 14vh), 8.2rem); max-width: 12ch; width: fit-content; text-wrap: balance; }
.final__ring { position: absolute; z-index: 1; right: -14vw; top: 50%; width: min(60vw, 90vh); transform: translateY(-50%); opacity: .55; }
.cta-row--big { gap: 14px; }
.btn--lg { min-height: 64px; font-size: 1.1rem; }
.btn--lg .btn__i { width: 64px; }
.foot { position: relative; z-index: 2; margin-top: auto; }
.foot__in { padding: 24px 0 28px 20px; }

/* botones flotantes: escritorio = dock en el margen; <1180 = barra inferior */
.bar { position: fixed; z-index: 56; left: 0; right: 0; bottom: 0; display: none; gap: 8px; padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-s); transition: transform .6s var(--ease); }
.bar .btn { flex: 1; }
.bar__wa { width: 48px; display: grid; place-items: center; border: 1px solid var(--line-s); color: #25d366; }
.bar__wa svg { width: 24px; height: 24px; }
.bar.off { transform: translateY(110%); }
.cbar { position: fixed; z-index: 57; top: 74px; left: var(--pad); right: var(--pad); height: 40px; display: none; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--ink); color: var(--info); border: 1px solid var(--line-s); transform: translateY(-160%); transition: transform .5s var(--ease); font-size: .78rem; }
.cbar.on { transform: none; }
.cbar b { font: 800 1.5rem/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; color: var(--bone); font-variant-numeric: tabular-nums; }
.cbar[data-st="ok"] b { color: var(--ok); } .cbar[data-st="late"] b { color: var(--signal); } .cbar[data-st="run"] b { color: var(--signal); }
@media (max-width: 1179px) { .bar { display: flex; } .dock { display: none; } body { padding-bottom: 64px; } .toast { bottom: 84px; } }

/* preloader: anillo de 60 marcas y contador con inercia */
.pre { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: none; place-items: center; --e: 0; clip-path: polygon(0 calc(var(--e) * (100% + 14vw)), 100% calc(var(--e) * (100% + 14vw) - 14vw), 100% 100%, 0 100%); }
.js:not(.rm):not(.nopre) .pre { display: grid; }
.pre__ring { position: absolute; width: min(64vmin, 560px); overflow: visible; }
.pre__ticks line { stroke: var(--line-s); stroke-width: .5; }
.pre__ticks line.on { stroke: var(--signal); stroke-width: 1; }
.pre__d { position: relative; display: grid; justify-items: center; gap: 8px; }
.pre__d b { font: 800 clamp(3.2rem, 11vw, 7.4rem)/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pre__d span { color: var(--info); }
.js:not(.rm) .flow .tag, .js:not(.rm) .flow .ln > span { opacity: 1; }

@media (max-width: 900px) {
  .hero__copy { padding-left: 14px; }
  .flow__in { grid-template-columns: 1fr; padding-top: 76px; align-content: start; gap: 6px; }
  .flow__stage { order: -1; grid-column: 1; height: min(34vh, 290px); border-left: 0; align-self: auto; }
  .flow .r-slot { inset: 0 20% 66px 20%; }
  .flow__txt { grid-column: 1; padding: 0 0 0 14px; gap: 12px; }
  .rd { left: 8px; bottom: 0; }
  .rd b { font-size: 2.1rem; } .rd__n { display: none; }
  .guar__in, .final__in, .plans-s .tag { padding-left: 14px; }
  .plans-s .tag, .plans-s .h-m { margin-left: 14px; }
  .plan, .plan:first-child { padding-left: 14px; }
  .foot__in { padding-left: 14px; }
  .final__ring { right: -40vw; width: 110vw; opacity: .3; }
  .guar .gclock { font-size: min(36vw, 36vh); }
}
@media (max-width: 640px) {
  .h-l { font-size: clamp(1.9rem, 8.2vw, 2.6rem); text-wrap: balance; }
  .r-slot { height: min(25vh, 210px); }
  .hero__in { gap: 14px; }
  .hero__copy { gap: 12px; }
  .sub { font-size: 1.05rem; }
  .lead { font-size: 1.02rem; }
  .ticket__body { grid-template-columns: 1fr; }
  .ticket .ticket__out { border-left: 0; border-top: 1px solid var(--line); }
  .cbar { display: flex; }
  .mods { display: flex; flex-direction: column; }
  .mod--clock { order: 0; }
  .mod--clock .clock { padding-top: 12px; }
  .mod--clock .dg { font-size: min(21cqw, 5rem); }
  .ticks__ax, .cnote { display: none; }
  .cstats { grid-template-columns: 1fr 1fr 1fr; }
  .cstats .took dd b { font-size: 1.6rem; }
  .chev { display: block; }
  .mod--cp > summary { cursor: pointer; }
  .mod--cp:not([open]) .mod__bar { border-bottom: 0; }
  .demo__in { padding-top: 84px; }
  .final .h-xl { font-size: clamp(2.2rem, 11vw, 3.4rem); max-width: 100%; }
  .btn--lg { min-height: 56px; font-size: 1rem; } .btn--lg .btn__i { width: 56px; }
  .cta-row--big .btn { flex: 1 1 100%; }
}
.ticket .ticket__body p { margin: 0 !important; padding: 10px 14px !important; }
.ticket .ticket__body .ticket__out { border-left: 1px solid var(--line) !important; }
.ticket.ok .ticket__body .ticket__out { border-left-color: var(--ok) !important; }
@media (max-width: 640px) { .ticket .ticket__body .ticket__out { border-left: 0 !important; border-top: 1px solid var(--line); } }
.final .h-xl { font-size: clamp(2.4rem, min(6.3vw, 13vh), 7.6rem); max-width: none; text-wrap: initial; }
.final .h-xl em { white-space: nowrap; }
@media (max-width: 640px) { .final .h-xl { font-size: clamp(2.1rem, 10vw, 3.2rem); } }
@media (max-width: 900px) {
  .hero .r-slot { inset: auto; }
  .flow .r-slot { position: absolute; width: auto; height: auto; order: 0; }
}
@media (max-width: 640px) {
  .cstats { grid-template-columns: 1fr 1fr; }
  .cstats .took { grid-column: 1 / -1; order: 3; border-top: 1px solid var(--line); margin-top: 10px; }
  .cstats .took dd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .cstats .took dd small { margin-top: 0; }
  .seg button { padding: 10px 9px; font-size: .78rem; letter-spacing: .02em; }
}
.rm .flow .r-poster { opacity: .95 !important; }


/* ═════════ v3 · describir mejor el producto ═════════ */
.pl { background: var(--ko); width: fit-content; }
.top__nav a { padding: 8px 11px; }
.top__nav a::after { left: 11px; right: 11px; }
@media (max-width: 1340px) { .top__cta { display: none; } .top { grid-template-columns: auto 1fr; } .top__nav { justify-content: flex-end; } }
#incluye, #dias, #preguntas { scroll-margin-top: 84px; }

/* A · qué hace RILSTEN */
.inc, .days, .faq { position: relative; z-index: 3; background: var(--ink); padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.inc__in { position: relative; z-index: 2; margin: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.inc__head { grid-column: 1 / 2; padding: 0 22px 0 20px; display: grid; gap: 18px; justify-items: start; position: sticky; top: 96px; }
.inc__head .h-m, .faq__head .h-m { font-size: clamp(1.5rem, 2.2vw, 2.4rem); line-height: 1.04; }
.inc__lead { margin: 0; font-size: 1.05rem; color: #d0cfc8; }
.inc__grid { grid-column: 2 / 5; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-s); }
.inc__card { background: var(--ink); padding: 26px 20px 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.inc__card h3 { margin: 0; font: 700 1.3rem/1.2 var(--f-d); font-stretch: 100%; letter-spacing: -.01em; }
.inc__card p { margin: 0; color: #d0cfc8; }
.inc__ic { width: 40px; height: 40px; fill: none; stroke: var(--bone); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; margin-bottom: 6px; }
.inc__ic .s { stroke: var(--signal); }
.inc__n { margin-top: 6px !important; padding-top: 12px; border-top: 1px dashed var(--line-s); color: var(--bone) !important; font-size: .98rem; }
.inc__n b { display: block; margin-bottom: 4px; color: var(--info); font-weight: 500; }
.inc__fine { grid-column: 2 / 5; margin: 14px 0 0 20px; }
.js:not(.rm) .inc__card, .js:not(.rm) .fq { opacity: 0; transform: translateY(26px); filter: blur(8px); }

/* B · en marcha en 5 días */
.days__in { position: relative; z-index: 2; margin: 0 var(--pad); display: grid; justify-items: start; gap: 22px 0; }
.days .tag, .days .h-l { margin-left: 20px; }
.tl { position: relative; width: 100%; list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line-s); }
.tl__fill { position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: var(--signal); transform-origin: left; transform: scaleX(var(--tp, 1)); transition: transform .35s var(--ease); }
.tl__i { position: relative; padding: 0 24px 6px 20px; display: grid; gap: 8px; align-content: start; background: var(--ink); opacity: .4; transition: opacity .6s var(--ease); }
.tl__i.on { opacity: 1; }
.tl__i::before { content: ""; position: absolute; left: 20px; top: -36px; width: 12px; height: 12px; background: var(--ink); border: 1.5px solid var(--bone); transform: skewX(-18deg); z-index: 1; transition: background .4s, border-color .4s; }
.tl__i.on::before { background: var(--signal); border-color: var(--signal); }
.tl__i b { color: var(--info); font-weight: 500; }
.tl__i h3 { margin: 0; font: 700 1.3rem/1.2 var(--f-d); font-stretch: 100%; letter-spacing: -.01em; }
.tl__i p { margin: 0; color: #d0cfc8; max-width: 30ch; }
.keep { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-s); }
.keep > * { margin: 0; padding: 20px 24px 8px 20px; background: var(--ink); }
.keep__t { color: var(--info); }
.keep p:not(.keep__t) { font-size: 1.05rem; display: flex; gap: 12px; align-items: baseline; }
.keep i { flex: none; width: 10px; height: 10px; background: var(--ok); transform: skewX(-18deg); translate: 0 1px; }

/* C · tabla de planes */
.plans-s__in { justify-items: stretch; }
.plans-s .tag, .plans-s .h-m { justify-self: start; }
.plans-s .h-m { max-width: 22ch; }
.cmpw { margin-top: clamp(24px, 4vw, 48px); }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 1px solid var(--line-s); }
.cmp th, .cmp td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; background: var(--ink); font-weight: 400; }
.cmp tbody th { font-size: 1rem; }
.cmp thead th { vertical-align: top; padding-top: 22px; padding-bottom: 20px; }
.cmp thead th .mono { display: block; color: var(--info); }
.cmp__p { display: flex; align-items: baseline; gap: 4px; margin-top: 12px; }
.cmp__p b { font: 800 clamp(1.9rem, 3vw, 3rem)/1 var(--f-d); font-stretch: 100%; letter-spacing: -.02em; }
.cmp__p small { color: var(--info); font-size: .95rem; }
.cmp__a { display: block; margin-top: 6px; font: 500 .78rem var(--f-m); color: var(--info); text-transform: uppercase; letter-spacing: .04em; }
.cmp__s { display: inline-block; margin-top: 12px; padding: 2px 8px; border: 1px solid var(--line-s); font: 500 .78rem/1.3 var(--f-m); text-transform: uppercase; letter-spacing: .05em; color: var(--info); }
.cmp__s--ok { border-color: var(--ok); color: var(--ok); }
.cmp .grp th { padding: 18px 20px 8px; font: 500 .78rem var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); border-bottom: 1px solid var(--line-s); }
.cmp td.c { }
.cmp .y { display: block; width: 16px; height: 9px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); translate: 2px -3px; }
.cmp .n { color: #6d6c64; }
.cmp tfoot th, .cmp tfoot td { padding-top: 22px; padding-bottom: 26px; border-bottom: 0; }
.cmp tfoot .btn { width: 100%; justify-content: space-between; }
.cmp tfoot .btn__i--r { border-right: 0; border-left: 1px solid currentColor; }
.cmp__note { margin: 6px 0 0 20px; }

/* D · preguntas */
.faq__in { position: relative; z-index: 2; margin: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.faq__head { grid-column: 1 / 2; padding: 0 22px 0 20px; display: grid; gap: 18px; justify-items: start; position: sticky; top: 96px; }
.faq__list { grid-column: 2 / 5; border-top: 1px solid var(--line-s); }
.fq { border-bottom: 1px solid var(--line); background: var(--ink); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 20px; font: 700 clamp(1.1rem, 1.5vw, 1.4rem)/1.25 var(--f-d); font-stretch: 100%; letter-spacing: -.01em; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary:hover { color: var(--signal); }
.pm { flex: none; position: relative; width: 14px; height: 14px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
.fq[open] .pm::after { transform: rotate(0); }
.fq__a { margin: 0; padding: 0 20px 24px; max-width: 60ch; color: #d6d5ce; font-size: 1.06rem; }
.fq[open] .fq__a { animation: fqin .6s var(--expo); }
@keyframes fqin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .inc__head, .faq__head { grid-column: 1 / -1; position: static; margin-bottom: 28px; }
  .inc__grid, .faq__list, .inc__fine { grid-column: 1 / -1; }
  .inc__grid { grid-template-columns: repeat(2, 1fr); }
  .inc__fine { margin-left: 20px; }
}
@media (max-width: 900px) {
  .days .tag, .days .h-l { margin-left: 14px; }
  .inc__head, .faq__head { padding-left: 14px; }
  .tl { grid-template-columns: 1fr; padding: 0 0 0 36px; }
  .tl::before { left: 10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl__fill { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; transform: scaleY(var(--tp, 1)); }
  .tl__i { padding: 18px 0 18px 0; }
  .tl__i::before { left: -33px; top: 24px; }
  .keep { grid-template-columns: 1fr; }
  .keep > * { padding-left: 14px; }
  .fq summary, .fq__a { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 640px) {
  .inc__grid { grid-template-columns: 1fr; }
  .inc__fine { margin-left: 14px; }
  .inc__card { padding: 22px 14px 24px; }
  .cmp th, .cmp td { padding: 11px 6px; }
  .cmp thead th:first-child, .cmp tbody th, .cmp tfoot th { padding-left: 14px; }
  .cmp tbody th { font-size: .95rem; line-height: 1.3; }
  .cmp col, .cmp thead th:first-child { width: 38%; }
  .cmp__p { flex-direction: column; gap: 0; margin-top: 8px; }
  .cmp__p b { font-size: 1.35rem; }
  .cmp__a { font-size: .78rem; line-height: 1.3; }
  .cmp__s { display: none; }
  .cmp .grp th { padding-left: 14px; }
  .cmp tfoot th .mono { font-size: .78rem; }
  .cmp tfoot .btn__i { display: none; }
  .cmp tfoot .btn__t { padding: 0 6px; width: 100%; justify-content: center; }
  .plan-w { display: none; }
  .cmp__note { margin-left: 14px; }
  .cmp .y { translate: 0 -3px; }
}
.days { padding-bottom: clamp(48px, 6vw, 80px); }
.plans-s { padding-top: clamp(64px, 7vw, 100px); }

/* ═════════ v4 · vídeo real, móvil en «Cómo funciona», legales ═════════ */
.hero { background: var(--ink); }
.hero__pic, .hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero__poster, .hero__vid { width: 100%; height: 100%; object-fit: cover; object-position: var(--vpos, 50% 50%); }
.hero__vid { opacity: 0; transition: opacity 1.4s var(--ease); }
.vid .hero__vid { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 9, .9) 0, rgba(10, 10, 9, .7) 34%, rgba(10, 10, 9, .1) 64%, rgba(10, 10, 9, 0) 100%),
              linear-gradient(0deg, rgba(10, 10, 9, .92) 0, rgba(10, 10, 9, .42) 12%, transparent 30%),
              linear-gradient(180deg, rgba(10, 10, 9, .5) 0, transparent 16%); }
.hero .cols { z-index: 2; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 40%, #000 62%); mask-image: linear-gradient(90deg, transparent 0, transparent 40%, #000 62%); }
.hero .cols span { border-color: rgba(236, 235, 230, .2); }
.hero__in { display: flex; align-items: center; }
.hero__copy { grid-column: auto; max-width: min(790px, 57vw); }
.hero .h-xl { font-size: clamp(2.1rem, min(4.9vw, 9.2vh), 6.2rem); }
.hero .tag, .hero .lead, .hero .ln > span { background: none; }
.hero .lead { max-width: 36rem; color: #e1e0d9; }
.hero__mark { position: absolute; z-index: 3; right: var(--pad); bottom: 100px; margin: 0; color: var(--info); font-size: .78rem; text-align: right; }
.hc-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.hc-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hc-lines path { fill: none; stroke: var(--bone); stroke-opacity: .55; stroke-width: 1; }
.hc-mk { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 1.5px solid var(--ok); background: rgba(10, 10, 9, .7); opacity: 0; }
.hc { position: absolute; left: 0; top: 0; width: var(--hcw, 252px); background: rgba(10, 10, 9, .86); border: 1px solid var(--line-s); opacity: 0; will-change: transform, opacity; }
.hc__h { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--line); font: 500 .78rem/1 var(--f-m); letter-spacing: .05em; text-transform: uppercase; color: var(--info); white-space: nowrap; }
.hc__l { background: var(--bone); color: var(--ink); padding: 1px 6px; }
.hc__s { margin-left: auto; }
.hc[data-s="run"] .hc__s { color: var(--signal); } .hc[data-s="ok"] .hc__s { color: var(--ok); }
.hc__c { font-variant-numeric: tabular-nums; color: var(--bone); }
.hc__q { margin: 0; padding: 9px 11px; font: 600 .95rem/1.3 var(--f-d); color: var(--bone); }
.hc__a { margin: 0; padding: 8px 11px 10px; border-top: 1px solid var(--line); border-left: 3px solid var(--line-s); color: #c9c8c0; font-size: .92rem; line-height: 1.35; }
.hc[data-s="ok"] .hc__a { border-left-color: var(--ok); color: var(--bone); }
.hc[data-s=""] .hc__a { visibility: hidden; }

/* cómo funciona: sección clara con el móvil */
.flow { background: var(--bone); color: var(--ink); --ko: #ECEBE6; z-index: 3; overflow: hidden; }
.flow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: min(7vw, 100px); background: var(--ink); clip-path: polygon(0 100%, 100% 100%, 100% 0); pointer-events: none; z-index: 1; }
.flow .tag { background: none; color: #2b2b28; }
.flow .h-l { color: var(--ink); }
.flow .flow__stage { border-left: 1px solid var(--line-d); }
.flow .fsteps { background: none; border-top-color: var(--line-ds); }
.flow .fsteps li { border-bottom-color: var(--line-d); background: none; }
.flow .fsteps b { color: #4a4a45; }
.flow .fsteps li.on h3 { color: var(--ink); }
.flow .fd p { color: #34342f; }
.flow .rd { left: 22px; right: auto; top: 22px; bottom: auto; width: 150px; gap: 6px; }
.flow .rd span { color: #4a4a45; }
.flow .rd b { font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--ink); transition: color .5s; }
.flow .rd.ok b { color: #0b6b44; }
.rd__bar { display: block; height: 6px; background: rgba(10, 10, 9, .14); }
.rd__bar u { display: block; height: 100%; background: #0b6b44; transform-origin: left; transform: scaleX(var(--rb, 0)); }
.rd__n { font-size: .78rem; text-transform: none; letter-spacing: .01em; line-height: 1.35; }
.phone { position: absolute; left: 60%; top: 48%; width: var(--pw); height: var(--ph); transform: translate(-50%, -50%) scale(var(--ps, .8)); transform-origin: 50% 50%; perspective: 1600px; }
.phone__sh { position: absolute; left: 14%; right: 14%; bottom: -26px; height: 46px; background: radial-gradient(ellipse at center, rgba(10, 10, 9, .38), transparent 70%); filter: blur(10px); transform: scale(var(--sh, 1), 1); opacity: var(--sho, .9); }
.phone__grp { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.phone__body { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phone__scr { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; border-radius: 51px; background: #0A0A09; color: var(--bone); backface-visibility: hidden; }
.ps { position: relative; height: 100%; display: flex; flex-direction: column; padding: 18px 18px 16px; font-family: var(--f-d); }
.ps__st { display: flex; justify-content: space-between; padding: 8px 10px 12px; color: var(--info); font-size: 12.5px; }
.ps__hd { display: flex; gap: 10px; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); }
.ps__av { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bone); color: var(--ink); font: 800 15px var(--f-d); font-style: normal; }
.ps__hd b { display: block; font-size: 16px; line-height: 1.2; }
.ps__hd small { display: block; margin-top: 2px; color: var(--info); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.ps__clk { margin: 12px 0 8px; padding: 10px 12px; border: 1px solid rgba(61, 220, 151, .4); display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: end; }
.ps__clk > span:first-child { grid-column: 1 / -1; color: var(--info); font-size: 12.5px; }
.ps__clk b { font: 800 46px/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ps__ok { color: var(--info); font-size: 12.5px; text-align: right; }
.ps__clk.ok .ps__ok { color: var(--ok); } .ps__clk.ok b { color: var(--ok); }
.ps__bar { grid-column: 1 / -1; display: block; height: 6px; margin-top: 4px; background: rgba(236, 235, 230, .14); }
.ps__bar u { display: block; height: 100%; background: var(--ok); transform-origin: left; transform: scaleX(var(--pb, 0)); }
.ps__msgs { flex: 1; display: flex; flex-direction: column; gap: 9px; overflow: hidden; padding-top: 6px; }
.pmsg { max-width: 90%; padding: 9px 12px 8px; font-size: 15px; line-height: 1.38; display: none; }
.pmsg.on { display: block; animation: pmsgIn .7s var(--expo); }
@keyframes pmsgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pmsg p { margin: 0; }
.pmsg small { display: block; margin-top: 5px; font-size: 12px; text-transform: none; letter-spacing: .01em; line-height: 1.3; }
.pmsg--in { align-self: flex-start; background: #1b1b19; border: 1px solid var(--line-s); }
.pmsg--in small { color: var(--info); }
.pmsg--out { align-self: flex-end; background: var(--bone); color: var(--ink); }
.pmsg--out small { color: #4a4a45; }
.pmsg--typ.on { display: flex; align-items: center; gap: 5px; padding: 11px 13px; }
.pmsg--typ i { width: 6px; height: 6px; background: currentColor; animation: dot 1s var(--ease) infinite; }
.pmsg--typ i:nth-child(2) { animation-delay: .15s; } .pmsg--typ i:nth-child(3) { animation-delay: .3s; }
.pmsg--typ small { margin: 0 0 0 4px; }
.pmsg--card { align-self: stretch; max-width: 100%; border: 1px solid var(--ok); background: rgba(61, 220, 151, .1); }
.pmsg--card b { color: var(--ok); font-weight: 500; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.pmsg--card p { margin-top: 3px; font-weight: 700; font-size: 17px; }
.pmsg__ag { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 14px; color: #d6d5ce; }
.pmsg__ag i { width: 11px; height: 11px; background: var(--ok); transform: skewX(-18deg); }
.ps__in { margin-top: 10px; padding: 11px 13px; border: 1px solid var(--line-s); color: #77766e; font-size: 14.5px; }

.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; width: 100%; padding-top: 4px; }
.foot__legal a { color: var(--info); text-underline-offset: 4px; }
.foot__legal a:hover { color: var(--bone); }

@media (max-width: 900px) {
  .flow { overflow: visible; }
  .flow__in { display: block; min-height: 0; padding: 76px 0 84px; }
  .flow .flow__stage { position: sticky; top: 64px; z-index: 5; height: var(--stageh, 350px); background: var(--bone); border-left: 0; margin: 0; border-bottom: 1px solid var(--line-d); }
  .phone { left: 50%; top: 50%; }
  .flow .rd { display: none; }
  .flow__txt { padding: 18px 0 0 14px; }
  .flow .fsteps li { opacity: .55; }
  .flow .fsteps li.on { opacity: 1; }
  .flow::after { height: 44px; }
}
@media (max-width: 640px) {
  .hero__in { align-items: flex-start; padding-top: calc(var(--hh) + 22px); }
  .hero__copy { max-width: 100%; padding-left: 14px; }
  .hero .h-xl { font-size: clamp(1.9rem, 9.2vw, 2.7rem); }
  .hero .lead { font-size: 1rem; }
  .hero .strip { display: none; }
  .hero__mark { left: 16px; right: auto; bottom: 14px; text-align: left; font-size: .78rem; }
  .hero__veil { background: linear-gradient(0deg, rgba(10, 10, 9, .9) 0, rgba(10, 10, 9, .45) 30%, transparent 55%), linear-gradient(180deg, rgba(10, 10, 9, .82) 0, rgba(10, 10, 9, .66) 60%, rgba(10, 10, 9, .5) 100%); }
  .hero { --vpos: 63% 50%; }
}
@media (max-width: 900px) {
  .flow__in { display: flex; flex-direction: column; }
  .flow .flow__stage { order: -1; align-self: stretch; flex: none; }
  .flow .flow__txt { order: 1; }
}

/* ═════════ v5 · demo fusionada, planes Capta y Total ═════════ */
.top__nav a { padding: 8px 10px; }
.top__nav a::after { left: 10px; right: 10px; }
.stamp--ok { color: var(--ok); border-color: var(--ok); }
.stamp--w { color: var(--bone); border-style: dashed; border-color: var(--line-s); }

/* hero: 3 planes en la tira */
.strip__pl .strip__links { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.strip__pl .strip__links a { color: var(--bone); text-decoration: none; font-size: .84rem; white-space: nowrap; border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.strip__pl .strip__links a:hover { border-bottom-color: var(--signal); }
.strip__pl .strip__links u { text-decoration: none; color: var(--info); }
.strip__pl small { color: var(--info); font-size: .78rem; text-transform: none; letter-spacing: .02em; }

/* selector de planes */
.ptabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-s); background: var(--ink); }
.ptab { position: relative; display: grid; gap: 3px; padding: 13px 18px 14px; text-decoration: none; border-left: 1px solid var(--line); transition: background .5s var(--ease), color .5s; }
.ptab:first-child { border-left: 0; }
.ptab b { color: var(--info); font-weight: 500; font-size: .78rem; }
.ptab span { font: 700 1.2rem/1.2 var(--f-d); letter-spacing: -.01em; }
.ptab em { font: 500 .78rem/1.3 var(--f-m); letter-spacing: .05em; text-transform: uppercase; font-style: normal; color: var(--info); }
.ptab .st--ok { color: var(--ok); }
.ptab:hover { background: #1b1b19; }
.ptab[aria-current] { background: var(--bone); color: var(--ink); }
.ptab[aria-current] b, .ptab[aria-current] em { color: #34342f; }
.ptab[aria-current] .st--ok { color: #0b6b44; }
.inc__tabs { grid-column: 1 / -1; margin: 0 0 clamp(28px, 4vw, 52px); }
@media (max-width: 640px) { .ptab { padding: 10px 10px 11px; } .ptab span { font-size: 1rem; } .ptab em { font-size: .78rem; letter-spacing: .02em; } }

/* precio + CTA */
.pb__price { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding: 18px 0 0; border-top: 1px solid var(--line-s); width: 100%; max-width: 560px; background: var(--ink); }
.pb__price > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 6px; }
.pb__price b { font: 800 clamp(2.4rem, 3.6vw, 3.6rem)/1 var(--f-d); letter-spacing: -.02em; }
.pb__price > div:first-child > span { color: var(--info); font-size: .95rem; }
.pb__price small { grid-column: 1 / -1; margin-top: 6px; color: var(--info); font-size: .78rem; text-transform: none; letter-spacing: .02em; }
.pb__price--r { max-width: none; grid-column: 2 / 5; margin: 14px 0 0 20px; width: auto; }
@media (max-width: 1100px) { .pb__price--r { grid-column: 1 / -1; } }

/* bloques Capta y Total */
.pb { position: relative; z-index: 3; background: var(--ink); padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.pb .cols span:nth-child(2) { border-left-color: transparent; }
.pb__in { position: relative; z-index: 2; margin: 0 var(--pad); }
.pb__in > .ptabs { margin-bottom: clamp(32px, 5vw, 64px); }
.pb__grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.pb__txt { grid-column: 1 / 3; padding: 0 28px 0 20px; display: grid; gap: 18px; justify-items: start; align-content: start; }
.pb__txt .h-l { font-size: clamp(2rem, 3.8vw, 4.4rem); }
.pb__lead { margin: 0; max-width: 34rem; font-size: 1.1rem; color: #d6d5ce; }
.pb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; max-width: 560px; border-top: 1px solid var(--line-s); background: var(--ink); }
.pb__list li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; line-height: 1.4; color: var(--bone); }
.pb__list li i { flex: none; width: 10px; height: 10px; background: var(--ok); transform: skewX(-18deg); translate: 0 1px; }
.pb__txt .fine { max-width: 560px; }
.pb__vis { grid-column: 3 / 5; position: relative; padding: 0 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.mk-st { position: absolute; top: -34px; right: 0; background: var(--ink); }
.mk { position: relative; min-width: 0; background: #121211; border: 1px solid var(--line-s); color: var(--bone); overflow: hidden; }
.mk__h { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--info); font-size: .78rem; white-space: nowrap; }
.mk__h span:last-child:not(:first-child) { overflow: hidden; text-overflow: ellipsis; }
.mk p { margin: 0; }
.mk__t { padding: 10px 12px 0; font: 700 1.05rem/1.25 var(--f-d); }
.mk__s { padding: 6px 12px 12px; color: #c9c8c0; font-size: .9rem; line-height: 1.4; }
.mk__sub { padding: 10px 12px 0; color: var(--info); font-size: .78rem; }
.mk__btn { display: inline-block; margin: 0 12px 12px; padding: 8px 12px; background: var(--bone); color: var(--ink); font: 600 .9rem/1 var(--f-d); }
.mk__btn--d { background: var(--signal); }
.mk__img { margin: 10px 12px 0; height: 84px; background: linear-gradient(135deg, #1d2740, #2a3a63 55%, #3a4a78); display: grid; place-items: center; }
.mk__img svg { width: 96px; fill: none; stroke: var(--bone); stroke-width: 2; opacity: .9; } .mk__img .s { stroke: var(--signal); }
.mk--ad .mk__btn { margin-top: 10px; }
.mk--web { }
.mk__bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--info); font-size: .78rem; text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.mk__bar i { flex: none; width: 8px; height: 8px; background: var(--line-s); border-radius: 50%; }
.mk__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; }
.mk__b { padding: 12px; display: grid; gap: 8px; }
.mk__b b { font: 700 1.05rem var(--f-d); }
.mk__f { padding: 9px 10px; border: 1px solid var(--line-s); color: var(--info); font-size: .88rem; background: #0A0A09; }
.mk__b .mk__btn { margin: 4px 0 0; justify-self: start; }
.mk--seg, .mk--kb, .mk--in { grid-column: 1 / -1; }
.mk__tl { list-style: none; margin: 0; padding: 14px 12px 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.mk__tl::before { content: ""; position: absolute; left: 20px; right: 20px; top: 21px; height: 1px; background: var(--line-s); }
.mk__tl li { position: relative; display: grid; gap: 3px; font-size: .85rem; line-height: 1.3; color: #d6d5ce; }
.mk__tl i { position: relative; width: 11px; height: 11px; background: #121211; border: 1.5px solid var(--bone); transform: skewX(-18deg); margin-bottom: 4px; }
.mk__tl li.on i { background: var(--signal); border-color: var(--signal); }
.mk__tl b { color: var(--info); font-weight: 500; }
.mk__stars { display: block; padding: 0 12px 12px; letter-spacing: .12em; }
.mk__stars small { color: var(--info); letter-spacing: 0; text-transform: none; font-size: .78rem; }
.mk__sign { margin: 0 12px 12px; padding: 4px 0 0; border-bottom: 1px solid var(--line-s); }
.mk__sign svg { width: 100%; height: 30px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; }
.kb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.kb__c { background: #121211; padding: 8px 8px 12px; display: grid; gap: 6px; align-content: start; min-height: 128px; }
.kb__c b { color: var(--info); font-weight: 500; font-size: .78rem; }
.kb__c i { display: block; padding: 7px 8px; background: #1b1b19; border: 1px solid var(--line); font: 500 .85rem/1.25 var(--f-d); font-style: normal; color: #d6d5ce; }
.kb__c i.hot { border-color: var(--signal); } .kb__c i.ok { border-color: var(--ok); }
.bb { max-width: 86%; margin: 10px 12px 0; padding: 8px 10px; font-size: .9rem; line-height: 1.35; }
.bb--in { background: #1b1b19; border: 1px solid var(--line); }
.bb--out { margin-left: auto; margin-bottom: 12px; background: var(--bone); color: var(--ink); }
.mk__lines { display: grid; gap: 6px; padding: 10px 12px 12px; } .mk__lines i { height: 6px; background: var(--line-s); } .mk__lines i:nth-child(2) { width: 80%; } .mk__lines i:nth-child(3) { width: 55%; }
.pl7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; padding: 10px 12px 14px; text-align: center; }
.pl7 b { color: var(--info); font-weight: 500; font-size: .78rem; }
.pl7 i { height: 22px; background: #1b1b19; border: 1px solid var(--line); } .pl7 i.on { background: rgba(255, 90, 42, .22); border-color: var(--signal); }
.ap { padding: 12px; display: grid; gap: 8px; }
.ap__n { color: var(--info); font-size: .78rem; }
.ap i { display: block; padding: 9px 10px; background: #1b1b19; border-left: 3px solid var(--ok); font: 500 .9rem var(--f-d); font-style: normal; }
.bars { display: flex; gap: 10px; align-items: flex-end; height: 72px; padding: 12px 12px 0; }
.bars i { flex: 1; height: var(--h); background: var(--bone); opacity: .85; }
.mk--in .mk__s { padding-top: 10px; }

@media (max-width: 1100px) {
  .pb__txt { grid-column: 1 / -1; padding: 0 20px 36px; }
  .pb__vis { grid-column: 1 / -1; padding: 28px 0 0; }
  .mk-st { top: -6px; }
  .pb .cols span:nth-child(2) { border-left-color: var(--line); }
}
@media (max-width: 900px) { .pb__txt { padding: 0 14px 32px; } }
@media (max-width: 640px) {
  .pb__vis { grid-template-columns: 1fr; padding-top: 30px; }
  .mk--seg, .mk--kb, .mk--in { grid-column: auto; }
  .mk__tl { grid-template-columns: 1fr; padding-left: 28px; gap: 12px; }
  .mk__tl::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 1px; height: auto; }
  .mk__tl li { grid-template-columns: auto 1fr; gap: 0 10px; align-items: baseline; } .mk__tl i { position: absolute; left: -17px; top: 5px; margin: 0; }
  .kb { grid-template-columns: repeat(2, 1fr); } .kb__c { min-height: 0; }
}

/* ── demo fusionada: móvil + reloj + controles ── */
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: min(7vw, 100px); background: var(--ink); clip-path: polygon(0 0, 100% 0, 0 100%); pointer-events: none; z-index: 1; }
.flow__in { grid-template-columns: minmax(0, 5fr) minmax(0, 3.7fr) minmax(0, 3.5fr); padding: 96px 0 32px; }
.flow__txt { grid-column: 1; padding: 0 28px 0 20px; }
.flow__stage { grid-column: 2; border-left: 1px solid var(--line-d); }
.flow__ctl { grid-column: 3; align-self: center; display: grid; gap: 16px; align-content: center; padding: 0 0 0 28px; border-left: 1px solid var(--line-d); min-width: 0; height: 100%; }
.flow .phone { left: 50%; top: 50%; }
.flow .rd { position: static; width: auto; display: grid; gap: 8px; margin: 0; }
.flow .rd > span.mono { color: #34342f; font-size: .78rem; line-height: 1.35; }
.flow .rd b { font: 800 clamp(3.4rem, 5.6vw, 6.2rem)/.9 var(--f-d); font-stretch: 62%; letter-spacing: 0; color: var(--ink); transition: color .5s; font-variant-numeric: tabular-nums; }
.flow .rd[data-st="ok"] b, .flow .rd[data-st="ok"] .rd__st { color: #0b6b44; }
.flow .rd[data-st="late"] b, .flow .rd[data-st="late"] .rd__st { color: #c93a12; }
.flow .rd[data-st="run"] b { color: var(--ink); }
.rd__bar { display: block; height: 8px; background: rgba(10, 10, 9, .14); }
.rd__bar u { display: block; height: 100%; background: #0b6b44; transform-origin: left; transform: scaleX(var(--rb, 0)); }
.flow .rd[data-st="late"] .rd__bar u { background: #c93a12; }
.rd__ax { display: flex; justify-content: space-between; margin-top: -4px; color: #4a4a45 !important; font-size: .78rem; }
.flow .rd__st { color: #34342f; font-weight: 500; }
.flow .rd__n { margin: 0; font-size: .95rem; line-height: 1.45; color: #34342f; min-height: 3em; }
.flow .seg { display: inline-flex; border: 1px solid var(--ink); justify-self: start; max-width: 100%; }
.flow .seg button { background: none; border: 0; padding: 10px 12px; font: 500 .78rem/1.1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: #34342f; }
.flow .seg button + button { border-left: 1px solid var(--ink); }
.flow .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.flow .langs { border: 1px solid var(--line-ds); border-bottom: 0; background: var(--paper); }
.flow .lang { padding: 8px 12px; }
.flow .lang span { font-size: .9rem; }
.flow .send { border: 1px solid var(--ink); }
.flow .send input { font-size: 1rem; }
.flow__note { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0; color: #4a4a45; font-size: .78rem; text-transform: none; letter-spacing: .02em; }
.flow__note .link { color: var(--ink); text-decoration-color: var(--ink); }
.flow__note[hidden], .flow [hidden] { display: none; }
.phone.is-live .pmsg[data-m], .phone.is-live .pmsg[data-ty] { display: none !important; }
.pmsg--q { align-self: stretch; max-width: 100%; padding: 0; background: none; border: 0; }
.pq { display: flex; flex-wrap: wrap; gap: 8px; }
.pq button { background: var(--bone); color: var(--ink); border: 0; padding: 10px 13px; font: 500 13px/1.1 var(--f-m); letter-spacing: .02em; cursor: pointer; transition: background .3s var(--ease); }
.pq button:hover { background: var(--signal); }
.pmsg--sys { align-self: center; max-width: 100%; padding: 8px 12px; border: 1px dashed var(--signal); color: #ff9a7a; font: 500 13px/1.3 var(--f-m); text-transform: uppercase; letter-spacing: .03em; }
.pmsg--in.pmsg--typ { background: #1b1b19; }
.ps__clk[data-st="late"] b, .ps__clk[data-st="late"] .ps__ok { color: #ff7a52; }
.ps__clk[data-st="ok"] b, .ps__clk[data-st="ok"] .ps__ok { color: var(--ok); }
.ps__clk[data-st="late"] .ps__bar u { background: var(--signal); } /* sin respuesta: la barra también en señal */

@media (max-width: 1180px) and (min-width: 901px) {
  .flow__in { grid-template-columns: minmax(0, 4.6fr) minmax(0, 3.6fr) minmax(0, 3.8fr); }
  .flow__txt { padding-right: 16px; }
  .flow__ctl { padding-left: 18px; }
}
@media (max-width: 900px) {
  .flow__in { display: flex; flex-direction: column; padding-bottom: 96px; }
  .flow .flow__stage { order: -1; }
  .flow .flow__txt { order: 1; }
  .flow .flow__ctl { order: 2; border-left: 0; border-top: 1px solid var(--line-d); margin: 22px 14px 0; padding: 22px 0 0; height: auto; align-self: stretch; }
  .flow .rd b { font-size: clamp(3rem, 16vw, 4.6rem); }
}
.flow .h-l { font-size: clamp(1.9rem, 3.3vw, 3.9rem); }

.flow__echo { display: none; margin: 0; padding: 10px 12px; border: 1px solid var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.4; }
.flow__echo b { display: block; margin-bottom: 3px; color: #4a4a45; font-weight: 500; font-size: .78rem; }
@media (max-width: 900px) { .flow__echo:not([hidden]) { display: block; } }

@media (max-width: 640px) { .cmp tfoot .btn { min-height: 40px; } .cmp tfoot .btn__t { font-size: .8125rem; padding: 0 2px; white-space: nowrap; } .cmp tfoot td, .cmp tfoot th { padding-left: 3px; padding-right: 3px; } }
@media (min-width: 901px) {
  .flow__in { padding-bottom: 84px; }
  .flow__ctl { align-content: start; padding-top: 6px; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .flow__in { padding-top: 78px; }
  .flow__ctl { gap: 9px; }
  .flow .rd { gap: 5px; }
  .flow .rd b { font-size: clamp(2.8rem, 4.4vw, 4.4rem); }
  .flow .rd__n { min-height: 0; font-size: .88rem; line-height: 1.35; }
  .flow .lang { padding: 5px 12px; }
  .flow .send input { padding: 10px 12px; }
  .flow .seg button { padding: 8px 10px; }
  .fsteps li { padding: 9px 0; }
}

/* ═════════ v6 · analítica, conversión compacta ═════════ */
.pb__price small.pb__fund { display: block; width: fit-content; margin-top: 8px; padding: 3px 8px; border: 1px dashed var(--line-s); color: var(--bone); font-size: .78rem; }
.cmp__f { color: var(--bone) !important; }
.pstrip { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--line-s); }
.calc { padding: 18px 28px 16px 20px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); background: var(--ink); }
.calc__h { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.calc__h b { font: 700 1.15rem/1.25 var(--f-d); letter-spacing: -.01em; }
.calc__f { display: grid; gap: 10px; }
.calc__f label { display: grid; grid-template-columns: 1fr minmax(0, 150px); gap: 10px; align-items: center; font-size: .92rem; color: #d6d5ce; }
.calc__f input, .calc__f select { width: 100%; padding: 8px 10px; background: #121211; color: var(--bone); border: 1px solid var(--line-s); border-radius: 0; font: 500 .95rem var(--f-m); }
.calc__f select { font-family: var(--f-d); font-weight: 400; }
.calc__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 2px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.calc__out b { font: 800 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--f-d); font-stretch: 62%; color: var(--signal); font-variant-numeric: tabular-nums; }
.calc__out span { font-size: .98rem; color: var(--bone); } .calc__out em { font-style: normal; color: var(--info); }
.calc__fine { margin: 0; max-width: none; }
.vs { width: 100%; border-collapse: collapse; align-self: start; table-layout: fixed; }
.vs caption { text-align: left; padding: 18px 20px 8px; color: var(--info); font-size: .78rem; }
.vs caption small { text-transform: none; letter-spacing: 0; }
.vs th, .vs td { padding: 9px 12px 9px 20px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; font-size: .95rem; line-height: 1.3; vertical-align: top; background: var(--ink); }
.vs thead th { color: var(--info); font-weight: 500; font-size: .78rem; }
.vs tbody th { color: var(--bone); width: 31%; }
.vs td { color: var(--info); }
.vs .vs__r { color: var(--bone); border-left: 1px solid var(--line); }
.vs thead .vs__r { color: var(--signal); }
.who { margin: 6px 0 0; display: grid; gap: 4px; color: var(--bone); font-size: 1.1rem; max-width: 36rem; }
.who b { color: var(--info); font-weight: 500; font-size: .78rem; }
@media (max-width: 900px) { .pstrip { grid-template-columns: 1fr; } .calc { border-right: 0; padding-left: 14px; border-bottom: 1px solid var(--line); } .vs caption, .vs th, .vs td { padding-left: 14px; } .calc__f label { grid-template-columns: 1fr minmax(0, 130px); } }

/* aviso de cookies: abajo a la izquierda, sin tapar el dock */
.ck { position: fixed; z-index: 58; left: max(16px, env(safe-area-inset-left)); bottom: 16px; width: min(372px, calc(100vw - 32px)); padding: 14px 16px 14px; background: var(--ink); border: 1px solid var(--line-s); box-shadow: 0 18px 40px -18px #000; display: grid; gap: 8px; }
.ck[hidden] { display: none; }
.ck__t { margin: 0; font: 700 1rem/1.2 var(--f-d); }
.ck__p { margin: 0; font-size: .875rem; line-height: 1.45; color: #d6d5ce; }
.ck__p a { color: var(--bone); text-underline-offset: 3px; }
.ck__b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.ck__b .btn { justify-content: center; }
.ck__b .btn__t { padding: 0 12px; }
@media (max-width: 1179px) { .ck { bottom: 72px; left: 12px; width: calc(100vw - 24px); } }


@media (max-width: 640px) {
  .calc { padding-top: 14px; gap: 9px; }
  .calc__h b { font-size: 1.05rem; }
  .calc__f { gap: 7px; }
  .calc__f label { font-size: .88rem; }
  .calc__f input, .calc__f select { padding: 6px 8px; }
  .calc__out b { font-size: 2.2rem; }
  .vs caption { padding-top: 12px; }
  .vs th, .vs td { padding-top: 6px; padding-bottom: 6px; font-size: .9rem; }
}
.tl__i { opacity: .72; }
.tl__i.on { opacity: 1; }
.fsteps li { opacity: .66; }
.fsteps li.on { opacity: 1; }
@media (max-width: 900px) { .flow .fsteps li { opacity: .66; } .flow .fsteps li.on { opacity: 1; } }
.calc__f label { grid-template-columns: minmax(0, 1fr) 190px; }
.calc__f input[type="number"] { text-align: right; }
@media (max-width: 640px) { .calc__f label { grid-template-columns: minmax(0, 1fr) 150px; } .calc__f select { font-size: .88rem; padding-left: 6px; padding-right: 2px; } }

/* ═════════ v7 · historias de Capta y Total, cabecera a todo el ancho ═════════ */
/* cabecera sólida a todo el ancho y pegada arriba: nada asoma por encima ni por los lados */
.top { top: 0; left: 0; right: 0; padding: 0 var(--pad); border: 0; border-bottom: 1px solid var(--line); gap: 24px; }
@media (max-width: 1000px) { .top { padding: 0 12px 0 16px; } }
.flow::before { top: 0; }
.ptabs { position: relative; z-index: 1; }

.foot__note { margin: 0; width: 100%; color: var(--info); font-size: .8125rem; line-height: 1.5; max-width: 62ch; }

/* escena fijada */
.story__scene { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--hh) + 16px) 0 20px; background: var(--ink); }
.story__scene > .pb__in { margin-bottom: 14px; }
.story .pb__in > .ptabs { margin-bottom: 0; }
.story__grid { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 0 var(--pad); min-height: 0; }
.story__txt { grid-column: 1 / 3; padding: 0 28px 0 20px; display: grid; gap: 12px; justify-items: start; align-content: center; }
.story__txt > .tag { background: var(--ink); }
.story__h { font-size: clamp(1.8rem, 3vw, 3.4rem) !important; background: var(--ink); width: fit-content; }
.story__txt .fsteps { margin: 4px 0 0; }
.story__txt .fsteps li { padding: 8px 0; grid-template-columns: 5rem 1fr; }
.story__txt .fsteps h3 { font-size: 1.1rem; }
.story__txt .fd p { font-size: .95rem; max-width: 46ch; }
.story__stage { grid-column: 3 / 5; position: relative; padding: 0 0 0 28px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.stg__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.stg__top .stamp { background: var(--ink); }
.sct { margin: 0; display: grid; gap: 2px; }
.sct span { color: var(--info); font-size: .78rem; }
.sct b { font: 800 clamp(2.6rem, 4.6vw, 4.8rem)/.95 var(--f-d); font-stretch: 62%; letter-spacing: 0; text-transform: uppercase; font-variant-numeric: tabular-nums; animation: ctin .5s var(--expo); }
@keyframes ctin { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stg__slot { position: relative; height: clamp(214px, 30vh, 250px); }
.sc { position: absolute; left: 0; right: 0; top: 0; max-width: 580px; margin: 0 auto; opacity: 0; transform: translateY(22px) scale(.985); pointer-events: none; transition: opacity .55s var(--ease), transform .7s var(--ease); }
.sc.on { opacity: 1; transform: none; box-shadow: 0 0 0 1px var(--signal), 0 24px 50px -28px #000; }
.sc.past { transform: translateY(-14px) scale(.985); }
.stg__tl .mk__tl { padding-top: 12px; padding-bottom: 12px; }
.mk__tl li { opacity: .62; transition: opacity .5s; } .mk__tl li.on { opacity: 1; }
.mk__tl li.cur i { background: var(--signal); border-color: var(--signal); }
.mk__tl li.on:not(.cur) i { background: var(--bone); }
.stg__kb .kb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.stg__kb .kb__c { min-height: 78px; padding-bottom: 8px; }
.stg__kb .kb__c i:nth-of-type(n+2) { display: none; }
.kbw { position: relative; }
.kbc { position: absolute; left: calc(var(--col, 0) * 20% + 5px); top: 30px; width: calc(20% - 10px); padding: 7px 8px; background: var(--bone); color: var(--ink); font: 700 .85rem/1.2 var(--f-d); font-style: normal; opacity: 0; transform: translateY(-6px); transition: opacity .4s; box-shadow: 0 8px 18px -8px #000; }
.kbc.on { opacity: 1; transform: none; }
.kbc small { display: block; margin-top: 3px; color: #4a4a45; font-weight: 500; font-size: .78rem; text-transform: none; letter-spacing: 0; }

/* maquetas de las historias */
.ad2 { display: grid; grid-template-columns: 130px 1fr; gap: 0 14px; align-items: center; padding: 12px; }
.ad2 .mk__img { margin: 0; height: 100%; min-height: 96px; }
.ad2 .mk__t, .ad2 .mk__s { padding-left: 0; padding-right: 0; } .ad2 .mk__btn { margin: 4px 0 0; }
.mk__btn { transition: background .3s, transform .3s; } .mk__btn.hit { background: var(--signal); transform: scale(.96); }
.pcur { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: 2px solid var(--bone); border-radius: 50% 50% 50% 0; background: var(--signal); transform: translate(calc(60% + (1 - var(--ct, 0)) * 150px), calc(48% + (1 - var(--ct, 0)) * -90px)); opacity: calc(var(--ct, 0) * 3); }
.sc__chip { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; background: var(--ok); color: var(--ink); font-size: .78rem; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.sc__chip.on { opacity: 1; transform: none; }
.mk--web .mk__f span, [data-sc] .mk__f span { display: inline-block; min-height: 1.2em; }
[data-sc] .mk__f span:not(:empty)::after { content: "|"; margin-left: 1px; color: var(--signal); animation: blink 1s steps(2, jump-none) infinite; }
.sc__done { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; background: rgba(10, 10, 9, .94); opacity: 0; transition: opacity .5s; pointer-events: none; }
.sc__done b { font: 800 1.5rem var(--f-d); color: var(--ok); }
.sc__done span { color: var(--info); font-size: .78rem; }
.sc__done.on { opacity: 1; }
.mk__lines i { width: var(--w, 0%); max-width: 100%; transition: width .3s; }
.sc__att { display: inline-block; margin: 0 12px 12px; padding: 5px 9px; border: 1px solid var(--line-s); color: var(--info); font-size: .78rem; opacity: 0; transition: opacity .4s; }
.sc__att.on { opacity: 1; color: var(--bone); }
.sc .bb { min-height: 2.6em; max-width: 90%; }
.slot { margin: 0 12px 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #1b1b19; border-left: 3px solid var(--line-s); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease), border-color .4s; }
.slot.in { opacity: 1; transform: none; }
.slot.ok { border-left-color: var(--ok); }
.slot b { color: var(--info); font-weight: 500; font-size: .78rem; } .slot span { font-size: .98rem; }
.slot em { font-style: normal; font-size: .78rem; color: var(--info); text-transform: uppercase; letter-spacing: .05em; } .slot.ok em { color: var(--ok); }
.mk__sign { margin-top: 6px; } .mk__sign path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sc.signed [data-st] { color: var(--ok); }
.stars { display: flex; gap: 8px; padding: 0 12px 14px; }
.stars i { width: 28px; height: 27px; background: #2a2a28; clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 92%, 50% 71%, 20% 92%, 31% 57%, 2% 35%, 38% 35%); transition: background .3s; }
.stars i.on { background: #f2b53a; }
.sendbar { height: 8px; margin: 4px 12px 14px; background: var(--line); } .sendbar u { display: block; height: 100%; background: var(--ok); transform-origin: left; transform: scaleX(0); }
.pl7 i { transition: background .3s, border-color .3s; }
.sc .ap i { opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease), background .3s; } .sc .ap i.on { opacity: 1; transform: none; }
.sc.ping .ap i.on:first-child { background: #25252a; border-left-color: var(--signal); }
.rep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 12px 0; }
.rep p { margin: 0; display: grid; gap: 2px; } .rep b { font: 800 2rem/1 var(--f-d); font-stretch: 62%; letter-spacing: 0; font-variant-numeric: tabular-nums; } .rep span { color: var(--info); font-size: .78rem; }
[data-bars] i { height: calc(var(--h) * var(--g, 0)); }

/* resumen bajo la escena */
.pb__sum { padding: clamp(36px, 5vw, 64px) 0 0; background: var(--ink); position: relative; z-index: 2; }
.pb__sumg { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.pb__sumg > div:first-child { grid-column: 1 / 3; padding: 0 28px 0 20px; }
.pb__cta { grid-column: 3 / 5; padding: 0 0 0 28px; display: grid; gap: 14px; }
.pb__cta .pb__price { max-width: none; padding-top: 0; border-top: 0; }
.story + .story, .story + .days { border-top: 1px solid var(--line); }

@media (max-width: 1100px) and (min-width: 901px) { .story__txt { padding-right: 16px; } .story__stage { padding-left: 18px; } .ad2 { grid-template-columns: 100px 1fr; } }
@media (min-width: 901px) and (max-height: 760px) {
  .story__scene { padding-top: calc(var(--hh) + 10px); }
  .story__scene > .pb__in { margin-bottom: 8px; }
  .ptab { padding: 8px 14px 9px; } .ptab span { font-size: 1.05rem; }
  .story__txt { gap: 8px; } .story__txt .fsteps li { padding: 5px 0; } .story__txt .fd p { font-size: .9rem; }
  .stg__slot { height: clamp(206px, 30vh, 226px); } .stg__kb .kb__c { min-height: 62px; }
}

/* apilado: móvil y movimiento reducido (sin fijar el scroll) */
.story--stack .story__scene, .rm .story .story__scene { min-height: 0; padding: 0; }
.story--stack .story__scene > .pb__in, .rm .story .story__scene > .pb__in { padding-top: calc(var(--hh) + 20px); margin-bottom: 20px; }
.story--stack .story__grid, .rm .story .story__grid { display: block; margin: 0 var(--pad); }
.story--stack .story__txt, .rm .story .story__txt { padding: 0 0 18px 20px; }
.story--stack .story__stage, .rm .story .story__stage { padding: 0 0 0 0; border-left: 0; gap: 14px; }
.story--stack .stg__slot, .rm .story .stg__slot { height: auto; display: grid; gap: 14px; }
.story--stack .sc, .rm .story .sc { position: relative; opacity: 1; transform: none; max-width: none; pointer-events: auto; box-shadow: none; }
.story--stack .sc:not(.on), .rm .story .sc:not(.on) { opacity: .5; }
.story--stack .sc.on, .rm .story .sc.on { box-shadow: 0 0 0 1px var(--signal); }
.story--stack .fsteps li, .rm .story .fsteps li { opacity: 1; }
.story--stack .fsteps li .fd, .rm .story .fsteps li .fd { grid-template-rows: 1fr; }
.story--stack .fsteps li .fd p, .rm .story .fsteps li .fd p { padding-top: 6px; }
.story--stack .pb__sumg, .rm .story .pb__sumg { display: block; }
.story--stack .pb__sumg > div:first-child, .story--stack .pb__cta, .rm .story .pb__sumg > div:first-child, .rm .story .pb__cta { padding: 0 20px 0 20px; }
.story--stack .pb__cta, .rm .story .pb__cta { margin-top: 22px; }
@media (max-width: 900px) {
  .story__txt { padding-left: 14px !important; }
  .ad2 { grid-template-columns: 96px 1fr; }
  .story--stack .pb__sumg > div:first-child, .story--stack .pb__cta { padding-left: 14px; padding-right: 14px; }
  .sct b { font-size: 2.6rem; }
  .stg__kb .kb__c { min-height: 70px; } .stg__kb .kb__c b { font-size: .78rem; }
}
.stg__tl .mk__tl { grid-template-columns: repeat(6, 1fr); gap: 4px; }
.stg__tl .mk__tl li { font-size: .82rem; }
.stg__tl .mk__tl::before { left: 14px; right: 14px; top: 17px; }
.stg__tl .mk__tl i { display: block; }
.stg__tl .mk__tl li > span { display: block; }
@media (max-width: 640px) { .stg__tl .mk__tl { grid-template-columns: 1fr; } }

/* ═════════ v8 · secciones de planes en claro (hueso) ═════════ */
.lt { --ink: #ECEBE6; --bone: #0A0A09; --info: #4a4a45; --signal: #b3310d; --ok: #0b6b44; --ko: #ECEBE6;
  --line: rgba(10, 10, 9, .16); --line-s: rgba(10, 10, 9, .34); color: #0A0A09; background: #ECEBE6; }
/* las maquetas de producto conservan su interfaz oscura sobre la página clara */
.lt .mk, .lt .sc { --ink: #0A0A09; --bone: #ECEBE6; --info: #B8B7AD; --signal: #FF5A2A; --ok: #3DDC97;
  --line: rgba(236, 235, 230, .16); --line-s: rgba(236, 235, 230, .28); color: #ECEBE6; }
.lt .inc__lead, .lt .inc__card p, .lt .pb__lead, .lt .fd p, .lt .fine { color: #34342f; }
.lt .fine { color: #4a4a45; }
.lt .inc__n { color: var(--bone) !important; }
.lt .fsteps li { opacity: .78; } .lt .fsteps li.on { opacity: 1; }
.lt .fsteps h3, .lt .story__h, .lt h2, .lt h3 { color: #0A0A09; }
.lt .h-m em, .lt .h-l em { color: var(--signal); }
.lt .ptab:hover { background: rgba(10, 10, 9, .07); }
.lt .ptab[aria-current] { background: #0A0A09; color: #ECEBE6; }
.lt .ptab[aria-current] b, .lt .ptab[aria-current] em { color: #B8B7AD; }
.lt .ptab[aria-current] .st--ok { color: #3DDC97; }
.lt .btn--solid { background: #0A0A09; color: #ECEBE6; border-color: #0A0A09; }
.lt .btn--solid:hover { color: #0A0A09; border-color: var(--signal); }
.lt .btn--solid::before { background: #FF5A2A; }
.lt .btn:not(.btn--solid) { color: #0A0A09; }
.lt .btn:not(.btn--solid)::before { background: #0A0A09; } .lt .btn:not(.btn--solid):hover { color: #ECEBE6; }
.lt .stamp { color: var(--signal); }
.lt .stamp--w { color: #0A0A09; border-color: rgba(10, 10, 9, .5); }
.lt .stamp--ok, .lt .st--ok, .lt .cmp__s--ok { color: #0b6b40; border-color: #0b6b40; } /* verde OK sobre hueso: contraste AA */
.lt .pb__price small.pb__fund { color: #0A0A09; border-color: rgba(10, 10, 9, .45); }
.lt .pb__list li { color: #0A0A09; }
.lt .mk-st, .lt .stg__top .stamp { background: #ECEBE6; }
.lt .story__txt > .tag, .lt .story__h { background: none; }
.lt .sct b { color: #0A0A09; }
.lt .live { background: var(--signal); }
.lt .inc__ic { stroke: #0A0A09; } .lt .inc__ic .s { stroke: var(--signal); }
.lt .cols span { border-color: rgba(10, 10, 9, .14); }
.lt .sc.on { box-shadow: 0 0 0 1px #FF5A2A, 0 24px 50px -22px rgba(10, 10, 9, .55); }
.lt .story__stage { border-left-color: rgba(10, 10, 9, .16); }
.lt .story__scene, .lt .pb__sum, .lt .pb__price, .lt .pb__list { background: #ECEBE6; }
.lt .pb__list { border-top-color: rgba(10, 10, 9, .34); }
.lt .pb__price { border-top-color: rgba(10, 10, 9, .34); }
.lt .pb__price span, .lt .pb__price small { color: #4a4a45; }
.lt .pb__price small.pb__fund { color: #0A0A09; }
.lt .inc__card { background: #ECEBE6; border-color: rgba(10, 10, 9, .16); }
.lt .inc__grid { border-top-color: rgba(10, 10, 9, .34); }
.lt .ptabs { background: #ECEBE6; border-color: rgba(10, 10, 9, .34); }
.lt .ptab { border-left-color: rgba(10, 10, 9, .16); }
.lt .ptab[aria-current] { border-color: #0A0A09; }
.story--stack.lt .sc:not(.on), .rm .story.lt .sc:not(.on) { opacity: .62; }

/* cortes diagonales oscuro ↔ claro */
.cutd, .cutu { position: relative; z-index: 3; height: min(5vw, 64px); background: #0A0A09; pointer-events: none; }
.cutd { clip-path: polygon(0 0, 100% 0, 0 100%); }
.cutu { clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.cutu { margin-top: min(-1px, 0px); }
.inc > .cutd, .pb > .cutd { margin: 0; }
.inc { padding-top: 0; } .pb.pb--c { padding-top: 0; }
.inc__in { padding-top: clamp(36px, 4.5vw, 64px); }
.pb--c .story__scene { padding-top: calc(var(--hh) + 16px); }
.pb--t { border-top: 1px solid rgba(10, 10, 9, .16); }
.pb--t .cutu { margin-top: clamp(24px, 4vw, 56px); }
.pb--t { padding-bottom: 0; }
.flow::before { display: none; }
.flow { border-top: 1px solid rgba(10, 10, 9, .16); }
.inc { border-top: 0; }

/* demo: modos «Con RILSTEN» y «Sin respuesta automática» */
.pmsg small.seen { color: #8f8e86; }
.pmsg--in { position: relative; }
.flow .rd[data-mode="sin"] .rd__bar u { background: #c93a12; }
.ps__clk[data-st="run"] .ps__bar u { background: var(--signal); }
.lt .fsteps li, .lt .fsteps li.on, .story--stack.lt .fsteps li { opacity: 1; }
.lt .fsteps li:not(.on) h3 { color: #5a5a54; }
.lt .fsteps li.on h3 { color: #0A0A09; }
.lt .fsteps b { color: #4a4a45; }
.story--stack.lt .sc:not(.on), .rm .story.lt .sc:not(.on) { opacity: 1; }
.mk__tl li { opacity: .8; } .mk__tl li.on { opacity: 1; }
.story--stack .pcur, .rm .story .pcur { display: none; }
.story--stack .sc__chip, .rm .story .sc__chip { position: static; display: inline-block; margin: 0 12px 12px; }
.story--stack .ad2 + .pcur + .sc__chip, .story--stack .ad2 ~ .sc__chip { margin-top: 0; }
