/* VentaWeb — Landing v2 */
:root {
  --ink: #0b0d12;
  --ink-2: #12151c;
  --ink-3: #181c25;
  --ink-line: #232836;
  --paper: #f6f6f2;
  --paper-2: #ffffff;
  --paper-line: #e3e3dc;
  --text-hi: #eceef3;
  --text-lo: #a3a9b8;
  --text: #14161c;
  --text-mute: #5a6070;
  --brand: #4361ee;
  --brand-hover: #3651d6;
  --brand-ink: #8ea0ff;
  --ok: #2fbf71;

  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Red Hat Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.45rem + 1.9vw, 3rem);
  --step-4: clamp(2.375rem, 1.6rem + 3.6vw, 4.5rem);

  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(10, 12, 18, 0.06), 0 8px 24px rgba(10, 12, 18, 0.08);
  --shadow-2: 0 30px 60px rgba(0, 0, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.3);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--paper-2); color: var(--text); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.75rem 1.2rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: var(--step-0); line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { border-color: var(--ink-line); color: var(--text-hi); }
.btn--ghost:hover { border-color: var(--text-lo); }
.btn--sm { min-height: 40px; padding: 0.55rem 0.95rem; font-size: var(--step--1); gap: 0.28rem; }
.btn--lg { min-height: 54px; padding: 0.95rem 1.5rem; font-size: var(--step-1); }

/* ── Superficies del navegador ── */
::selection { background: var(--brand); color: #fff; }
html { scrollbar-color: #2c3242 var(--ink); }
input, textarea { caret-color: var(--brand); }
.num, .tk-items, .tk-total, .hero-stats dt { font-variant-numeric: tabular-nums; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.nav.is-solid, .nav.is-open { background: rgba(11, 13, 18, 0.92); border-bottom-color: var(--ink-line); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text-hi); }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; margin-inline: auto; }
.nav-links a { padding: 0.5rem 0.7rem; border-radius: 8px; font-size: var(--step--1); font-weight: 500; color: var(--text-lo); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text-hi); background: var(--ink-2); }
.nav-links-login { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-login { font-size: var(--step--1); font-weight: 500; color: var(--text-hi); text-decoration: none; padding: 0.5rem 0.25rem; }
.nav-login:hover { color: var(--brand-ink); }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav-login { display: inline-block; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: var(--radius-sm); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text-hi); transition: transform 0.25s var(--ease-out); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 16px 1.25rem; background: var(--ink); border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 0.9rem 0.25rem; font-size: var(--step-0); border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .nav-links a:hover { background: transparent; }
  .nav-links-login { display: block; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav-login, .nav-cta-long { display: none; }
  .nav-logo span { font-size: 1.15rem; }
}

/* ── Hero ── */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(2rem, 1rem + 4vw, 4.5rem)) 0 clamp(4rem, 2rem + 6vw, 7.5rem); overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }

/* Registro de ventas en vivo (fondo decorativo del hero) */
.hero-log { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; font-family: var(--font-mono); font-size: 13px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%), linear-gradient(90deg, transparent 0, transparent 40%, #000 62%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%), linear-gradient(90deg, transparent 0, transparent 40%, #000 62%);
  mask-composite: intersect; }
.hero-log-list { position: absolute; left: 0; right: 0; bottom: 0; transition: transform 0.7s var(--ease-out); }
.hero-log-row { display: grid; grid-template-columns: 9ch 14ch 17ch minmax(0, 1fr) 15ch 13ch; gap: 2ch; height: 32px; align-items: center; padding: 0 max(16px, calc((100vw - 1200px) / 2)); color: rgba(236, 238, 243, 0.11); white-space: nowrap; transition: color 2.6s ease, background-color 2.6s ease; }
.hero-log-row > span { overflow: hidden; }
.hero-log-row .amt { text-align: right; }
.hero-log-row .st { color: rgba(47, 191, 113, 0.25); }
.hero-log-row.is-new { color: rgba(195, 204, 255, 0.55); transition: none; }
.hero-log-row.is-new .st { color: rgba(47, 191, 113, 0.7); }
@media (max-width: 760px) { .hero-log { display: none; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 2rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
  .demo { margin-top: 1.5rem; }
}
/* Hero más ancho en pantallas grandes */
@media (min-width: 1280px) {
  .hero > .container, .nav-inner { width: min(1560px, 100% - 96px); }
  .hero-grid { gap: clamp(3.5rem, 1rem + 3.5vw, 6rem); }
  .hero-title { font-size: clamp(3.875rem, 2.2rem + 2.2vw, 4.25rem); }
  .hero-sub, .hero-quote { max-width: 38rem; }
  #hero .hero-log-row { padding: 0 max(48px, calc((100vw - 1560px) / 2)); }
}

.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.7rem + 2.6vw, 3.875rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.hero-title span { color: var(--brand-ink); }
.hero-sub { margin-top: 1.5rem; max-width: 34rem; color: var(--text-lo); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; }
.hero-sub strong { color: var(--text-hi); font-weight: 600; }
.hero-sub--web { margin-top: 0.6rem; }
.hero-note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--text-lo); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-tagline { margin-top: 1.25rem; font-size: var(--step--1); color: var(--text-lo); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; margin-top: 0.5rem; }
.hero-stats div { display: flex; align-items: baseline; gap: 0.4rem; }
.hero-stats dt { font-weight: 700; color: var(--text-hi); }
.hero-stats dd { color: var(--text-lo); font-size: var(--step--1); }

