/* ==========================================================================
   Corvus ERP · landing v3
   El azul y el formato de la landing oficial (app/(public)/page.tsx): la noche
   navy con su campo fijo de brillos petróleo y cian y la grilla, los paneles de
   vidrio con su hilo de luz arriba, radios de 16 y 20, botones en píldora.
   Nada centrado: todo arranca de un margen izquierdo que crece con la pantalla.
   ========================================================================== */

:root {
  /* Superficies de noche, las de la oficial */
  --canvas: #070C16; --canvas-2: #0A111F; --surface: #0E1829; --surface-2: #122034; --surface-3: #162942;
  --navy: #0F3460; --petrol: #046A86;
  /* La luz: el cian es el color de la acción */
  --cy: #00B4D8; --cy-l: #66E0F5; --cy-ink: #03131D;
  --cy-06: rgba(0, 180, 216, .06); --cy-12: rgba(0, 180, 216, .12); --cy-22: rgba(0, 180, 216, .22); --cy-40: rgba(0, 180, 216, .4);
  /* Texto sobre noche */
  --n: #EAF2F8; --n2: #9DB2C9; --n3: #8BA0B8;
  /* El día */
  --day: #EDF2F6; --day-2: #E2EAF1; --t: #0A1526; --t2: #46586E; --t3: #56667C;
  /* Hilos */
  --line: rgba(122, 178, 214, .13); --line-2: rgba(122, 178, 214, .22); --line-lit: rgba(0, 180, 216, .34);
  --day-line: rgba(15, 52, 96, .15); --day-line-2: rgba(15, 52, 96, .24);
  --display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --num: 'Nunito', 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --edge: clamp(20px, 5.4vw, 156px);
  --edge-r: clamp(20px, 3.4vw, 64px);
  --sec-pad: clamp(3.75rem, 7vw, 7.25rem);
  --nav-h: 76px;
  --r-card: 16px; --r-frame: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --node: var(--cy);
  --glass: radial-gradient(90% 60% at 12% 0%, var(--cy-12), transparent 62%), linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014));
  --deep: linear-gradient(160deg, rgba(24, 43, 71, .94), rgba(14, 24, 41, .92));
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--canvas); color: var(--n);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--cy); color: var(--cy-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic-fill { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- el campo de fondo (el de la oficial) ---------- */
.depth { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; }
.df-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 76% at 50% -14%, rgba(0, 180, 216, .14), transparent 58%),
    radial-gradient(76% 56% at 92% 4%, rgba(4, 106, 134, .34), transparent 62%),
    radial-gradient(70% 60% at 0% 38%, rgba(15, 52, 96, .46), transparent 66%),
    radial-gradient(64% 58% at 104% 118%, rgba(0, 180, 216, .2), rgba(4, 106, 134, .1) 34%, transparent 72%),
    radial-gradient(86% 56% at 72% 98%, rgba(0, 180, 216, .17), transparent 64%),
    radial-gradient(60% 40% at 18% 88%, rgba(0, 180, 216, .08), transparent 62%);
}
.df-grid {
  position: absolute; inset: -8%;
  background-image:
    repeating-linear-gradient(0deg, rgba(122, 178, 214, .055) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(90deg, rgba(122, 178, 214, .055) 0 1px, transparent 1px 88px);
  -webkit-mask-image: radial-gradient(78% 68% at 50% 32%, #000 0%, rgba(0, 0, 0, .5) 54%, transparent 86%);
  mask-image: radial-gradient(78% 68% at 50% 32%, #000 0%, rgba(0, 0, 0, .5) 54%, transparent 86%);
}

/* ---------- tipografía (la escala de la oficial) ---------- */
.display { font: 600 clamp(2.95rem, 1rem + 4.9vw, 6.2rem)/.98 var(--display); letter-spacing: -.028em; color: #fff; }
.display .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.display .ln > span { display: inline-block; }
.display .lit { color: var(--cy-l); }
.display .tail { display: block; margin-top: .42em; font: 500 clamp(1.35rem, .9rem + 1.5vw, 2.35rem)/1.12 var(--display); letter-spacing: -.02em; color: var(--n2); }
.h2 { font: 600 clamp(2.2rem, 1.2rem + 3.1vw, 4.4rem)/1.04 var(--display); letter-spacing: -.027em; text-wrap: balance; max-width: 18ch; }
.h3 { font: 600 clamp(1.45rem, 1rem + 1.4vw, 2.05rem)/1.1 var(--display); letter-spacing: -.022em; }
.lead { font-size: clamp(1.15rem, .9rem + .55vw, 1.38rem); line-height: 1.55; max-width: 54ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 600 .92rem/1 var(--sans); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }

/* ---------- botones (píldora, como en la oficial) ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; gap: 16px; height: var(--h);
  padding: 0 6px 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cy); color: var(--cy-ink);
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 26px -14px rgba(3, 19, 29, .7);
  transition: transform .25s var(--ease), background-color .2s, box-shadow .3s var(--ease);
}
.btn__ico { width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%; display: grid; place-items: center; background: rgba(3, 19, 29, .12); transition: transform .4s var(--ease), background-color .2s; --node: currentColor; }
.btn__ico .ic { width: 20px; height: 20px; }
.btn:hover { background: var(--cy-l); transform: translateY(-2px); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn[disabled]:hover { background: var(--cy); }
.btn[disabled]:hover .btn__ico { transform: none; }
.btn--sm { --h: 44px; gap: 12px; padding-left: 18px; font-size: .94rem; }
.btn--sm .btn__ico .ic { width: 17px; height: 17px; }
.btn--ghost { background: transparent; color: var(--n); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost .btn__ico { background: rgba(255, 255, 255, .07); }
.btn--ghost:hover { background: linear-gradient(120deg, var(--cy-12), var(--cy-06)); box-shadow: inset 0 0 0 1px var(--line-lit); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; cursor: pointer;
  font-weight: 600; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size .35s var(--ease), color .2s;
}
.tlink:hover { background-size: 0% 1px; background-position: 100% 100%; }
.tlink--lit { color: var(--cy-l); }
.tlink--back { background: none; color: var(--t2); }
.tlink--back:hover { color: var(--t); }
.tlink--back .ic { width: 18px; height: 18px; --node: currentColor; }

/* ---------- los paneles de vidrio ---------- */
.pane {
  position: relative; overflow: hidden; border-radius: var(--r-frame);
  border: 1px solid var(--line-2); background: var(--glass), var(--deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .8);
  color: var(--n);
}
.pane::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cy-40), transparent); pointer-events: none; }
.pane__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pane__name { display: inline-flex; align-items: center; gap: 9px; font: 600 .95rem var(--display); letter-spacing: -.01em; color: #fff; --node: var(--cy-l); }
.pane__name .ic { width: 19px; height: 19px; color: var(--cy-l); }
.pane__tabs { display: flex; gap: 4px; margin-left: 10px; font-size: .78rem; color: var(--n3); }
.pane__tabs > * { padding: 5px 10px; border-radius: 999px; font-weight: 500; }
.pane__tabs b { background: var(--cy-12); color: var(--cy-l); font-weight: 600; }
.pane__lamp { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--cy); border: 3px solid rgba(0, 180, 216, .18); box-sizing: content-box; }

/* El asistente */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.msg b { color: #fff; font-weight: 600; }
.msg--me { align-self: flex-end; background: var(--cy); color: var(--cy-ink); border-bottom-right-radius: 5px; font-weight: 500; }
.msg--ai { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--n); border-bottom-left-radius: 5px; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini span { padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: .76rem; color: var(--n2); }
.mini b { color: #fff; }
.chat__in { display: flex; align-items: center; gap: 10px; margin: 0 18px 18px; padding: 7px 7px 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 12, 22, .5); font-size: .86rem; color: var(--n2); }
.chat__in > span:first-child { flex: 1; display: inline-flex; align-items: center; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 4px; background: var(--cy-l); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cy); color: var(--cy-ink); --node: var(--cy-ink); }
.chat__send .ic { width: 17px; height: 17px; }

/* Los indicadores */
.dash { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.kpi__k { font-size: .78rem; color: var(--n2); }
.kpi__v { font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.kpi__d { font-size: .76rem; color: var(--n2); }
.kpi__d.is-up { color: #6EE7A0; }
.kpi__d.is-warn { color: #FBBF77; }
.dash__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.chart, .rank { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.dash__t { font-size: .8rem; font-weight: 600; color: var(--n); margin-bottom: 12px; }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; height: 150px; }
.bars span { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; }
.bars i { display: block; height: calc(var(--h) * 1%); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, rgba(102, 224, 245, .5), rgba(0, 180, 216, .16)); transform-origin: 50% 100%; }
.bars .is-now i { background: linear-gradient(180deg, var(--cy-l), var(--cy)); }
.bars em { font-style: normal; font-size: .72rem; color: var(--n3); }
.rank ol { display: grid; gap: 11px; }
.rank li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: .8rem; color: var(--n); }
.rank li b { font-weight: 700; color: #fff; }
.rank li i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--cy), rgba(0, 180, 216, .3)) 0 0 / calc(var(--w) * 1%) 100% no-repeat, rgba(255, 255, 255, .06); }

/* La factura */
.inv { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; padding: 18px; }
.inv__doc { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.inv__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.inv__meta dt { font-size: .72rem; color: var(--n3); }
.inv__meta dd { margin: 3px 0 0; font-size: .86rem; font-weight: 600; color: #fff; }
.inv__row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 96px; gap: 10px; padding: 9px 0; font-size: .84rem; color: var(--n); border-bottom: 1px solid var(--line); }
.inv__row > :not(:first-child) { text-align: right; }
.inv__row--h { font-size: .72rem; color: var(--n3); }
.inv__row--t { border-bottom: 0; padding-top: 12px; font-weight: 700; color: #fff; }
.stamp { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: linear-gradient(150deg, rgba(0, 180, 216, .14), rgba(15, 52, 96, .14)); border: 1px solid var(--cy-22); }
.stamp__b { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(34, 197, 94, .14); color: #86EFAC; font-size: .78rem; font-weight: 600; --node: #86EFAC; }
.stamp__b .ic { width: 15px; height: 15px; }
.stamp__v { margin: 6px 0 4px; font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.stamp p { font-size: .82rem; line-height: 1.45; color: var(--n2); }

/* La conciliación */
.rec { padding: 18px; display: grid; gap: 8px; }
.rec__h, .rec__row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.rec__h { font-size: .74rem; color: var(--n3); padding: 0 4px 4px; }
.rec__row { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.rec__row.is-pend { border-color: rgba(251, 191, 119, .35); background: rgba(251, 191, 119, .06); }
.rec__l, .rec__r { display: flex; flex-direction: column; gap: 2px; }
.rec__l b, .rec__r b { font-size: .9rem; font-weight: 700; color: #fff; }
.rec__l em, .rec__r em { font-style: normal; font-size: .76rem; color: var(--n2); }
.rec__m { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--n2); --node: var(--n2); }
.rec__m .ic { width: 16px; height: 16px; }
.rec__m.is-ok { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .35); color: #86EFAC; --node: #86EFAC; }
.rec__row.is-pend .rec__m { color: #FBBF77; border-color: rgba(251, 191, 119, .4); --node: #FBBF77; }
.rec__sum { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; padding: 12px 4px 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--n2); }
.rec__sum b { color: #fff; font-weight: 700; }

/* ---------- el sello de Tech Provider ---------- */
.tp { display: inline-flex; align-items: center; gap: 11px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--n); text-decoration: none; }
.tp__mark { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.tp__mark .ic-fill { width: 22px; height: 22px; color: #0866FF; }
.tp__txt { display: flex; flex-direction: column; line-height: 1.15; }
.tp__txt b { font: 600 .92rem var(--display); letter-spacing: -.01em; color: #fff; }
.tp__txt span { font-size: .76rem; color: var(--n2); }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 44px);
  padding: 0 var(--edge-r) 0 var(--edge); color: var(--n);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.nav.is-scrolled { background: rgba(7, 12, 22, .86); box-shadow: 0 1px 0 var(--line); }
.nav[data-on="light"] { color: var(--t); }
.nav[data-on="light"].is-scrolled { background: rgba(237, 242, 246, .94); box-shadow: 0 1px 0 var(--day-line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand__name { font: 600 1.18rem/1 var(--display); letter-spacing: -.02em; }
.brand__name span { color: var(--cy); }
.nav[data-on="light"] .brand__name span { color: var(--petrol); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav__links a:not(.btn) { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__menu-cta, .nav__menu-login { display: none !important; }
.nav__login { margin-left: auto; font-size: .95rem; font-weight: 600; text-decoration: none; padding: 10px 4px; opacity: .9; }
.nav__login:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav[data-on="light"] .burger { border-color: var(--day-line-2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 0 var(--edge); color: var(--n); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 420px); gap: clamp(28px, 4vw, 80px); padding-right: var(--edge-r); align-items: start; }
.hero__lead { margin-top: clamp(22px, 3vh, 34px); color: var(--n2); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(26px, 4vh, 40px); }
.hero__cta .tlink { color: #fff; }
.hero__side { display: grid; gap: 22px; padding-top: 4px; }
.hero__side .pane--chat { transform: rotate(-.8deg); }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(24px, 3vw, 44px); margin-top: clamp(28px, 4.5vh, 48px); padding-top: 22px; border-top: 1px solid var(--line); max-width: 780px; }
.proof { display: flex; align-items: center; gap: 10px; }
.proof b { font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
.proof span { max-width: 17ch; font-size: .84rem; line-height: 1.3; color: var(--n2); }
.hero__shot { margin-top: clamp(40px, 6vh, 80px); width: min(1560px, 100%); perspective: 1400px; }
.hero__shot .pane { border-right: 0; border-bottom: 0; border-radius: var(--r-frame) 0 0 0; transform-origin: 40% 0; }

/* ---------- marquesina ---------- */
.mq { position: relative; overflow: hidden; padding: 22px 0; color: var(--n2); border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(15, 52, 96, .2), transparent); }
.mq__track { display: flex; width: max-content; animation: mq 52s linear infinite; }
.mq:hover .mq__track, .mq.is-off .mq__track { animation-play-state: paused; }
.mq__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.mq li { white-space: nowrap; font-size: 1.04rem; }
.mq b { color: #fff; font-weight: 600; }
.mq__sep { width: 6px; height: 6px; flex: none; background: var(--cy); transform: rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { position: relative; padding: var(--sec-pad) var(--edge-r) calc(var(--sec-pad) * 1.08) var(--edge); }
.sec--night { color: var(--n); }
.sec--night .lead { color: var(--n2); }
.sec--night .h2, .sec--night .h3 { color: #fff; }
.sec--night .eyebrow { color: var(--cy-l); }
.sec--day { background: var(--day); color: var(--t); }
.sec--white { background: #fff; color: var(--t); }
.sec--day .lead, .sec--white .lead { color: var(--t2); }
.sec--day .eyebrow, .sec--white .eyebrow { color: var(--petrol); }
.sec__head .lead { margin-top: 22px; }
.sec__head--row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px clamp(32px, 6vw, 120px); align-items: end; }
.sec__head--row .lead { margin-top: 0; padding-bottom: .35em; }
.sec__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 128px); align-items: start; }
.sticky { position: sticky; top: calc(var(--nav-h) + 40px); }

/* ---------- el problema: lo de hoy se tacha, lo nuevo aparece al lado ---------- */
.pairs__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); padding-bottom: 14px; border-bottom: 1px solid var(--day-line-2); font: 600 .9rem var(--sans); color: var(--t3); }
.pairs__cols span:last-child { color: var(--petrol); }
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); padding: 30px 0; border-bottom: 1px solid var(--day-line); }
.pair .ic { width: 26px; height: 26px; margin-bottom: 16px; }
.pair h3 { font: 600 1.18rem/1.25 var(--display); letter-spacing: -.015em; margin-bottom: 8px; }
.pair p { font-size: 1rem; line-height: 1.55; }
.pair__a { color: var(--t3); --node: var(--t3); }
.pair__a h3 { color: var(--t2); }
.pair__a h3 span { background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0% 1.5px; transition: background-size .9s var(--ease) .15s; }
.pair.is-in .pair__a h3 span { background-size: 100% 1.5px; }
.pair__b { color: var(--t2); --node: var(--cy); transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.pair__b .ic { color: var(--navy); }
.pair__b h3 { color: var(--t); }
.is-motion .pair:not(.is-in) .pair__b { opacity: 0; transform: translateX(-14px); }
.pair::after { content: ""; position: absolute; top: 37px; left: calc(50% - 7px); width: 12px; height: 12px; border-top: 1.5px solid var(--petrol); border-right: 1.5px solid var(--petrol); transform: translateX(-50%) rotate(45deg); }
.pairs__foot { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; color: var(--t2); max-width: 64ch; --node: var(--cy); }
.pairs__foot .ic { width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.pairs__foot b { color: var(--t); }

/* ---------- la historia ---------- */
.story { position: relative; color: var(--n); }
.story__pin {
  position: relative; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.5fr); gap: clamp(16px, 2.4vw, 48px);
  padding: calc(var(--nav-h) + 20px) var(--edge-r) 28px var(--edge);
}
@supports (height: 100svh) { .story__pin { height: 100svh; } }
.story__copy { position: relative; align-self: center; max-width: 34rem; padding-bottom: 6vh; }
.story__count { display: flex; gap: 8px; align-items: baseline; font: 600 .95rem/1 var(--display); letter-spacing: .02em; color: var(--n3); }
.story__n { color: var(--cy-l); font-size: 1.35rem; }
.story__beats { position: relative; margin-top: 22px; min-height: 17rem; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.beat.is-past { transform: translateY(-16px); }
.beat__t { font: 600 clamp(2rem, 1rem + 2.5vw, 3.6rem)/1.04 var(--display); letter-spacing: -.026em; color: #fff; text-wrap: balance; }
.beat__s { margin-top: 20px; font-size: clamp(1.04rem, .96rem + .25vw, 1.18rem); line-height: 1.55; color: var(--n2); max-width: 36ch; }
.story__bar { margin-top: 26px; width: min(260px, 70%); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 100%; background: var(--cy); transform: scaleX(0); transform-origin: 0 50%; }
.story__stage { position: relative; min-height: 0; }
.story__world, .story__ring { position: absolute; inset: 0; }
.story__world { transform-origin: 50% 50%; }
.story__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sp { fill: none; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.sp--a { stroke: rgba(102, 224, 245, .55); stroke-width: 1.5; }
.sp--s { stroke: rgba(122, 178, 214, .42); }
.sp--r { stroke: rgba(122, 178, 214, .24); }
.pulses circle { fill: var(--cy-l); }
.sn { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; z-index: 2; white-space: nowrap; }
.sn--area { display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: var(--r-card); background: var(--glass), var(--deep); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 22px 44px -24px rgba(0, 0, 0, .9); }
.sn__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--cy-12); border: 1px solid var(--cy-22); color: var(--cy-l); --node: var(--cy-l); }
.sn__ic .ic { width: 21px; height: 21px; }
.sn__t { display: block; font: 600 .97rem/1.15 var(--display); color: #fff; letter-spacing: -.01em; }
.sn__d { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.2; color: var(--n2); }
.sn--sat { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px; background: rgba(10, 17, 31, .9); border: 1px dashed rgba(122, 178, 214, .36); }
.sn--sat .sn__ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--n); }
.sn--sat .sn__ic .ic { width: 17px; height: 17px; }
.sn--sat .sn__t { font-size: .86rem; }
.sn--sat .sn__d { font-size: .76rem; color: var(--cy-l); }
.sn--ring { padding: 7px 13px; border-radius: 999px; background: rgba(14, 24, 41, .92); border: 1px solid var(--line-2); font: 500 .8rem/1 var(--sans); color: var(--n); }
.doc { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; display: flex; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #F7FAFC; color: var(--t); font: 600 .78rem/1 var(--sans); white-space: nowrap; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); opacity: 0; }
.doc span { color: var(--t3); font-weight: 500; }
.sale { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; width: clamp(236px, 19vw, 284px); padding: 15px 17px 14px; border-radius: var(--r-card); background: #F7FAFC; color: var(--t); box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.sale__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sale__k { font: 600 1rem/1 var(--display); letter-spacing: -.01em; }
.sale__no { font: 600 .74rem/1 var(--num); color: var(--t3); }
.sale__who { margin-top: 6px; font-size: .74rem; color: var(--t3); }
.sale__items { margin: 11px 0 9px; padding: 9px 0; border-block: 1px dashed rgba(15, 52, 96, .2); }
.sale__items li { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; line-height: 1.75; color: var(--t2); }
.sale__tot div { display: flex; justify-content: space-between; font-size: .76rem; line-height: 1.6; color: var(--t3); font-family: var(--num); font-weight: 600; }
.sale__tot dt { font-family: var(--sans); font-weight: 500; }
.sale__tot dd { margin: 0; }
.sale__tot .is-total { margin-top: 3px; font-size: .92rem; color: var(--t); font-weight: 800; }
.sale-ghost { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(236px, 19vw, 284px); height: 196px; border-radius: var(--r-card); background: #D6E1EA; opacity: 0; z-index: 2; }
.story__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; opacity: 0; width: clamp(92px, 8vw, 128px); aspect-ratio: 1; border-radius: 28%; }
.story__core::before, .story__core::after { content: ""; position: absolute; border-radius: 34%; border: 1px solid var(--cy-40); }
.story__core::before { inset: -14px; }
.story__core::after { inset: -30px; border-color: var(--cy-22); }
.story__core img { position: relative; width: 100%; height: 100%; border-radius: inherit; }

/* ---------- el mapa de módulos ---------- */
.mods { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(300px, .8fr); gap: clamp(28px, 3.4vw, 64px); margin-top: clamp(44px, 5vw, 80px); align-items: start; }
.mods__map { position: relative; aspect-ratio: 16 / 11; min-height: 520px; }
.mods__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ml { fill: none; stroke: rgba(15, 52, 96, .2); stroke-width: 1.3; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.has-sel .ml { opacity: .4; }
.has-sel .ml.is-rel { opacity: 1; stroke: var(--cy); stroke-width: 2; stroke-dasharray: 5 7; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.mn {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px; max-width: 13.5rem; padding: 6px 15px 6px 6px;
  border-radius: 999px; border: 1px solid var(--day-line-2); background: #fff; color: var(--t);
  font: 600 .88rem/1.15 var(--sans); text-align: left; cursor: pointer;
  box-shadow: 0 8px 20px -14px rgba(15, 52, 96, .55);
  transition: opacity .3s, background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.mn__ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--day); color: var(--navy); --node: var(--cy); transition: background-color .25s, color .25s; }
.mn__ic .ic { width: 18px; height: 18px; }
.mn:hover { box-shadow: 0 14px 30px -14px rgba(15, 52, 96, .6); transform: translateY(-2px); }
.has-sel .mn { opacity: .55; }
.has-sel .mn.is-rel { opacity: 1; border-color: var(--cy); }
.has-sel .mn.is-sel { opacity: 1; background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 18px 34px -16px rgba(15, 52, 96, .8); }
.mn.is-sel .mn__ic { background: var(--cy); color: var(--cy-ink); --node: #fff; }
.mods__chips { display: none; flex-wrap: wrap; gap: 8px; }
.mods__chips .mn { position: static; translate: none; }
.mods__panel { position: sticky; top: calc(var(--nav-h) + 32px); padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r-frame); background: #fff; border: 1px solid var(--day-line); min-height: 420px; }
.mp { transition: opacity .25s; }
.mp.is-swap { opacity: 0; }
.mp__k { font: 600 .84rem var(--sans); color: var(--petrol); }
.mp__t { margin-top: 8px; font: 600 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1.05 var(--display); letter-spacing: -.025em; color: var(--t); }
.mp__d { margin-top: 12px; font-size: 1rem; line-height: 1.55; color: var(--t2); }
.mp__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mp__chips li { padding: 5px 10px; border-radius: 8px; background: var(--day); border: 1px solid var(--day-line); font-size: .8rem; font-weight: 600; color: var(--t2); }
.mp__h { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--day-line-2); font: 600 .84rem var(--sans); color: var(--t3); }
.mp__links { margin-top: 6px; }
.mp__links li + li { border-top: 1px solid var(--day-line); }
.mp__links button { width: 100%; display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; padding: 11px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.mp__links .ic { grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; color: var(--petrol); --node: var(--petrol); }
.mp__ln { font: 600 .96rem/1.25 var(--display); color: var(--t); }
.mp__lr { font-size: .88rem; line-height: 1.42; color: var(--t2); }
.mp__links button:hover .mp__ln { color: var(--petrol); }

/* ---------- las pantallas y el spot ---------- */
.views { display: grid; grid-template-columns: minmax(250px, .6fr) minmax(0, 1.65fr); gap: clamp(28px, 3.4vw, 64px); margin-top: clamp(44px, 5vw, 80px); align-items: start; }
.views__tabs { display: flex; flex-direction: column; }
.vtab { position: relative; display: block; width: 100%; padding: 20px 0 22px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--n2); }
.vtab:last-child { border-bottom: 1px solid var(--line); }
.vtab__n { display: block; font: 600 clamp(1.3rem, 1rem + .9vw, 1.85rem)/1.1 var(--display); letter-spacing: -.022em; color: var(--n3); transition: color .25s; }
.vtab__tags { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.45; }
.vtab__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.vtab__bar b { display: block; height: 100%; width: 100%; background: var(--cy); transform: scaleX(0); transform-origin: 0 50%; }
.vtab.is-on .vtab__n, .vtab:hover .vtab__n { color: #fff; }
.vtab.is-on .vtab__bar b { animation: prog var(--dur, 5.6s) linear forwards; }
.views.is-paused .vtab.is-on .vtab__bar b { animation-play-state: paused; }
.is-static .vtab.is-on .vtab__bar b { animation: none; transform: scaleX(1); }
@keyframes prog { to { transform: scaleX(1); } }
.views__stage { display: grid; }
.view { grid-area: 1 / 1; align-self: start; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.views__stage.is-js .view:not(.is-on) { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; }
.pane--big { max-width: 720px; }
.pane--big .msg { font-size: .98rem; }

.spot { display: grid; grid-template-columns: clamp(260px, 26vw, 380px) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: center; margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(32px, 3vw, 48px); border-top: 1px solid var(--line); }
.spot__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.spot__media img, .spot__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.spot__play { position: absolute; left: 14px; bottom: 14px; z-index: 1; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--cy); color: var(--cy-ink); --node: var(--cy-ink); transition: transform .3s var(--ease); }
.spot__play i { display: grid; place-items: center; }
.spot__play .ic { width: 20px; height: 20px; }
.spot__play:hover { transform: scale(1.06); }
.spot__copy p { margin-top: 8px; color: var(--n2); }

/* ---------- integraciones: un mapa vivo, sin trazas rectas ---------- */
.intg { position: relative; margin-top: clamp(36px, 4vw, 64px); margin-right: calc(-1 * var(--edge-r)); height: clamp(700px, 54vw, 920px); }
.intg__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.il { fill: none; stroke: rgba(15, 52, 96, .2); stroke-width: 1.4; }
.il--glow { stroke: var(--cy); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .07 .93; animation: comet var(--d, 5s) linear infinite; animation-delay: var(--dl, 0s); }
.intg.is-off .il--glow, .intg.is-off .bub, .intg.is-off .intg__dot::after { animation-play-state: paused; }
@keyframes comet { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.idot { fill: var(--cy); }
.intg__core { position: absolute; left: 12%; top: 46%; translate: -50% -50%; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.intg__dot { position: relative; width: clamp(92px, 8vw, 124px); aspect-ratio: 1; border-radius: 28%; box-shadow: 0 30px 60px -24px rgba(7, 12, 22, .65); }
.intg__dot img { width: 100%; height: 100%; border-radius: inherit; }
.intg__dot::before { content: ""; position: absolute; inset: -14px; border-radius: 34%; border: 1px solid rgba(0, 180, 216, .35); }
.intg__dot::after { content: ""; position: absolute; inset: -28px; border-radius: 34%; border: 1px solid rgba(0, 180, 216, .3); animation: halo 3.6s var(--ease-io) infinite; }
@keyframes halo { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.intg__name { font: 600 1.1rem var(--display); letter-spacing: -.02em; color: var(--t); background: var(--day); padding: 2px 8px; margin-left: -8px; border-radius: 6px; }
.cl { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; z-index: 2; width: 250px; }
.cl::before { content: ""; position: absolute; inset: -40px -50px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 180, 216, .12), rgba(0, 180, 216, 0)); }
.cl__b { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.bub { width: 60px; height: 60px; border-radius: 19px; display: grid; place-items: center; background: #fff; box-shadow: 0 14px 28px -16px rgba(15, 52, 96, .55), 0 0 0 1px rgba(15, 52, 96, .07); animation: drift var(--dd, 7s) ease-in-out var(--ddl, 0s) infinite alternate; }
.bub img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.bub .ic-fill { width: 34px; height: 34px; }
.bub--wa .ic-fill { color: #25D366; }
.bub--meta .ic-fill { color: #0866FF; }
.bub--gmail .ic-fill { color: #EA4335; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 2px), var(--dy, -7px)); } }
.cl__t { margin-top: 16px; font: 600 1.08rem/1.2 var(--display); letter-spacing: -.015em; color: var(--t); }
.cl__d { margin-top: 6px; font-size: .92rem; line-height: 1.45; color: var(--t2); max-width: 30ch; }
.cl--banks { width: 300px; }
.cl--banks .cl__b { gap: 8px; }
.cl--banks .bub { width: 46px; height: 46px; border-radius: 14px; }
.cl--banks .bub:nth-child(even) { margin-top: 12px; }
.cl--banks .bub img { width: 28px; height: 28px; border-radius: 6px; }
.cl--banks .bub--ib { width: 62px; height: 62px; border-radius: 18px; }
.cl--banks .bub--ib img { width: 40px; height: 40px; }

/* ---------- seguridad ---------- */
.secu { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 110px); align-items: center; }
.guard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 4.4vw, 64px); }
.guard li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-content: start; }
.guard i { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--cy-12); color: var(--cy-l); border: 1px solid var(--cy-22); --node: var(--cy-l); }
.guard i .ic { width: 22px; height: 22px; }
.guard h3 { font: 600 1.06rem/1.25 var(--display); letter-spacing: -.01em; color: #fff; }
.guard p { font-size: .96rem; line-height: 1.5; color: var(--n2); }
.secu__stage { position: relative; padding: 64px 0 96px clamp(0px, 3vw, 48px); }
.audit__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--n2); }
.audit__live i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.audit__cols, .audit__rows li { display: grid; grid-template-columns: 50px minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.audit__cols { padding: 10px 18px; font-size: .74rem; font-weight: 600; color: var(--n3); border-bottom: 1px solid var(--line); }
.audit__rows { min-height: 330px; }
.audit__rows li { padding: 11px 18px; font-size: .82rem; color: var(--n2); border-bottom: 1px solid rgba(122, 178, 214, .08); }
.audit__rows li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audit__rows .a-t { font-family: var(--num); font-weight: 600; color: var(--n3); }
.audit__rows .a-f b { display: block; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.audit__rows .a-f em { font-style: normal; font-size: .74rem; color: var(--n3); }
.audit__rows .a-o { color: var(--n3); text-decoration: line-through; text-decoration-color: rgba(139, 160, 184, .7); }
.audit__rows .a-n { color: var(--cy-l); font-weight: 600; }
.audit__rows .is-alert .a-f b { color: #FCA5A5; }
.audit__rows .is-new { animation: rowIn .7s var(--ease); background: var(--cy-06); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } }
.otp { position: absolute; left: 0; bottom: 0; z-index: 2; width: 286px; padding: 18px; border-radius: var(--r-card); background: #F7FAFC; color: var(--t); box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .95); }
.otp__k { display: flex; align-items: center; gap: 9px; font: 600 .9rem var(--display); --node: var(--petrol); }
.otp__k .ic { width: 20px; height: 20px; color: var(--navy); }
.otp__cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 14px; }
.otp__cells span { height: 46px; border-radius: 10px; border: 1px solid var(--day-line-2); background: #fff; display: grid; place-items: center; font: 800 1.25rem var(--num); color: var(--t); transition: border-color .2s; }
.otp__cells span.is-on { border-color: var(--cy); outline: 3px solid rgba(0, 180, 216, .2); }
.otp__ok { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: #15803D; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); --node: #15803D; }
.otp__ok .ic { width: 18px; height: 18px; }
.otp.is-ok .otp__ok { opacity: 1; transform: none; }
.tp--card { position: absolute; right: clamp(0px, 2vw, 24px); top: 0; z-index: 2; padding: 9px 20px 9px 9px; border-radius: var(--r-card); background: var(--glass), var(--deep); border-color: var(--line-2); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .95); }
.tp--card .tp__mark { width: 44px; height: 44px; }
.tp--card .tp__mark .ic-fill { width: 27px; height: 27px; }

/* ---------- el impacto ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 5vw, 88px); border-top: 1px solid var(--day-line-2); }
.metric { padding: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 36px) 0 0; }
.metric + .metric { padding-left: clamp(16px, 2vw, 36px); border-left: 1px solid var(--day-line); }
.metric dt { font-size: clamp(3.4rem, 1.8rem + 4.6vw, 7.4rem); font-weight: 800; line-height: .92; letter-spacing: -.035em; color: var(--t); }
.metric:first-child dt { color: var(--petrol); }
.metric dd { margin: 18px 0 0; font-size: 1.02rem; line-height: 1.5; color: var(--t2); max-width: 24ch; }
.metric dd b { color: var(--t); }

/* ---------- planes ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 5vw, 80px); align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--r-frame); background: var(--glass), var(--deep); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.plan::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cy-40), transparent); }
.plan--hi { background: radial-gradient(700px 360px at 100% 0%, rgba(0, 180, 216, .2), transparent 70%), linear-gradient(150deg, rgba(0, 180, 216, .1), rgba(15, 52, 96, .36) 46%, rgba(9, 17, 30, .92)); border-color: var(--line-lit); }
.plan__n { font: 600 1.7rem/1 var(--display); letter-spacing: -.025em; color: #fff; }
.plan__d { margin-top: 10px; color: var(--n2); font-size: 1rem; }
.plan__p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 26px; }
.plan__cur { font: 600 1rem var(--display); color: var(--n2); }
.plan__p b.num { font-size: 4.2rem; font-weight: 800; line-height: .9; letter-spacing: -.03em; color: #fff; }
.plan__per { color: var(--n2); font-size: .95rem; }
.plan__quote { font: 600 3rem/.95 var(--display); letter-spacing: -.035em; color: #fff; }
.plan__bonus { display: inline-flex; padding: 6px 12px; border-radius: 8px; background: var(--cy-12); color: var(--cy-l); font-size: .88rem; font-weight: 600; }
.plan__meta { margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); font-size: .94rem; color: var(--n); }
.plan__meta li { line-height: 1.7; }
.plan__f { margin: 22px 0 32px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan__f--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 28px; }
.plan__f li { position: relative; padding-left: 26px; font-size: .96rem; line-height: 1.45; color: var(--n2); }
.plan__f li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 1.5px solid var(--cy-l); border-bottom: 1.5px solid var(--cy-l); transform: rotate(-45deg); }
.plan__f li.is-note { grid-column: 1 / -1; padding-left: 0; font-size: .88rem; color: var(--n3); }
.plan__f li.is-note::before { display: none; }
.plan .btn { align-self: flex-start; }

/* ---------- la demo: formulario y calendario ---------- */
.demo__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5.6vw, 120px); align-items: start; }
.demo__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.demo__intro .lead { margin-top: 22px; }
.steps { margin-top: clamp(32px, 3.6vw, 52px); display: grid; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--day-line); color: var(--t3); transition: color .3s; }
.steps li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 .9rem var(--num); background: var(--day); color: var(--t3); transition: background-color .3s, color .3s; }
.steps li strong { display: block; font: 600 1.02rem/1.3 var(--display); color: var(--t2); }
.steps li span { font-size: .92rem; line-height: 1.45; }
.steps li.is-on b { background: var(--navy); color: #fff; }
.steps li.is-on strong { color: var(--t); }
.steps li.is-done b { background: var(--cy); color: var(--cy-ink); }
.demo__after { display: flex; gap: 14px; margin-top: 26px; padding: 18px; border-radius: var(--r-card); background: var(--day); font-size: .94rem; line-height: 1.5; color: var(--t2); --node: var(--cy); }
.demo__after .ic { width: 24px; height: 24px; color: var(--navy); margin-top: 1px; }
.demo__card { padding: clamp(22px, 2.6vw, 40px); border-radius: var(--r-frame); background: #fff; border: 1px solid var(--day-line); box-shadow: 0 50px 90px -50px rgba(15, 52, 96, .45); }
.form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--day-line); }
.form__head h3 { font: 600 1.45rem/1.1 var(--display); letter-spacing: -.02em; color: var(--t); outline: 0; }
.form__head span { font-size: .86rem; font-weight: 600; color: var(--t3); white-space: nowrap; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: .92rem; font-weight: 600; color: var(--t); padding: 0; }
.field legend { margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--day-line-2);
  background: #fff; color: var(--t); font: 400 1rem/1.4 var(--sans); outline: 0;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5F6E82; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(15, 52, 96, .36); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cy); outline: 3px solid rgba(0, 180, 216, .28); outline-offset: 0; }
/* Los desplegables, con el formato del sistema (el dueño, 09/11/2026: «los desplegables que pones en la landing deben
   ser del mismo formato que del sistema»): el botón cerrado mide lo que los campos de al lado y la lista es la de
   Corvus (components/ui/SelectField.tsx), redondeada, con su sombra y su resaltado; nunca la del navegador. El
   <select> queda escondido: guarda el valor que se valida y se manda. */
.sel { position: relative; }
.sel__b {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--day-line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer;
  background: #fff; color: var(--t); font: 400 1rem/1.4 var(--sans); outline: 0;
  transition: border-color .2s, background-color .2s;
}
.sel__b > span { min-width: 0; overflow-wrap: anywhere; }
.sel__b[data-vacio] > span { color: #5F6E82; }
.sel__b > svg { flex-shrink: 0; width: 15px; height: 15px; color: var(--t3); }
.sel__b:hover { border-color: rgba(15, 52, 96, .36); }
.sel__b:focus-visible, .sel__b[aria-expanded="true"] { border-color: var(--cy); outline: 3px solid rgba(0, 180, 216, .28); outline-offset: 0; }
.selp-velo { position: fixed; inset: 0; z-index: 3000; }
.selp {
  position: fixed; z-index: 3001; display: flex; flex-direction: column; max-width: calc(100vw - 16px);
  background: #fff; border: 1px solid rgba(15, 52, 96, .12); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  font-family: var(--sans);
}
.selp__q { flex-shrink: 0; padding: 6px 6px 4px; border-bottom: 1px solid rgba(15, 52, 96, .12); }
.selp__q input { width: 100%; height: 32px; padding: 0 10px; border: 1px solid rgba(15, 52, 96, .2); border-radius: 6px; background: #fff; color: #050B12; font: 400 .875rem/1 var(--sans); outline: 0; }
.selp__q input:focus { border-color: var(--cy); }
.selp__l { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.selp__o { display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: #33465A; font: 400 .875rem/1.4 var(--sans); text-align: left; white-space: normal; cursor: pointer; }
.selp__o:hover, .selp__o:focus-visible { background: #F7FAFC; outline: 0; }
.selp__o[aria-selected="true"] { background: #E6F8FC; color: #046A86; font-weight: 600; }
.selp__vacio { padding: 7px 10px; font-size: .875rem; color: #576C84; }
.field__err { display: none; font-size: .86rem; color: #B42318; }
.field.is-err input, .field.is-err select, .field.is-err textarea, .field.is-err .sel__b { border-color: #D92D20; background: #FFFBFA; }
/* Lo que no se pudo mandar o agendar, con qué hacer. */
.form__err { margin-top: 14px; font-size: .92rem; color: #B42318; }
/* El campo que sólo llena un robot: fuera de la vista y del teclado. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.slots__msg { grid-column: 1 / -1; font-size: .94rem; color: var(--t2); }
.btn[aria-busy="true"] { cursor: progress; }
.field.is-err .field__err { display: block; }
.field__foot { display: flex; justify-content: space-between; gap: 12px; }
.field__foot .field__err { flex: 1; }
.count { margin-left: auto; font: 600 .82rem var(--num); color: var(--t3); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: var(--day); border: 1px solid var(--day-line); }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 14px; border-radius: 10px; font-size: .94rem; font-weight: 600; color: var(--t2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--t); box-shadow: 0 4px 12px -6px rgba(15, 52, 96, .4); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--cy); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: block; padding: 10px 15px; border-radius: 11px; border: 1px solid var(--day-line-2); font-size: .94rem; font-weight: 600; color: var(--t2); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: rgba(15, 52, 96, .36); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.field--chips.is-err .chips span { border-color: #F3B3AC; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.form__foot--split { justify-content: space-between; }
.form__note { font-size: .88rem; color: var(--t3); }
.agenda__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--t2); --node: var(--petrol); }
.agenda__meta span { display: inline-flex; align-items: center; gap: 8px; }
.agenda__meta .ic { width: 19px; height: 19px; color: var(--navy); }
.sched { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: 22px; align-items: start; }
.cal { padding: 16px; border-radius: var(--r-card); border: 1px solid var(--day-line); background: #fff; }
.cal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cal__m { font: 600 1.08rem var(--display); letter-spacing: -.01em; color: var(--t); }
.cal__m::first-letter { text-transform: uppercase; }
.cal__nav { display: flex; gap: 6px; margin-left: auto; }
.cal__nav button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--day-line-2); background: #fff; color: var(--t); cursor: pointer; display: grid; place-items: center; --node: currentColor; transition: background-color .2s, border-color .2s; }
.cal__nav button:hover:not(:disabled) { background: var(--day); }
.cal__nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal__nav .ic { width: 17px; height: 17px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { padding: 4px 8px; font-size: .76rem; font-weight: 600; color: var(--t3); }
.cal__grid { margin-top: 2px; }
.cal__d { height: 44px; padding: 7px 8px; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left; font: 700 .95rem/1 var(--num); color: var(--t); cursor: pointer; display: flex; align-items: flex-start; transition: background-color .2s, border-color .2s, color .2s; }
.cal__d.is-free { background: var(--day); border-color: var(--day-line); }
.cal__d.is-free:hover { border-color: var(--cy); }
.cal__d:disabled { color: #8A97A8; cursor: default; font-weight: 600; }
.cal__d.is-today { box-shadow: inset 0 -2px 0 var(--petrol); }
.cal__d[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cal__d.is-out { visibility: hidden; }
.sched__slots .agenda__k { font-size: .92rem; font-weight: 600; color: var(--t); }
.sched__slots .agenda__k span { color: var(--t2); font-weight: 500; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.slot { padding: 11px 12px; border-radius: 11px; border: 1px solid var(--day-line-2); background: #fff; color: var(--t); font: 700 .95rem var(--num); text-align: left; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.slot:hover:not(:disabled) { border-color: var(--cy); }
.slot:disabled { background: var(--day); color: #8A97A8; border-color: transparent; cursor: not-allowed; text-decoration: line-through; }
.slot[aria-checked="true"] { background: var(--cy); border-color: var(--cy); color: var(--cy-ink); }
.done__card { padding: 24px; border-radius: var(--r-card); background: var(--navy); color: var(--n); }
.done__when { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--display); letter-spacing: -.025em; color: #fff; }
.done__when::first-letter { text-transform: uppercase; }
.done__hour { margin-top: 6px; font: 700 1.2rem var(--num); color: var(--cy-l); }
.done__how { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(234, 242, 248, .16); font-size: .94rem; color: var(--n2); --node: var(--cy-l); }
.done__how .ic { width: 19px; height: 19px; color: var(--cy-l); }
.done__mail { display: flex; gap: 12px; margin-top: 20px; font-size: .96rem; line-height: 1.5; color: var(--t2); --node: var(--cy); }
.done__mail .ic { width: 22px; height: 22px; color: var(--navy); margin-top: 1px; }
.done__mail b { color: var(--t); word-break: break-all; }

/* ---------- preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 128px); align-items: start; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
.faq__list article { padding: 26px 0 30px; border-top: 1px solid var(--day-line-2); }
.faq__list h3 { font: 600 1.18rem/1.25 var(--display); letter-spacing: -.015em; color: var(--t); }
.faq__list p { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--t2); }

/* ---------- pie ---------- */
.foot { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(5, 8, 15, .88), #05080F 40%); color: var(--n2); padding: clamp(64px, 7vw, 110px) var(--edge-r) 28px var(--edge); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, max-content); gap: 36px clamp(28px, 3.6vw, 72px); }
.foot__brand { color: var(--n); }
.foot__brand .brand img { width: 40px; height: 40px; border-radius: 11px; }
.foot__brand p { margin: 18px 0 22px; max-width: 40ch; font-size: .96rem; line-height: 1.6; color: var(--n2); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h3 { margin-bottom: 6px; font: 600 .96rem var(--display); color: #fff; }
.foot__col a { font-size: .94rem; text-decoration: none; color: var(--n2); transition: color .2s; }
.foot__col a:hover { color: #fff; }
.foot__word {
  margin: clamp(48px, 5vw, 88px) 0 0 -.05em;
  font: 700 clamp(4.6rem, 1rem + 15.5vw, 19rem)/.8 var(--display); letter-spacing: -.045em; white-space: nowrap; user-select: none;
  color: #0B8DB0;
}
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--n3); }

/* ---------- movimiento ---------- */
.is-motion [data-rv] { opacity: 0; transform: translateY(26px); }

/* ---------- sin movimiento ---------- */
.is-static .story__pin { height: auto; grid-template-columns: 1fr; padding-bottom: var(--sec-pad); }
.is-static .story__beats { min-height: 0; }
.is-static .beat { position: static; opacity: 1; transform: none; margin-bottom: 30px; pointer-events: auto; }
.is-static .story__count, .is-static .story__bar { display: none; }
.is-static .story__stage { height: 640px; }
.is-static .story__ring { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq__track { animation: none; flex-wrap: wrap; width: auto; }
  .mq__group[aria-hidden] { display: none; }
  .mq__group { flex-wrap: wrap; row-gap: 12px; padding-left: var(--edge); }
  .bub, .intg__dot::after, .audit__live i, .caret { animation: none; }
  .il--glow { display: none; }
  .has-sel .ml.is-rel { animation: none; stroke-dasharray: none; }
}

/* ---------- pantallas medianas ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { font-size: .9rem; }
  .story__pin { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.4fr); }
  .sn__d { font-size: .74rem; }
  .mods { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr); }
  .mn { font-size: .8rem; padding-right: 12px; gap: 7px; }
  .mn__ic { width: 28px; height: 28px; }
  .secu { grid-template-columns: 1fr; }
  .secu__stage { max-width: 760px; }
  .foot__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .sched { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta, .nav__login { display: none; }
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: calc(var(--nav-h) + 28px) var(--edge-r) 40px var(--edge); background: var(--canvas-2); color: var(--n);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .nav__links a:not(.btn) { font: 600 1.9rem/1.25 var(--display); letter-spacing: -.025em; opacity: 1; padding: 6px 0; }
  .nav__menu-login { display: block !important; margin-top: 14px; font-size: 1.2rem !important; color: var(--cy-l); }
  .nav__menu-cta { display: inline-flex !important; margin-top: 18px; }
  .menu-open .nav__links { display: flex; opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .menu-open .nav { color: var(--n); background: transparent; box-shadow: none; }
  .menu-open .nav .burger { border-color: var(--line-2); }
  .menu-open { overflow: hidden; }
  .sec__grid, .faq, .demo__grid { grid-template-columns: 1fr; }
  .sticky, .demo__intro { position: static; }
  .sec__head--row { grid-template-columns: 1fr; }
  .views { grid-template-columns: 1fr; }
  .views__tabs { flex-direction: row; flex-wrap: wrap; column-gap: 24px; }
  .vtab { flex: 1 1 200px; border-bottom: 0; }
  .vtab:last-child { border-bottom: 0; }
  .plans { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .metric:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--day-line); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

@media (max-width: 900px) {
  .story__pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding-top: calc(var(--nav-h) + 8px); }
  .story__copy { align-self: start; padding-bottom: 0; max-width: none; }
  .story__beats { min-height: 9.5rem; margin-top: 12px; }
  .beat__t { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.4rem); }
  .beat__s { margin-top: 10px; font-size: .98rem; }
  .story__bar { margin-top: 8px; }
  .mods { grid-template-columns: 1fr; }
  .mods__map { display: none; }
  .mods__chips { display: flex; }
  .mods__panel { position: static; min-height: 0; }
  .intg { height: auto; margin-right: 0; display: flex; flex-direction: column; gap: 44px; padding: 8px 0 8px 70px; }
  .intg__core { position: relative; left: auto; top: auto; translate: none; margin-left: -70px; flex-direction: row; align-items: center; }
  .intg__dot { width: 76px; }
  .cl, .cl--banks { position: relative; left: auto; top: auto; translate: none; width: auto; max-width: 420px; }
  .cl::before { inset: -24px -20px; }
  .dash__row, .inv { grid-template-columns: 1fr; }
  .spot { grid-template-columns: 1fr; }
  .spot__media { max-width: 420px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .btn { --h: 52px; padding-left: 22px; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__side { grid-template-columns: 1fr; }
  .hero__side .pane--chat { transform: none; }
  .hero__shot { margin-top: 36px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 12px; }
  .bars { height: 110px; }
  .inv__meta { grid-template-columns: 1fr 1fr; }
  .rec__h { display: none; }
  .rec__row { grid-template-columns: 1fr 32px; }
  .rec__r { grid-column: 1 / -1; }
  .mq li { font-size: .95rem; }
  .pair, .pairs__cols { grid-template-columns: 1fr; }
  .pairs__cols { display: none; }
  .pair { gap: 18px; padding: 26px 0; }
  .pair::after { position: static; display: block; transform: rotate(135deg); margin: -6px 0 -2px 6px; }
  .pair__b { order: 3; }
  .sn--area { gap: 8px; padding: 6px 11px 6px 6px; border-radius: 12px; }
  .sn--area .sn__ic { width: 28px; height: 28px; border-radius: 8px; }
  .sn--area .sn__ic .ic { width: 16px; height: 16px; }
  .sn--area .sn__t { font-size: .78rem; }
  .sn__d, .sn--sat, .sn--ring, .sale__items, .sale__who, .sale-ghost { display: none; }
  .sale { width: 178px; padding: 11px 12px; }
  .sale__tot div:not(.is-total) { display: none; }
  .sale__head { flex-direction: column; align-items: flex-start; gap: 5px; }
  .sale__k, .sale__no { white-space: nowrap; }
  .doc { font-size: .7rem; padding: 6px 9px; }
  .guard { grid-template-columns: 1fr; }
  .secu__stage { padding: 0 0 210px; }
  .audit__cols { display: none; }
  .audit__rows { min-height: 0; }
  .audit__rows li { grid-template-columns: 46px 1fr 1fr; gap: 4px 10px; }
  .audit__rows .a-t { grid-row: span 2; align-self: start; }
  .audit__rows .a-f { grid-column: 2 / -1; }
  .otp { left: 12px; width: calc(100% - 24px); max-width: 300px; }
  .tp--card { position: relative; right: auto; top: auto; margin-bottom: 18px; }
  .metrics { grid-template-columns: 1fr; }
  .metric, .metric + .metric { padding-left: 0; border-left: 0; }
  .metric + .metric { margin-top: 26px; border-top: 1px solid var(--day-line); }
  .plan__f--2 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
  .form__foot--split { flex-direction: column-reverse; align-items: stretch; }
  .cal__d { height: 40px; padding: 6px; font-size: .88rem; }
  .faq__list { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .intg { padding-left: 54px; }
  .intg__core { margin-left: -54px; }
  .cl--banks .bub { width: 40px; height: 40px; border-radius: 12px; }
  .cl--banks .bub img { width: 24px; height: 24px; }
}

/* Los tableros de ejemplo crecen la primera vez que se ven. */
.is-motion .bars i { transform: scaleY(.06); transition: transform 1s var(--ease); }
.is-motion .bars span:nth-child(2) i { transition-delay: .06s; }
.is-motion .bars span:nth-child(3) i { transition-delay: .12s; }
.is-motion .bars span:nth-child(4) i { transition-delay: .18s; }
.is-motion .bars span:nth-child(5) i { transition-delay: .24s; }
.is-motion .bars span:nth-child(6) i { transition-delay: .3s; }
.is-motion .is-grown .bars i { transform: none; }
.is-motion .rank li i { background-size: 0% 100%; transition: background-size 1.1s var(--ease) .2s; }
.is-motion .is-grown .rank li i { background-size: calc(var(--w) * 1%) 100%; }
