/* =====================================================================
   Guazú — Landing comercial · styles.css
   Lenguaje: "consola de operaciones" (eco del Hub del producto).
   Ver LANDING-DESIGN.md para el contrato completo.
   ===================================================================== */

/* ---- Tokens ---- */
:root {
  /* Espina de marca */
  --brand: #421c74;
  --brand-2: #6750a4;
  --brand-deep: #2e0f52;
  --brand-darkest: #1a0832;
  --brand-ink: #33115d;

  /* Acentos por módulo */
  --msg: oklch(52% 0.17 303);   --msg-soft: oklch(96% 0.035 303);
  --crm: oklch(58% 0.11 185);   --crm-soft: oklch(96% 0.04 185);
  --spt: oklch(54% 0.16 266);   --spt-soft: oklch(96% 0.045 266);
  --res: oklch(61% 0.16 24);    --res-soft: oklch(96% 0.04 24);
  --qa:  oklch(53% 0.11 150);   --qa-soft:  oklch(96% 0.05 150);

  /* Neutros (casi-blanco, tinte frío) */
  --bg: oklch(99.3% 0.003 285);
  --bg-sunken: oklch(97.2% 0.004 285);
  --surface: #ffffff;
  --border: oklch(91% 0.006 285);
  --ink: oklch(23% 0.02 285);
  --ink-muted: oklch(46% 0.018 285);
  --ink-faint: oklch(60% 0.014 285);

  /* Sobre oscuro */
  --on-dark: oklch(97% 0.012 305);
  --on-dark-muted: oklch(80% 0.03 305);
  --on-dark-faint: oklch(66% 0.04 305);
  --hairline-dark: color-mix(in oklch, white 12%, transparent);

  /* Semánticos */
  --ok: oklch(68% 0.17 152);
  --warn: oklch(78% 0.16 75);
  --err: oklch(62% 0.2 22);

  /* Sombras */
  --shadow-card: 0 1px 2px rgb(20 8 40 / .04), 0 4px 12px rgb(20 8 40 / .05);
  --shadow-hover: 0 2px 4px rgb(20 8 40 / .06), 0 14px 30px rgb(20 8 40 / .12);
  --shadow-window: 0 2px 6px rgb(20 8 40 / .08), 0 30px 64px rgb(20 8 40 / .24);

  /* Radios */
  --r-sm: 8px;  --r: 12px;  --r-lg: 18px;  --r-xl: 26px;  --pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);

  /* Tipografía */
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --fs-display: clamp(2.6rem, 6vw, 5rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-h3: clamp(1.4rem, 2.4vw, 2rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.3rem);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: color-mix(in oklch, var(--brand) 24%, transparent); }

