/* ==========================================================================
   Zavora — landing (rediseño claro editorial, 2026-09-16)
   Única hoja de estilos. Sin bundle, sin degradados, sin vidrio, sin glow.
   Orden: tokens → reset → tipografía → layout → componentes → secciones →
   utilidades → media queries → reduced-motion.
   Contrato con el JS (no cambiar): .reveal/.visible (main.js), .navbar--scrolled,
   #nav-menu.active, .country-btn.is-active, .co-only/.ar-only (pais.js pone
   display en línea: NUNCA darles display:none aquí), .svc-panel[hidden] +
   .is-active (industrias.js), ids roi-* (roi.js), #contact-status (contact.js
   pinta el color en línea → va sobre tinta).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f2ff;
  --line: #e7e4ee;
  --line-strong: #cfc9dc;
  --ink: #14111c;
  --ink-2: #4b4658;
  --ink-3: #6e6880;
  --brand: #7e14ff;
  --brand-hover: #6b0fe0;
  --brand-ink: #4c0aa8;
  --brand-tint: #efe7ff;
  --brand-line: #d9c6ff;
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23c9b3ff'/%3E%3C/svg%3E");
  --dots-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23ffffff' fill-opacity='0.22'/%3E%3C/svg%3E");
  --ok: #157a43;  --ok-bg: #e6f4ec;
  --warn: #8a5a12; --warn-bg: #fff4d6;
  --bad: #c03535;
  --wa-bg: #efeae2; --wa-bar: #f0f2f5; --wa-in: #ffffff; --wa-out: #d9fdd3;
  --wa-text: #111b21; --wa-meta: #667781; --wa-green: #25d366; --wa-head: #008069;
  --dark-bg: #0f0e13; --dark-surface: #17161c; --dark-line: #2a2731; --dark-text: #f4f1fa; --dark-muted: #a6a1b3;
  --f-display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --shadow: 0 1px 2px rgba(20, 17, 28, .06), 0 12px 32px -12px rgba(20, 17, 28, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.25, .64, 1);
  --t: 180ms;
  --d-press: 100ms; --d-fast: 160ms; --d-ui: 280ms; --d-enter: 480ms; --stagger: 50ms;
  interpolate-size: allow-keywords;
  --nav-h: 64px;
  --container: 1160px;
  --gutter: 24px;
}

/* ---------- Fuentes propias (OFL; variables, subconjunto latino) ---------- */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body::before { content: ""; display: block; height: 6px; background: var(--brand); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
strong { font-weight: 600; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.zv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h4 { font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--brand-tint); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); max-width: 24ch; }
.section__head--center .section__title { margin-left: auto; margin-right: auto; }
.section__lead { margin-top: 14px; font-size: 1.125rem; color: var(--ink-2); max-width: 56ch; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }
.small { font-size: .875rem; }
.caption { font-size: .8125rem; color: var(--ink-3); }