.hero-quote { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--ink-line); max-width: 34rem; }
.hero-quote blockquote { font-size: var(--step--1); line-height: 1.6; color: var(--text-hi); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-quote figcaption { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.85rem; font-size: var(--step--1); }
.hero-quote figcaption b { display: block; color: var(--text-hi); font-weight: 600; }
.hero-quote figcaption small { display: block; color: var(--text-lo); font-size: 0.8125rem; }
.hero-ava, .hero-chip { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; background: #fff; border-radius: 9px; }
.hero-ava { width: 36px; height: 36px; }
.hero-chips { display: flex; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.hero-chip { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); margin-right: -8px; }
.hero-chips-more { margin-left: 1rem; font-size: 0.8125rem; color: var(--text-lo); }
.vw-cmlogo { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.vw-cmavatar { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; font-size: 0.75rem; font-weight: 700; }
.vw-noimg { background: var(--ink-3); }

/* ── Demo vivo ── */
.demo { position: relative; margin: 0 0 clamp(5rem, 3rem + 6vw, 7rem); }
.demo-window { position: relative; border-radius: 12px; overflow: hidden; background: #0f1218; border: 1px solid var(--ink-line); box-shadow: var(--shadow-2); }
.demo-window-bar { display: flex; align-items: center; gap: 0.75rem; height: 34px; padding: 0 12px; background: #161a23; border-bottom: 1px solid var(--ink-line); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c3242; }
.demo-url { flex: 1; text-align: center; font-size: 0.75rem; color: var(--text-lo); margin-right: 39px; }
.demo-screen { position: relative; }
.demo-screen img { width: 100%; }
.demo-confirm { position: absolute; left: 79.6%; top: 90.6%; width: 19.6%; height: 8%; border-radius: 10px; box-shadow: 0 0 0 2px var(--ok); }
.demo-stock { position: absolute; left: 28%; top: 19.5%; padding: 0.15rem 0.5rem; border-radius: 6px; background: #eafaf1; color: #12623a; font-size: 0.75rem; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(10, 12, 18, 0.15); }
.demo-stock b { font-variant-numeric: tabular-nums; }

.demo-ticket {
  position: absolute; right: 1.5%; top: calc(100% - 6px); width: 34%; z-index: 2;
  padding: 1rem 1rem 1.4rem; background: #fbfbf7; color: #1b1d22;
  font-family: var(--font-mono); font-size: clamp(0.6875rem, 0.4rem + 0.45vw, 0.75rem); line-height: 1.55;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
}
.tk-head { display: flex; flex-direction: column; padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: 1px dashed #b9bcc4; }
.tk-head b { font-weight: 600; letter-spacing: 0.04em; }
.tk-head span { color: #555b66; }
.tk-items li, .tk-total { display: flex; justify-content: space-between; gap: 0.75rem; }
.tk-items li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-total { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed #b9bcc4; font-weight: 600; font-size: 0.8125rem; }
.tk-cae { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; color: #12623a; font-weight: 600; }

.demo-phone { position: absolute; left: -7%; top: 26%; width: 23%; z-index: 3; padding: 7px; border-radius: 30px; background: #0b0d12; border: 1px solid #2c3242; box-shadow: var(--shadow-2); }
.demo-phone-screen { position: relative; border-radius: 23px; overflow: hidden; }
.demo-phone-screen img { width: 100%; }
.demo-phone-stock { position: absolute; left: 6%; top: 35%; padding: 0.15rem 0.45rem; border-radius: 6px; background: #fff; color: #12623a; font-size: 0.6875rem; font-weight: 700; box-shadow: 0 2px 6px rgba(10, 12, 18, 0.2); }

.demo-sync { position: absolute; left: 20%; top: calc(100% + 1.25rem); z-index: 4; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--text-hi); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.demo-sync svg { color: var(--ok); }

.demo-caption { position: absolute; left: 20%; right: 38%; top: calc(100% + 4.5rem); display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; font-size: 0.8125rem; color: var(--text-lo); }
.demo-caption span:not(.demo-note)::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.4rem; border-radius: 2px; background: var(--brand-ink); vertical-align: 1px; }
.demo-note { flex-basis: 100%; font-size: 0.75rem; color: #7d8496; }

@media (max-width: 1023px) {
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .hero-copy > .hero-sub--web, .hero-copy > .hero-note, .hero-copy > .hero-tagline, .hero-copy > .hero-quote, .hero-copy > .hero-chips { order: 3; }
  .hero-sub--web { margin-top: 0; }
  .hero-stats { margin-top: 1.25rem; }
  .demo { order: 2; margin: 2.75rem 0 18.5rem; }
  .demo-phone { left: -2%; top: 34%; width: min(34%, 170px); border-radius: 24px; padding: 5px; }
  .demo-phone-screen { border-radius: 19px; }
  .demo-ticket { right: 0; top: calc(100% - 4px); width: 60%; font-size: 0.6875rem; padding: 0.8rem 0.8rem 1.2rem; }
  .tk-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tk-items li:nth-child(n+3) { display: none; }
  .demo-sync { left: 0; top: -2.75rem; }
  .demo-stock { left: 42%; top: 18%; }
  .demo-caption { left: 0; right: 0; top: calc(100% + 13.75rem); }
}

/* ── Secciones ── */
.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); color: var(--text); }
.section--paper + .section--paper { border-top: 1px solid var(--paper-line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.section-sub { margin-top: 1rem; max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: var(--text-lo); }
.section--paper .section-sub { color: var(--text-mute); }

/* ── Cinta de comercios ── */
.strip { background: var(--paper); color: var(--text); padding: 2.75rem 0 2.25rem; border-bottom: 1px solid var(--paper-line); }
.strip-title { margin-bottom: 1.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-mute); }
.strip-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 0.75rem; width: max-content; animation: strip 45s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } .strip-mask { overflow-x: auto; } }
.strip-chip { display: flex; align-items: center; gap: 0.65rem; max-width: 470px; height: 58px; padding: 0 1.1rem 0 0.5rem; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 999px; color: inherit; text-decoration: none; transition: border-color 0.2s; }
a.strip-chip:hover { border-color: #c4c8d2; }
.strip-ava { display: inline-flex; flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #fff; border: 1px solid var(--paper-line); }
.strip-info { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.strip-name { font-size: 0.875rem; font-weight: 600; }
.strip-loc { font-size: 0.75rem; color: var(--text-mute); }
.strip-q { max-width: 270px; padding-left: 0.7rem; border-left: 1px solid var(--paper-line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; font-style: italic; color: var(--text-mute); }

/* ── Tipos de comercio + datos ── */
.tipos { background: var(--paper); color: var(--text); padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 0; }
.tipos-title { max-width: 40rem; font-size: var(--step-0); font-weight: 500; line-height: 1.5; color: var(--text-mute); }
.tipos-list { display: flex; flex-wrap: wrap; gap: 0.15rem 0.85rem; margin-top: 1rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.tipos-list li:not(:last-child)::after { content: "·"; margin-left: 0.85rem; color: #b3b7c2; }

/* ── Recorrido del ERP ── */
.tour { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .tour { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; } }
.tour-step { display: block; width: 100%; padding: 0.75rem 1rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text); text-align: left; cursor: pointer; transition: background-color 0.2s; }
.tour-step h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
.js .tour-step p { display: none; }
.tour-step p { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.5; color: var(--text-mute); }
.tour-step:hover:not(.is-active) { background: rgba(20, 22, 28, 0.045); }
.tour-step.is-active { background: var(--paper-2); box-shadow: var(--shadow-1); }
.tour-step.is-active h3 { color: var(--brand); }
.tour-step.is-active p { display: block; }
.tour-step:focus-visible { outline-color: var(--brand); }
.tour-stage { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.tour-window { overflow: hidden; border-radius: 12px; border: 1px solid var(--paper-line); background: #fff; box-shadow: 0 30px 60px rgba(20, 22, 28, 0.12), 0 6px 14px rgba(20, 22, 28, 0.08); }
.tour-window .demo-window-bar { background: #eef0f3; border-bottom-color: var(--paper-line); }
.tour-window .demo-dots i { background: #cfd3db; }
.tour-window .demo-url { color: var(--text-mute); }
.tour-shots { position: relative; aspect-ratio: 1550 / 718; }
.tour-shot { width: 100%; }
.tour-shot:not(.is-active) { display: none; }
.js-motion .tour-shot { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.js-motion .tour-shot.is-active { opacity: 1; }
.tour-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-mute); }
.tour-inline-shot { display: none; }
@media (max-width: 1023px) {
  .tour-stage { display: none; }
  .tour-list { display: flex; gap: 0.85rem; margin: 0 -16px; padding: 0 16px 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-item { display: flex; flex: 0 0 86%; flex-direction: column-reverse; overflow: hidden; scroll-snap-align: start; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 14px; }
  .tour-step, .tour-step.is-active { padding: 1rem 1.1rem 1.25rem; box-shadow: none; background: transparent; cursor: default; }
  .tour-step.is-active h3 { color: var(--text); }
  .js .tour-step p { display: block; }
  .tour-inline-shot { display: block; border-bottom: 1px solid var(--paper-line); }
}

/* ── Tienda web ── */
.tienda { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .tienda { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.tienda-device { display: flex; flex-direction: column; align-items: center; }
.tienda-phone { width: min(300px, 78vw); padding: 8px; border-radius: 36px; background: #0b0d12; box-shadow: 0 40px 70px rgba(20, 22, 28, 0.22), 0 8px 18px rgba(20, 22, 28, 0.12); }
.tienda-bar { display: flex; align-items: center; justify-content: center; gap: 0.35rem; height: 34px; margin-bottom: 6px; border-radius: 22px 22px 8px 8px; background: #1b1f29; color: #d7dbe5; font-family: var(--font-mono); font-size: 0.75rem; white-space: nowrap; overflow: hidden; }
.tienda-bar svg { flex: none; color: var(--ok); }
.tienda-phone img { width: 100%; border-radius: 6px 6px 28px 28px; }
.tienda-options { display: grid; gap: 0.75rem; }
.tienda-option { padding: 1.25rem 1.4rem; border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--paper-2); transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.tienda-option.is-active { border-color: #c9d1ff; background: #f7f8ff; box-shadow: var(--shadow-1); }
.tienda-domain { display: inline-block; margin-bottom: 0.55rem; padding: 0.2rem 0.55rem; border-radius: 6px; background: #eef0f6; color: #3a4153; font-family: var(--font-mono); font-size: 0.8125rem; }
.tienda-option.is-active .tienda-domain { background: var(--brand); color: #fff; }
.tienda-option h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.tienda-badge { padding: 0.15rem 0.5rem; border-radius: 999px; background: #e7f7ee; color: #12623a; font-size: 0.75rem; font-weight: 600; }
.tienda-option p { margin-top: 0.4rem; font-size: 0.9375rem; line-height: 1.55; color: var(--text-mute); }
.tienda-option strong { color: var(--text); font-weight: 600; }
.tienda-feats { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--paper-line); }
@media (min-width: 640px) { .tienda-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) { .tienda-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tienda-feats li { padding: 1.25rem 0; border-bottom: 1px solid var(--paper-line); }
.tienda-feats h3 { font-size: 1rem; font-weight: 600; }
.tienda-feats p { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--text-mute); }

/* ── 3 pasos ── */
.pasos { position: relative; display: grid; gap: 2rem; counter-reset: none; }
@media (min-width: 768px) { .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.pasos::before { content: ""; position: absolute; left: 0; right: 0; top: 1.75rem; height: 1px; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); display: none; }
@media (min-width: 768px) { .pasos::before { display: block; } }
.pasos li { position: relative; }
.pasos-n { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--brand); color: var(--brand); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; position: relative; }
.pasos h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.pasos p { margin-top: 0.5rem; max-width: 22rem; color: var(--text-mute); }

/* ── Secciones oscuras ── */
.section--ink { background: var(--ink); color: var(--text-hi); }
.section--ink2 { background: #0e1117; color: var(--text-hi); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.section--ink .section-sub, .section--ink2 .section-sub { color: var(--text-lo); }
.section-sub strong { color: var(--text-hi); font-weight: 600; }
.btn--light { background: #fff; color: #1d2a8a; }
.btn--light:hover { background: #eef0ff; }

/* ── Multi-sucursal ── */
.suc-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .suc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.suc-copy .section-title span { color: var(--brand-ink); }
.suc-feats { margin-top: 2rem; border-top: 1px solid var(--ink-line); }
.suc-feats li { padding: 0.9rem 0; border-bottom: 1px solid var(--ink-line); }
.suc-feats h3 { font-size: 1rem; font-weight: 600; }
.suc-feats p { margin-top: 0.15rem; font-size: 0.9375rem; color: var(--text-lo); }
.suc-visual { position: relative; margin: 0 0 4.5rem; }
.suc-visual img { width: 100%; }
.suc-transfer { position: absolute; left: 50%; bottom: -3.25rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: var(--shadow-2); white-space: nowrap; }
.suc-node { display: grid; grid-template-columns: auto auto; column-gap: 0.6rem; align-items: baseline; }
.suc-node span { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--text-lo); }
.suc-node b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.suc-node small { font-size: 0.75rem; color: var(--text-lo); }
.suc-arrow { color: var(--ok); }
.suc-visual .tour-note { position: absolute; left: 0; bottom: -4.25rem; color: #7d8496; }
.suc-targets { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); border-top: 1px solid var(--ink-line); }
@media (min-width: 640px) { .suc-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) { .suc-targets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.suc-targets div { padding: 1.25rem 0; border-bottom: 1px solid var(--ink-line); }
.suc-targets dt { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; }
.suc-targets dd { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--text-lo); }
.suc-foot { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: center; }
.suc-note { font-size: 0.9375rem; color: var(--text-lo); max-width: 44rem; }
.suc-note strong { color: var(--text-hi); font-weight: 600; }

/* ── OCR ── */
.ocr-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .ocr-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.ocr-copy .section-sub { margin-top: 1.25rem; }
.ocr-visual { position: relative; margin: 0 0 2.5rem; padding-left: 14%; }
.ocr-window img { width: 100%; }
.ocr-screen { position: relative; }
.ocr-row { position: absolute; left: 21.3%; width: 58.6%; height: 4.4%; border-radius: 4px; box-shadow: 0 0 0 2px var(--ok); }
.ocr-paper { position: absolute; left: 0; top: 18%; z-index: 2; width: 34%; padding: 0.9rem 0.9rem 1.1rem; overflow: hidden; background: #fbfbf7; color: #1b1d22; font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.6; transform: rotate(-3deg); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); }
.ocr-paper-head { display: flex; flex-direction: column; padding-bottom: 0.45rem; margin-bottom: 0.45rem; border-bottom: 1.5px solid #1b1d22; }
.ocr-paper-head b { font-size: 0.8125rem; letter-spacing: 0.06em; }
.ocr-paper li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.5rem; }
.ocr-paper li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ocr-paper-total { display: flex; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.45rem; border-top: 1.5px solid #1b1d22; font-weight: 600; }
.ocr-scanline { display: none; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #3fb8ff; box-shadow: 0 0 0 1px rgba(63, 184, 255, 0.25); }
.js-motion .ocr-scanline { display: block; opacity: 0; }
.ocr-visual .tour-note { margin-top: 0.75rem; color: #7d8496; }
.ocr-feats { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--ink-line); }
@media (min-width: 640px) { .ocr-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) { .ocr-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ocr-feats li { padding: 1.25rem 0; border-bottom: 1px solid var(--ink-line); }
.ocr-feats h3 { font-size: 1rem; font-weight: 600; }
.ocr-feats p { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--text-lo); }
@media (max-width: 640px) { .ocr-visual { padding-left: 0; padding-top: 7.5rem; } .ocr-paper { top: 0; width: 62%; } }

/* ── Planes ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; align-items: start; }
.pricing-loading, .pricing-error { grid-column: 1 / -1; padding: 2.5rem 0; color: var(--text-lo); text-align: center; }
.pricing-error a { color: var(--brand-ink); }
html:not(.js) .pricing-loading { display: none; }
.plan { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); }
.plan-free { border-color: #34407a; }
.plan-name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
.plan-price { margin-top: 0.75rem; font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { margin-left: 0.25rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--text-lo); }
.plan-desc { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.5; color: var(--text-lo); min-height: 3em; }
.plan-main { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ink-line); display: grid; gap: 0.45rem; font-size: 0.9375rem; }
.plan-main li, .plan-all li { display: flex; align-items: flex-start; gap: 0.5rem; }
.plan-main svg, .plan-all svg { flex: none; margin-top: 0.3em; color: var(--ok); }
.plan-all li.is-off { color: #6b7284; }
.plan-all li.is-off svg { color: #4a5164; }
.plan details { margin-top: 1rem; font-size: 0.875rem; }
.plan summary { cursor: pointer; color: var(--brand-ink); font-weight: 500; list-style: none; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary::after { content: " +"; }
.plan details[open] summary::after { content: " −"; }
.plan-all { display: grid; gap: 0.35rem; margin-top: 0.75rem; }
.plan .btn { margin-top: auto; }
.plan-cta { padding-top: 1.5rem; margin-top: auto; }
.plan-cta .btn { width: 100%; }
.pricing-legal { margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-lo); text-align: center; }
@media (max-width: 640px) {
  .pricing-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 1rem; scrollbar-width: none; }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ── CTA final ── */
.cta-band { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.cta-band p { margin: 1rem auto 2rem; max-width: 36rem; font-size: var(--step-1); color: #fff; }

/* ── FAQ ── */
.faq-grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; } .faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 2rem); } }
.faq-list { border-top: 1px solid var(--paper-line); }
.faq-list details { border-bottom: 1px solid var(--paper-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.faq-list summary:hover h3 { color: var(--brand); }
.faq-icon { position: relative; flex: none; width: 1.25rem; height: 1.25rem; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-list p { max-width: 60ch; padding: 0 2.5rem 1.5rem 0; color: var(--text-mute); line-height: 1.65; }

/* ── A medida ── */
.medida-head { max-width: 48rem; }
.medida-head .section-sub { margin-top: 1rem; }
.medida-q { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: var(--step-1); font-weight: 600; }
.medida-caps { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1rem; border-top: 1px solid var(--paper-line); }
@media (min-width: 640px) { .medida-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) { .medida-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.medida-caps li { padding: 1.4rem 0; border-bottom: 1px solid var(--paper-line); }
.medida-caps h4 { font-size: 1.0625rem; font-weight: 600; }
.medida-caps p { margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.55; color: var(--text-mute); }
.medida-cta { display: grid; gap: 2rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: 20px; background: var(--ink); color: var(--text-hi); }
@media (min-width: 1024px) { .medida-cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3rem; } }
.medida-cta h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.medida-cta p { margin-top: 0.75rem; color: var(--text-lo); max-width: 38rem; }
.medida-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn--wa { background: #15803d; color: #fff; }
.btn--wa:hover { background: #116932; }
.btn--ghost-ink { border-color: var(--ink-line); color: var(--text-hi); }
.btn--ghost-ink:hover { border-color: var(--text-lo); }
.medida-stats div { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.7rem 0; border-top: 1px solid var(--ink-line); }
.medida-stats dt { font-weight: 600; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.medida-stats dd { font-size: 0.9375rem; color: var(--text-lo); }

/* ── Contacto ── */
.contacto-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contacto-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }
.contacto-ways { display: grid; gap: 0.75rem; margin-top: 2rem; }
.contacto-ways a { display: flex; align-items: center; gap: 0.85rem; color: var(--text); text-decoration: none; }
.contacto-ways a:hover b { color: var(--brand); }
.contacto-ways b { display: block; font-weight: 600; }
.contacto-ways small { display: block; font-size: 0.875rem; color: var(--text-mute); }
.contacto-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #e8ebff; color: var(--brand); }
.contacto-ico--wa { background: #dcf5e6; color: #158043; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contacto-form { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: 20px; background: var(--paper-2); border: 1px solid var(--paper-line); box-shadow: var(--shadow-1); }
.contacto-form h3 { font-size: var(--step-1); font-weight: 600; margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #d6d8df; border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #666c7b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.18); }
.form-msg { margin-bottom: 1.25rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-msg--ok { background: #e3f6eb; color: #12623a; }
.form-msg--error { background: #fdeaea; color: #9b1c1c; }

/* ── Footer ── */
.footer { padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2rem; background: var(--ink); color: var(--text-lo); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: 0.9375rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--text-hi); transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: var(--text-lo); color: #fff; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer-col h3 { margin-bottom: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--text-hi); }
.footer-col a:not(.btn) { color: var(--text-lo); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:not(.btn):hover { color: var(--text-hi); }
.footer-small { font-size: 0.8125rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); font-size: 0.8125rem; }

/* ── WhatsApp flotante ── */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease-out), background-color 0.2s; }
.wa-float:hover { transform: translateY(-2px); background: #188f47; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ── Pantallas muy chicas (≤ 360px) ── */
@media (max-width: 360px) {
  .nav-inner { gap: 0.75rem; }
  .nav-logo span { display: none; }
  .nav-actions { gap: 0.5rem; }
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); }
  .hero-title { font-size: 2.125rem; }
  .hero-sub { margin-top: 1rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.25rem; }
  .demo { margin-bottom: 20rem; }
}
@media (max-width: 480px) {
  .suc-transfer { left: 0; right: 0; transform: none; justify-content: center; gap: 0.6rem; padding: 0.75rem 0.8rem; white-space: normal; }
  .suc-node b { font-size: 1.35rem; }
  .suc-arrow { width: 32px; }
}

/* ── Costados en desktop (≥1600px): línea que acompaña el scroll + notificación según la sección ── */
.trail { position: absolute; left: 0; z-index: 5; width: calc((100vw - 1200px) / 2); pointer-events: none; display: none; }
@media (min-width: 1600px) { .trail { display: block; } }
.trail svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trail-base { fill: none; stroke: rgba(128,134,150,.22); stroke-width: 1.25; stroke-linecap: round; }
.trail-draw { fill: none; stroke: #4361ee; stroke-width: 2; stroke-linecap: round; }
.trail-pen { fill: #4361ee; }
.trail-stop { position: absolute; width: 0; height: 0; }
.trail-stop i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(128,134,150,.55); background: var(--stop-bg, #f6f6f2); transition: background-color .5s ease, border-color .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.trail-stop span { position: absolute; top: -9px; left: 16px; width: max-content; max-width: 120px; font: 600 14px/1.2 var(--font-body); color: #8a90a0; opacity: .7; transform: translateX(-4px); transition: color .5s ease, opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.trail-stop.is-dark { --stop-bg: #0b0d12; }
.trail-stop.on i { background: #4361ee; border-color: #4361ee; transform: scale(1.25); }
.trail-stop.on span { color: #14161c; opacity: 1; transform: none; }
.trail-stop.is-dark.on span { color: #eceef3; }

/* Notificación del costado derecho: cambia según la sección a la vista */
.nudge { position: fixed; z-index: 40; top: 56%; right: calc((100vw - 1200px) / 4); width: min(260px, calc((100vw - 1200px) / 2 - 48px)); transform: translateX(50%); pointer-events: none; display: none; }
@media (min-width: 1600px) { .nudge { display: block; } }
.nudge-card { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 12px 14px 14px; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid #e3e3dc; box-shadow: 0 18px 40px rgba(20,22,28,.12), 0 2px 6px rgba(20,22,28,.06); color: #14161c;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .45s ease, transform .6s cubic-bezier(.16,1,.3,1), background-color .4s, border-color .4s; }
.nudge-card.in { opacity: 1; transform: none; }
.nudge-card.out { opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .3s ease, transform .35s ease; }
.nudge.is-dark .nudge-card { background: #12151c; border-color: #232836; color: #eceef3; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.nudge-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #eef0ff; color: #4361ee; font: 700 15px/1 var(--font-body); }
.nudge-ico.ok { background: #e7f7ee; color: #12623a; }
.nudge.is-dark .nudge-ico { background: rgba(67,97,238,.18); color: #8ea0ff; }
.nudge.is-dark .nudge-ico.ok { background: rgba(47,191,113,.15); color: #2fbf71; }
.nudge-t { display: flex; justify-content: space-between; gap: 8px; font: 600 14px/1.25 var(--font-body); }
.nudge-t small { font: 500 11px/1.6 var(--font-body); color: #8a90a0; white-space: nowrap; }
.nudge-s { margin-top: 3px; font: 500 12.5px/1.4 var(--font-body); color: #5a6070; }
.nudge.is-dark .nudge-s { color: #a3a9b8; }
.nudge-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #4361ee; opacity: .5; transform-origin: left; transform: scaleX(0); }
.nudge-card.in .nudge-bar { animation: nudgeBar var(--t) linear forwards; }
@keyframes nudgeBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .nudge-card, .nudge-card.out { transition: opacity .3s; transform: none; } .nudge-card.in .nudge-bar { animation: none; } }

/* ── Detalles con movimiento ── */
/* CTAs de registro: se levantan y asoma una flecha */
.btn[data-lead] { position: relative; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s, padding 0.3s var(--ease-out); }
.btn[data-lead]::after { content: ""; position: absolute; top: 50%; right: 0.75em; width: 0.9em; height: 0.9em; background: currentColor; clip-path: inset(0 100% 0 0); transform: translate(-6px, -50%); transition: clip-path 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn[data-lead]:hover::after, .btn[data-lead]:focus-visible::after { clip-path: inset(0 0 0 0); transform: translate(0, -50%); }
/* El texto se corre a la izquierda y la flecha usa ese lugar: el botón no cambia de ancho */
.btn[data-lead]:hover, .btn[data-lead]:focus-visible { padding-left: calc(1.2rem - 0.8em); padding-right: calc(1.2rem + 0.8em); }
.btn--sm[data-lead]:hover, .btn--sm[data-lead]:focus-visible { padding-left: calc(0.95rem - 0.7em); padding-right: calc(0.95rem + 0.7em); }
.btn--lg[data-lead]:hover, .btn--lg[data-lead]:focus-visible { padding-left: calc(1.5rem - 0.8em); padding-right: calc(1.5rem + 0.8em); }
.btn--primary[data-lead]:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(67, 97, 238, 0.35); }
.btn--light[data-lead]:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 16, 60, 0.3); }
.btn[data-lead]:active { transform: translateY(1px); box-shadow: none; }

/* FAQ: la respuesta se despliega y el + gira a × (navegadores con ::details-content) */
.faq-list details { interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), content-visibility 0.5s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list details p { transition: opacity 0.4s ease 0.05s, transform 0.5s var(--ease-out); }
.faq-list details:not([open]) p { opacity: 0.001; transform: translateY(-6px); }
.faq-icon { transition: transform 0.4s var(--ease-out); }
details[open] .faq-icon { transform: rotate(135deg); }
details[open] .faq-icon::after { transform: rotate(90deg); }

/* Banda final: el mismo registro del hero, en blanco tenue */
.cta-band { position: relative; overflow: hidden; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band .hero-log { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 75%, transparent 100%), radial-gradient(ellipse 70% 90% at 50% 50%, transparent 30%, #000 75%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 75%, transparent 100%), radial-gradient(ellipse 70% 90% at 50% 50%, transparent 30%, #000 75%); mask-composite: intersect; }
.cta-band .hero-log-row, .cta-band .hero-log-row .st { color: rgba(255, 255, 255, 0.13); }
.cta-band .hero-log-row.is-new, .cta-band .hero-log-row.is-new .st { color: rgba(255, 255, 255, 0.45); }

/* Easter egg: ticket de regalo del mate */
.egg-ticket { position: fixed; z-index: 90; top: calc(var(--nav-h) + 12px); right: max(16px, calc((100vw - 1200px) / 2)); width: min(300px, calc(100vw - 32px)); padding: 1.1rem 1.1rem 1.6rem;
  background: #fbfbf7; color: #1b1d22; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.6;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  animation: eggPrint 1.6s steps(16) both; }
.egg-ticket.out { animation: eggOut 0.4s ease-in forwards; }
@keyframes eggPrint { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes eggOut { to { opacity: 0; transform: translateY(-12px); } }
.egg-ticket b { display: block; font-weight: 600; letter-spacing: 0.06em; text-align: center; }
.egg-ticket .egg-sub { text-align: center; color: #555b66; }
.egg-ticket hr { margin: 0.55rem 0; border: 0; border-top: 1px dashed #b9bcc4; }
.egg-ticket li, .egg-total { display: flex; justify-content: space-between; gap: 0.75rem; }
.egg-total { font-weight: 600; font-size: 0.8125rem; }
.egg-cae { margin-top: 0.4rem; color: #12623a; font-weight: 600; }
.egg-msg { margin-top: 0.75rem; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.45; }
.egg-ticket .btn { width: 100%; margin-top: 0.75rem; font-family: var(--font-body); }
.egg-close { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: #555b66; font-size: 1.1rem; cursor: pointer; border-radius: 6px; }
.egg-close:hover { background: #ecece6; }
@media (prefers-reduced-motion: reduce) { .egg-ticket { animation: none; } }

/* ── Celular: barra fija, carruseles con puntos y secciones compactas ── */
.mbar { display: none; }
.demo-pos { display: none; }
.demo-pos { position: relative; padding: 2.25rem 0 2.75rem; color: var(--text-hi); font-size: 0.75rem; }
.dp-card { position: relative; margin: 0 6% 0 2%; padding: 14px 14px 8px; border-radius: 22px; background: linear-gradient(160deg, rgba(34, 39, 54, 0.95), rgba(18, 21, 28, 0.95)); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); transform: perspective(900px) rotateY(-7deg) rotateX(3deg); }
.dp-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px 8px; }
.dp-head b { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; }
.dp-head span { color: var(--text-lo); font-size: 0.625rem; }
.dp-rows li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 2px; }
.dp-rows li + li { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dp-rows img { width: 34px; height: 34px; border-radius: 10px; background: #fff; object-fit: cover; }
.dp-name { display: flex; flex-direction: column; min-width: 0; overflow: hidden; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.dp-name small { color: var(--text-lo); font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 400; }
.dp-stock { display: grid; justify-items: end; gap: 4px; min-width: 52px; color: var(--text-lo); font-size: 0.625rem; }
.dp-stock b { color: var(--text-hi); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.dp-stock i { width: 52px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.08) linear-gradient(90deg, var(--ok), var(--ok)) no-repeat 0 0 / calc(var(--s, 1) * 100%) 100%; transition: background-size 0.8s var(--ease-out); }
.dp-rows li.is-low .dp-stock b { color: #f5b041; }
.dp-rows li.is-low .dp-stock i { background-image: linear-gradient(90deg, #f5b041, #f5b041); }
.dp-sales { position: absolute; top: 0; right: 0; z-index: 2; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; padding: 10px 12px 6px; border-radius: 16px; background: rgba(250, 251, 255, 0.97); color: #1b1d22; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); transform: rotate(3deg); }
.dp-sales small { grid-column: 1 / -1; color: #6b7284; font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.dp-sales b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dp-up { color: #12803f; font-size: 0.625rem; font-weight: 700; }
.dp-sales svg { grid-column: 1 / -1; width: 100%; height: 22px; color: var(--brand); }
.dp-alert { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 9px 13px 9px 11px; border-radius: 14px; background: rgba(28, 24, 14, 0.96); border: 1px solid rgba(245, 176, 65, 0.35); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); transform: rotate(-2deg); }
.dp-alert i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #f5b041; box-shadow: 0 0 0 4px rgba(245, 176, 65, 0.18); }
.dp-alert span { white-space: nowrap; display: flex; flex-direction: column; color: #e9dcc3; font-size: 0.6875rem; line-height: 1.3; }
.dp-alert b { color: #f5b041; font-size: 0.75rem; }
.dp-alert small { font-size: inherit; }
.dp-alert em { font-style: normal; font-weight: 700; color: #fff; }
.js-motion .dp-alert { opacity: 0; transform: rotate(-2deg) translateY(10px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.js-motion .dp-alert.is-on { opacity: 1; transform: rotate(-2deg); }
.dots { display: none; }
@media (max-width: 760px) {
  .js .mbar { position: fixed; left: 12px; right: 84px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; gap: 0.5rem; padding: 6px; border-radius: 18px; background: rgba(18, 21, 28, 0.92); border: 1px solid var(--ink-line); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translateY(calc(100% + 24px)); transition: transform 0.45s var(--ease-out); }
  .js .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; flex-direction: column; gap: 0; min-height: 52px; padding: 0.4rem 1rem; line-height: 1.15; }
  .mbar .btn small { font-size: 0.6875rem; font-weight: 500; opacity: 0.8; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 0.75rem; }
  .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: currentColor; opacity: 0.25; cursor: pointer; transition: width 0.3s var(--ease-out), opacity 0.3s; }
  .dots button.is-on { width: 20px; opacity: 0.85; }
  .dots[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mbar, .dots button { transition: none !important; } }

@media (max-width: 640px) {
  .js .nav-actions > .btn { display: none; }

  /* Hero: primera pantalla con el celular y el ticket a la vista; CTA y cifras debajo */
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); }
  .hero-title { font-size: 2.25rem; }
  .hero-sub { margin-top: 0.9rem; font-size: 1rem; line-height: 1.5; }
  .hero-note, .hero-tagline, .hero-actions .btn--ghost, .demo-caption { display: none; }
  .hero-actions, .hero-stats { order: 3; }
  .hero-actions { margin-top: 1.75rem; }
  .hero-copy > .hero-sub--web, .hero-copy > .hero-quote, .hero-copy > .hero-chips { order: 4; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-sub--web { margin-top: 1.75rem; }
  .demo { margin: 2rem 0 0; padding: 0; }
  .demo::before { content: ""; position: absolute; inset: -12% -16px -8%; z-index: 0; pointer-events: none; background: radial-gradient(55% 50% at 35% 50%, rgba(67, 97, 238, 0.38), transparent 70%), radial-gradient(40% 40% at 80% 35%, rgba(47, 191, 113, 0.14), transparent 70%); }
  .demo { padding-bottom: 0; }
  .demo-ticket { display: none; }
  .demo-window, .demo-phone { display: none; }
  .demo-pos { position: relative; z-index: 2; display: block; }
  .demo-ticket { right: 1%; top: calc(100% - 13.5rem - 14px); z-index: 1; width: 52%; max-width: 240px; transform: rotate(2deg); }
  .tour-list, .pricing-grid, .tienda-options, .medida-caps { scroll-padding-inline: 16px; }
  .tk-items li:nth-child(3), .tk-items li:nth-child(4) { display: flex; }
  .demo-sync { display: none; }

  /* Rubros como chips */
  .tipos-list { gap: 0.45rem; margin-top: 1.25rem; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; }
  .tipos-list li { padding: 0.45rem 0.85rem; border: 1px solid var(--paper-line); border-radius: 999px; background: var(--paper-2); }
  .tipos-list li:not(:last-child)::after { content: none; }

  /* Tienda: celular más chico y opciones deslizables */
  .tienda-phone { width: min(230px, 62vw); border-radius: 30px; }
  .tienda-options { display: flex; gap: 0.75rem; margin: 0 -16px; padding: 0 16px 0.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tienda-options::-webkit-scrollbar { display: none; }
  .tienda-option { flex: 0 0 84%; scroll-snap-align: start; }

  /* Listas de beneficios en 2 columnas */
  .tienda-feats, .ocr-feats, .suc-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .tienda-feats li, .ocr-feats li, .suc-targets div { padding: 1rem 0; }
  .tienda-feats h3, .ocr-feats h3 { font-size: 0.9375rem; line-height: 1.3; }
  .tienda-feats p, .ocr-feats p, .suc-targets dd { font-size: 0.8125rem; line-height: 1.45; }
  .suc-targets dt { font-size: 1.0625rem; }
  .suc-feats li { padding: 0.75rem 0; }
  .suc-feats p { font-size: 0.875rem; }

  /* A medida: tarjetas deslizables */
  .medida-caps { display: flex; gap: 0.75rem; margin: 1rem -16px 0; padding: 0 16px 0.25rem; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .medida-caps::-webkit-scrollbar { display: none; }
  .medida-caps li { flex: 0 0 80%; scroll-snap-align: start; padding: 1.25rem; border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--paper-2); }

  /* Planes: se ve más del siguiente */
  .plan { flex-basis: 80%; }

  .footer { padding-bottom: 6.5rem; }
}

/* 3 pasos en vertical con la línea que baja */
@media (max-width: 767px) {
  .pasos { gap: 1.75rem; }
  .pasos::before { display: block; left: 1.5rem; right: auto; top: 1.5rem; bottom: 1.5rem; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--line, 1)); }
  .pasos li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
  .pasos-n { grid-row: span 2; width: 3rem; height: 3rem; font-size: 1.25rem; }
  .pasos h3 { margin-top: 0.4rem; font-size: var(--step-1); }
  .pasos p { grid-column: 2; margin-top: 0.3rem; }
  .pasos li:last-child::before { content: ""; position: absolute; left: 0; top: 3rem; bottom: -2rem; width: 3rem; background: var(--paper); }
}
@media (max-width: 360px) {
  .demo-ticket { width: 60%; padding: 0.7rem 0.7rem 1rem; font-size: 0.625rem; }
  .tk-items li:nth-child(4) { display: none; }
  .tk-total { font-size: 0.6875rem; }
}