.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.container--narrow { max-width: 800px; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--sunken { background: var(--bg-sunken); }
.section--dark { background: var(--brand-darkest); color: var(--on-dark); overflow: hidden; }
.section--dark strong { color: #fff; }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--fs-h2); letter-spacing: -0.035em; }
.section--dark .section__title { color: #fff; }
.lead { font-size: var(--fs-lead); color: var(--ink-muted); line-height: 1.55; margin-top: 1.1rem; max-width: 64ch; }
.section__head--center .lead { margin-inline: auto; }
.section--dark .lead { color: var(--on-dark-muted); }
.section__note { margin-top: 2.5rem; text-align: center; font-size: 1.2rem; color: var(--ink-muted); }

/* ---- Eyebrow / dots / period ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint);
  margin-bottom: 1rem;
}
.eyebrow--on-dark { color: var(--on-dark-faint); }
.eyebrow--msg { color: var(--msg); } .eyebrow--crm { color: var(--crm); }
.eyebrow--spt { color: var(--spt); } .eyebrow--res { color: var(--res); }
.eyebrow--qa  { color: var(--qa);  }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; display: inline-block; }
.dot--live { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in oklch, var(--ok) 70%, transparent); animation: pulse 2.4s var(--ease) infinite; }
.dot--msg { background: var(--msg); } .dot--crm { background: var(--crm); }
.dot--spt { background: var(--spt); } .dot--res { background: var(--res); } .dot--qa { background: var(--qa); }

/* ---- Iconos lineales (sprite stroke-based) ---- */
.ic {
  width: 1.2rem; height: 1.2rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.period { color: color-mix(in oklch, #b69cff 90%, white); }
.period--ink { color: var(--brand-2); }
.grad {
  background: linear-gradient(100deg, #c9b3ff, #efe6ff 50%, #b79bf0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- Atmósfera: mesh + grilla ---- */
.mesh {
  position: absolute; inset: -25%;
  background:
    radial-gradient(38% 48% at 18% 22%, oklch(48% 0.22 305 / .55), transparent 72%),
    radial-gradient(40% 46% at 82% 26%, oklch(42% 0.2 278 / .5), transparent 72%),
    radial-gradient(46% 52% at 60% 96%, oklch(52% 0.22 322 / .42), transparent 72%);
  filter: blur(36px);
  animation: meshmove 22s var(--ease) infinite alternate;
}
.mesh--soft { opacity: .7; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--hairline-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline-dark) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--pill);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: .65rem 1.15rem; font-size: .94rem; }
.btn--block { width: 100%; padding-block: 1.05rem; }
.btn .ic { width: 1.15rem; height: 1.15rem; }
.btn .ic--arrow { transition: transform .22s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 0 0 1px color-mix(in oklch, white 14%, transparent), 0 10px 24px -8px var(--brand);
}
.btn--primary:hover { background: color-mix(in oklch, var(--brand) 86%, white); transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in oklch, white 18%, transparent), 0 16px 32px -8px var(--brand); }
.btn--on-dark { background: #fff; color: var(--brand-deep); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .5); }
.btn--on-dark:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 18px 38px -10px rgb(0 0 0 / .55); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brand) 40%, var(--border)); color: var(--brand); transform: translateY(-2px); }
.btn--ghost-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--hairline-dark); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1px color-mix(in oklch, white 32%, transparent); background: color-mix(in oklch, white 6%, transparent); transform: translateY(-2px); }

/* ---- Chips ---- */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .01em;
  padding: .5rem .85rem; border-radius: var(--pill);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--ink-muted);
}
.chip--on-dark { background: color-mix(in oklch, white 6%, transparent); box-shadow: inset 0 0 0 1px var(--hairline-dark); color: var(--on-dark-muted); }
.chip .dot { width: 6px; height: 6px; }

/* ---- Card ---- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--border); padding: var(--r-xl); }

/* ---- Window (marco de captura) ---- */
.window {
  border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-window); transition: transform .35s var(--ease);
}
.window__bar {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .9rem; background: oklch(98% 0.004 285); border-bottom: 1px solid var(--border);
}
.window__dots { display: inline-flex; gap: .35rem; }
.window__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.window__dots i:nth-child(1) { background: oklch(72% 0.17 25); }
.window__dots i:nth-child(2) { background: oklch(82% 0.15 85); }
.window__dots i:nth-child(3) { background: oklch(74% 0.16 150); }
.window__tab { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); letter-spacing: .02em; }
.window__status { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .1em; }
.window img { width: 100%; }

