/* =============================================================================
   Agora Digital App · Landing 3.0 — hoja de estilos
   Fusión: lenguaje visual de la versión publicada (bordes finos, radios
   generosos, cuadrícula y foco de luz, bento, banda oscura de precios) +
   micro-interacciones de la v4 (botones con labio, resortes, revelado
   elástico, contadores, validación con ✓, confeti).
   Marca intacta: vino #AD103C · azul #282E49 · oro #FABD4B · Author.
   Índice: 1 tokens · 2 base · 3 componentes · 4 cabecera · 5 hero y vitrina ·
   6 prueba social · 7 problema · 8 módulos · 9 integraciones · 10 Athena ·
   11 precios · 12 confianza · 13 diagnóstico · 14 cierre y pie · 15 flotantes ·
   16 capturas (mockups) · 17 movimiento · 18 responsive · 19 tema oscuro
   ============================================================================= */

/* 1 · TOKENS ------------------------------------------------------------------ */
@font-face { font-family: "Author"; src: url("../assets/fonts/Author-Variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* Marca */
  --vino: #AD103C; --vino-600: #BC1444; --vino-lip: #7D0B2B; --vino-50: #F9E6EB;
  --azul: #282E49; --azul-50: #EEF0F7;
  --oro: #FABD4B; --oro-lip: #D79B2C; --oro-50: #FFF6E3;
  /* Superficies y texto (versión publicada) */
  --bg: #F6F4F1; --card: #FFFFFF; --fg: #1D2136; --muted: #5D6275; --muted-2: #6E7287;
  --border: #E6E2DC; --border-2: #D8D2C9; --mist: #EFECE7; --field: #FBFAF8;
  --soft: var(--vino-50); --soft-fg: var(--vino); --ring: rgba(173, 16, 60, .28);
  /* Retroalimentación */
  --ok: #1E7A45; --ok-fill: #2F9E57; --ok-lip: #1F6B3B; --ok-50: #E7F5EC; --mal: #C2362F; --mal-50: #FDECEA; --wa: #1E8A4C;
  /* Forma y profundidad */
  --r-sm: 10px; --r: 14px; --r-card: 18px; --r-lg: 22px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(20, 20, 40, .04), 0 8px 24px -12px rgba(20, 20, 40, .14);
  --shadow-lg: 0 2px 4px rgba(20, 20, 40, .04), 0 24px 60px -24px rgba(20, 20, 40, .28);
  --glow: 0 -24px 70px -34px rgba(173, 16, 60, .45);
  /* Movimiento */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --lip: 3px;
  /* Ritmo */
  --gut: 16px;
  --container: min(1160px, 100% - 2 * var(--gut));
  --container-wide: min(1240px, 100% - 2 * var(--gut));
  --sec: clamp(64px, 3rem + 4vw, 104px);
  --header-h: 68px;
  /* Alias para las capturas heredadas de la v4 */
  --font: "Author", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t: .2s; --t-fast: .14s; --shadow-pop: 0 18px 40px -18px rgba(29, 33, 54, .35);
  --white: var(--card); --canvas: var(--bg); --ink: var(--fg); --ink-2: var(--muted); --ink-3: var(--muted-2); --line: var(--border); --line-2: var(--border-2);
  color-scheme: light;
}

/* 2 · BASE -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1rem/1.55 "Author", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, ul, ol, figure, fieldset, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03em; text-wrap: balance; line-height: 1.1; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--vino); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--oro); color: #111; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-pill); background: var(--azul); color: #fff; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.container { width: var(--container); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }
.section { padding-top: var(--sec); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.cap { margin-top: 12px; font-size: .8125rem; color: var(--muted-2); text-align: center; }

.eyebrow { display: block; margin-bottom: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vino); }
.eyebrow--center { text-align: center; }
.eyebrow--gold { color: var(--oro); }
.eyebrow--rose { color: #FF8FAE; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); line-height: 1.07; letter-spacing: -.032em; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.15rem); line-height: 1.55; color: var(--muted); max-width: 34rem; }
.lead--dark { color: rgba(255, 255, 255, .84); }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 0; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .h2 { max-width: 20ch; }

/* 3 · COMPONENTES ------------------------------------------------------------- */
/* Botón píldora con labio sólido que se hunde al presionar */
.btn { --lip-c: rgba(29, 33, 54, .18); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .7rem 1.25rem; border: 0; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap; box-shadow: 0 var(--lip) 0 var(--lip-c); transition: transform .18s var(--spring), box-shadow .18s var(--ease), background-color .25s, color .25s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 calc(var(--lip) + 1px) 0 var(--lip-c); }
.btn:active { transform: translateY(var(--lip)); box-shadow: 0 0 0 var(--lip-c); transition-duration: .06s; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; transition: transform .35s var(--spring); }
.btn-ico svg { width: 15px; height: 15px; }
.btn:hover .btn-ico { transform: translateX(3px) rotate(-8deg); }
.btn:has(.btn-ico) { padding-right: .4rem; }
.btn-lead { width: 18px; height: 18px; }
.btn-gold { --lip-c: var(--oro-lip); background: var(--oro); color: #1D2136; }
.btn-gold:hover { background: #FFC560; }
.btn-gold .btn-ico { background: var(--vino); color: #fff; }
.btn-vino { --lip-c: var(--vino-lip); background: var(--vino); color: #fff; }
.btn-vino:hover { background: var(--vino-600); }
.btn-vino .btn-ico { background: #fff; color: var(--vino); }
.btn-ghost { --lip-c: rgba(173, 16, 60, .16); background: var(--soft); color: var(--soft-fg); }
.btn-ghost:hover { background: #F5D9E1; }
.btn-line { --lip-c: var(--border-2); background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--border-2), 0 var(--lip) 0 var(--lip-c); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--muted-2), 0 calc(var(--lip) + 1px) 0 var(--lip-c); }
.btn-line:active { box-shadow: inset 0 0 0 1.5px var(--muted-2), 0 0 0 var(--lip-c); }
.btn-line-dark { --lip-c: rgba(0, 0, 0, .35); background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #3A4070, 0 var(--lip) 0 var(--lip-c); }
.btn-line-dark:hover { background: #262C55; }
.btn-on-dark { --lip-c: rgba(0, 0, 0, .3); background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), 0 var(--lip) 0 var(--lip-c); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 38px; padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.4rem; font-size: 1rem; }
.btn-lg .btn-ico { width: 38px; height: 38px; }
.btn-block { width: 100%; }
.btn-block:has(.btn-ico) { justify-content: space-between; padding-left: 1.4rem; }
.link-btn { background: none; border: 0; font-weight: 600; font-size: .9rem; cursor: pointer; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; transition: transform .4s var(--spring), background-color .2s; }
.icon-btn:hover { transform: rotate(-12deg) scale(1.05); }
.lang-btn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--card); color: var(--fg); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; transition: border-color .2s, color .2s; }
.lang-btn:hover { border-color: var(--vino); color: var(--vino); }
.m-lang { font-weight: 700; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#theme-btn .i-moon { display: none; }
[data-theme="dark"] #theme-btn .i-sun { display: none; }
[data-theme="dark"] #theme-btn .i-moon { display: block; fill: currentColor; stroke: none; }
.chev { width: 14px; height: 14px; transition: transform .3s var(--spring); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem .35rem .4rem; border: 1px solid var(--border); background: var(--card); border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; color: var(--fg); transition: border-color .25s, transform .4s var(--spring); }
.badge:hover { border-color: var(--border-2); transform: translateY(-1px); }
.badge-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--oro); color: var(--vino); }
.badge-dot svg { width: 12px; height: 12px; }
.badge-arrow { width: 13px; height: 13px; color: var(--muted); transition: transform .3s var(--spring); }
.badge:hover .badge-arrow { transform: translateX(3px); }

.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .875rem; color: var(--muted); }
.checks li, .ticks li, .pr-perks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg, .pr-perks svg { width: 17px; height: 17px; padding: 3px; border-radius: 50%; background: var(--ok-fill); color: #fff; flex: none; }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--vino); color: #fff; flex: none; box-shadow: 0 2px 0 var(--vino-lip); }

/* Capturas en marco de navegador */
.browser { overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--glow), var(--shadow-lg); }
.browser--flat { border-radius: var(--r); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--card); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; color: var(--muted); background: var(--bg); padding: .25rem .8rem; border-radius: 8px; transition: opacity .3s; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-fill); animation: live 1.8s infinite; }

/* Control segmentado con indicador elástico */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--mist); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 9px; background: var(--card); box-shadow: 0 1px 2px rgba(20, 20, 40, .08), 0 2px 0 var(--border); transition: transform .45s var(--spring), width .45s var(--spring); pointer-events: none; }
.seg-btn { position: relative; z-index: 1; border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: .84rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .2s; }
.seg-btn.is-on { color: var(--fg); }
.seg:not(.has-ind) .seg-btn.is-on { background: var(--card); }