/* ---------- Iconos y marca ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--inline { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; }
.icon--solid { fill: currentColor; stroke: none; }
.zv-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.zv-mark { width: 27px; height: 25.5px; }
.zv-mark--xs { width: 17px; height: 16px; }
.zv-word { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; letter-spacing: .10em; text-transform: uppercase; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); font-weight: 600; font-size: .9375rem; line-height: 1; border: 1px solid transparent; white-space: nowrap; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--d-press) ease-out; }
.btn:active, .svc-tab:active, .country-btn:active, .iap-chip:active, .how__sound:active { transform: scale(.97); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 1rem; }
.btn--sm { height: 36px; padding: 0 14px; border-radius: var(--r-sm); font-size: .875rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:focus-visible { outline-color: var(--ink); }
.btn--secondary, .btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover, .btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand-tint); }
.link { color: var(--brand-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--brand); }

/* ---------- Nav ---------- */
.navbar { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow var(--t) var(--ease); }
.navbar--scrolled { box-shadow: var(--shadow); }
.navbar__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.navbar__menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.navbar__link { font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: color var(--t) var(--ease); }
.navbar__link:hover { color: var(--brand-ink); }
.navbar__link--login { color: var(--ink); }
.navbar__cta { flex-shrink: 0; }
.navbar__toggle { display: none; width: 40px; height: 40px; padding: 8px; margin-left: auto; border-radius: var(--r-sm); flex-direction: column; justify-content: center; gap: 5px; }
.navbar__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
.navbar__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background: var(--bg); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem); line-height: 1.05; max-width: 15ch; }
.hero__title-b { color: var(--brand-ink); }
.hero__lead { margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__micro { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); }
.hero__industries { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.hero__industries a { color: var(--brand-ink); font-weight: 500; }
.hero__industries a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Escena de producto: teléfono (WhatsApp real, claro) + panel */
.hero__visual { position: relative; transform-style: preserve-3d; padding: 28px 22px 40px; background: var(--brand-tint) var(--dots); border: 1px solid var(--brand-line); border-radius: 20px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__note { margin: 14px 0 0; font-size: .8125rem; color: var(--ink-3); max-width: 62ch; }
.hero__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--brand-line); }
.hero__stats strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: .8125rem; color: var(--ink-2); }
.hero__visual.is-tilting { will-change: transform; }
.hero__mockup { display: grid; grid-template-columns: 198px minmax(0, 1fr); gap: 12px; align-items: end; padding: 0 0 26px; }
.mockup-phone { position: relative; z-index: 2; transform: translateY(26px); border-radius: 22px; border: 1px solid var(--line-strong); background: var(--wa-bg); box-shadow: var(--shadow); overflow: hidden; font-size: .78rem; }
.mockup-phone__header { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: var(--wa-head); color: #fff; }
.mockup-phone__avatar { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.mockup-phone__name { font-weight: 600; font-size: .8rem; }
.mockup-phone__messages { display: flex; flex-direction: column; gap: 7px; padding: 12px 10px 14px; min-height: 250px; }
.chat-bubble { max-width: 88%; padding: 6px 9px 5px; border-radius: 8px; line-height: 1.45; color: var(--wa-text); position: relative; }
.chat-bubble--in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 2px; }
.chat-bubble--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.chat-bubble--audio { display: flex; align-items: center; gap: 6px; color: var(--wa-meta); min-width: 150px; }
.chat-bubble--audio svg { color: var(--wa-green); }
.chat-bubble__t { display: block; text-align: right; font-size: .62rem; color: var(--wa-meta); margin-top: 2px; }
.chat-typing, .wa__typing { display: flex; align-items: center; gap: 4px; width: 52px; height: 30px; padding: 0 12px; border-radius: 8px; border-top-left-radius: 2px; background: var(--wa-in); }
.chat-typing { align-self: flex-end; border-top-left-radius: 8px; border-top-right-radius: 2px; background: var(--wa-out); }
.wa__typing { align-self: flex-start; }
.chat-typing span, .wa__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--wa-meta); animation: dot 900ms ease-in-out infinite; }
.chat-typing span:nth-child(2), .wa__typing span:nth-child(2) { animation-delay: 150ms; }
.chat-typing span:nth-child(3), .wa__typing span:nth-child(3) { animation-delay: 300ms; }
.audio-wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.audio-wave span { width: 2px; border-radius: 2px; background: var(--wa-meta); height: 6px; }
.audio-wave span:nth-child(2) { height: 12px; } .audio-wave span:nth-child(3) { height: 9px; }
.audio-wave span:nth-child(4) { height: 15px; } .audio-wave span:nth-child(5) { height: 8px; }
.audio-wave span:nth-child(6) { height: 13px; } .audio-wave span:nth-child(7) { height: 5px; }
.mockup-dashboard { position: relative; z-index: 1; margin: 0; width: 100%; padding: 14px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: .78rem; }
.dash-header { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .82rem; }
.dash-header__dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; }
.dash-header__dot--green { background: var(--ok); }
.dash-row { display: grid; grid-template-columns: 1.25fr .9fr .95fr; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.dash-row > span:last-child { justify-self: start; }
.dash-row > span:nth-child(2) { display: none; } /* columna «Pedido» solo cuando el panel es ancho (hero apilado) */
.dash-row span:nth-child(3) { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.dash-row--head { font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.badge { display: inline-block; justify-self: start; padding: 2px 7px; border-radius: 4px; font-size: .66rem; font-weight: 600; }
.badge--success { color: var(--ok); background: var(--ok-bg); }
.badge--warning { color: var(--warn); background: var(--warn-bg); }
.dash-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 12px; }
.dash-stat { display: flex; flex-direction: column; gap: 2px; }
.dash-stat__num { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.dash-stat__label { font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
/* Hero «Duo»: un dispositivo plegable con dos pantallas (chat que cobra + industrias) */
.mockup-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: stretch; padding: 8px; background: #17121f; border-radius: 28px; box-shadow: var(--shadow); position: relative; }
.mockup-duo::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .1); border-radius: 2px; z-index: 3; }
.mockup-duo .mockup-phone { transform: none; z-index: 1; border-radius: 20px 6px 6px 20px; box-shadow: none; }
.mockup-duo .mockup-phone__messages { min-height: 0; padding: 10px 9px 12px; gap: 6px; font-size: .74rem; }
.mockup-phone__status { margin-left: auto; font-size: .62rem; opacity: .85; }
.chat-tag { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; font-size: .6rem; font-weight: 600; color: var(--brand-ink); background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 999px; padding: 2px 7px; }
.chat-tag svg { width: 10px; height: 10px; }
.chat-sys { align-self: center; display: inline-flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 3px 9px; }
.chat-sys svg { width: 11px; height: 11px; }
.chat-pay { align-self: flex-end; width: 88%; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; border-top-right-radius: 2px; overflow: hidden; }
.chat-pay__cab { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #f6f5fa; font-size: .6rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.chat-pay__cab i { width: 7px; height: 7px; border-radius: 50%; background: #009ee3; }
.chat-pay__cab img { margin-left: auto; height: 14px; width: auto; }
.chat-pay__body { padding: 7px 8px 8px; }
.chat-pay__monto { font: 700 1.05rem/1.1 var(--f-display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.chat-pay__det { margin-top: 2px; font-size: .6rem; line-height: 1.35; color: var(--ink-3); }
.chat-pay__btn { margin-top: 7px; padding: 6px 8px; border-radius: 7px; background: #009ee3; color: #fff; font-size: .64rem; font-weight: 700; text-align: center; }
.mockup-app { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px 20px 20px 6px; padding: 14px 12px 12px; font-size: .78rem; }
.mockup-app__eyebrow { margin: 0 0 4px; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.mockup-app__title { margin: 0 0 3px; font: 700 1rem/1.15 var(--f-display); color: var(--ink); }
.mockup-app__sub { margin: 0 0 10px; font-size: .68rem; color: var(--ink-3); }
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ind-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px 8px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); font-size: .62rem; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none; transition: transform 160ms var(--ease), border-color 160ms var(--ease); }
.ind-tile svg, .chat-tag svg, .chat-sys svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ind-tile svg { width: 18px; height: 18px; color: var(--brand-ink); }
.ind-tile span { font-size: .56rem; letter-spacing: -.01em; overflow-wrap: normal; hyphens: manual; }
.mockup-app__cta { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.mockup-app__cta a { display: block; text-align: center; padding: 9px 10px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; }
.mockup-app__cta small { font-size: .6rem; color: var(--ink-3); text-align: center; }
.ind-tile:hover { transform: translateY(-2px); border-color: var(--brand-line); }
.ind-tile--t2 svg { color: #0b7a8a; }
.ind-tile--t3 svg { color: #1f9d55; }
.ind-tile--on { background: var(--brand); border-color: var(--brand); color: #fff; }
.ind-tile--on svg { color: #fff; }
.ind-tile--mas { background: #fff; border: 1px dashed var(--brand-line); color: var(--brand-ink); }
.ind-grid > :nth-child(1) { --i: 0; } .ind-grid > :nth-child(2) { --i: 1; } .ind-grid > :nth-child(3) { --i: 2; } .ind-grid > :nth-child(4) { --i: 3; }
.ind-grid > :nth-child(5) { --i: 4; } .ind-grid > :nth-child(6) { --i: 5; } .ind-grid > :nth-child(7) { --i: 6; } .ind-grid > :nth-child(8) { --i: 7; }
.ind-grid > :nth-child(9) { --i: 8; } .ind-grid > :nth-child(10) { --i: 9; } .ind-grid > :nth-child(11) { --i: 10; } .ind-grid > :nth-child(12) { --i: 11; }

/* ---------- Confianza ---------- */
.trust { padding: 32px 0 36px; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__proof { display: flex; align-items: flex-start; gap: 10px; max-width: 880px; margin: 0 auto 26px; font-size: .9375rem; color: var(--ink-2); text-align: left; }
.trust__proof .icon { color: var(--brand); margin-top: 2px; }
.trust__proof strong { color: var(--ink); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item__ico { width: 36px; height: 36px; padding: 8px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-ink); margin-top: 0; }
.trust-item__ico--wa { color: var(--ok); background: var(--ok-bg); }
.trust-item__body { display: flex; flex-direction: column; gap: 2px; }
.trust-item__title { font-size: .875rem; font-weight: 600; color: var(--ink); }
.trust-item__sub { font-size: .8125rem; color: var(--ink-3); }

/* ---------- Cómo funciona ---------- */
.how__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.how__video { position: relative; border: 1px solid var(--brand-line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.how__sound { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(20, 17, 28, .78); color: #fff; font-size: .8125rem; font-weight: 600; opacity: 0; transition: opacity var(--d-fast) var(--ease), transform var(--d-press) ease-out; }
.how__video:hover .how__sound, .how__sound:focus-visible, .how__sound[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .how__sound { display: none; } }
.how__player { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.how__video figcaption { padding: 10px 14px; font-size: .8125rem; color: var(--brand-tint); background: var(--brand-ink); }
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.step__n { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.125rem; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: .9375rem; }
.how__more { margin-top: 36px; font-size: .9375rem; }
.how__more .link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--brand-line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--brand-ink); font-weight: 600; transition: border-color var(--t) var(--ease); }
.how__more .link:hover { border-color: var(--brand); }

/* ---------- Funciones ---------- */
.fx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto 88px; }
.fx:last-of-type { margin-bottom: 0; }
.fx--flip .fx__copy { order: 2; }
.fx__chat { padding: 28px; background: var(--brand-tint) var(--dots); border: 1px solid var(--brand-line); border-radius: 20px; }
.fx__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--brand-tint); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.fx__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.fx__copy h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: 14px; }
.fx__copy p { font-size: 1rem; color: var(--ink-2); }
.fx__copy p strong { color: var(--ink); }
.wa { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--wa-bg); }
.wa__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--wa-head); color: #fff; }
.wa__ava { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--brand); background: #fff; }
.wa__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wa__who b { font-size: .86rem; font-weight: 600; }
.wa__who span { font-size: .68rem; opacity: .85; }
.wa__thread { padding: 15px 11px; display: flex; flex-direction: column; gap: 8px; }
.wa__b { max-width: 87%; padding: 7px 10px 5px; border-radius: 8px; font-size: .845rem; line-height: 1.5; color: var(--wa-text); white-space: pre-line; overflow-wrap: anywhere; }
.wa__b--in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 2px; }
.wa__b--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.wa__b strong { font-weight: 600; }
.wa__b em { font-style: italic; color: var(--wa-meta); }
.wa__b--sys { align-self: center; background: #fff8e1; color: #54636c; font-size: .74rem; padding: 6px 10px; max-width: 92%; text-align: center; border-radius: 8px; }
.wa__t { display: block; text-align: right; margin-top: 2px; font-size: .61rem; color: var(--wa-meta); font-variant-numeric: tabular-nums; }
.wa__sep { align-self: center; margin: 3px 0; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wa-meta); background: #fff; padding: 3px 11px; border-radius: 999px; }
.fx-more { margin-top: 96px; max-width: 1040px; margin-left: auto; margin-right: auto; }
.fx-more__head { margin-bottom: 24px; }
.fx-more__head h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 4px; }
.fx-more__head p { color: var(--ink-2); }
.fx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--brand-line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.fx-item { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fx-item:nth-child(3n) { border-right: 0; }
.fx-item:nth-last-child(-n+3) { border-bottom: 0; }
.fx-item .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); }
.fx-item h4 { font-size: 1rem; }
.fx-item p { font-size: .9375rem; color: var(--ink-2); }
.tag-new { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }

/* ---------- Precios ---------- */
.pricing { padding: 112px 0; }
.country-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 32px; border: 1px solid var(--brand-line); border-radius: var(--r); background: #fff; }
.country-switch { position: relative; }
.country-btn { position: relative; z-index: 1; padding: 8px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; font-size: .875rem; transition: background-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--d-press) ease-out; }
.has-ind .country-btn.is-active { background: transparent; }
.country-btn:hover { color: var(--ink); }
.country-btn.is-active { background: var(--brand); color: #fff; }
.pricing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.card--pricing { position: relative; display: flex; flex-direction: column; padding: 28px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--pricing-featured { border-color: var(--brand); border-top-width: 4px; box-shadow: var(--shadow); }
.card--pricing-featured .card__plan { color: var(--brand-ink); }
.card__badge { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.card__badge--svc { background: var(--ink); }
.card__plan { font-family: var(--f-body); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.pricing-price-block { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.pricing-amount { font-family: var(--f-display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.pricing-amount--texto { font-size: 1.35rem; line-height: 1.2; }
.pricing-period { font-size: .8125rem; color: var(--ink-3); }
.pricing-saving { font-size: .8125rem; color: var(--ink-2); min-height: 2.6em; }
.pricing-saving .icon--inline { color: var(--brand); margin-right: 4px; }
.pricing-features { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: .875rem; color: var(--ink-2); }
.pricing-feature .icon--inline { width: 18px; height: 18px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); }
.feat-text { flex: 1 1 auto; min-width: 0; }
.iap-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 10px; }
.iap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.iap-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: .78rem; font-weight: 500; color: var(--ink-2); transition: border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--d-press) ease-out; }
.iap-chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.iap-chip--more { border-style: dashed; }
.pricing-cta { margin-top: auto; }
.pricing-alt { display: block; margin-top: 10px; text-align: center; font-size: .8125rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.svc-card__more { display: block; margin-top: 10px; text-align: center; font-size: .8125rem; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.pricing-note { display: flex; align-items: center; gap: 16px; margin: 32px auto 0; padding: 18px 22px; max-width: 900px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: var(--r-lg); font-size: .9375rem; color: var(--ink-2); }
.pricing-note__logo { width: 92px; flex-shrink: 0; }
.pricing-note strong { color: var(--ink); }

/* ROI (ids y clases exigidos por roi.js) */
.roi-calc { max-width: 900px; margin: 40px auto 0; padding: 32px 28px; background: #fff; border: 1px solid var(--brand-line); border-radius: var(--r-lg); }
.roi-calc__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.roi-calc__sub { color: var(--ink-2); font-size: .9375rem; margin-bottom: 22px; }
.roi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.roi-input label { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.roi-input output { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.roi-input input[type="range"] { width: 100%; accent-color: var(--brand); }
.roi-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px; border: 1px solid var(--brand-line); border-radius: var(--r); background: var(--brand-tint); margin-bottom: 22px; }
.roi-hero__money { font-family: var(--f-display); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.roi-hero__time { font-size: .9375rem; color: var(--ink-2); }
.roi-hero__time b { color: var(--ink); }
.roi-hero__loss { font-size: .8125rem; color: var(--ink-3); }
.roi-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.roi-plan { position: relative; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.roi-plan__badge { display: none; position: absolute; top: -10px; left: 14px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 600; }
.roi-plan--winner { border-color: var(--brand); }
.roi-plan--winner .roi-plan__badge { display: inline-block; }
.roi-plan--na { opacity: .55; }
.roi-plan__name { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.roi-plan__cost { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.roi-plan__cost--pos { color: var(--ok); }
.roi-plan__detail, .roi-plan__extra { font-size: .8125rem; color: var(--ink-3); margin-top: 4px; }
.roi-plan__extra .icon--inline { color: var(--brand); }
.roi-verdict { text-align: center; font-size: .9375rem; color: var(--ink-2); margin-bottom: 16px; }
.roi-verdict strong { color: var(--ink); }
.roi-verdict__alegra { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-3); }
.roi-cta { display: flex; justify-content: center; margin-bottom: 14px; }
.roi-footnote { font-size: .8125rem; color: var(--ink-3); text-align: center; }

/* Tabla comparativa dentro de <details> */
.cmp-details { max-width: 900px; margin: 28px auto 0; }
.cmp-details > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-ink); font-size: .9375rem; }
.cmp-details > summary::-webkit-details-marker { display: none; }
.cmp-details > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform var(--t) var(--ease); }
.cmp-details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.cmp-wrap { margin-top: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.cmp-title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.cmp-sub { font-size: .875rem; color: var(--ink-2); margin-bottom: 16px; }
.cmp { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-2); }
.cmp th { font-weight: 600; color: var(--ink); }
.cmp .plan-price { display: block; font-size: .75rem; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.cmp .col-pro { background: var(--brand-tint); }
.cmp td { font-variant-numeric: tabular-nums; }
.cmp td.yes { color: var(--ok); font-weight: 600; }
.cmp td.no { color: var(--ink-3); }

/* ---------- Servicios IA ---------- */
.svc-explorer { max-width: 900px; margin: 0 auto; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--brand-line); border-radius: var(--r); background: var(--brand-tint); }
.svc-tabs { position: relative; }
.svc-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: .875rem; font-weight: 500; transition: background-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--d-press) ease-out; }
.has-ind .svc-tab.is-active { background: transparent; }
.svc-tabs__ind, .seg__ind { position: absolute; top: 0; left: 0; z-index: 0; width: 0; height: 0; border-radius: var(--r-sm); background: var(--brand); opacity: 0; pointer-events: none; }
.has-ind .svc-tabs__ind, .has-ind .seg__ind { opacity: 1; transition: transform var(--d-ui) var(--ease), width var(--d-ui) var(--ease), height var(--d-ui) var(--ease); }
.svc-tab .icon { width: 16px; height: 16px; }
.svc-tab:hover { color: var(--ink); }
.svc-tab.is-active { background: var(--brand); color: #fff; }
.svc-panels { margin-top: 20px; }
.svc-panel[hidden] { display: none; }
.svc-panel { padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-lg); }
.svc-panel.is-active { animation: svcIn .2s var(--ease) both; }
@keyframes svcIn { from { opacity: 0; } to { opacity: 1; } }
.svc-panel__title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.svc-panel__title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 9px; vertical-align: 2px; }
.svc-panel__intro { color: var(--ink-2); margin-bottom: 14px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-list li { position: relative; padding-left: 22px; font-size: .9375rem; color: var(--ink-2); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--brand); }
.svc-list li strong { color: var(--ink); }
.svc-panel__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-panel__cta small { font-size: .8125rem; color: var(--ink-3); }
.svc-band { max-width: 900px; margin: 48px auto 0; padding: 32px 28px; text-align: center; background: var(--brand-tint) var(--dots); border: 1px solid var(--brand-line); border-radius: var(--r-lg); }
.svc-band h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 8px; }
.svc-band p { color: var(--ink-2); max-width: 56ch; margin: 0 auto 20px; }
.svc-band__micro { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item::details-content { height: 0; overflow: clip; transition: height var(--d-ui) var(--ease), content-visibility var(--d-ui) allow-discrete; }
.faq__item[open]::details-content { height: auto; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-wrap: pretty; }
.faq__q::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--t) var(--ease), border-color var(--t) var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(-135deg); border-color: var(--brand); }
.faq__item[open] .faq__q h3 { color: var(--brand-ink); }
.faq__a { padding: 0 0 20px; max-width: 66ch; color: var(--ink-2); font-size: .9375rem; }
.faq__a strong { color: var(--ink); }
.faq__a a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq__more { margin-top: 28px; font-size: .9375rem; color: var(--ink-2); }
.faq__more a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA final ---------- */
.cta { padding: 80px 0; background: var(--brand) var(--dots-light); color: #fff; }
.cta .btn--white { color: var(--brand-ink); }
.cta__inner { text-align: center; max-width: 760px; }
.cta__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); color: #fff; margin: 0 auto 12px; }
.cta__lead { font-size: 1.0625rem; opacity: .92; max-width: 52ch; margin: 0 auto 26px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.cta__alt { color: #fff; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }

/* ---------- Contacto (sobre tinta: contact.js pinta el estado en verde/rojo claros) ---------- */
.contact { padding: 72px 0; background: var(--dark-bg); color: var(--dark-text); }
.contact__inner { max-width: 640px; }
.contact__title { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem); color: var(--dark-text); margin-bottom: 6px; }
.contact__sub { color: var(--dark-muted); margin-bottom: 24px; }
.zv-contact__form { display: flex; flex-direction: column; gap: 12px; }
.zv-contact__row { display: flex; gap: 12px; }
.zv-input { width: 100%; background: var(--dark-surface); border: 1px solid var(--dark-line); border-radius: var(--r-sm); color: var(--dark-text); font-size: .9375rem; padding: 12px 14px; outline: none; transition: border-color var(--t) var(--ease); }
.zv-input::placeholder { color: var(--dark-muted); }
.zv-input:focus { border-color: var(--brand); }
.zv-textarea { resize: vertical; min-height: 130px; }
.zv-contact__form .btn { align-self: flex-start; background: var(--brand); color: #fff; margin-top: 4px; }
.zv-contact__form .btn:hover { background: var(--brand-hover); }
.zv-contact__status { margin: 4px 0 0; font-size: .9rem; min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 28px; background: var(--dark-bg); color: var(--dark-muted); border-top: 1px solid var(--dark-line); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 28px; }
.svc-panel__more { margin-top: 14px; font-size: .9375rem; }
.footer .zv-logo, .footer .zv-word { color: var(--dark-text); }
.footer__tagline { margin-top: 16px; font-size: .9375rem; color: var(--dark-muted); max-width: 32ch; }
.footer__corp { margin-top: 16px; font-size: .8125rem; line-height: 1.6; }
.footer__corp strong { color: var(--dark-text); }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--dark-line); border-radius: var(--r-sm); color: var(--dark-muted); transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.footer__social a:hover { color: var(--dark-text); border-color: var(--brand); }
.footer__col-title { font-family: var(--f-body); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-text); margin-bottom: 14px; }
.footer__nav { display: flex; flex-direction: column; gap: 9px; }
.footer__nav a { font-size: .875rem; color: var(--dark-muted); transition: color var(--t) var(--ease); }
.footer__nav a:hover { color: var(--dark-text); }
.footer__habeas { margin-top: 16px; font-size: .78rem; line-height: 1.5; }
.footer__habeas a { color: var(--dark-text); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: .8125rem; }

/* ---------- Movimiento (fase 3): entradas, chats en vivo, escalonados ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes typingShow { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; height: 0; margin: 0; padding: 0; } }
@keyframes dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
/* A1 · hero al cargar */
html.js .hero__content > * { animation: rise var(--d-enter) var(--ease) both; }
html.js .hero__content > :nth-child(2) { animation-delay: 60ms; }
html.js .hero__content > :nth-child(3) { animation-delay: 120ms; }
html.js .hero__content > :nth-child(4) { animation-delay: 180ms; }
html.js .hero__content > :nth-child(5) { animation-delay: 240ms; }
html.js .hero__content > :nth-child(6) { animation-delay: 300ms; }
html.js .hero__mockup { animation: rise var(--d-enter) var(--ease) both 200ms; }
html.js .hero__stats li { animation: rise var(--d-enter) var(--ease) both; }
html.js .hero__stats li:nth-child(1) { animation-delay: 420ms; }
html.js .hero__stats li:nth-child(2) { animation-delay: 480ms; }
html.js .hero__stats li:nth-child(3) { animation-delay: 540ms; }
html.js .hero__stats li:nth-child(4), html.js .hero__stats li:nth-child(5) { animation-delay: 600ms; }
/* A2 · el chat del hero se escribe solo */
html.js .mockup-phone__messages > * { animation: bubbleIn 320ms var(--ease) both; }
html.js .mockup-phone__messages > :nth-child(1) { animation-delay: 600ms; }
html.js .mockup-phone__messages > :nth-child(2) { animation-delay: 1100ms; }
html.js .mockup-phone__messages > .chat-typing { animation: typingShow 700ms linear both 1500ms; }
html.js .mockup-phone__messages > :nth-child(4) { animation-delay: 2300ms; }
html.js .mockup-phone__messages > :nth-child(5) { animation-delay: 2800ms; }
html.js .mockup-phone__messages > :nth-child(6) { animation-delay: 3400ms; }
html.js .ind-grid > * { animation: rise var(--d-enter) var(--ease) both; }
html.js .ind-grid > :nth-child(n) { animation-delay: calc(700ms + 60ms * var(--i, 0)); }
/* A4 · chats de funciones al entrar en pantalla */
html.js .wa[data-live] .wa__thread > * { opacity: 0; }
html.js .wa.is-live .wa__thread > * { animation: bubbleIn 320ms var(--ease) both; }
html.js .wa.is-live .wa__sep { animation-name: fadeIn; }
html.js .wa.is-live .wa__typing { animation: typingShow 700ms linear both; }
html.js .wa.is-live .wa__thread > :nth-child(2) { animation-delay: 450ms; }
html.js .wa.is-live .wa__thread > :nth-child(3) { animation-delay: 900ms; }
html.js .wa.is-live .wa__thread > :nth-child(4) { animation-delay: 1350ms; }
html.js .wa.is-live .wa__thread > :nth-child(5) { animation-delay: 1800ms; }
html.js .wa.is-live .wa__thread > :nth-child(6) { animation-delay: 2250ms; }
html.js .wa.is-live .wa__thread > :nth-child(7) { animation-delay: 2700ms; }
html.js .wa.is-live .wa__thread > :nth-child(8) { animation-delay: 3150ms; }
html.js .wa.is-live .wa__thread > :nth-child(9) { animation-delay: 3600ms; }
html.js .wa.is-live .wa__thread > :nth-child(10) { animation-delay: 4050ms; }
/* A5 · grupos escalonados */
html.js [data-stagger] > * { opacity: 0; }
html.js [data-stagger].is-in > * { animation: rise var(--d-enter) var(--ease) both; }
html.js [data-stagger].is-in > :nth-child(2) { animation-delay: calc(var(--stagger) * 1); }
html.js [data-stagger].is-in > :nth-child(3) { animation-delay: calc(var(--stagger) * 2); }
html.js [data-stagger].is-in > :nth-child(4) { animation-delay: calc(var(--stagger) * 3); }
html.js [data-stagger].is-in > :nth-child(5) { animation-delay: calc(var(--stagger) * 4); }
html.js [data-stagger].is-in > :nth-child(6) { animation-delay: calc(var(--stagger) * 5); }
html.js [data-stagger].is-in > :nth-child(n+7) { animation-delay: calc(var(--stagger) * 6); }
/* B4 · hover solo con puntero fino */
@media (hover: hover) and (pointer: fine) {
  .card--pricing { transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
  .card--pricing:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .fx-item { transition: background-color var(--d-fast) var(--ease); }
  .fx-item:hover { background: var(--bg-alt); }
}

/* ---------- Páginas de contenido (generadas por scripts/landing/build_pages.py) ---------- */
.page__head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .8125rem; color: var(--ink-3); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--ink-2); } .breadcrumb a:hover { color: var(--brand-ink); text-decoration: underline; }
.page__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); max-width: 22ch; }
.page__lead { margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); max-width: 60ch; }
.page__meta { margin-top: 18px; font-size: .8125rem; color: var(--ink-3); }
.page__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 48px 0 72px; align-items: start; }
.prose { max-width: 72ch; min-width: 0; font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); margin-top: 2.2em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--brand); margin-bottom: 14px; border-radius: 2px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
/* Código: la página de desarrolladores fue la primera con bloques de código, y
   sin esto una línea larga se desbordaba por debajo de la barra lateral. */
.prose :not(pre) > code { font-size: .875em; padding: .15em .4em; border-radius: 5px; background: var(--brand-tint); color: var(--brand-ink); overflow-wrap: anywhere; }
.prose pre { margin: 1.4em 0; padding: 16px 18px; background: var(--ink); border-radius: var(--r); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose pre code { display: block; font-size: .875rem; line-height: 1.65; color: #e9e6f2; background: none; padding: 0; white-space: pre; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--r) var(--r) 0; }
.prose blockquote p { color: var(--ink); }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.page__meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.resumen { margin: 0 0 32px; padding: 20px 24px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: var(--r-lg); }
.resumen__t { margin: 0 0 8px; font: 600 .8125rem/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.resumen ul { margin: 0; padding-left: 20px; }
.resumen li { margin: 4px 0; }
.fuentes { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.fuentes h2 { font-size: 1.125rem; margin: 0 0 12px; }
.fuentes ol { margin: 0; padding-left: 20px; font-size: .9375rem; color: var(--ink-2); }
.fuentes li { margin: 6px 0; }
.fuentes span { color: var(--ink-3); }
.autor { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 20px 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg); }
.autor__ini { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 1rem/1 var(--f-head); }
.autor__n { margin: 0 0 4px; font-weight: 600; }
.autor__n span { font-weight: 400; color: var(--ink-3); }
.autor__bio { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.aside-card--planes ul { margin: 0 0 10px; padding: 0; list-style: none; }
.aside-card--planes li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.aside-card--planes li:last-child { border-bottom: 0; }
.aside-card--planes em { font-style: normal; color: var(--brand-ink); }
.related__grid--hub { margin: 24px 0 8px; }
.fig { margin: 28px 0; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.fig figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-3); }
.fig--video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-lg); border: 1px solid var(--line); }
.related__grid.related__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .related__grid.related__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related__grid--hub .related__card { font-size: .9375rem; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.tbl > table { margin: 0; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--bg-alt); }
.prose .wa { max-width: 420px; margin: 1.6em 0; }
.prose .wa__b { animation: none; opacity: 1; }
.prose .nota { padding: 14px 18px; border: 1px solid var(--brand-line); border-radius: var(--r); background: var(--brand-tint); font-size: .9375rem; }
.prose .ejemplo { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 18px 20px; }
.prose .ejemplo > :first-child { margin-top: 0; }
.page__aside { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.aside-card--cta { border-color: var(--brand-line); background: var(--brand-tint); }
.aside-card--cta .btn { margin-top: 10px; }
.aside-card--cta p { color: var(--ink-2); font-size: .9375rem; }
.aside-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; margin-bottom: 8px; color: var(--ink); }
.toc ul { display: flex; flex-direction: column; gap: 6px; }
.toc a { font-size: .875rem; color: var(--ink-2); } .toc a:hover { color: var(--brand-ink); }
.hace ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.hace li { position: relative; padding-left: 22px; font-size: .875rem; color: var(--ink-2); }
.hace li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; }
.hace__si::before { background: var(--ok-bg); box-shadow: inset 0 0 0 2px var(--ok); }
.hace__med::before { background: var(--brand-tint); box-shadow: inset 0 0 0 2px var(--brand); }
.related { padding: 64px 0; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.related__card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color var(--d-fast) var(--ease); }
.related__card:hover { border-color: var(--brand); }
.related__k { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.related__card strong { font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); }
.related__card span:last-child { font-size: .875rem; color: var(--ink-2); }
.page .faq__inner { max-width: 820px; }

/* ---------- Aviso de cookies (consent.js) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 760px; margin: 0 auto; padding: 14px 18px; background: #fff; border: 1px solid var(--brand-line); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: .875rem; color: var(--ink-2); }
.consent p { margin: 0; max-width: 52ch; }
.consent a { color: var(--brand-ink); text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; }

/* ---------- Utilidades ---------- */
html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .48s var(--ease), transform .48s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .navbar__toggle { display: flex; }
  .navbar__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 24px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .navbar__menu.active { display: flex; }
  .navbar__link { padding: 10px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .navbar__link:last-child { border-bottom: 0; }
  .navbar__cta { margin-left: 0; }
  .hero { padding: 48px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { max-width: 18ch; }
  .hero__mockup { max-width: 640px; margin: 0 auto; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row { grid-template-columns: 1.25fr .6fr .85fr .9fr; }
  .dash-row > span:nth-child(2) { display: block; }
  .trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__grid { grid-template-columns: 1fr; gap: 32px; }
  .fx { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .fx--flip .fx__copy { order: 0; }
  .fx__chat { max-width: 520px; }
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card__badge { top: -12px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .page__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .page__aside { position: static; }
  .related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .pricing { padding: 72px 0; }
  .section__head { margin-bottom: 32px; }
  .hero__visual { padding: 20px 16px 24px; }
  .hero__mockup { padding: 0; max-width: 460px; grid-template-columns: 1fr; gap: 16px; }
  .mockup-duo { padding: 8px; gap: 8px; grid-template-columns: minmax(0, 1fr); }
  .mockup-duo::before { top: 50%; bottom: auto; left: 12px; right: 12px; width: auto; height: 2px; margin: -1px 0 0; }
  .mockup-duo .mockup-phone { max-width: none; border-radius: 20px 20px 6px 6px; }
  .mockup-app { border-radius: 6px 6px 20px 20px; }
  .ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx__chat { padding: 16px; }
  .fx-item { border-right: 0; }
  .fx-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .fx-item:last-child { border-bottom: 0; }
  .mockup-phone { transform: none; width: 100%; max-width: 300px; }
  .trust-strip__grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .roi-inputs, .roi-results { grid-template-columns: 1fr; }
  .roi-calc { padding: 24px 18px; }
  .pricing-note { flex-direction: column; align-items: flex-start; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-more { margin-top: 64px; }
  .svc-panel { padding: 22px 18px; }
  .svc-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { flex-shrink: 0; }
  .zv-contact__row { flex-direction: column; }
  .cta { padding: 64px 0; }
  .contact { padding: 56px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero__ctas .btn { width: 100%; }
  .btn--lg { height: 48px; }
  .zv-contact__form .btn { align-self: stretch; }
  .country-switch { width: 100%; }
  .country-btn { flex: 1; text-align: center; padding: 8px 6px; }
  .svc-tab .icon { display: none; }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .hero__content > *, html.js .hero__mockup, html.js .hero__stats li, html.js .mockup-phone__messages > *,
  html.js .ind-grid > *, html.js .wa[data-live] .wa__thread > *, html.js [data-stagger] > * { opacity: 1 !important; animation: none !important; }
  .chat-typing, .wa__typing { display: none; }
  .faq__item::details-content { transition: none; }
  .has-ind .svc-tabs__ind, .has-ind .seg__ind { transition: none; }
}