/* ---- Stat ---- */
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.stat__lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-faint); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand-logo { fill: currentColor; height: 26px; width: auto; }
.nav__brand { display: inline-flex; }
.nav__links { display: flex; gap: 1.6rem; margin-left: 1rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: inherit; opacity: .88; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav__login { font-size: .95rem; font-weight: 500; opacity: .88; }
.nav__login:hover { opacity: 1; }
.nav__toggle { display: none; padding: .4rem; color: inherit; }
.nav__toggle .ic { width: 1.6rem; height: 1.6rem; }

.nav--scrolled {
  color: var(--ink);
  background: color-mix(in oklch, white 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 var(--border), 0 6px 20px -12px rgb(20 8 40 / .3);
}

.mobile-menu { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(3rem, 7vw, 6rem); text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero .eyebrow { justify-content: center; }
.hero__title { font-size: var(--fs-display); letter-spacing: -0.04em; line-height: 1.02; color: #fff; max-width: 17ch; margin-inline: auto; }
.hero__lead { margin-inline: auto; color: var(--on-dark-muted); }
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero__chips { justify-content: center; margin-top: 1.6rem; }
.hero__visual { position: relative; margin-top: clamp(3rem, 6vw, 5rem); }
.window--hero { max-width: 1080px; margin-inline: auto; }
.window--hero:hover { transform: translateY(-4px); }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .8rem; color: var(--ink);
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .6rem .9rem; border-radius: var(--pill);
  box-shadow: 0 10px 30px -8px rgb(20 8 40 / .45), inset 0 0 0 1px rgb(255 255 255 / .6);
}
.float-chip .mono { font-weight: 600; color: var(--brand); }
.float-chip--a { left: -8px; top: 34%; } /* no tapar el saludo "Buenos días, …" de la captura */
.float-chip--b { right: -8px; bottom: 16%; }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust { border-bottom: 1px solid var(--border); background: var(--bg); }
.trust__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.6rem; }
.trust__label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.trust__chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.trust__chips li { font-family: var(--mono); font-size: .85rem; color: var(--ink-muted); position: relative; }
.trust__chips li::before { content: "·"; position: absolute; left: -.7rem; color: var(--border); }
.trust__chips li:first-child::before { content: none; }

/* =====================================================================
   PROBLEMA — bento
   ===================================================================== */
.bento { list-style: none; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.bento--pains { grid-template-columns: repeat(3, 1fr); }
.pain { display: flex; flex-direction: column; gap: .7rem; }
.pain__ic { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--bg-sunken); box-shadow: inset 0 0 0 1px var(--border); color: var(--ink-muted); }
.section--sunken .pain__ic { background: #fff; }
.pain__ic .ic { width: 1.35rem; height: 1.35rem; }
.pain h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.pain p { color: var(--ink-muted); font-size: .98rem; }

/* =====================================================================
   SOLUCIÓN
   ===================================================================== */
.solution { text-align: center; }
.solution__bg { position: absolute; inset: 0; z-index: 0; }
.solution .container { position: relative; z-index: 1; }
.solution .section__head { margin-inline: auto; }
.solution__statement {
  max-width: 600px; margin: 0 auto; font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--on-dark-muted);
  padding: 1.8rem 2rem; border-radius: var(--r-lg);
  background: color-mix(in oklch, white 5%, transparent);
  box-shadow: inset 0 0 0 1px var(--hairline-dark);
}
.solution__statement strong { display: block; margin-top: .6rem; color: #fff; font-weight: 600; }
.solution__products { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-top: 2.2rem; font-family: var(--mono); font-size: .95rem; color: var(--on-dark); }
.solution__products li { display: inline-flex; align-items: center; gap: .5rem; }
.solution__sub { margin-top: .8rem; color: var(--on-dark-faint); font-size: .95rem; }
.window--solution { max-width: 980px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.window--solution:hover { transform: translateY(-4px); }
.stat-band { list-style: none; padding: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.stat-band .stat { align-items: center; }

/* =====================================================================
   PRODUCTOS — filas alternadas
   ===================================================================== */
.product-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.product-row--msg { --mod: var(--msg); --mod-soft: var(--msg-soft); }
.product-row--crm { --mod: var(--crm); --mod-soft: var(--crm-soft); }
.product-row--spt { --mod: var(--spt); --mod-soft: var(--spt-soft); }
.product-row--qa  { --mod: var(--qa);  --mod-soft: var(--qa-soft); }
.product-row--res { --mod: var(--res); --mod-soft: var(--res-soft); }
.product-row--reverse .product-row__text { order: 2; }
.product-row__title { font-size: var(--fs-h3); letter-spacing: -0.03em; margin: .4rem 0 1rem; }
.product-row__title .period { color: var(--mod); }
.product-row__text > p { color: var(--ink-muted); font-size: 1.05rem; }
.product-row__media { box-shadow: var(--shadow-window); }
.product-row__media::after { content: ""; position: absolute; inset: auto; }
.product-row__media:hover { transform: translateY(-4px); }
/* blob de fondo tintado por módulo */
.product-row::before {
  content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--mod-soft), transparent 70%); filter: blur(10px);
  inset: 10% auto auto -8%; opacity: .9;
}
.product-row--reverse::before { inset: 10% -8% auto auto; }

.feature-list { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .7rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: 1rem; color: var(--ink); }
.ic--check { width: 1.25rem; height: 1.25rem; flex: none; color: var(--mod, var(--brand)); margin-top: .12rem; }

/* =====================================================================
   MOBILE — también es app
   ===================================================================== */
.mobile-app__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.mobile-app { overflow: hidden; }
.mobile-app::before { /* blob de marca detrás del teléfono */
  content: ""; position: absolute; z-index: -1; width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--brand) 10%, white), transparent 70%);
  filter: blur(12px); inset: 12% -10% auto auto; opacity: .9;
}
.mobile-app .section__title { max-width: 16ch; }
.mobile-app__chips { margin-top: 1.6rem; }
.phone {
  width: min(290px, 68vw); margin-inline: auto;
  padding: 11px; border-radius: 44px;
  background: linear-gradient(165deg, #2c1a4d, #150823 70%);
  box-shadow: var(--shadow-window), inset 0 0 0 1px rgb(255 255 255 / .09);
  transition: transform .35s var(--ease);
}
.phone:hover { transform: translateY(-4px); }
.phone img { display: block; border-radius: 34px; }

/* =====================================================================
   VIDEO — la demo grabada
   ===================================================================== */
.video-demo { text-align: center; }
.video-demo__bg { position: absolute; inset: 0; z-index: 0; }
.video-demo .container { position: relative; z-index: 1; }
.video-demo .section__head { margin-inline: auto; }
.window--video { max-width: 980px; margin-inline: auto; }
.window--video:hover { transform: none; }

.video-shell { position: relative; background: #0d0618; }
.video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.video-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgb(10 4 24 / .30), rgb(10 4 24 / 0) 45%);
  transition: opacity .25s var(--ease);
}
.video-play .ic {
  width: 76px; height: 76px; padding: 24px 21px 24px 27px; box-sizing: border-box;
  background: rgba(255, 255, 255, .95); border-radius: 50%; color: var(--brand);
  box-shadow: 0 14px 38px -10px rgb(10 4 24 / .65), inset 0 0 0 1px rgb(255 255 255 / .5);
  transition: transform .2s var(--ease);
}
.video-play:hover .ic { transform: scale(1.07); }
.video-shell.is-playing .video-play,
.video-shell.is-playing .video-dur { opacity: 0; pointer-events: none; }
.video-dur {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  font-size: .78rem; letter-spacing: .02em; color: #fff;
  background: rgb(10 4 24 / .62); backdrop-filter: blur(6px);
  padding: .35rem .7rem; border-radius: var(--pill);
  transition: opacity .25s var(--ease);
}