/* Íconos de canal */
.ch { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; flex: none; }
.ch svg { width: 17px; height: 17px; }
.ch-wa { background: var(--wa); } .ch-ig { background: #C13584; } .ch-fb { background: #1877F2; } .ch-in { background: #0A66C2; } .ch-tt { background: #111; } .ch-web { background: var(--azul); } .ch-mail { background: #6E7287; }

/* Isla oscura con el símbolo como marca de agua */
.island { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--azul); color: #fff; }
.island--vino { background: var(--vino); }
.island-mark { position: absolute; left: -9%; bottom: -34%; width: clamp(360px, 46vw, 720px); opacity: .06; pointer-events: none; }

/* Callout */
.callout { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin: 22px auto 0; padding: 16px 20px; border-radius: var(--r); background: rgba(250, 189, 75, .1); border: 1px solid rgba(250, 189, 75, .35); color: #F1F0F4; }
.callout-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--oro); color: var(--vino); flex: none; box-shadow: 0 2px 0 var(--oro-lip); }
.callout-ico svg { width: 14px; height: 14px; }
.callout p { padding-top: 3px; }
.callout a { color: var(--oro); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 4 · CABECERA ---------------------------------------------------------------- */
.nav-wrap { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.nav-wrap.is-scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-color: var(--border); box-shadow: 0 1px 0 rgba(20, 20, 40, .02), 0 6px 18px -14px rgba(20, 20, 40, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: block; border-radius: 8px; flex: none; }
.brand-logo { height: 30px; width: auto; transition: transform .45s var(--spring); }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.04); }
.nav-links { display: flex; align-items: center; gap: .15rem; font-size: .92rem; }
.nav-link, .dd-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .75rem; border: 0; border-radius: var(--r-sm); background: none; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s; }
.nav-link:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { color: var(--fg); background: var(--mist); }
.nav-link.is-current { color: var(--vino); }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.login-dd .dd-btn { color: var(--fg); font-weight: 600; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; min-width: 300px; padding: 6px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .22s var(--ease), transform .35s var(--spring), visibility 0s .22s; }
.dd-right { left: auto; right: 0; transform-origin: top right; }
.dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .35s var(--spring), visibility 0s; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: .6rem .7rem; border-radius: var(--r-sm); transition: background-color .2s; }
.dd-menu a:hover { background: var(--bg); }
.dd-menu b { display: block; font-size: .9rem; } .dd-menu small { display: block; font-size: .78rem; color: var(--muted); }
.dd-title { font-size: .75rem; color: var(--muted); padding: .4rem .7rem; }
.dd-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; overflow: hidden; transition: transform .4s var(--spring); }
.dd-menu a:hover .dd-ico { transform: rotate(-8deg) scale(1.06); }
.dd-ico svg { width: 17px; height: 17px; }
.dd-ico img { width: 100%; height: 100%; object-fit: cover; }
.dd-ico--vino { background: var(--vino-50); color: var(--vino); } .dd-ico--azul { background: var(--azul); } .dd-ico--oro { background: var(--oro-50); color: #9A6B07; } .dd-ico--ok { background: var(--ok-50); color: var(--ok); }
.menu-btn { display: none; }
.menu-btn svg { stroke: none; fill: none; }
.m-menu { border-top: 1px solid var(--border); background: var(--bg); animation: drop-in .35s var(--spring) both; }
.m-menu[hidden] { display: none; }
.m-menu-in { display: grid; gap: 2px; padding: 10px 0 18px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.m-menu a:not(.btn) { padding: .75rem .4rem; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
.m-menu-h { margin-top: 12px; padding: 0 .4rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-menu .btn { margin-top: 14px; }

/* 5 · HERO Y VITRINA ---------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 56px); text-align: center; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 62% 48% at 50% 26%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 62% 48% at 50% 26%, #000 30%, transparent 75%); opacity: .6; pointer-events: none; }
.spotlight { position: absolute; left: 50%; top: -280px; width: min(980px, 140vw); height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(173, 16, 60, .13), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; justify-items: center; }
.marks { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.6vw, 14px); margin-bottom: 24px; }
.mark { display: grid; place-items: center; width: clamp(36px, 8.4vw, 46px); aspect-ratio: 1; border-radius: 50%; background: var(--card); border: 1.5px solid currentColor; box-shadow: 0 3px 0 var(--border); }
.mark svg { width: 48%; height: 48%; }
.mark--wa { color: #25A244; } .mark--ig { color: #D62976; } .mark--fb { color: #1877F2; } .mark--in { color: #0A66C2; } .mark--tt { color: var(--fg); } .mark--web { color: var(--muted); }
.mark--athena { width: clamp(52px, 12vw, 64px); border: 3px solid var(--vino); background: var(--azul); overflow: hidden; box-shadow: 0 4px 0 var(--vino-lip); }
.mark--athena img { width: 100%; height: 100%; object-fit: cover; }
.hero-title { position: relative; margin: 22px auto 18px; font-size: clamp(2.45rem, 1.2rem + 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.038em; max-width: 13.5ch; }
.pill-word { display: inline-block; padding: 0 .32em .06em; margin-inline: .02em; border-radius: var(--r-pill); background: var(--oro); color: #1D2136; box-shadow: 0 .075em 0 var(--oro-lip); rotate: -2deg; }
.spark { position: absolute; width: var(--sz); height: var(--sz); pointer-events: none; }
.spark--1 { --sz: clamp(16px, 2.4vw, 26px); right: -5%; top: 22%; color: var(--oro); }
.spark--2 { --sz: clamp(12px, 1.8vw, 20px); left: -6%; top: 62%; color: var(--vino); }
.hero-sub { max-width: 36rem; margin: 0 auto; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--muted); }
.hero-sub b { color: var(--fg); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 18px; }
.cta-row--left { justify-content: flex-start; margin-bottom: 0; }
.have-account { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.have-account a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.have-account a:hover { text-decoration-color: var(--vino); }

.showcase-wrap { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.showcase { position: relative; }
.sc-tabs { position: relative; display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; background: var(--card); }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; flex: none; padding: .45rem .8rem; border: 1px solid transparent; border-radius: var(--r-sm); background: none; font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; overflow: hidden; transition: color .2s, background-color .25s, border-color .25s; }
.sc-tab svg { width: 15px; height: 15px; }
.sc-tab:hover { color: var(--fg); }
.sc-tab.is-on { color: var(--fg); background: var(--bg); border-color: var(--border); }
.sc-prog { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--vino); transform: scaleX(0); transform-origin: left; opacity: 0; }
.sc-tabs.is-auto .sc-tab.is-on .sc-prog { opacity: 1; animation: sc-prog var(--sc-dur, 6s) linear forwards; }
.sc-tabs.is-paused .sc-tab.is-on .sc-prog { animation-play-state: paused; }
@keyframes sc-prog { to { transform: scaleX(1); } }
.sc-stage { position: relative; height: var(--sc-h, 640px); background: #F3F4F7; overflow: hidden; }
.sc-panel { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.sc-panel[hidden] { display: none; }
.sc-panel.is-on { animation: sc-in .55s var(--ease) both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.sc-panel--flow { place-items: stretch; background: var(--bg); }
.sc-panel--flow > * { height: 100%; }
.swipe-hint { display: none; }

/* 6 · PRUEBA SOCIAL ----------------------------------------------------------- */
.proof { padding-top: clamp(40px, 6vw, 64px); }
.marquee { position: relative; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 72px); width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.client { display: grid; place-items: center; height: 72px; min-width: 120px; padding: 6px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; transition: background-color .3s; }
.client img { max-height: 60px; max-width: 170px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .55; mix-blend-mode: multiply; transition: opacity .3s, filter .3s, transform .45s var(--spring); }
.client .word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--muted); opacity: .8; white-space: nowrap; transition: color .3s, opacity .3s, transform .45s var(--spring); }
.client:hover img, .client:focus-visible img, .client.is-on img { filter: none; opacity: 1; transform: scale(1.07); }
.client:hover .word, .client:focus-visible .word, .client.is-on .word { color: var(--vino); opacity: 1; transform: scale(1.05); }
.client-tip { position: fixed; z-index: 120; width: min(290px, calc(100vw - 24px)); padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: .86rem; pointer-events: none; animation: tip-in .3s var(--spring) both; }
.client-tip[hidden] { display: none; }
.client-tip b { display: block; font-size: .95rem; }
.client-tip .h { color: var(--muted); font-size: .76rem; }
.client-tip p { margin-top: 6px; color: var(--muted); }
.client-tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -7px; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* 7 · PROBLEMA ---------------------------------------------------------------- */
.problem { padding-top: clamp(40px, 6vw, 64px); }
.problem .island { padding: clamp(32px, 5.5vw, 72px) clamp(20px, 5vw, 64px); }
.problem-grid { position: relative; display: grid; gap: 28px; margin-bottom: clamp(28px, 4vw, 48px); }
.problem-head { display: grid; gap: 14px; align-content: start; }
.problem .h2 { max-width: 15ch; color: #fff; }
.problem :focus-visible { outline-color: var(--oro); }
.story { display: grid; gap: 12px; justify-items: start; }
.bub { max-width: 92%; padding: 13px 20px; border-radius: 20px; font-size: clamp(1.02rem, .92rem + .5vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.bub--in { background: var(--vino); color: #fff; border-bottom-left-radius: 6px; }
.bub--out { justify-self: end; background: #fff; color: var(--azul); border-bottom-right-radius: 6px; }
.bub--bold { font-weight: 800; }
.bub--gold { background: var(--oro); color: #1D2136; font-size: clamp(.9rem, .85rem + .25vw, 1.05rem); font-weight: 700; padding: 11px 20px; border-radius: var(--r-pill); box-shadow: 0 3px 0 var(--oro-lip); }
.pain-grid { position: relative; display: grid; gap: 14px; }
.pain { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-card); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); transition: transform .5s var(--spring), background-color .3s; }
.pain:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.pain-k { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .84); }
.pain-n { font-size: clamp(3.2rem, 2.3rem + 3.6vw, 5rem); font-weight: 800; line-height: .95; letter-spacing: -.05em; color: var(--oro); font-variant-numeric: tabular-nums; }
.pain-n .count { display: inline-block; }
.pain-n > span + span { margin-left: .12em; font-size: .36em; letter-spacing: -.01em; }
.pain-d { color: rgba(255, 255, 255, .92); }
.source { position: relative; margin-top: 24px; font-size: .8125rem; color: rgba(255, 255, 255, .8); }
.source a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.source a:hover { color: var(--oro); }

/* 8 · MÓDULOS (bento) --------------------------------------------------------- */
.ba-switch { position: relative; display: inline-flex; gap: 2px; margin-top: 18px; padding: 4px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--border); }
.ba-switch button { position: relative; z-index: 1; border: 0; background: none; padding: .45rem 1rem; border-radius: var(--r-pill); font-size: .86rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .25s; }
.ba-switch button[aria-pressed="true"] { color: #fff; }
.ba-switch .seg-ind { top: 4px; bottom: 4px; border-radius: var(--r-pill); box-shadow: none; background: var(--ok-fill); }
.ba-switch[data-mode="antes"] .seg-ind { background: var(--vino); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--border); transition: transform .5s var(--spring), border-color .3s; }
.b-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(173, 16, 60, .08), transparent 40%); pointer-events: none; }
.b-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--vino) 35%, var(--border)); }
.b-span2 { grid-column: span 2; } .b-span3 { grid-column: span 3; }
.num { font-size: .75rem; font-weight: 800; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.b-card h3 { font-size: 1.28rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.b-card > .muted { font-size: .95rem; }
.ch-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ch-row .ch { transition: transform .45s var(--spring); }
.b-card:hover .ch-row .ch { transform: translateY(-3px); }
.b-card:hover .ch-row .ch:nth-child(2n) { transform: translateY(-3px) rotate(-6deg); }
.ba { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; font-size: .9rem; }
.ba p { position: relative; padding: .7rem .85rem; border-radius: 12px; transition: opacity .45s var(--ease), transform .5s var(--spring), background-color .45s, box-shadow .45s; }
.ba b { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.ba-a { background: var(--bg); color: var(--muted); }
.ba-a b { color: var(--muted-2); }
.ba-d { background: color-mix(in srgb, var(--ok-fill) 11%, var(--card)); color: var(--fg); }
.ba-d b { color: var(--ok); }
.b-span2 .ba { grid-template-columns: 1fr 1fr; }
[data-mode="despues"] .ba-a { opacity: .55; }
[data-mode="despues"] .ba-d { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ok-fill) 45%, transparent); transform: translateY(-1px); }
[data-mode="antes"] .ba-a { background: var(--mal-50); color: #7A2420; box-shadow: inset 0 0 0 1.5px rgba(194, 54, 47, .35); }
[data-mode="antes"] .ba-a b { color: var(--mal); }
[data-mode="antes"] .ba-d { opacity: .45; }
.stamp { position: absolute; right: 10px; top: 50%; padding: 3px 10px; border: 2px solid var(--ok-fill); border-radius: 8px; color: var(--ok); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; translate: 0 -50%; rotate: -8deg; opacity: 0; scale: 1.6; transition: opacity .2s, scale .5s var(--spring); }
[data-mode="despues"] .is-seen .stamp { opacity: 1; scale: 1; }
.chat-mini { display: grid; gap: 7px; margin-top: auto; padding-top: 10px; font-size: .84rem; }
.chat-mini .t { font-size: .7rem; color: var(--muted); text-align: center; }
.chat-mini p { padding: .5rem .75rem; border-radius: 14px; max-width: 86%; }
.chat-mini .in { background: var(--bg); border-bottom-left-radius: 4px; }
.chat-mini .out { justify-self: end; background: var(--vino); color: #fff; border-bottom-right-radius: 4px; }
.chat-mini .ok { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ok-50); color: var(--ok); font-size: .74rem; font-weight: 800; }
.chat-mini .ok svg { width: 13px; height: 13px; }
.chat-mini.is-armed > * { opacity: 0; transform: translateY(8px) scale(.9); }
.chat-mini.is-armed > .is-in { opacity: 1; transform: none; transition: opacity .3s, transform .5s var(--spring); }
.b-finance { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.fin-copy { display: grid; gap: 10px; justify-items: start; }
.fin-copy .muted { font-size: .95rem; }
.fin-list { display: grid; gap: 10px; margin: 6px 0 10px; font-size: .9rem; color: var(--muted); }
.fin-list li { display: flex; gap: 10px; }
.fin-list b { color: var(--fg); }
.fin-list svg { width: 18px; height: 18px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--ok-fill); color: #fff; flex: none; }
.fin-shot { display: grid; gap: 12px; justify-items: center; min-width: 0; }
.fin-shot .browser { width: 100%; }
.fin-panels { display: grid; }
.fin-img { grid-area: 1 / 1; width: 100%; opacity: 0; transform: scale(.985); transition: opacity .45s var(--ease), transform .6s var(--spring); }
.fin-img.is-on { opacity: 1; transform: none; }
.fin-shot .cap { margin-top: 0; }

/* 9 · INTEGRACIONES ----------------------------------------------------------- */
.integ { padding-top: clamp(48px, 6vw, 72px); }
.integ-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.integ-head .muted { font-size: .95rem; }
.integ-head .muted b { color: var(--fg); }
.ix-marquee { display: grid; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ix-row { display: flex; gap: 12px; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.ix-row--rev { animation-direction: reverse; }
.ix-marquee:hover .ix-row { animation-play-state: paused; }
.ixm { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; white-space: nowrap; transition: transform .45s var(--spring), border-color .25s; }
.ixm:hover { transform: translateY(-3px); border-color: var(--border-2); }
.ixm img { width: 32px; height: 32px; border-radius: 9px; background: #fff; }

/* 10 · ATHENA ----------------------------------------------------------------- */
.athena-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.athena-copy .h2 { margin-bottom: 14px; }
.athena-chat { position: relative; display: grid; gap: 8px; margin: 22px 0 14px; align-content: start; }
.athena-chat p.is-wait { opacity: 0; animation: none; }
.athena-chat p.is-typing { position: absolute; left: 0; top: var(--ty, 0); }
.athena-chat p { justify-self: start; max-width: 30rem; padding: .7rem 1rem; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid var(--border); font-size: .95rem; animation: bubble-in .45s var(--spring) both; transform-origin: bottom left; }
.athena-chat p.is-typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.athena-chat p.is-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.athena-chat p.is-typing i:nth-child(2) { animation-delay: .15s; } .athena-chat p.is-typing i:nth-child(3) { animation-delay: .3s; }
.athena-note { display: flex; gap: 10px; align-items: flex-start; max-width: 32rem; margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.athena-note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--vino); flex: none; }

/* 11 · PRECIOS (banda oscura en ambos temas) ---------------------------------- */
.pricing { margin-top: var(--sec); padding-block: var(--sec); background: #14172E; color: #F1F0F4; --card: #1B1F3A; --border: #2C3156; --border-2: #3A4070; --muted: #A9ADC0; --bg: #14172E; }
.pricing .h2 { color: #fff; }
.billing { position: relative; display: flex; width: max-content; margin-top: 22px; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-pill); }
.billing button { position: relative; z-index: 1; border: 0; background: none; padding: .5rem 1.1rem; border-radius: var(--r-pill); cursor: pointer; font-size: .87rem; font-weight: 700; color: var(--muted); transition: color .25s; }
.billing button[aria-pressed="true"] { color: #14172E; }
.billing button span { margin-left: 4px; font-size: .72rem; color: #4BC27D; transition: color .25s; }
.billing button[aria-pressed="true"] span { color: var(--ok); }
.billing .seg-ind { top: 4px; bottom: 4px; border-radius: var(--r-pill); background: #fff; box-shadow: none; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--border); transition: transform .5s var(--spring), border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.plan--rec { background: #262C55; border-color: var(--oro); transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(250, 189, 75, .25), 0 24px 60px -30px rgba(250, 189, 75, .5); }
.plan--rec:hover { transform: translateY(-14px); }
.plan-badge { position: absolute; top: -13px; left: 22px; padding: .25rem .75rem; border-radius: var(--r-pill); background: var(--oro); color: #1D2136; font-size: .72rem; font-weight: 800; box-shadow: 0 3px 0 var(--oro-lip); }
.tier { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FF8FAE; }
.plan--rec .tier { color: var(--oro); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 2px; font-weight: 700; }
.price .cur { font-size: .9rem; color: var(--muted); }
.price b { font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price [data-per] { color: var(--muted); font-weight: 500; font-size: .9rem; }
.plan-save { min-height: 1.3em; font-size: .78rem; font-weight: 700; color: #4BC27D; }
.plan h3 { margin-top: 8px; font-size: 1.08rem; letter-spacing: -.015em; }
.plan-who { margin-top: 2px; font-size: .88rem; color: var(--muted); }
.plan-l { flex: 1; display: grid; align-content: start; gap: 10px; margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .9rem; }
.plan-l li { position: relative; padding-left: 24px; }
.plan-l li::before { content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px; border-radius: 50%; background: rgba(173, 16, 60, .32); }
.plan-l li::after { content: ""; position: absolute; left: 5px; top: calc(.28em + 4.5px); width: 6px; height: 3.5px; border-left: 2px solid #FF8FAE; border-bottom: 2px solid #FF8FAE; transform: rotate(-45deg); }
.plan--rec .plan-l li::before { background: rgba(250, 189, 75, .25); }
.plan--rec .plan-l li::after { border-color: var(--oro); }
.pr-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; font-size: .9rem; color: #D7D8E2; }
.rail-dots { display: none; justify-content: center; gap: 6px; margin-top: 2px; }
.rail-dots i { width: 6px; height: 6px; border-radius: var(--r-pill); background: #3A4070; transition: width .4s var(--spring), background-color .3s; }
.rail-dots i.is-on { width: 20px; background: var(--oro); }
.fine { margin-top: 14px; text-align: center; font-size: .85rem; color: var(--muted); }
.fine b { color: #fff; }

/* 12 · CONFIANZA -------------------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.t-card { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--border); transition: transform .5s var(--spring), border-color .3s; }
.t-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.t-card h3 { font-size: 1.05rem; letter-spacing: -.015em; }
.t-card p { font-size: .9rem; color: var(--muted); }
.t-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; }
.t-ico svg { width: 21px; height: 21px; }
.t-card:hover .t-ico { animation: wiggle .6s var(--spring); }
.t-ico--ok { background: var(--ok-50); color: var(--ok); } .t-ico--vino { background: var(--vino-50); color: var(--vino); } .t-ico--azul { background: var(--azul-50); color: var(--azul); } .t-ico--oro { background: var(--oro-50); color: #9A6B07; }

/* 13 · DIAGNÓSTICO ------------------------------------------------------------ */
.diag-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.diag-copy { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 14px; align-content: start; }
.diag-copy .eyebrow { margin-bottom: 0; }
.wa-direct { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); transition: transform .45s var(--spring), border-color .3s; }
.wa-direct:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--wa) 45%, var(--border)); }
.wa-direct b { display: block; font-size: .95rem; } .wa-direct small { color: var(--muted); font-size: .84rem; }
.wa-arrow { width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .3s var(--spring); }
.wa-direct:hover .wa-arrow { transform: translateX(4px); }
.form-card { position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form-head { display: grid; gap: 6px; }
.form-badge { justify-self: start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--oro); color: #1D2136; font-size: .74rem; font-weight: 800; box-shadow: 0 2px 0 var(--oro-lip); }
.form-title { font-size: 1.4rem; letter-spacing: -.02em; }
.form-sub { font-size: .92rem; color: var(--muted); }
.progress { display: grid; gap: 6px; }
.progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.progress-top b { color: var(--fg); font-variant-numeric: tabular-nums; }
.progress-bar { height: 12px; border-radius: var(--r-pill); background: var(--mist); overflow: hidden; }
.progress-fill { position: relative; height: 100%; width: var(--p, 20%); min-width: 12px; border-radius: inherit; background: var(--oro); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1); transition: width .7s var(--spring), background-color .3s; }
.progress-fill::after { content: ""; position: absolute; left: 6px; right: 6px; top: 2.5px; height: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .5); }
.progress.is-done .progress-fill { background: var(--ok-fill); }
.progress.is-done .progress-top span { color: var(--ok); }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: grid; gap: 6px; min-width: 0; }
.field > span, .chips legend { font-size: .8rem; font-weight: 700; color: var(--fg); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: 12px; border: 1.5px solid var(--border); background: var(--field); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235D6275' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A9EAE; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--vino); background: var(--card); box-shadow: 0 0 0 4px var(--ring); }
.field [aria-invalid="true"] { border-color: var(--mal); background: var(--mal-50); }
.field.is-ok input, .field.is-ok select { border-color: var(--ok-fill); padding-right: 2.6rem; }
.field-ok { position: absolute; right: 12px; bottom: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-fill); color: #fff; box-shadow: 0 2px 0 var(--ok-lip); transform: scale(0); pointer-events: none; }
.field-ok--select { right: 34px; }
.field-ok svg { width: 12px; height: 12px; }
.field.is-ok .field-ok { transform: scale(1); transition: transform .45s var(--spring); }
.field:has(.field-msg:not(:empty)) .field-ok { bottom: auto; top: 37px; }
.field-msg { font-size: .78rem; font-weight: 600; color: var(--mal); }
.field-msg:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { width: 100%; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; z-index: 1; opacity: 0; margin: 0; cursor: pointer; }
.chip input:disabled { cursor: not-allowed; }
.chip span { display: inline-block; padding: .55rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--card); font-size: .87rem; font-weight: 700; box-shadow: 0 3px 0 var(--border); transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--spring), box-shadow .16s; }
.chip:hover span { transform: translateY(-1px); box-shadow: 0 4px 0 var(--border); }
.chip input:active + span { transform: translateY(3px); box-shadow: 0 0 0 var(--border); }
.chip input:checked + span { background: var(--vino); border-color: var(--vino); color: #fff; box-shadow: 0 3px 0 var(--vino-lip); animation: pop .4s var(--spring); }
.chip input:focus-visible + span { outline: 2px solid var(--vino); outline-offset: 2px; }
.chip input:disabled + span { opacity: .45; text-decoration: line-through; box-shadow: none; transform: none; background: var(--mist); }
.chips.is-invalid .chip span { border-color: var(--mal); }
.slots-left { min-height: 1.2em; margin-top: -6px; font-size: .82rem; font-weight: 700; color: var(--vino); }
.slots-left:empty { display: none; }
.hint { padding: .6rem .8rem; border-radius: var(--r-sm); background: var(--bg); font-size: .86rem; color: var(--muted); animation: drop-in .4s var(--spring) both; }
.hint[hidden] { display: none; }
.hint b { color: var(--vino); }
.more { border-top: 1px dashed var(--border); padding-top: 12px; }
.more summary { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--mist); color: var(--fg); transition: transform .4s var(--spring), background-color .25s; }
.more[open] summary svg { transform: rotate(135deg); background: var(--vino); color: #fff; }
.more-in { display: grid; gap: 14px; margin-top: 14px; }
.more[open] .more-in { animation: drop-in .45s var(--spring) both; }
.form-err { font-size: .875rem; font-weight: 700; color: var(--mal); }
.form-err:empty { display: none; }
.legal { font-size: .78rem; line-height: 1.5; color: var(--muted-2); text-align: center; text-wrap: balance; }
.legal svg { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-ok { position: relative; display: grid; justify-items: center; gap: 10px; padding: 26px 8px; text-align: center; }
.form-ok[hidden] { display: none; }
.form-ok-k { padding: 4px 12px; border-radius: var(--r-pill); background: var(--ok-50); color: var(--ok); font-size: .78rem; font-weight: 800; }
.form-ok h3 { font-size: 1.4rem; }
.form-ok p { color: var(--muted); max-width: 30rem; }
.ok-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-fill); color: #fff; box-shadow: 0 5px 0 var(--ok-lip); }
.ok-ico svg { width: 34px; height: 34px; }

/* 14 · CIERRE Y PIE ----------------------------------------------------------- */
.final { padding-top: var(--sec); }
.final .island { display: grid; justify-items: center; gap: 16px; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; }
.final .h2 { position: relative; max-width: 18ch; color: #fff; }
.final-mark { left: auto; right: -8%; bottom: auto; top: -30%; width: clamp(300px, 40vw, 560px); opacity: .07; }
.final-sym { position: relative; width: 44px; height: auto; }
.final-sub { position: relative; color: rgba(255, 255, 255, .86); font-size: 1.05rem; }
.final .cta-row { position: relative; margin: 10px 0 0; }
.final :focus-visible { outline-color: var(--oro); }
.footer { margin-top: clamp(40px, 5vw, 64px); padding: 52px 0 26px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 30px; }
.foot-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { font-size: .92rem; color: var(--muted); }
.foot-social { display: flex; gap: 6px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--border); color: var(--muted); transition: background-color .2s, color .2s, transform .4s var(--spring); }
.foot-social a:hover { background: var(--vino); border-color: var(--vino); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.foot-social svg { width: 17px; height: 17px; }
.footer nav a { display: block; padding: .2rem 0; font-size: .9rem; color: var(--muted); transition: color .2s; }
.footer nav a:hover { color: var(--vino); }
.foot-h { margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted-2); }

/* 15 · FLOTANTES -------------------------------------------------------------- */
.social-rail { position: fixed; left: 12px; top: 50%; z-index: 80; display: none; gap: 4px; padding: 6px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); translate: 0 -50%; }
.social-rail a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); color: var(--muted); transition: background-color .2s, color .2s, transform .4s var(--spring); }
.social-rail a:hover { background: var(--vino); color: #fff; transform: scale(1.1) rotate(-6deg); }
.social-rail svg { width: 18px; height: 18px; }
.ath-fab { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90; display: grid; justify-items: center; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 10px 18px rgba(29, 33, 54, .3)); transition: transform .45s var(--spring), opacity .3s; }
.ath-fab:hover { transform: translateY(-5px) scale(1.05) rotate(-3deg); }
.ath-fab:active { transform: scale(.94); }
.ath-fab.is-hidden { opacity: 0; pointer-events: none; transform: scale(.6); }
.ath-tag { position: absolute; right: 80%; top: 16%; padding: 6px 12px; border-radius: 12px 12px 4px 12px; background: var(--vino); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 0 var(--vino-lip); animation: tag-in 6s ease-in-out 2s infinite both; }
.m-cta { position: fixed; left: max(12px, env(safe-area-inset-left)); right: 96px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 85; display: none; transform: translateY(calc(100% + 30px)); transition: transform .5s var(--spring); }
.m-cta .btn { width: 100%; justify-content: space-between; padding-left: 18px; font-size: .9rem; box-shadow: 0 var(--lip) 0 var(--lip-c), 0 14px 28px -12px rgba(29, 33, 54, .5); }
.m-cta.is-shown { transform: none; }
.has-menu .m-cta { transform: translateY(calc(100% + 30px)); }
.has-menu .ath-fab, .has-menu .social-rail { opacity: 0; pointer-events: none; }

/* 16 · CAPTURAS (mockups en HTML: nítidos a cualquier densidad de pantalla) --- */
.ch.sm { width: 26px; height: 26px; border-radius: 8px; }
.ch.sm svg { width: 14px; height: 14px; }
.seg--sm .seg-btn { padding: 6px 13px; font-size: .8rem; }

/* CRM a escala: se dibuja a 1280 px reales y se escala con --s desde JS */
.cx-scale { position: relative; flex: none; width: calc(1280px * var(--s, 1)); height: calc(720px * var(--s, 1)); overflow: hidden; background: #F3F4F7; }
.cx-scale--db { height: calc(810px * var(--s, 1)); }
.cx { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; display: flex; transform: scale(var(--s, 1)); transform-origin: 0 0; font-size: 13px; line-height: 1.3; color: #1F2433; background: #F3F4F7; text-align: left; letter-spacing: 0; }
.cx b { font-weight: 600; }
.cx svg { width: 100%; height: 100%; }
.cx-side { width: 196px; flex: none; display: flex; flex-direction: column; gap: 8px; padding: 14px 10px; background: #fff; border-right: 1px solid #E6E8EE; }
.cx-logo { width: 34px; margin: 0 auto 6px; }
.cx-acct { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #F1F2F5; }
.cx-acct > span:nth-child(2) { display: grid; flex: 1; font-size: 11.5px; }
.cx-acct small { color: #6B7085; font-size: 10.5px; }
.cx-acct-ico { color: #6B7085; }
.cx-search { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; border-radius: 8px; background: #F6F7F9; color: #6B7085; font-size: 12px; }
.cx-search kbd { font: 600 10px var(--font); padding: 2px 5px; border-radius: 5px; background: #E8EAEF; }
.cx-nav { display: grid; gap: 1px; padding-bottom: 8px; }
.cx-nav li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; }
.cx-nav li > span { width: 16px; text-align: center; color: #5B6075; }
.cx-nav li.is-on { background: #F1F2F5; font-weight: 600; }
.cx-nav li em { margin-left: auto; padding: 1px 6px; border-radius: 4px; background: #FDF0C7; color: #8A6400; font-size: 9.5px; font-style: normal; }
.cx-nav--b { border-top: 1px solid #E6E8EE; padding-top: 8px; }
.cx-cfg { margin-top: auto; padding: 7px 8px; font-size: 12.5px; }
.cx-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cx-top { display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 18px; background: #fff; border-bottom: 1px solid #E6E8EE; }
.cx-title { font-size: 17px; }
.cx-tab { color: #3B4050; font-size: 12.5px; padding: 22px 0 20px; }
.cx-tab.is-on { color: #1A73E8; box-shadow: inset 0 -2px #1A73E8; }
.cx-dots { margin-left: auto; display: flex; gap: 8px; }
.cx-dots i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 600 10px var(--font); font-style: normal; color: #fff; }
.d1 { background: #A855F7; } .d2 { background: #16A34A; } .d3 { background: #5B21B6; } .d4 { background: #22C55E; } .d5 { background: #F97316; } .d6 { background: #2563EB; } .d7 { background: #86C9A2; color: #fff; }
.cx-body { flex: 1; display: flex; gap: 10px; padding: 10px; min-height: 0; }
.cx-rail { width: 40px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; font-style: normal; color: #4B5064; }
.cx-rail i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-style: normal; font-size: 15px; }
.cx-rail i svg { width: 18px; height: 18px; }
.cx-rail i.is-on { background: #1A73E8; color: #fff; }
.cx-rail i.is-sel { box-shadow: inset 0 0 0 1.5px #1A73E8; color: #1A73E8; }
.cx-rail--r { gap: 14px; }
.cx-list, .cx-chat, .cx-detail { background: #fff; border-radius: 12px; border: 1px solid #E6E8EE; min-width: 0; overflow: hidden; }
.cx-list { width: 290px; flex: none; padding: 12px; }
.cx-lh { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.cx-ltabs { display: flex; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid #E6E8EE; color: #4B5064; font-size: 12px; }
.cx-ltabs .is-on { color: #1F2433; font-weight: 600; box-shadow: 0 10px 0 -8px #1F2433; }
.cx-ltabs em { margin-right: 4px; padding: 0 5px; border-radius: 6px; background: #1A73E8; color: #fff; font-size: 10px; font-style: normal; }
.cx-all { display: flex; align-items: center; gap: 8px; padding: 10px 2px; font-size: 12px; }
.cx-chk { width: 13px; height: 13px; border: 1.5px solid #9AA0B4; border-radius: 3px; flex: none; }
.cx-row { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-bottom: 1px solid #EEF0F4; border-radius: 8px; transition: background-color .3s; }
.cx-row.is-on { box-shadow: inset 0 0 0 1.5px #1A73E8; }
.cx-av { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ECEEF3; color: #5B6075; font-size: 10px; font-weight: 600; flex: none; }
.cx-av--sm { width: 26px; height: 26px; font-size: 9px; }
.cx-av--ghost { visibility: hidden; }
.cx-av--blue { background: #DDF2FF; color: #1A73E8; }
.cx-badge { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 14px; height: 14px; padding: 2px; border-radius: 50%; color: #fff; }
.cx-tt { background: #111; } .cx-wa { background: var(--wa); } .cx-ig { background: #B4235A; }
.cx-rt { display: grid; flex: 1; min-width: 0; }
.cx-rt small { color: #5B6075; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cx-meta { display: grid; justify-items: end; gap: 4px; }
.cx-meta em { padding: 1px 6px; border-radius: 6px; background: #1A73E8; color: #fff; font-size: 10px; font-style: normal; }
.cx-star { color: #9AA0B4; }
.cx-chat { flex: 1; display: flex; flex-direction: column; }
.cx-ch { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #EEF0F4; font-size: 14px; }
.cx-ch-ico { margin-left: auto; color: #4B5064; letter-spacing: 6px; }
.cx-new { display: flex; align-items: center; gap: 10px; margin: 18px 16px 8px; color: #1A73E8; font-size: 12px; }
.cx-new::after { content: ""; flex: 1; height: 1px; background: #BBD3F7; }
.cx-msgs { flex: 1; display: grid; align-content: start; gap: 8px; padding: 6px 16px; }
.cx-in, .cx-out { display: flex; align-items: flex-end; gap: 8px; }
.cx-in p { padding: 8px 12px; border-radius: 10px; background: #F1F2F5; max-width: 70%; }
.cx-out { justify-content: flex-end; }
.cx-out p { padding: 8px 12px; border-radius: 10px; background: #1A73E8; color: #fff; max-width: 70%; }
.cx-compose { display: flex; align-items: center; gap: 8px; margin: 10px 16px 14px; padding: 6px; border: 1px solid #E1E4EA; border-radius: 10px; }
.cx-chsel { display: flex; align-items: center; gap: 4px; padding: 4px 8px; color: #1A73E8; }
.cx-chsel svg { width: 14px; height: 14px; }
.cx-input { flex: 1; color: #9AA0B4; }
.cx-send { display: grid; place-items: center; width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: #8DB5F2; color: #fff; }
.cx-detail { width: 290px; flex: none; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cx-dh { display: flex; justify-content: space-between; font-size: 14px; }
.cx-card { display: grid; gap: 10px; padding: 12px; border: 1px solid #EEF0F4; border-radius: 10px; }
.cx-cn { display: flex; align-items: center; gap: 10px; }
.cx-cn > span:last-child { margin-left: auto; color: #6B7085; }
.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-grid span, .cx-tags { display: grid; gap: 4px; }
.cx-grid small, .cx-tags small, .cx-fields small { color: #4B5064; font-size: 12px; }
.cx-grid em { font-style: normal; padding: 4px 8px; border: 1px solid #E1E4EA; border-radius: 999px; font-size: 11.5px; justify-self: start; }
.cx-tags em { justify-self: start; padding: 2px 8px; border-radius: 6px; background: #FEF3C7; color: #B45309; font-size: 11.5px; font-style: normal; }
.cx-dtabs { display: flex; gap: 12px; font-size: 12px; }
.cx-dtabs .is-on { padding: 3px 8px; border-radius: 6px; background: #F1F2F5; font-weight: 600; }
.cx-fsearch { padding: 8px 10px; border: 1px solid #E1E4EA; border-radius: 8px; color: #6B7085; font-size: 12px; }
.cx-fields { display: grid; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #FAFBFC; }
.cx-fh { display: flex; justify-content: space-between; font-weight: 600; }
.cx-fields p:not(.cx-fh) { display: grid; gap: 2px; }

/* Tablero de gestión */
.db { height: 810px; }
.db .cx-main { background: #F3F4F7; }
.db-top { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; background: #fff; border-bottom: 1px solid #E6E8EE; }
.db-sel, .db-new, .db-range { padding: 8px 12px; border: 1px solid #E1E4EA; border-radius: 6px; font-size: 12.5px; background: #fff; }
.db-sel { border-radius: 6px 0 0 6px; }
.db-new { margin-left: -11px; border-radius: 0 6px 6px 0; color: #1A73E8; }
.db-range { margin-left: auto; }
.db-edit { padding: 8px 14px; border-radius: 6px; background: #1A73E8; color: #fff; font-weight: 600; font-size: 12.5px; }
.db-top .cx-dots { margin-left: 8px; }
.db-body { flex: 1; margin: 10px; padding: 12px; border-radius: 10px; background: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.db-filter { color: #1A73E8; font-size: 12px; }
.db-banner { padding: 7px; border-radius: 4px; background: #1F3A5F; color: #fff; text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.db-row1 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; height: 310px; }
.db-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.db-card { border: 1px solid #E1E4EA; border-radius: 6px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.db-logo { align-items: center; justify-content: center; }
.cx .db-logo svg { width: 56%; height: auto; }
.db-logo text { font-family: var(--font); }
.db-ch { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #EEF0F4; }
.db-ch b { margin-right: auto; font-size: 13px; }
.db-ch--col { flex-direction: column; align-items: flex-start; gap: 2px; }
.db-ch small { color: #4B5064; font-size: 10.5px; }
.db-pill { padding: 5px 9px; border: 1px solid #E1E4EA; border-radius: 4px; font-size: 11px; }
.db-task { display: flex; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #EEF0F4; }
.db-task .cx-chk { margin-top: 16px; }
.db-tt { display: grid; flex: 1; gap: 3px; font-size: 11px; }
.db-tt > b { font-weight: 500; font-size: 11.5px; }
.db-tt em { font-style: normal; color: #6B7085; }
.db-tt small { color: #2563EB; font-size: 10.5px; }
.db-tt small:last-child { color: #4B5064; }
.db-tt small b { color: #1F2433; }
.db-st { justify-self: start; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.db-st--ok { color: #15803D; border: 1px solid #22C55E; background: #F0FDF4; }
.db-st--prog { color: #1D4ED8; border: 1px solid #60A5FA; background: #EFF6FF; }
.db-tt > b + .db-st { margin-top: -1px; }
.db-more { color: #6B7085; }
.db-kpi { align-items: center; }
.db-kpi .db-ch { width: 100%; }
.db-big { margin: auto 0 4px; font-size: 128px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: #1F2433; }
.db-trend { margin-bottom: 26px; font-size: 12px; color: #3B4050; }
.db-trend em { margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #15803D; font-style: normal; font-weight: 600; }
.db-trend--l { margin: 4px 0 6px; }
.db-cbody { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 20px; flex: 1; }
.db-num { font-size: 26px; font-weight: 500; }
.cx .db-donut { width: 130px; height: 130px; margin: 4px 0 0 90px; }
.db-donut text { font: 500 20px var(--font); fill: #1F2433; }
.db-leg { display: grid; gap: 8px; font-size: 11px; color: #3B4050; align-self: center; min-width: 170px; }
.db-leg li { display: flex; align-items: center; gap: 8px; }
.db-leg i { width: 22px; height: 8px; border-radius: 2px; }
.db-leg li:nth-child(1) i { background: #1F4E79; } .db-leg li:nth-child(2) i { background: #3E7CB1; } .db-leg li:nth-child(3) i { background: #5B9BD5; }
.db-leg li:nth-child(4) i { background: #8DB8E3; } .db-leg li:nth-child(5) i { background: #16365C; } .db-leg li:nth-child(6) i { background: #A9C9EA; }

/* Flujo de automatización, embudo y reportes (HTML fluido) */
.wfx { display: grid; grid-template-columns: 1fr; background: #F6F5F4; color: #282E49; text-align: left; }
.wfx-side { display: none; flex-direction: column; gap: 4px; padding: 22px 18px; background: #fff; border-right: 1px solid rgba(40, 46, 73, .10); }
.wfx-h { padding: 0 10px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #545970; }
.wfx-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-size: .9rem; color: #545970; }
.wfx-item.is-on { background: #FBEFF2; color: var(--vino); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1E7A45; flex: none; }
.dot--idle { background: rgba(40, 46, 73, .2); }
.wfx-stat { margin-top: auto; padding: 18px 12px 4px; border-top: 1px solid rgba(40, 46, 73, .10); }
.wfx-stat b { display: block; font-size: 1.9rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.wfx-stat small { font-size: .84rem; color: #545970; }
.wfx-canvas { display: grid; align-content: center; justify-items: center; padding: 24px 16px; background: radial-gradient(rgba(40, 46, 73, .12) 1px, transparent 1px) 0 0 / 18px 18px; }
.node { display: flex; align-items: center; gap: 12px; width: min(100%, 340px); padding: 10px 14px; border-radius: 12px; background: #fff; border: 2px solid rgba(40, 46, 73, .10); box-shadow: 0 3px 0 rgba(40, 46, 73, .08); transition: border-color .35s, box-shadow .35s, transform .5s var(--spring); line-height: 1.25; }
.node > span:last-child { display: grid; min-width: 0; }
.node small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6A6F85; }
.node b { font-size: .88rem; }
.node.is-live { border-color: var(--vino); box-shadow: 0 4px 0 var(--vino-lip); transform: translateY(-3px) scale(1.03); }
.node--goal { border-style: dashed; }
.node-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #EDECEA; flex: none; }
.node-ico svg { width: 16px; height: 16px; }
.node-ico--wa { background: var(--wa); color: #fff; }
.node-ico--vino { background: var(--vino); color: #fff; }
.node-ava { width: 32px; height: 32px; border-radius: 10px; background: #EDECEA; object-fit: cover; }
.link { display: block; width: 2px; height: 16px; background: rgba(40, 46, 73, .2); }
.link--short { height: 12px; }
.wfx-branch { display: grid; gap: 16px; width: 100%; justify-items: center; }
.wfx-col { display: grid; justify-items: center; width: 100%; padding-top: 12px; border-top: 2px solid rgba(40, 46, 73, .2); border-radius: 14px 14px 0 0; }
.wfx-col--alt { display: none; }
.cond { margin-bottom: 10px; padding: 4px 12px; border-radius: var(--r-pill); background: #EDECEA; color: #545970; font-size: .76rem; font-weight: 700; }
.cond--gold { background: var(--oro); color: #111; }
.funnel, .report { display: grid; align-content: center; gap: 10px; padding: 22px 18px; background: #F6F5F4; color: #282E49; text-align: left; }
.fc-k { font-size: .8rem; color: #6A6F85; }
.fx-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; }
.fx-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.fx-kpi { text-align: right; }
.fx-kpi small { display: block; font-size: .78rem; color: #6A6F85; }
.fx-kpi b { font-size: 1.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fb { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 13px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(40, 46, 73, .10); overflow: hidden; font-size: .9rem; }
.fb::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: #FBEFF2; border-right: 2px solid var(--vino); transition: width .9s var(--spring); }
.fb--win::before { background: #FFF6E3; border-color: #D79A1E; }
.fb > * { position: relative; }
.fb b { font-variant-numeric: tabular-nums; }
.fb em { font-style: normal; font-size: .78rem; color: #6A6F85; min-width: 38px; text-align: right; }
.fb span { flex: 1; }
.pages { display: grid; gap: 10px; margin-top: 8px; }
.pg { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(40, 46, 73, .10); }
.pg-thumb { grid-row: span 2; height: 40px; border-radius: 8px; border: 1px solid rgba(40, 46, 73, .10); }
.pg-a { background: linear-gradient(180deg, var(--vino) 0 38%, #fff 38%); }
.pg-b { background: linear-gradient(180deg, var(--azul) 0 30%, #EDECEA 30%); }
.pg-c { background: linear-gradient(180deg, var(--oro) 0 34%, #fff 34%); }
.pg b { font-size: .88rem; }
.pg small { font-size: .76rem; color: #6A6F85; }
.rp { display: grid; grid-template-columns: 26px 90px 1fr 32px; gap: 12px; align-items: center; font-size: .9rem; }
.rp i { position: relative; height: 10px; border-radius: 6px; background: #EDECEA; overflow: hidden; }
.rp i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: inherit; background: var(--vino); transition: width .9s var(--spring); }
.rp b { text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 820px) {
  .wfx { grid-template-columns: 260px 1fr; }
  .wfx-side { display: flex; }
  .wfx-branch { grid-template-columns: 1fr 1fr; align-items: start; }
  .wfx-col--alt { display: grid; }
  .pages { grid-template-columns: repeat(3, 1fr); }
  .funnel, .report { padding: 28px clamp(28px, 5vw, 72px); }
}

/* Escenario de la vitrina: medición sin pintar, ajuste por escala y paso de URL */
.sc-panel.is-measure { visibility: hidden; }
.sc-panel--flow.is-fit > * { width: calc(100% / var(--fs, 1)); height: calc(100% / var(--fs, 1)); transform: scale(var(--fs, 1)); transform-origin: 0 0; }
.url.is-swap { opacity: 0; }
.marquee.is-off .marquee-track, .marquee.is-hold .marquee-track, .ix-marquee.is-off .ix-row { animation-play-state: paused; }
.marquee-track > li { display: block; flex: none; }

/* Athena: personaje articulado (cuerpo + cabeza + ojos y sonrisa animados) */
.rig { position: relative; display: block; container-type: inline-size; aspect-ratio: 533 / 560; animation: rig-bob 4.2s ease-in-out infinite; }
.rig img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rig-head { position: absolute; inset: 0; transform-origin: 61.9% 57%; transition: transform .7s var(--spring); }
.rig-eye { position: absolute; width: 4.9%; height: 7.1%; margin: -3.55% 0 0 -2.45%; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #F2FFFF 0 18%, #9DEFF3 45%, #52C7D4 100%); box-shadow: 0 0 1.4cqw rgba(120, 230, 240, .85); transform: translate(var(--lx, 0), var(--ly, 0)); transition: transform .45s var(--ease), height .25s var(--ease), border-radius .25s, margin .25s; animation: blink 5.2s infinite; }
.rig-eye--l { left: 45.8%; top: 33.6%; }
.rig-eye--r { left: 66.9%; top: 31.9%; animation-delay: .02s; }
.rig-smile { position: absolute; left: 56.6%; top: 40.2%; width: 12%; height: 3.4%; margin-left: -6%; border: 0 solid #A9F2F5; border-bottom-width: 1.15cqw; border-radius: 0 0 50% 50% / 0 0 100% 100%; filter: drop-shadow(0 0 .8cqw rgba(120, 230, 240, .9)); transform: translate(calc(var(--lx, 0) * .6), calc(var(--ly, 0) * .5)); transition: height .4s var(--spring), width .4s var(--spring), margin .4s, transform .45s var(--ease); }
.rig.g-happy .rig-eye { height: 3.6%; margin-top: -3.2%; border-radius: 50% 50% 18% 18% / 100% 100% 18% 18%; }
.rig.g-happy .rig-smile { width: 15%; height: 5.4%; margin-left: -7.5%; }
.rig.g-tilt-r .rig-head { transform: rotate(6deg); }
.rig.g-tilt-l .rig-head { transform: rotate(-5deg); }
.rig.g-nod .rig-head { animation: nod 1.1s var(--ease) 2; }
.rig.g-look-l { --lx: -1.6cqw; --ly: .3cqw; }
.rig.g-look-ru { --lx: 1.6cqw; --ly: -1.1cqw; }
.rig.g-look-rd { --lx: 1.6cqw; --ly: 1.1cqw; }
.rig.g-look-up { --ly: -1.2cqw; }
.rig--fab { width: 84px; }

/* Escenario: tarjeta con luz suave, cuadrícula y tarjetas flotantes */
.stage { position: relative; display: grid; place-items: end center; min-height: clamp(400px, 46vw, 580px); padding-top: 40px; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); background: radial-gradient(120% 80% at 50% 100%, #FBEAEF 0%, var(--vino-50) 40%, #FFF7F9 100%); isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(173, 16, 60, .14) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.stage-glow { position: absolute; left: 50%; top: 58%; width: min(72%, 520px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(250, 189, 75, .42), rgba(250, 189, 75, .12) 70%, transparent); animation: glow 9s ease-in-out infinite; }
.rig--stage { width: min(400px, 72%); margin-bottom: -2px; }
.stage-cards { position: absolute; inset: 0; pointer-events: none; }
.scard { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 14px; background: #fff; border: 1px solid #ECE6E8; box-shadow: 0 1px 2px rgba(20, 20, 40, .05), 0 10px 24px -14px rgba(20, 20, 40, .35); font-size: .88rem; color: #1D2136; transition: transform .55s var(--spring), border-color .3s, box-shadow .3s; animation: card-float 6s ease-in-out infinite; }
.scard b { font-weight: 700; }
.scard.is-on { transform: scale(1.08) rotate(-2deg); border-color: var(--vino); box-shadow: 0 4px 0 var(--vino-lip), 0 16px 30px -16px rgba(173, 16, 60, .5); }
.scard--1 { left: 5%; top: 36%; }
.scard--2 { right: 5%; top: 22%; animation-delay: -2s; }
.scard--3 { right: 7%; top: 60%; animation-delay: -4s; }
.scard-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; font-weight: 700; flex: none; }
.scard-ico svg { width: 18px; height: 18px; }
.scard-ico--wa { background: var(--wa); } .scard-ico--oro { background: var(--oro); color: #1D2136; } .scard-ico--vino { background: var(--vino); }
.stage-bubble { position: absolute; left: 50%; top: 7%; z-index: 2; max-width: min(300px, 78%); padding: 11px 18px; border-radius: 18px 18px 18px 6px; background: var(--azul); color: #fff; font-weight: 700; font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); translate: -10% 0; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .3s, transform .5s var(--spring); box-shadow: 0 3px 0 #171B33; }
.stage-bubble.is-in { opacity: 1; transform: none; }
.video-btn { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ECE6E8; border-radius: 50%; background: #fff; color: #1D2136; cursor: pointer; box-shadow: 0 3px 0 #E6DCDF; transition: transform .35s var(--spring); }
.video-btn:hover { transform: scale(1.08); }
.video-btn:active { transform: translateY(3px); box-shadow: none; }
.video-btn svg { width: 16px; height: 16px; }
.video-btn .i-play, .video-btn.is-paused .i-pause { display: none; }
.video-btn.is-paused .i-play { display: block; }
.stage.is-paused .rig, .stage.is-paused .rig-eye, .stage.is-paused .scard, .stage.is-paused .stage-glow { animation-play-state: paused; }

/* 17 · MOVIMIENTO ------------------------------------------------------------- */
/* Solo se animan transform, opacity, scale, rotate y translate (GPU). El texto
   del hero nunca arranca invisible: no retrasa el LCP. */
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(30, 122, 69, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(30, 122, 69, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { 0% { scale: 1; } 40% { scale: 1.14; } 100% { scale: 1; } }
@keyframes pop-in { from { scale: 0; } to { scale: 1; } }
@keyframes bubble-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes tip-in { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes rise-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { scale: 1.5; rotate: -14deg; } 55% { scale: .94; rotate: 1deg; } 100% { scale: 1; rotate: -2deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: .55; rotate: 45deg; } }
@keyframes wiggle { 0% { rotate: 0deg; } 25% { rotate: -12deg; } 50% { rotate: 9deg; } 75% { rotate: -4deg; } 100% { rotate: 0deg; } }
@keyframes shake { 0%, 100% { translate: 0 0; } 20% { translate: -8px 0; } 40% { translate: 7px 0; } 60% { translate: -5px 0; } 80% { translate: 3px 0; } }
@keyframes hop { 0%, 78%, 100% { translate: 0 0; } 84% { translate: 0 -7px; } 90% { translate: 0 0; } 95% { translate: 0 -3px; } }
@keyframes ring { 0% { box-shadow: 0 5px 0 var(--ok-lip), 0 0 0 0 rgba(30, 122, 69, .35); } 100% { box-shadow: 0 5px 0 var(--ok-lip), 0 0 0 22px rgba(30, 122, 69, 0); } }
@keyframes confetti { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
@keyframes typing { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes tag-in { 0%, 8% { opacity: 0; transform: translateY(6px) scale(.9); } 14%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes blink { 0%, 92%, 100% { scale: 1 1; } 94%, 96% { scale: 1 .08; } }
@keyframes rig-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.4%; } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(4deg) translateY(1.5%); } 70% { transform: rotate(-1deg); } }
@keyframes glow { 50% { scale: 1.1; } }
@keyframes card-float { 50% { translate: 0 -8px; } }
@keyframes shine { from { translate: -120% 0; } to { translate: 220% 0; } }

/* Revelado elástico al hacer scroll (solo lo que está bajo el primer pantallazo) */
.reveal { transition: opacity .5s var(--ease), transform .85s var(--spring), border-color .3s, box-shadow .3s, background-color .3s; }
.reveal.is-pending { opacity: 0; transform: translateY(28px) scale(.97); }

/* Historia en burbujas */
.story.is-armed .bub { opacity: 0; transform: translateY(16px) scale(.85); }
.story.is-armed .bub.is-in { opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .6s var(--spring); }
.story .bub--in { transform-origin: bottom left; }
.story .bub--out { transform-origin: bottom right; }

/* Validación y celebración */
.is-shake { animation: shake .45s var(--ease); }
.count.is-done { color: var(--oro); }
.form-ok:not([hidden]) .ok-ico { animation: pop-in .6s var(--spring) both, ring 1.2s var(--ease) .4s 2; }
.form-ok:not([hidden]) h3, .form-ok:not([hidden]) p, .form-ok:not([hidden]) .form-ok-k { animation: rise-fade .6s var(--spring) both; }
.form-ok:not([hidden]) h3 { animation-delay: .12s; }
.form-ok:not([hidden]) p { animation-delay: .2s; }
.confetti { position: absolute; left: 50%; top: 64px; width: 9px; height: 13px; border-radius: 2px; background: var(--c, var(--oro)); pointer-events: none; animation: confetti 1.3s cubic-bezier(.15, .6, .35, 1) forwards; }

/* Brillo que cruza el botón principal cada pocos segundos (micro-detalle premium) */
.btn-gold::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); translate: -120% 0; pointer-events: none; }
.btn-gold { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .marks .mark { animation: pop-in .7s var(--spring) both, float 5s ease-in-out infinite; }
  .marks .mark:nth-child(1) { animation-delay: .30s, 1.4s; }
  .marks .mark:nth-child(2) { animation-delay: .22s, 2.1s; }
  .marks .mark:nth-child(3) { animation-delay: .14s, 1.1s; }
  .marks .mark:nth-child(4) { animation-delay: .04s, 1.8s; }
  .marks .mark:nth-child(5) { animation-delay: .14s, 2.4s; }
  .marks .mark:nth-child(6) { animation-delay: .22s, 1.6s; }
  .marks .mark:nth-child(7) { animation-delay: .30s, 2.0s; }
  .hero .badge { animation: rise .6s var(--spring) .05s both; }
  .hero-title { animation: rise .7s var(--spring) .1s both; }
  .pill-word { animation: stamp .75s var(--spring) .45s both; }
  .spark { animation: pop-in .5s var(--spring) .9s both, twinkle 3.4s ease-in-out 1.5s infinite; }
  .spark--2 { animation-delay: 1.05s, 2.2s; }
  .hero-sub { animation: rise .7s var(--spring) .18s both; }
  .hero .cta-row { animation: rise .7s var(--spring) .26s both; }
  .hero .checks, .have-account { animation: rise .7s var(--spring) .34s both; }
  .plan-badge { animation: hop 4.5s ease-in-out 2s infinite; }
  .hero .btn-gold::after, .final .btn-gold::after, .plan--rec .btn-gold::after { animation: shine 1.1s var(--ease) 2.4s; }
  .btn-gold.is-shine::after { animation: shine 1.1s var(--ease); }
  .b-card:active, .plan:active, .t-card:active, .pain:active { scale: .985; transition-duration: .08s; }
}

/* Movimiento reducido: todo queda quieto y visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-pending, .story.is-armed .bub, .chat-mini.is-armed > * { opacity: 1; transform: none; }
  .marquee-track, .ix-row, .rig, .rig-eye, .scard, .stage-glow, .ath-tag { animation: none !important; }
  .marquee, .ix-marquee { overflow-x: auto; }
  .ath-tag { opacity: 1; }
  .confetti { display: none; }
}

/* 18 · RESPONSIVE (móvil primero en lo esencial; nada se pierde en pantallas chicas) */
@media (min-width: 641px) {
  .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 961px) {
  .problem-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
  .story { padding: 8px 0; }
}
@media (min-width: 1360px) {
  .social-rail { display: grid; }
}
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .plan--rec { transform: none; }
  .plan--rec:hover { transform: translateY(-6px); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav-links, .login-dd { display: none; }
  .menu-btn { display: grid; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-span3 { grid-column: span 2; }
  .b-finance { grid-template-columns: 1fr; }
  .athena-grid { grid-template-columns: 1fr; }
  .athena-chat { min-height: 0; }
  .diag-grid { grid-template-columns: 1fr; }
  .diag-copy { position: static; }
  .integ-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .m-cta { display: block; }
  .m-cta:not(.is-shown) ~ .ath-fab:not(:focus-visible) { opacity: 0; pointer-events: none; transform: translateY(20px) scale(.6); }
  .ath-fab { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 2px); }
  .rig--fab { width: 70px; }
  .ath-tag { display: none; }
  .b-span2 .ba { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .scard { font-size: .78rem; padding: 7px 12px 7px 7px; border-radius: 12px; gap: 8px; }
  .scard-ico { width: 28px; height: 28px; border-radius: 9px; }
  .scard-ico svg { width: 15px; height: 15px; }
  .scard--1 { left: 3%; top: 32%; } .scard--2 { right: 3%; top: 20%; } .scard--3 { right: 3%; top: 60%; }
  .stage-bubble { top: 4%; translate: -50% 0; }
  .rig--stage { width: 76%; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; --sec: clamp(56px, 2.5rem + 6vw, 72px); }
  .nav-cta { display: none; }
  .hero-title { margin: 18px auto 14px; }
  .hero .cta-row { width: 100%; flex-direction: column; align-items: stretch; margin: 24px 0 16px; }
  .hero .cta-row .btn { width: 100%; }
  .hero .cta-row .btn:has(.btn-ico) { justify-content: space-between; padding-left: 1.4rem; }
  .checks { gap: 6px 14px; font-size: .82rem; }
  .have-account { padding-inline: 8px; line-height: 1.7; }
  .browser { border-radius: 16px; }
  .browser-bar { padding: 9px 12px; gap: 10px; }
  .sc-tabs { padding: 6px 8px; }
  .sc-tab { padding: .4rem .65rem; font-size: .8rem; }
  .sc-panel.is-wide { overflow-x: auto; place-items: center start; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sc-panel.is-wide::-webkit-scrollbar { display: none; }
  .wfx-canvas { padding: 16px 12px; }
  .node { padding: 8px 12px; }
  .link { height: 12px; } .link--short { height: 10px; }
  .funnel, .report { gap: 8px; padding: 18px 16px; }
  .fx-title { font-size: 1.2rem; }
  .fx-kpi b { font-size: 1.35rem; }
  .fb { padding: 11px 14px; font-size: .86rem; }
  .pages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pg { grid-template-columns: 1fr; row-gap: 4px; padding: 8px; }
  .pg-thumb { grid-row: auto; height: 30px; }
  .pg b { font-size: .78rem; line-height: 1.2; }
  .pg small { font-size: .7rem; }
  .rp { grid-template-columns: 22px 78px 1fr 30px; gap: 10px; font-size: .84rem; }
  .swipe-hint { display: inline; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .b-span2, .b-span3 { grid-column: auto; }
  .b-card { padding: 22px 20px; }
  .b-card h3 { font-size: 1.18rem; }
  .ba-switch button { padding: .45rem .8rem; font-size: .8rem; }
  .pain { padding: 22px 20px; }
  .problem .h2 { max-width: none; }
  .bub { padding: 11px 16px; }
  .plans { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gut)); padding: 22px var(--gut) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(84%, 340px); scroll-snap-align: center; }
  .plan:hover, .plan--rec:hover { transform: none; }
  .rail-dots { display: flex; }
  .pr-perks { flex-direction: column; align-items: flex-start; gap: 10px; max-width: 26rem; margin-inline: auto; margin-top: 22px; }
  .callout { padding: 14px 16px; }
  .trust-grid { grid-template-columns: 1fr; gap: 10px; }
  .t-card { grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; }
  .t-ico { grid-row: span 2; margin-bottom: 0; }
  .row2 { grid-template-columns: 1fr; }
  .chips .chip span { padding: .55rem .9rem; }
  .slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slots legend { grid-column: 1 / -1; }
  .slots .chip span { display: block; text-align: center; }
  .cta-row--left { flex-direction: column; align-items: stretch; }
  .cta-row--left .btn { width: 100%; }
  .final .cta-row { width: 100%; flex-direction: column; align-items: stretch; }
  .final .cta-row .btn { width: 100%; }
  .final .cta-row .btn:has(.btn-ico) { justify-content: space-between; padding-left: 1.4rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .foot-grid nav:last-child { grid-column: 1 / -1; }
  .stage { min-height: 400px; }
  .island-mark { width: 360px; }
}
@media (max-width: 380px) {
  .badge { font-size: .72rem; gap: .45rem; padding-right: .7rem; white-space: nowrap; }
  .badge-arrow { display: none; }
  .marks { gap: 5px; }
  .mark { width: 34px; }
  .mark--athena { width: 48px; }
  .sc-tab svg { display: none; }
  .billing button { padding: .5rem .85rem; }
}

/* App instalada (APK / PWA en modo standalone): respeta las zonas seguras */
@media (display-mode: standalone) {
  .nav-wrap { padding-top: env(safe-area-inset-top); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* 19 · TEMA OSCURO (tokens de la versión publicada; las capturas siguen claras) */
[data-theme="dark"] {
  --bg: #12152A; --card: #1A1E36; --fg: #F1F0F4; --muted: #A3A7BB; --muted-2: #8F94AB;
  --border: #2B3052; --border-2: #3A4070; --mist: #23284A; --field: #161A31;
  --soft: #2A1D33; --soft-fg: #FF8FAE; --ring: rgba(255, 143, 174, .3);
  --vino-50: #2A1D33; --azul-50: #232A52; --oro-50: #2E2818; --ok-50: #16301F; --mal-50: #3A1A1C;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 60px -24px rgba(0, 0, 0, .75);
  --glow: 0 -24px 80px -34px rgba(255, 90, 140, .35);
  color-scheme: dark;
}
body, .nav-wrap, .b-card, .t-card, .form-card, .ixm, .wa-direct, .badge, .icon-btn, .footer, .stage, .seg, .ba-switch, .dd-menu { transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .5s var(--spring); }
[data-theme="dark"] .browser { --card: #FFFFFF; --bg: #F6F4F1; --border: #E6E2DC; --muted: #5D6275; --fg: #1D2136; color: #1D2136; }
[data-theme="dark"] .browser-bar, [data-theme="dark"] .sc-tabs { background: #1A1E36; border-color: #2B3052; }
[data-theme="dark"] .browser-bar .url { background: #12152A; color: #A3A7BB; }
[data-theme="dark"] .sc-tab { color: #A3A7BB; }
[data-theme="dark"] .sc-tab:hover, [data-theme="dark"] .sc-tab.is-on { color: #F1F0F4; }
[data-theme="dark"] .sc-tab.is-on { background: #12152A; border-color: #2B3052; }
[data-theme="dark"] .sc-prog { background: #FF8FAE; }
[data-theme="dark"] .browser { border-color: #2B3052; }
[data-theme="dark"] .eyebrow:not(.eyebrow--gold), [data-theme="dark"] .nav-link.is-current, [data-theme="dark"] .hint b, [data-theme="dark"] .slots-left, [data-theme="dark"] .athena-note svg { color: #FF8FAE; }
[data-theme="dark"] .btn-ghost { --lip-c: rgba(0, 0, 0, .35); background: rgba(255, 143, 174, .14); color: #FF8FAE; }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 143, 174, .22); }
[data-theme="dark"] .btn-line { --lip-c: #0B0E1E; }
[data-theme="dark"] .btn-gold, [data-theme="dark"] .btn-vino { --lip-c: #0B0E1E; }
[data-theme="dark"] .btn-gold { --lip-c: var(--oro-lip); }
[data-theme="dark"] .btn-vino { --lip-c: var(--vino-lip); }
[data-theme="dark"] .mark { background: #1A1E36; box-shadow: 0 3px 0 rgba(0, 0, 0, .45); }
[data-theme="dark"] .mark--tt { color: #EEF0F7; }
[data-theme="dark"] .mark--web { color: #B4B9D0; }
[data-theme="dark"] .spotlight { background: radial-gradient(closest-side, rgba(255, 90, 140, .16), transparent); }
[data-theme="dark"] .hero-grid { opacity: .5; }
[data-theme="dark"] .problem .island { background: #161A33; box-shadow: inset 0 0 0 1px #2B3052; }
[data-theme="dark"] .bub--out { background: #EEF0F7; }
[data-theme="dark"] .client img { filter: grayscale(1) brightness(0) invert(1); mix-blend-mode: normal; opacity: .6; }
[data-theme="dark"] .client:hover img, [data-theme="dark"] .client:focus-visible img, [data-theme="dark"] .client.is-on img { filter: none; opacity: 1; }
[data-theme="dark"] .client:hover, [data-theme="dark"] .client.is-on, [data-theme="dark"] .client:focus-visible { background: #F6F4F1; }
[data-theme="dark"] .client:hover .word, [data-theme="dark"] .client.is-on .word, [data-theme="dark"] .client:focus-visible .word { color: var(--vino); }
[data-theme="dark"] .b-card::before { background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(255, 143, 174, .1), transparent 40%); }
[data-theme="dark"] .b-card:hover { border-color: #4A3456; }
[data-theme="dark"] .ba-a { background: #141830; }
[data-theme="dark"] [data-mode="antes"] .ba-a { color: #FFB4AE; box-shadow: inset 0 0 0 1.5px rgba(255, 120, 110, .4); }
[data-theme="dark"] [data-mode="antes"] .ba-a b { color: #FF8A80; }
[data-theme="dark"] .ba-d { background: #15291F; }
[data-theme="dark"] .ba-d b, [data-theme="dark"] .chat-mini .ok, [data-theme="dark"] .t-ico--ok, [data-theme="dark"] .dd-ico--ok, [data-theme="dark"] .form-ok-k { color: #6FD39A; }
[data-theme="dark"] .stamp { color: #6FD39A; border-color: #4BC27D; }
[data-theme="dark"] .chat-mini .in { background: #23284A; }
[data-theme="dark"] .t-ico--vino, [data-theme="dark"] .dd-ico--vino { color: #FF8FAE; }
[data-theme="dark"] .t-ico--azul { color: #B9C0E6; }
[data-theme="dark"] .t-ico--oro, [data-theme="dark"] .dd-ico--oro { color: var(--oro); }
[data-theme="dark"] .ixm img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
[data-theme="dark"] .stage { background: radial-gradient(120% 80% at 50% 100%, #2A1D33 0%, #1A1E36 60%, #171B33 100%); }
[data-theme="dark"] .stage::before { background-image: radial-gradient(rgba(255, 143, 174, .16) 1px, transparent 1px); }
[data-theme="dark"] .scard { border-color: transparent; }
[data-theme="dark"] .video-btn { border-color: transparent; box-shadow: 0 3px 0 #0B0E1E; }
[data-theme="dark"] .stage-bubble { background: #2E3766; box-shadow: 0 3px 0 #0B0E1E; }
[data-theme="dark"] .athena-chat p { background: #1A1E36; }
[data-theme="dark"] .pricing { background: #0D1024; --card: #161A33; }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { color: var(--fg); }
[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23A3A7BB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); }
[data-theme="dark"] .field input::-webkit-calendar-picker-indicator { filter: invert(.8); }
[data-theme="dark"] .field [aria-invalid="true"] { background: #2A1719; }
[data-theme="dark"] .field-msg, [data-theme="dark"] .form-err { color: #FF8A80; }
[data-theme="dark"] .chip span { box-shadow: 0 3px 0 #0B0E1E; }
[data-theme="dark"] .chip input:disabled + span { background: #141830; }
[data-theme="dark"] .progress-bar { background: #23284A; }
[data-theme="dark"] .island--vino { background: #8E0D32; }
[data-theme="dark"] .m-cta .btn { box-shadow: 0 var(--lip) 0 var(--lip-c), 0 14px 28px -12px rgba(0, 0, 0, .8); }
[data-theme="dark"] .ath-fab { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
[data-theme="dark"] :focus-visible { outline-color: var(--oro); }
[data-theme="dark"] ::selection { background: var(--oro); color: #111; }

/* 20 · PÁGINAS SECUNDARIAS (privacidad y 404) --------------------------------- */
.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: block; }
[data-theme="dark"] .only-light { display: none; }
.page-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.page-bar .brand-logo { height: 28px; }
.doc { width: min(760px, 100% - 2 * var(--gut)); margin: clamp(24px, 5vw, 56px) auto 0; padding: clamp(24px, 5vw, 48px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 14px; }
.doc h2 { font-size: 1.25rem; margin: 30px 0 10px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 10px; }
.doc ul { display: grid; gap: 8px; padding-left: 0; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--vino); }
.doc b { color: var(--fg); }
.doc a:not(.btn) { color: var(--vino); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .doc a:not(.btn) { color: #FF8FAE; }
.doc .callout { margin: 32px 0 0; max-width: none; color: var(--fg); background: var(--oro-50); }
.doc .callout a { color: var(--vino); }
.nf { position: relative; display: grid; justify-items: center; align-content: center; gap: 14px; min-height: 100dvh; padding: 32px var(--gut); text-align: center; overflow: hidden; }
.nf-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: var(--vino); }
[data-theme="dark"] .nf-code { color: #FF8FAE; }
.nf .lead { margin-inline: auto; }
.nf .cta-row { margin-bottom: 0; }
.doc ul + p { margin-top: 12px; }