/* capítulos */
.chapters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.chapter {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .01em;
  padding: .55rem .95rem; border-radius: var(--pill);
  color: var(--on-dark-muted); background: color-mix(in oklch, white 5%, transparent);
  box-shadow: inset 0 0 0 1px var(--hairline-dark);
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.chapter:hover { color: var(--on-dark); background: color-mix(in oklch, white 9%, transparent); }
.chapter.is-active { color: var(--brand-deep); background: #fff; box-shadow: 0 8px 22px -8px rgb(0 0 0 / .5); }
.chapter .dot { width: 6px; height: 6px; }
.chapter__dur { font-size: .72rem; opacity: .65; }
.video-demo__note { margin-top: 1.6rem; color: var(--on-dark-muted); font-size: .95rem; }
.video-demo__note a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, white 40%, transparent); }

/* link "ver en el video" de cada product-row */
.watch-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.3rem; padding: .55rem 1rem; border-radius: var(--pill);
  font-size: .92rem; font-weight: 500; color: var(--mod, var(--brand));
  background: color-mix(in oklch, var(--mod, var(--brand)) 7%, white);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--mod, var(--brand)) 22%, transparent);
  transition: box-shadow .2s var(--ease), transform .18s var(--ease), background .2s var(--ease);
}
.watch-link:hover { transform: translateY(-2px); background: color-mix(in oklch, var(--mod, var(--brand)) 11%, white); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--mod, var(--brand)) 38%, transparent); }
.watch-link .ic { width: .95rem; height: .95rem; }
.watch-link .mono { font-size: .78rem; opacity: .7; }

/* =====================================================================
   CÓMO FUNCIONA — steps
   ===================================================================== */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.4rem); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: .6rem; position: relative; }
.step__num { font-size: .85rem; color: var(--brand-2); font-weight: 600; letter-spacing: .1em; }
.step__ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--r); background: color-mix(in oklch, var(--brand) 8%, white); color: var(--brand); }
.step__ic .ic { width: 1.4rem; height: 1.4rem; }
.step h3 { font-size: 1.15rem; margin-top: .3rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-muted); font-size: .96rem; }

/* =====================================================================
   DIFERENCIADORES — bento
   ===================================================================== */
/* bento 6-col: 2 destacadas (mitades) + 3 tercios + 1 banner ancho — sin celdas huérfanas */
.bento--diff { grid-template-columns: repeat(6, 1fr); }
.diff { display: flex; flex-direction: column; gap: .7rem; grid-column: span 2; }
.diff--lg { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; align-items: start; align-content: start; }
.diff--lg h3 { grid-column: 2; } .diff--lg p { grid-column: 2; }
.diff--lg .diff__ic { grid-row: span 2; }
.diff--wide { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; align-items: start; }
.diff--wide h3 { grid-column: 2; } .diff--wide p { grid-column: 2; max-width: 72ch; }
.diff--wide .diff__ic { grid-row: span 2; }
.diff__ic { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--bg-sunken); box-shadow: inset 0 0 0 1px var(--border); color: var(--ink-muted); }
.diff__ic--accent { background: color-mix(in oklch, var(--brand) 10%, white); color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brand) 18%, transparent); }
.diff__ic .ic { width: 1.4rem; height: 1.4rem; }
.diff h3 { font-size: 1.18rem; letter-spacing: -0.02em; }
.diff p { color: var(--ink-muted); font-size: .98rem; }

/* =====================================================================
   ANTES / DESPUÉS
   ===================================================================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1rem, 3vw, 2.5rem); max-width: 940px; margin-inline: auto; }
.compare__head { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; padding-bottom: 1rem; border-bottom: 2px solid var(--border); }
.compare__head--before { color: var(--ink-faint); }
.compare__head--after { color: var(--brand); }
.compare__row { display: contents; }
.compare__before, .compare__after { padding: 1rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; }
.compare__before { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: color-mix(in oklch, var(--ink-faint) 40%, transparent); }
.compare__after { color: var(--ink); font-weight: 500; }
.compare__after .ic--check { color: var(--ok); }

/* =====================================================================
   PRECIOS
   ===================================================================== */
.billing-toggle { display: inline-flex; gap: .25rem; margin: 1.8rem auto 0; padding: .3rem; border-radius: var(--pill); background: var(--bg-sunken); box-shadow: inset 0 0 0 1px var(--border); }
.billing-toggle__opt { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.3rem; border-radius: var(--pill); font-size: .92rem; font-weight: 500; color: var(--ink-muted); transition: all .2s var(--ease); }
.billing-toggle__opt.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.billing-toggle__save { font-family: var(--mono); font-size: .72rem; color: var(--ok); font-weight: 600; }

.plans { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 1.8rem; position: relative; }
.plan__name { font-size: 1.3rem; letter-spacing: -0.02em; }
.plan__for { color: var(--ink-faint); font-size: .85rem; margin-top: .2rem; min-height: 2.4em; }
.plan__price { display: flex; align-items: baseline; gap: .15rem; margin: 1rem 0 .2rem; flex-wrap: wrap; }
.plan__currency { font-family: var(--mono); font-size: 1rem; color: var(--ink-muted); align-self: flex-start; margin-top: .35rem; }
.plan__amount { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.plan__amount--text { font-size: 2rem; }
.plan__period { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); }
.plan__billed { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); min-height: 1.3em; margin-bottom: 1.2rem; }
.plan__cta { margin-bottom: 1.4rem; }
.plan__features { list-style: none; padding: 0; display: grid; gap: .7rem; border-top: 1px solid var(--border); padding-top: 1.3rem; }
.plan__features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .94rem; color: var(--ink-muted); }
.plan__features .ic--check { width: 1.1rem; height: 1.1rem; color: var(--brand); margin-top: .1rem; }

.plan--featured { box-shadow: 0 0 0 2px var(--brand), var(--shadow-hover); transform: scale(1.025); z-index: 1; }
.plan--featured .plan__amount { color: var(--brand); }
.plan__ribbon { position: absolute; top: 0; right: 1.4rem; transform: translateY(-50%); background: var(--brand); color: #fff; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; padding: .35rem .8rem; border-radius: var(--pill); box-shadow: 0 6px 16px -6px var(--brand); }
.plan--custom { background: linear-gradient(180deg, color-mix(in oklch, var(--brand) 5%, white), var(--surface)); }
.plans__note { text-align: center; margin-top: 1.8rem; font-size: .9rem; color: var(--ink-faint); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; gap: .8rem; }
.faq-item { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; transition: box-shadow .25s var(--ease); }
.faq-item[open] { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brand) 30%, var(--border)), var(--shadow-card); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chev { width: 1.3rem; height: 1.3rem; flex: none; color: var(--ink-faint); transition: transform .25s var(--ease); }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); color: var(--brand); }
.faq-item__body { padding: 0 1.5rem 1.4rem; }
.faq-item__body p { color: var(--ink-muted); }

/* =====================================================================
   CTA DEMO
   ===================================================================== */
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cta__copy .section__title { max-width: 14ch; }
.cta__chips { margin-top: 1.6rem; }
.cta__alt { margin-top: 1.4rem; color: var(--on-dark-muted); font-size: .95rem; }
.cta__alt a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, white 40%, transparent); }
.cta__form { padding: clamp(1.6rem, 3vw, 2.2rem); display: grid; gap: 1rem; color: var(--ink); /* no heredar --on-dark del section--dark: la card es blanca */ }
.field ::placeholder { color: var(--ink-faint); opacity: 1; }
.select-wrap select:has(option[value=""]:checked) { color: var(--ink-faint); }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--ink-muted); }
.field__opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 4px color-mix(in oklch, var(--brand) 14%, transparent); }
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select-wrap__chev { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; color: var(--ink-faint); pointer-events: none; }
.cta__form-note { font-size: .82rem; color: var(--ink-faint); text-align: center; }
.cta__form-status { font-size: .95rem; font-weight: 500; text-align: center; padding: .8rem; border-radius: var(--r); }
.cta__form-status.is-ok { background: color-mix(in oklch, var(--ok) 14%, white); color: color-mix(in oklch, var(--ok) 60%, black); }
.cta__form-status.is-err { background: color-mix(in oklch, var(--err) 12%, white); color: color-mix(in oklch, var(--err) 60%, black); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--brand-darkest); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hairline-dark); }
.footer__brand .brand-logo { color: #fff; height: 28px; margin-bottom: 1rem; }
.footer__brand > p { max-width: 30ch; color: var(--on-dark-muted); }
.footer__contact { margin-top: 1.2rem; display: grid; gap: .5rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark-muted); font-size: .92rem; width: fit-content; transition: color .2s; }
.footer__contact a:hover { color: #fff; }
.footer__contact .ic { width: 1.05rem; height: 1.05rem; }
.footer__col h4 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-faint); margin-bottom: 1rem; font-weight: 500; }
.footer__col a { display: block; padding: .3rem 0; color: var(--on-dark-muted); font-size: .94rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; color: var(--on-dark-faint); }
.footer__meta { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .04em; }

/* =====================================================================
   REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* stagger dentro de grids */
.bento .reveal, .bento.reveal { } /* placeholder */
.hero__inner > .reveal:nth-child(1) { transition-delay: .05s; }
.hero__inner > .reveal:nth-child(2) { transition-delay: .12s; }
.hero__inner > .reveal:nth-child(3) { transition-delay: .19s; }
.hero__inner > .reveal:nth-child(4) { transition-delay: .26s; }
.hero__inner > .reveal:nth-child(5) { transition-delay: .33s; }
.hero__inner > .reveal:nth-child(6) { transition-delay: .42s; }
.bento li:nth-child(2) { transition-delay: .06s; }
.bento li:nth-child(3) { transition-delay: .12s; }
.bento li:nth-child(4) { transition-delay: .18s; }
.bento li:nth-child(5) { transition-delay: .24s; }
.bento li:nth-child(6) { transition-delay: .30s; }
.steps li:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3) { transition-delay: .16s; }
.steps li:nth-child(4) { transition-delay: .24s; }
.plans li:nth-child(2) { transition-delay: .07s; }
.plans li:nth-child(3) { transition-delay: .14s; }
.plans li:nth-child(4) { transition-delay: .21s; }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes meshmove { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(2%, -2%) scale(1.08); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .stat-band { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}
@media (max-width: 920px) {
  .nav__links, .nav__login { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: grid; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu {
    position: fixed; inset: 68px 0 auto; z-index: 49;
    background: var(--bg);
    padding: 1.2rem clamp(1.25rem, 5vw, 3rem) 1.6rem; gap: .3rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-hover);
    animation: gz-slide-down .25s var(--ease-out);
  }
  .mobile-menu a { padding: .85rem .4rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); }
  .mobile-menu a:last-child { border: none; margin-top: .6rem; }
  .mobile-menu .btn { color: #fff; }

  .bento--pains { grid-template-columns: repeat(2, 1fr); }
  .bento--diff { grid-template-columns: 1fr; }
  .diff, .diff--lg, .diff--wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }

  .product-row, .product-row--reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .product-row--reverse .product-row__text { order: 0; }
  .product-row__media { order: -1; }

  .mobile-app__inner { grid-template-columns: 1fr; }
  .mobile-app .section__title { max-width: none; }

  .cta__inner { grid-template-columns: 1fr; }
  .cta__copy { text-align: center; }
  .cta__copy .section__title, .cta__copy .lead { max-width: none; margin-inline: auto; }
  .cta__chips { justify-content: center; }
  .hero .eyebrow { }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bento--pains, .bento--diff, .steps, .plans { grid-template-columns: 1fr; }
  .diff--lg, .diff--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .diff--lg .diff__ic, .diff--wide .diff__ic { grid-row: auto; }
  .diff--lg h3, .diff--lg p, .diff--wide h3, .diff--wide p { grid-column: 1; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band li:last-child { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .compare { font-size: .92rem; }
  .hero__cta .btn { width: 100%; }
  .billing-toggle { width: 100%; justify-content: center; }
  .chapter { padding: .75rem 1.1rem; } /* touch target ≥44px */
  .video-play .ic { width: 64px; height: 64px; padding: 20px 17px 20px 23px; }
}

@keyframes gz-slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- Print / PDF ---- */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav { position: absolute; } /* que no se repita en cada página */
  .mesh { animation: none; }
  .card, .window, .plan, .step, .diff, .pain, .faq-item, .phone { break-inside: avoid; }
  .product-row, .section__head, .compare__row { break-inside: avoid; }
  .skip-link { display: none; }
  /* compactar para paginar con menos huecos */
  .section { padding-block: 2.6rem; }
  .hero { padding-top: 5.5rem; padding-bottom: 2.5rem; }
  .product-row { padding-block: 1.4rem; }
  .section__head { margin-bottom: 1.8rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mesh { animation: none; }
}

/* Boton de whatsapp */
.boton-whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.boton-whatsapp-flotante svg {
    width: 40px;
    height: 40px;
}

.boton-whatsapp-flotante:hover {
    transform: scale(1.1);
}
