/* Avanzza Plataforma · site.css
   Tokens → base → componentes → secciones → responsive → motion reducido.
   Dirección en DESIGN.md. Radios: interacción 999px · tarjetas 20px · bloques 28px (núcleo 22px) · campos 12px. */

/* ------------------------------------------------------------------ tokens */
:root {
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --word: "Sora", var(--font);

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(6rem, 12vw, 14rem);
  --nav-h: 60px;

  --r-pill: 999px;
  --r-card: 20px;
  --r-block: 28px;
  --r-core: 22px;
  --r-field: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-micro: .22s;
  --t-ui: .45s;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #04121a;
  --surface: #081b25;
  --surface-2: #0e2533;
  --text: #ecf6f4;
  --text-2: #a3b8ba;
  --text-3: #7d9598;
  --accent: #4fd8cb;
  --grad: linear-gradient(92deg, #a6f5ec 0%, #4fd8cb 48%, #7cc4ff 100%);

  --on-accent: #04121a;
  --line: rgb(236 246 244 / .09);
  --line-2: rgb(236 246 244 / .16);
  --glow: rgb(79 216 203 / .32);
  --rim: inset 0 0 24px rgb(255 255 255 / .04), inset 0 1px 0 rgb(255 255 255 / .06);
  --lift: 0 40px 120px -40px rgb(0 0 0 / .7);
  --app-bg: #06161f;
  --app-side: #051018;
  --warn: #f2b56b;
  --bad: #f08a7e;
  --star-color: 236, 246, 244;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f8f7;
  --surface: #ffffff;
  --surface-2: #e8f1f0;
  --text: #0e2533;
  --text-2: #3d5862;
  --text-3: #566f77;
  --accent: #0b7676;
  --grad: linear-gradient(92deg, #0b7676 0%, #139595 50%, #1f7fb8 100%);

  --on-accent: #ffffff;
  --line: rgb(14 37 51 / .1);
  --line-2: rgb(14 37 51 / .18);
  --glow: rgb(19 149 149 / .28);
  --rim: inset 0 1px 0 rgb(255 255 255 / .9);
  --lift: 0 40px 100px -45px rgb(14 37 51 / .45);
  --app-bg: #ffffff;
  --app-side: #f2f7f6;
  --warn: #a8620f;
  --bad: #b5402f;
  --star-color: 14, 37, 51;
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 2rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } @view-transition { navigation: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
i[class*="ph-"] { line-height: 1; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  padding: .75rem 1.25rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent); font-weight: 500;
  transform: translateY(-160%); transition: transform var(--t-micro) var(--ease);
}
.skip:focus-visible { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
main, .footer { position: relative; z-index: 1; }
/* clip (no hidden): recorta los resplandores decorativos sin crear contenedor de scroll, así los sticky siguen funcionando */
main { overflow-x: clip; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 0; letter-spacing: -.01em; }
.accent { color: var(--accent); }
/* Cifras grandes: Geist con dígitos tabulares (la coma mono ocupa una celda completa y se ve suelta) */
.stat dd, .tally__sum, .tally__avz, .plan__price .mono, .pay__amount, .score__value .mono, .ticket__total .mono, .plan__year .mono, .plan__list b.mono {
  font-family: var(--font); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.032em;
  font-weight: 500;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 58ch;
  text-wrap: pretty;
}

.section-head { display: grid; justify-items: center; text-align: center; gap: var(--s-5); margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head .h2 { max-width: 20ch; }
.section-head .lead { margin-inline: auto; }
.section-head--left { justify-items: start; text-align: left; }
.section-head--left .lead { margin-inline: 0; }

/* ------------------------------------------------------------------- brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__mark path, .curtain__mark path, .reel__mark path {
  fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
}
.brand__mark circle, .curtain__mark circle, .reel__mark circle { fill: var(--accent); }
.brand__word { font-family: var(--word); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.brand--small .brand__mark { width: 20px; height: 20px; }
.brand--small .brand__word { font-size: .95rem; }

/* ------------------------------------------------------------------ badge */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem .4rem .7rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow: inset 0 -7px 11px color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
  color: var(--text);
}
.badge i { color: var(--accent); font-size: 1rem; }

/* ----------------------------------------------------------------- buttons */
.btn {
  --pad: 1.4rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px;
  padding: 0 var(--pad);
  border-radius: var(--r-pill);
  font-size: .9688rem; font-weight: 500; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease),
              border-color var(--t-micro) var(--ease), box-shadow var(--t-ui) var(--ease), color var(--t-micro) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:has(.btn__icon) { padding-right: .4rem; }
.btn:active { transform: scale(.98); }
.btn__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.05rem;
  transition: transform var(--t-ui) var(--ease), background-color var(--t-micro) var(--ease);
}
.btn:hover .btn__icon { transform: translateX(3px) scale(1.06); }

.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 14px 34px -14px var(--glow);
}
.btn--primary .btn__icon { background: color-mix(in srgb, var(--on-accent) 14%, transparent); }
.btn--primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 18px 44px -12px var(--glow); }

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost .btn__icon { background: var(--surface-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--line-2)); }

.btn--sm { min-height: 40px; --pad: 1.05rem; font-size: .875rem; }
.btn--sm .btn__icon { width: 30px; height: 30px; font-size: .95rem; }
.btn--lg { min-height: 58px; --pad: 1.8rem; font-size: 1.0625rem; }
.btn--lg .btn__icon { width: 44px; height: 44px; }

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-2); font-size: 1.15rem;
  transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(.94); }
[data-theme="dark"] .icon-moon, [data-theme="light"] .icon-sun { display: none; }

/* ---------------------------------------------------------------- curtain */
.curtain { display: none; }
.js-anim .curtain {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: var(--bg);
}
.curtain__mark { width: 72px; height: 72px; }
.js-anim .curtain__mark { animation: mark-in .8s var(--ease) .05s both; }
@keyframes mark-in { from { opacity: 0; transform: translateY(12px) scale(.86); } }

/* ----------------------------------------------------------------- stars */
.stars {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
[data-theme="light"] .stars { opacity: .55; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  width: min(100%, 1080px);
  height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 0 .5rem 0 1.15rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--rim);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.nav.is-scrolled .nav__pill {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: var(--line-2);
  box-shadow: var(--rim), 0 18px 40px -24px rgb(0 0 0 / .5);
}
.nav__links { display: flex; justify-content: center; gap: .25rem; }
.nav__links a {
  position: relative;
  padding: .5rem .85rem; border-radius: var(--r-pill);
  font-size: .9375rem; color: var(--text-2);
  transition: color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease);
}
.nav__links a:hover { color: var(--text); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.nav__links a.is-current { color: var(--text); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--accent);
}
.nav__actions { display: flex; align-items: center; gap: .35rem; }
.menu-btn { display: none; }
.menu-lines { position: relative; display: block; width: 18px; height: 10px; }
.menu-lines i {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform var(--t-ui) var(--ease), top var(--t-ui) var(--ease);
}
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  display: grid; align-content: center; gap: 2.5rem;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem;
  overflow-y: auto; overscroll-behavior: contain;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-ui) var(--ease), visibility 0s linear var(--t-ui);
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-ui) var(--ease); }
.menu__links { display: grid; gap: .25rem; }
.menu__links a, .menu__cta {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-ui) var(--ease), transform .6s var(--ease);
}
.menu__links a { font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; }
.menu.is-open .menu__links a, .menu.is-open .menu__cta { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .09s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .13s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .17s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .21s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .25s; }
.menu.is-open .menu__cta { transition-delay: .3s; justify-self: start; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 14px + clamp(2.5rem, 6vw, 4.5rem));
  overflow: clip;
}
.hero__copy { display: grid; justify-items: center; text-align: center; gap: var(--s-5); position: relative; z-index: 3; }
.hero__title {
  font-size: clamp(2.75rem, 6.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 500;
  max-width: 15.5ch;
  text-wrap: balance;
}
.hero__title .word { display: inline-block; will-change: transform; }
.hero__sub { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 48ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--s-2); }

.js-anim [data-hero], .js-anim [data-split], .js-anim .hero .product, .js-anim .hero .portal { opacity: 0; }

.hero__stage {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-inline: var(--gutter);
  perspective: 1800px;
}

/* portal de luz */
.portal {
  position: absolute; left: 50%; top: 0;
  width: min(1100px, 120vw); aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 0;
}
/* en el hero el anillo se disuelve antes de llegar al texto */
.hero .portal {
  -webkit-mask: radial-gradient(ellipse 44% 12% at 50% 31%, transparent 72%, #000 100%);
  mask: radial-gradient(ellipse 44% 12% at 50% 31%, transparent 72%, #000 100%);
}
.portal > span { position: absolute; inset: 0; border-radius: 50%; }
.portal__halo {
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 55%, transparent 72%);
  filter: blur(10px);
  transform: scaleY(.46);
}
.portal__ring {
  inset: 21% 14%;
  background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, var(--accent) 70%, transparent) 22%, #d8fffa 30%, var(--accent) 38%, transparent 54%, color-mix(in srgb, var(--accent) 50%, transparent) 72%, #bff7f0 80%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 14px var(--accent));
  transform: scaleY(.42);
}
.portal__ring::before { content: none; }
.portal__core {
  inset: 34% 30%;
  background: radial-gradient(closest-side, rgb(236 255 252 / .9), color-mix(in srgb, var(--accent) 60%, transparent) 38%, transparent 75%);
  transform: scaleY(.3);
  filter: blur(14px);
  opacity: .75;
}
[data-theme="light"] .portal__core { background: radial-gradient(closest-side, rgb(255 255 255 / .95), color-mix(in srgb, var(--accent) 35%, transparent) 40%, transparent 75%); }
@media (prefers-reduced-motion: no-preference) {
  .portal__ring { animation: spin 26s linear infinite; }
}
@keyframes spin { to { transform: scaleY(.42) rotate(360deg); } }

/* producto */
.product { position: relative; z-index: 2; width: min(100%, 1180px); margin-inline: auto; }
.product__frame {
  padding: 6px;
  border-radius: var(--r-block);
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 12%, transparent), color-mix(in srgb, var(--text) 3%, transparent) 40%);
  border: 1px solid var(--line);
  box-shadow: var(--lift), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent), 0 -20px 80px -30px var(--glow);
  transform-origin: 50% 0;
  will-change: transform;
}
/* VSL: marco 16:9 listo para el video de ventas (el póster es de marca; el video se carga al dar play) */
.vsl { width: min(100%, 1060px); }
.vsl__screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-core); overflow: hidden; isolation: isolate; background: #04121a; color: #ecf6f4; }
.vsl__poster {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(110% 80% at 50% 115%, rgb(19 149 149 / .5), transparent 62%), linear-gradient(160deg, #0e2533 0%, #061821 55%, #04121a 100%);
  background-size: cover; background-position: center;
}
.vsl__aurora {
  position: absolute; inset: -25%;
  background: radial-gradient(38% 34% at 30% 42%, rgb(79 216 203 / .32), transparent 70%), radial-gradient(34% 30% at 72% 58%, rgb(124 196 255 / .2), transparent 70%);
  filter: blur(30px);
}
@media (prefers-reduced-motion: no-preference) {
  .vsl__aurora { animation: aurora 16s var(--ease-io) infinite alternate; }
  .vsl__pulse { animation: pulse 2.6s var(--ease) infinite; }
}
@keyframes aurora { to { transform: translate3d(7%, -5%, 0) scale(1.12); } }
@keyframes pulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.75); opacity: 0; } }
.vsl__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgb(236 246 244 / .16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(65% 70% at 50% 50%, #000, transparent); mask: radial-gradient(65% 70% at 50% 50%, #000, transparent);
}
.vsl__watermark { position: absolute; left: 50%; top: 50%; width: 46%; translate: -50% -50%; opacity: .06; }
.vsl__watermark path, .vsl__brand path { fill: none; stroke: #ecf6f4; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.vsl__watermark circle, .vsl__brand circle { fill: #4fd8cb; }
.vsl__brand {
  position: absolute; z-index: 2; top: clamp(.9rem, 2.4vw, 1.6rem); left: clamp(1rem, 2.8vw, 2rem);
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--word); font-weight: 600; font-size: clamp(.85rem, 1.2vw, 1rem); letter-spacing: -.02em;
}
.vsl__brand img { width: 26px; height: 26px; padding: 3px; border-radius: 8px; background: #fbf9f7; }
/* tres actos: los verbos del titular se vuelven capítulos del VSL */
.acts { position: absolute; z-index: 3; left: 50%; top: clamp(.6rem, 1.8vw, 1.25rem); translate: -50% 0; display: flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: rgb(4 18 26 / .72); border: 1px solid rgb(236 246 244 / .16); }
.acts__btn { position: relative; overflow: hidden; min-height: 42px; padding: 0 1.2rem; border-radius: var(--r-pill); font-size: .9688rem; color: rgb(236 246 244 / .72); transition: color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease); }
.acts__btn:hover { color: #ecf6f4; }
.acts__btn:active { transform: scale(.96); }
.acts__btn:focus-visible { outline-color: #ecf6f4; border-radius: var(--r-pill); }
.acts__btn.is-on { background: rgb(79 216 203 / .2); color: #ecf6f4; }
.acts__btn i { position: absolute; left: 14%; right: 14%; bottom: 4px; height: 2px; border-radius: 2px; background: #4fd8cb; transform: scaleX(0); transform-origin: left; }
.acts:not(.is-auto) .acts__btn.is-on i { transform: scaleX(1); }
.acts.is-auto .acts__btn.is-on i { animation: actFill 5.5s linear forwards; }
.acts.is-paused .acts__btn.is-on i { animation-play-state: paused; }
@keyframes actFill { to { transform: scaleX(1); } }
.act-art { position: absolute; z-index: 1; right: 6%; top: 50%; translate: 0 -50%; width: 25%; aspect-ratio: 1; pointer-events: none; }
.act { position: absolute; inset: 0; display: grid; align-content: center; opacity: 0; transition: opacity .6s var(--ease); }
.act.is-on { opacity: 1; }
.act--vende { gap: clamp(6px, 1.2vw, 16px); }
.act--vende i { height: clamp(14px, 3vw, 42px); border-radius: 999px; background: rgb(236 246 244 / .16); transition: transform .7s var(--ease), opacity .6s var(--ease); }
.act--vende i:nth-child(1) { width: 66%; }
.act--vende i:nth-child(2) { width: 84%; justify-self: end; background: #4fd8cb; transition-delay: .25s; }
.act--vende i:nth-child(3) { width: 48%; justify-self: end; background: rgb(79 216 203 / .55); transition-delay: .5s; }
.act--vende:not(.is-on) i { transform: translateY(26px); opacity: 0; }
.act--agenda { grid-template-columns: repeat(5, 1fr); gap: 5%; }
.act--agenda i { aspect-ratio: 1; border-radius: 22%; background: rgb(236 246 244 / .12); transition: background-color .4s var(--ease); }
.act--agenda.is-on i:nth-child(3n + 1) { background: #4fd8cb; }
.act--agenda.is-on i:nth-child(7) { background: rgb(79 216 203 / .55); }
.act--agenda.is-on i:nth-child(4) { transition-delay: .15s; } .act--agenda.is-on i:nth-child(7) { transition-delay: .3s; } .act--agenda.is-on i:nth-child(10) { transition-delay: .45s; } .act--agenda.is-on i:nth-child(13) { transition-delay: .6s; }
.act--cobra svg { width: 100%; height: 100%; overflow: visible; }
.act--cobra circle, .act--cobra path { fill: none; stroke: #4fd8cb; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.act--cobra path { stroke-width: 9; transition-delay: .45s; }
.act--cobra.is-on circle, .act--cobra.is-on path { stroke-dashoffset: 0; }
.hero__assure { margin-top: calc(var(--s-2) * -1); font-size: .9063rem; }
.vsl__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: clamp(64px, 8.6vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: #4fd8cb; color: #04121a;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  box-shadow: 0 0 0 10px rgb(79 216 203 / .14), 0 24px 60px -12px rgb(79 216 203 / .6);
  transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.vsl__play i { margin-left: 5px; }
.vsl__play:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgb(79 216 203 / .16), 0 28px 70px -12px rgb(79 216 203 / .7); }
.vsl__play:active { transform: scale(.97); }
.vsl__play:focus-visible { outline-color: #ecf6f4; outline-offset: 6px; border-radius: 50%; }
.vsl__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgb(79 216 203 / .7); pointer-events: none; }
.vsl__play.is-nudge { animation: nudge .5s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.vsl__meta {
  position: absolute; z-index: 2; left: clamp(1rem, 2.8vw, 2rem); right: clamp(1rem, 2.8vw, 2rem); bottom: clamp(.9rem, 2.4vw, 1.6rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  text-align: left;
}
.vsl__title { max-width: 26ch; font-size: clamp(1rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.vsl__note {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: var(--r-pill);
  background: rgb(4 18 26 / .6); border: 1px solid rgb(236 246 244 / .16);
  font-size: .8125rem; color: #c4d4d5;
  transition: border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.vsl__note.is-flash { border-color: rgb(79 216 203 / .7); color: #ecf6f4; }
.vsl__note i { color: #4fd8cb; }
.vsl__player { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; }
.vsl__screen.is-playing > :not(.vsl__player) { display: none; }

.bubble { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; }
.bubble--in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, var(--app-bg)); border-bottom-right-radius: 4px; }

/* --------------------------------------------------------------- proof */
.proof { position: relative; padding-top: clamp(5rem, 10vw, 9rem); text-align: center; }
.proof__title { font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; max-width: 30ch; margin-inline: auto; color: var(--text-2); text-wrap: balance; }
.proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat { display: flex; flex-direction: column-reverse; align-items: center; gap: .35rem; }
.stat dd { font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -.045em; color: var(--text); white-space: nowrap; }
.stat dd small { font-family: var(--font); font-size: .9rem; letter-spacing: 0; color: var(--accent); margin-left: .5rem; }
.stat dt { color: var(--text-3); font-size: .9375rem; }
.proof__source { margin-top: var(--s-6); font-size: .8125rem; color: var(--text-3); }

/* ------------------------------------------------------------ platform */
/* cuenta navegable: barra lateral de herramientas y vista de cada una */
.desk { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 39rem; }
.desk__side { display: flex; flex-direction: column; gap: .6rem; padding: .9rem .7rem; background: var(--app-side); border-right: 1px solid var(--line); }
.desk__brand { padding: .15rem .55rem .35rem; }
.desk__tabs { display: grid; gap: 2px; }
.desk__tab { display: flex; align-items: center; gap: .6rem; min-height: 38px; padding: 0 .6rem; border-radius: 10px; font-size: .9063rem; color: var(--text-2); text-align: left; white-space: nowrap; transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.desk__tab i { font-size: 1.15rem; transition: color var(--t-micro) var(--ease), transform var(--t-ui) var(--ease); }
.desk__tab small { margin-left: auto; padding: .05rem .45rem; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); font-size: .6875rem; color: var(--accent); }
.desk__tab:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); color: var(--text); }
.desk__tab:hover i { transform: translateX(2px); }
.desk__tab:active { background: var(--surface-2); }
.desk__tab.is-active { background: var(--surface-2); color: var(--text); }
.desk__tab.is-active i { color: var(--accent); }
.desk__main { min-width: 0; padding: clamp(1rem, 2.4vw, 1.75rem) clamp(1rem, 3vw, 2.25rem) clamp(1.25rem, 2.6vw, 2rem); background: var(--app-bg); }
.desk__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-bottom: .85rem; margin-bottom: clamp(1rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--text-3); }
.desk__panel[hidden] { display: none; }
.desk__panel.is-active { animation: panelIn .5s var(--ease) both; }
.desk__panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.desk__p { max-width: 54ch; margin-top: .25rem; color: var(--text-2); }
.desk__more { margin-top: clamp(1.5rem, 3vw, 2rem); text-align: center; color: var(--text-2); text-wrap: balance; }
.desk__note { margin-top: .5rem; text-align: center; font-size: .8125rem; color: var(--text-3); }
.pv { display: grid; gap: .75rem; margin-top: 1.25rem; font-size: .9063rem; }
.pv-ok { display: flex; align-items: center; gap: .45rem; font-size: .875rem; color: var(--accent); }
.pv-ok i { font-size: 1.1rem; }
.pv-cap { font-size: .8125rem; color: var(--text-3); }
.pv-chat { display: grid; gap: .45rem; max-width: 30rem; }
.pv-b { justify-self: start; max-width: 80%; padding: .55rem .85rem; border-radius: 4px 16px 16px 16px; background: color-mix(in srgb, var(--surface-2) 75%, transparent); line-height: 1.35; }
.pv-b--out { justify-self: end; border-radius: 16px 4px 16px 16px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.pv-kan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.pv-kan > div { display: grid; gap: .4rem; align-content: start; min-height: 13rem; padding: .55rem; border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 40%, transparent); }
.pv-kan p { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--text-2); }
.pv-kan p b { font-weight: 400; color: var(--text-3); }
.pv-kan span { display: grid; padding: .5rem .6rem; border-radius: 10px; background: var(--surface-2); line-height: 1.3; font-size: .875rem; }
.pv-kan small { font-size: .75rem; color: var(--text-3); }
.pv-kan .is-win { box-shadow: inset 0 0 0 1px var(--accent); }
.pv-rows { display: grid; gap: .4rem; }
.pv-rows li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 50%, transparent); line-height: 1.3; }
.pv-rows i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--accent); font-size: 1.1rem; }
.pv-rows small { display: block; font-size: .8125rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-rows em { font-style: normal; font-size: .8125rem; color: var(--text-2); white-space: nowrap; }
.pv-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.pv-week > div { display: grid; gap: .35rem; }
.pv-week p { text-align: center; font-size: .8125rem; color: var(--text-3); }
.pv-week span { display: grid; place-items: center; height: 3.4rem; border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 40%, transparent); font-size: .8125rem; }
.pv-week .is-on { background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.pv-page { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; }
.pv-page__bar { display: flex; align-items: center; gap: 5px; padding: .45rem .7rem; background: var(--surface-2); font-size: .75rem; color: var(--text-3); }
.pv-page__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.pv-page__bar span { margin-left: .4rem; }
.pv-page__body { display: grid; justify-items: center; gap: .5rem; padding: 1.25rem 1rem; background: radial-gradient(90% 90% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.pv-page__body b { display: block; width: 62%; height: 12px; border-radius: 6px; background: var(--text-2); opacity: .75; }
.pv-page__body b + b { width: 42%; height: 8px; opacity: .4; }
.pv-page__body u { padding: .3rem .9rem; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: .8125rem; text-decoration: none; }
.pv-page__body span { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; width: 100%; margin-top: .3rem; }
.pv-page__body span i { height: 3rem; border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.pv-steps { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8125rem; }
.pv-steps li { padding: .15rem .7rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); }
.pv-flow { position: relative; display: grid; gap: .5rem; max-width: 26rem; }
.pv-flow::before { content: ""; position: absolute; left: 1.05rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--line-2); }
.pv-flow li { position: relative; display: flex; align-items: center; gap: .7rem; padding: .45rem .75rem .45rem .35rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface-2) 55%, var(--app-bg)); }
.pv-flow i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-size: 1rem; }
.pv-flow .is-win { box-shadow: inset 0 0 0 1px var(--accent); }
.pv-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.pv-pay__sum { display: grid; line-height: 1.15; }
.pv-pay__sum small { font-size: .8125rem; color: var(--text-2); }
.pv-pay__sum b { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pv-pay__state { display: flex; align-items: center; gap: .35rem; color: var(--accent); font-size: .875rem; }
.pv-stars { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; color: var(--text-2); }
.pv-stars span { display: flex; gap: 2px; color: var(--accent); font-size: 1.5rem; }
.pv-soc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.pv-soc figcaption { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; font-size: .75rem; color: var(--text-2); }
.pv-soc figcaption i { font-size: 1rem; color: var(--accent); }
.pv-tile { display: block; aspect-ratio: 4 / 5; border-radius: 12px; }
.pv-tile--a { background: linear-gradient(160deg, #f4e6d8, #8fa6a3); }
.pv-tile--b { background: linear-gradient(180deg, #1c3b5a, #e0876a 62%, #f6c78d); }
.pv-tile--c { background: radial-gradient(90% 70% at 50% 20%, #10394a, #071820); }
.pv-tile--d { background: repeating-linear-gradient(100deg, #5b3a2b 0 14px, #64412f 14px 30px); }
.pv-prog { display: grid; gap: .8rem; }
.pv-prog li { display: grid; gap: .3rem; }
.pv-prog li::after { content: ""; height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.pv-prog i { grid-row: 2; grid-column: 1; z-index: 1; height: 8px; border-radius: 8px; background: var(--accent); transform: scaleX(var(--v)); transform-origin: left; }
.pv-prog li::after { grid-row: 2; grid-column: 1; }
.pv-bars { display: grid; gap: .5rem; }
.pv-bars li { display: grid; grid-template-columns: 5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: .6rem; font-size: .875rem; }
.pv-bars i { display: block; height: 14px; border-radius: 0 4px 4px 0; background: var(--accent); transform: scaleX(var(--v)); transform-origin: left; }
.pv-bars b { font-weight: 400; text-align: right; }
.pv-phone { display: grid; gap: .45rem; max-width: 20rem; margin-inline: auto; padding: 1rem .8rem; border-radius: 28px; background: color-mix(in srgb, var(--surface-2) 50%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); }
.pv-phone p { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 14px; background: var(--surface-2); line-height: 1.25; font-size: .875rem; }
.pv-phone i { color: var(--accent); font-size: 1.25rem; }
.pv-phone small { display: block; font-size: .75rem; color: var(--text-3); }

/* ------------------------------------------------------------- journey */
.journey__grid { display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.journey__device { --ps: 1; position: sticky; top: max(calc(var(--nav-h) + 30px), calc(50vh - 305px)); display: grid; justify-items: center; height: calc(610px * var(--ps)); }
.phone {
  position: relative;
  width: 300px; height: 610px;
  padding: 10px;
  border-radius: 48px;
  transform: scale(var(--ps)); transform-origin: top center;
  background: linear-gradient(160deg, #23404f, #0a1c26 40%, #0d2430);
  box-shadow: var(--lift), inset 0 1px 0 rgb(255 255 255 / .18), 0 0 0 1px rgb(255 255 255 / .06), 0 0 90px -20px var(--glow);
}
[data-theme="light"] .phone { background: linear-gradient(160deg, #3b5866, #142a36 45%, #1b3644); }
.phone__notch { position: absolute; top: 20px; left: 50%; z-index: 3; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #020a0f; }
.phone__screens { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--app-bg); }
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: 62px 16px 20px;
  font-size: 13px; line-height: 1.4;
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; }
.screen__app { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.screen__app i { color: var(--accent); font-size: 18px; }
.screen__toast { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.screen__toast i { color: var(--accent); }
.lead-card { display: grid; justify-items: center; gap: 4px; padding: 18px 14px; border-radius: 18px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); border: 1px solid var(--line); text-align: center; }
.lead-card__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #2a8fc7); color: #04121a; font-weight: 500; margin-bottom: 4px; }
.lead-card__name { font-size: 16px; font-weight: 500; }
.lead-card__meta { color: var(--text-3); font-size: 12px; }
.lead-card__rows { width: 100%; display: grid; gap: 6px; margin-top: 10px; text-align: left; }
.lead-card__rows div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.lead-card__rows dt { color: var(--text-3); }
.lead-card__rows dd { display: inline-flex; align-items: center; gap: 4px; }
.lead-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 10px; }
.lead-card__tags span { padding: 2px 9px; border-radius: 999px; font-size: 11px; background: var(--surface-2); color: var(--text-2); }
.wa { display: flex; flex-direction: column; gap: 8px; }
.cal__day { font-weight: 500; font-size: 15px; }
.cal__slots { display: grid; gap: 7px; }
.cal__slots li { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 11px 12px; border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 45%, transparent); font-family: var(--mono); font-size: 12.5px; }
.cal__slots li span { font-family: var(--font); color: var(--text-3); font-size: 12px; }
.cal__slots li.is-picked { background: color-mix(in srgb, var(--accent) 20%, var(--app-bg)); box-shadow: inset 3px 0 0 var(--accent); }
.cal__slots li.is-picked span { color: var(--text); }
.cal__note { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 12px; margin-top: 4px; }
.cal__note i { color: var(--accent); font-size: 16px; }
.pay { display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); border: 1px solid var(--line); }
.pay__label { color: var(--text-2); }
.pay__amount { font-size: 34px; letter-spacing: -.04em; line-height: 1.1; }
.pay__amount small { font-size: 13px; color: var(--text-3); }
.pay__status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; }
.pay__rows { display: grid; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.pay__rows div { display: flex; justify-content: space-between; font-size: 12.5px; }
.pay__rows dt { color: var(--text-3); }
.review { display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); border: 1px solid var(--line); }
.review__stars { display: flex; gap: 3px; color: #f5c24b; font-size: 18px; }
.review__text { font-size: 14px; line-height: 1.45; }
.review__who { color: var(--text-3); font-size: 12px; }
.review__reply { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: 12.5px; }
.review__reply span { color: var(--accent); font-size: 11px; }

.journey__steps { position: relative; padding-left: 2.25rem; }
.journey__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.journey__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 20%, transparent), var(--accent)); transform: scaleY(var(--p, 0)); transform-origin: top; box-shadow: 0 0 12px var(--glow); }
.steps { display: grid; }
.step { min-height: 62vh; display: flex; align-items: center; }
.step:first-child { min-height: 46vh; align-items: flex-start; padding-top: 8vh; }
.step:last-child { min-height: 50vh; }
.step__btn {
  display: grid; gap: .5rem; text-align: left;
  padding: 1rem 0;
  opacity: .32; transform: translateX(-4px);
  transition: opacity var(--t-ui) var(--ease), transform .6s var(--ease);
}
.step.is-active .step__btn { opacity: 1; transform: none; }
.step__btn:hover { opacity: .75; }
.step__time { font-size: .8125rem; color: var(--accent); letter-spacing: .02em; }
.step__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.step__text { color: var(--text-2); max-width: 44ch; font-size: 1.0625rem; }

/* ------------------------------------------------------ marco doble (bezel) */
.bezel {
  position: relative; z-index: 1;
  padding: 6px;
  border-radius: var(--r-block);
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
.bezel__core {
  border-radius: var(--r-core);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--rim);
  overflow: hidden;
}

/* ------------------------------------------- marketing incluido (Studio, diagnósticos, videos) */
.growth__rows { display: grid; gap: clamp(5rem, 11vw, 9rem); }
.grow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.grow--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grow--flip .grow__copy { order: 2; }
.grow__copy { display: grid; justify-items: start; gap: var(--s-4); }
.grow__tag { display: inline-flex; align-items: center; gap: .65rem; font-size: .9375rem; font-weight: 500; color: var(--accent); }
.grow__n { display: grid; place-items: center; min-width: 2.25rem; height: 1.6rem; padding: 0 .5rem; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); font-size: .75rem; }
.grow__title { font-size: clamp(1.875rem, 3.2vw, 2.875rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; max-width: 17ch; text-wrap: balance; }
.grow__text { max-width: 44ch; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.grow__io { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 30rem; margin-top: var(--s-2); border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.grow__io > div { display: grid; align-content: start; gap: .25rem; padding: .95rem 1.1rem; }
.grow__io > div + div { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.grow__io dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.grow__io > div + div dt { color: var(--accent); }
.grow__io dd { font-size: .9688rem; line-height: 1.4; color: var(--text); }
.grow__fact { font-size: .9688rem; color: var(--text-2); }
.grow__fact b { margin-right: .25rem; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; color: var(--text); }
.grow__visual { position: relative; }
.grow__visual::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 75%);
}

/* calificación (anillo) */
.score { position: relative; display: grid; justify-items: center; gap: .25rem; }
.score__ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.score__track, .score__fill { fill: none; stroke-width: 8; }
.score__track { stroke: var(--surface-2); }
.score__fill {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v));
  filter: drop-shadow(0 0 6px var(--glow));
}
.diag.is-on .score__fill { animation: ring 1.4s var(--ease) both; }
@keyframes ring { from { stroke-dashoffset: 100; } }
.score__value { position: absolute; top: 46px; font-size: 2.25rem; line-height: 1; letter-spacing: -.04em; }
.score__value small { font-family: var(--mono); font-size: .8125rem; color: var(--text-3); }

/* diagnóstico */
.diag { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.diag__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2rem); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.diag__kicker { font-family: var(--mono); font-size: .8125rem; color: var(--text-3); }
.diag__verdict { margin-top: .35rem; max-width: 24ch; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; text-wrap: balance; }
.diag__h { font-size: .875rem; color: var(--text-3); }
.diag__list { display: grid; gap: .5rem; counter-reset: d; }
.diag__list li { counter-increment: d; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: .85rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.diag__list li::before { content: counter(d); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); font-family: var(--mono); font-size: .8125rem; color: var(--accent); }
.diag__list b { font-weight: 500; line-height: 1.35; }
.diag__list span { font-size: .9063rem; color: var(--text-2); }

/* video con tu marca */
.vid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2.25rem); }
.reel { position: relative; width: clamp(170px, 17vw, 220px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 14px; color: #ecf6f4; text-align: center; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.reel__bg { position: absolute; inset: -40%; background: conic-gradient(from 210deg, #0e2533, #139595, #4fd8cb, #0e2533 60%, #1f5f86, #0e2533); }
.reel__mark { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fbf9f7; }
.reel__mark img { width: 34px; height: 34px; }
.reel__text { position: relative; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.reel__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .25); overflow: hidden; }
.reel__bar i { position: absolute; inset: 0; background: #ecf6f4; transform-origin: left; transform: scaleX(.3); }
@media (prefers-reduced-motion: no-preference) {
  .reel__bg { animation: spin2 9s linear infinite; }
  .reel__bar i { animation: reelbar 15s linear infinite; }
}
@keyframes spin2 { to { transform: rotate(360deg); } }
@keyframes reelbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vid__beats { display: grid; gap: .5rem; }
.vid__beats li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; padding: .85rem 1rem; border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); font-size: .9688rem; }
.vid__beats li:last-child { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.vid__beats span { font-size: .8125rem; color: var(--accent); }

/* ------------------------------------------------- Studio: compositor y galería */
.composer { padding: clamp(1rem, 2vw, 1.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.composer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.composer__mode { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); font-size: .8438rem; }
.composer__mode span { padding: .35rem .9rem; border-radius: var(--r-pill); color: var(--text-3); }
.composer__mode .is-on { background: var(--surface-2); color: var(--text); }
.composer__balance { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--text-2); }
.composer__balance i { color: var(--accent); }
.composer__prompt { position: relative; display: grid; gap: .9rem; padding: 1rem 1.1rem 1.1rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-2); }
.composer__text { min-height: 3.2em; font-size: 1rem; line-height: 1.55; color: var(--text); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.composer__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-right: 8.5rem; }
.composer__chips span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: var(--r-pill); background: var(--surface-2); font-size: .8125rem; color: var(--text-2); }
.composer__chips i { color: var(--accent); }
.composer__chips .composer__cost { background: transparent; border: 1px dashed var(--line-2); }
.composer__cost b { font-weight: 500; color: var(--text); }
.composer__go { position: absolute; right: .75rem; bottom: .75rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--text) 10%, transparent) 50%, transparent 70%) var(--surface-2);
  background-size: 250% 100%;
  opacity: 0; transition: opacity .5s var(--ease);
}
.tile.is-loading::after { opacity: 1; animation: shimmer 1.3s var(--ease-io) infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.tile__play { position: absolute; z-index: 2; left: .5rem; bottom: .5rem; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: var(--r-pill); background: rgb(4 18 26 / .6); color: #ecf6f4; font-family: var(--mono); font-size: .75rem; }

/* arte de los mosaicos: ilustraciones CSS, no fotografía */
.art { position: absolute; inset: 0; overflow: hidden; }
.art > span { position: absolute; display: block; }
.art--jar { background: radial-gradient(120% 80% at 30% 10%, #f4e6d8, #d8c3b0 45%, #8fa6a3 100%); }
.jar__stone { left: 14%; right: 10%; bottom: 10%; height: 24%; border-radius: 48% 52% 40% 44%; background: radial-gradient(80% 90% at 40% 25%, #9aa4a3, #5d6b6c 60%, #3f4b4d); box-shadow: 0 18px 22px -12px rgb(30 40 40 / .6); }
.jar__body { left: 31%; right: 31%; bottom: 27%; height: 30%; border-radius: 14% 14% 18% 18% / 10% 10% 16% 16%; background: linear-gradient(90deg, #dfe9ea, #ffffff 35%, #eef4f4 60%, #b9c9cb); box-shadow: inset 0 -10px 18px rgb(120 150 150 / .35); }
.jar__lid { left: 29%; right: 29%; bottom: 55%; height: 10%; border-radius: 8px 8px 4px 4px; background: linear-gradient(90deg, #0e7c7c, #4fd8cb 40%, #139595 70%, #0b5f5f); }
.jar__shine { left: 36%; bottom: 34%; width: 5%; height: 16%; border-radius: 4px; background: rgb(255 255 255 / .85); filter: blur(1px); }
.art--coffee { background: repeating-linear-gradient(100deg, #5b3a2b 0 14px, #64412f 14px 30px, #573829 30px 41px); }
.coffee__saucer { left: 14%; top: 18%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #f3efe9 58%, #e3ddd5 60%, #f7f4ef 70%, #d9d2c8 100%); box-shadow: 0 12px 24px rgb(20 10 5 / .45); }
.coffee__cup { left: 24%; top: 28%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: #fbfaf7; box-shadow: inset 0 0 0 5px #efeae3; }
.coffee__crema { left: 29%; top: 33%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #f0d9b5 0 12%, #c98f55 13% 26%, #e9c697 27% 34%, #a8673a 35% 60%, #6a3b1e 100%); }
.coffee__handle { left: 74%; top: 46%; width: 14%; height: 9%; border-radius: 0 999px 999px 0; background: #f4f1ec; }
.art--dunes { background: linear-gradient(180deg, #1c3b5a 0%, #e0876a 52%, #f6c78d 66%); }
.dunes__sun { left: 50%; top: 40%; width: 34%; aspect-ratio: 1; margin-left: -17%; border-radius: 50%; background: radial-gradient(circle, #fff3d6, #ffd08a 60%, #f6a96f); box-shadow: 0 0 40px #ffcf8f; }
.dunes__a { left: -20%; right: -10%; bottom: 18%; height: 34%; border-radius: 60% 40% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #c9714e, #8d4632); }
.dunes__b { left: 20%; right: -30%; bottom: 0; height: 32%; border-radius: 70% 30% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #a5553a, #5f2c22); }
.dunes__c { left: -30%; right: 30%; bottom: -6%; height: 22%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #3e1d19; }
.art--orb { background: radial-gradient(120% 90% at 50% 0%, #10394a, #071820 70%); }
.orb__podium { left: 18%; right: 18%; bottom: 14%; height: 16%; border-radius: 50%; background: linear-gradient(180deg, #2a5262, #0f2a35); box-shadow: inset 0 3px 0 rgb(255 255 255 / .2); }
.orb__shadow { left: 34%; right: 34%; bottom: 24%; height: 5%; border-radius: 50%; background: rgb(0 0 0 / .55); filter: blur(4px); }
.orb__ball { left: 32%; right: 32%; top: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #e6fffb, #4fd8cb 30%, #139595 58%, #0b3f4a 100%); box-shadow: 0 0 40px rgb(79 216 203 / .45); }
@media (prefers-reduced-motion: no-preference) {
  .art--orb .orb__ball { animation: float 3.2s var(--ease-io) infinite alternate; }
  .art--orb .orb__shadow { animation: shadow 3.2s var(--ease-io) infinite alternate; }
}
@keyframes float { to { transform: translateY(-14%); } }
@keyframes shadow { to { transform: scaleX(.7); opacity: .6; } }

/* ------------------------------------------------------------- savings */
.savings__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ticket {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) 2.5rem;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: var(--rim);
}
.ticket::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -14px; height: 14px;
  background: radial-gradient(circle at 10px -2px, transparent 9px, var(--surface) 10px) -10px 0 / 20px 14px repeat-x;
}
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: .5rem; border-bottom: 1px dashed var(--line-2); font-size: .8125rem; color: var(--text-3); }
.ticket__group { margin: 1.25rem 0 .5rem; font-size: .8125rem; color: var(--text-3); }
.ticket__group--plus { padding-top: 1.25rem; border-top: 1px dashed var(--line-2); color: var(--accent); }
.ticket__lines { display: grid; }
.tline {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; column-gap: .9rem; row-gap: .1rem;
  padding: .55rem 0;
  transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease);
}
.js-anim .tline { opacity: .22; transform: translateX(-6px); }
.js-anim .tline.is-on { opacity: 1; transform: none; }
/* Logos de Simple Icons (CC0) en un solo color: se pintan con currentColor vía máscara y siguen el tema */
.tline__logo {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: .75rem; font-weight: 500; letter-spacing: -.02em;
}
.tline__logo::before {
  content: ""; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
.tline__logo--mono::before { content: none; }
.tline__logo--hubspot { --logo: url(../img/logos/hubspot.svg); }
.tline__logo--wix { --logo: url(../img/logos/wix.svg); }
.tline__logo--mailchimp { --logo: url(../img/logos/mailchimp.svg); }
.tline__logo--calendly { --logo: url(../img/logos/calendly.svg); }
.tline__logo--hootsuite { --logo: url(../img/logos/hootsuite.svg); }
.tline__logo--zendesk { --logo: url(../img/logos/zendesk.svg); }
.tline__logo--trustpilot { --logo: url(../img/logos/trustpilot.svg); }
.tline__logo--semrush { --logo: url(../img/logos/semrush.svg); }
.tline__brand { font-size: 1rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.tline__what { grid-column: 2; font-size: .875rem; line-height: 1.3; color: var(--text-3); }
.tline__price { grid-column: 3; grid-row: 1 / span 2; font-size: 1rem; text-align: right; min-width: 3.5rem; }
.tline.is-on .tline__price { color: var(--text); }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-2); font-weight: 500; }
.ticket__total .mono { font-size: 1.5rem; }

.tally { position: sticky; top: calc(var(--nav-h) + 40px); }
.tally__inner { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-block); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--rim), var(--lift); display: grid; gap: .5rem; }
.tally__label { font-size: .9375rem; color: var(--text-3); }
.tally__sum { position: relative; width: max-content; font-size: clamp(3.5rem, 7.2vw, 6.25rem); line-height: 1; letter-spacing: -.055em; }
.tally__cur { font-size: .5em; vertical-align: .55em; margin-right: .05em; color: var(--text-2); }
.tally__sum small, .tally__avz small { font-size: 1rem; letter-spacing: 0; color: var(--text-3); margin-left: .25rem; }
.tally__sum::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 3px; border-radius: 3px; background: var(--bad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .1s; }
.tally.is-done .tally__sum::after { transform: scaleX(1); }
.tally.is-done .tally__sum { color: var(--text-3); }
.tally__count { font-size: .875rem; color: var(--text-3); }
.tally__result { display: grid; gap: .4rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px dashed var(--line-2); }
.js-anim .tally__result { opacity: .25; transform: translateY(8px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js-anim .tally.is-done .tally__result { opacity: 1; transform: none; }
.tally__avz { font-size: clamp(3rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -.05em; color: var(--accent); text-shadow: 0 0 40px var(--glow); }
.tally__save { color: var(--text-2); font-size: 1rem; max-width: 30ch; }
.tally__save b { font-weight: 500; color: var(--text); }

.sources { margin-top: clamp(3rem, 5vw, 4rem); max-width: 72ch; color: var(--text-3); font-size: .875rem; }
.sources summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; padding: .5rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--line); list-style: none; color: var(--text-2); transition: border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.sources summary::-webkit-details-marker { display: none; }
.sources summary:hover { border-color: var(--line-2); color: var(--text); }
.sources p { margin-top: 1rem; line-height: 1.6; }

/* ------------------------------------------------------------- pricing */
.plan__fixed { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); font-size: .875rem; color: var(--text-2); white-space: nowrap; }
.plan__fixed i { color: var(--accent); font-size: 1.05rem; }

.plan {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: var(--r-block);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--rim);
}
.plan--main {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--rim), 0 30px 80px -40px var(--glow);
}
.plan__buy { display: grid; gap: 1.1rem; min-width: 0; }
.plan--main .plan__list { padding: 0 0 0 clamp(1.5rem, 4vw, 3.5rem); border-top: 0; border-left: 1px solid var(--line); }
.plan__glow { position: absolute; z-index: -1; left: 50%; top: -60%; width: 140%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); pointer-events: none; }
.plan__head { display: grid; gap: .3rem; }
.plan__name { font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.plan__for { color: var(--text-2); font-size: .9375rem; }
.plan__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.plan__price { display: flex; align-items: flex-start; gap: .1rem; line-height: 1; }
.plan__price .mono { font-size: clamp(3.25rem, 5vw, 4.5rem); letter-spacing: -.055em; }
.plan__cur { font-family: var(--mono); font-size: 1.5rem; color: var(--text-2); margin-top: .35rem; }
.plan__price small { align-self: flex-end; margin-left: .45rem; margin-bottom: .45rem; font-size: .875rem; color: var(--text-3); }
.plan__year { font-size: .875rem; color: var(--text-3); line-height: 1.5; }
.plan__year b { font-weight: 500; color: var(--text); }
.plan__cta { width: 100%; justify-content: space-between; }
.plan__cta:not(:has(.btn__icon)) { justify-content: center; }
.plan__fine { font-size: .8125rem; color: var(--text-3); }
.plan__addon { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--r-field); background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); font-size: .9rem; line-height: 1.45; color: var(--text-2); }
.plan__addon i { flex: none; color: var(--accent); font-size: 1.25rem; }
.plan__addon b { color: var(--text); }
.plan__help { font-size: .875rem; color: var(--text-2); }
.plan__help a, .cart__help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity var(--t-micro) var(--ease); }
.plan__help a:hover, .cart__help a:hover { opacity: .75; }
.plan__list { display: grid; gap: .7rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; line-height: 1.45; }
.plan__list i { color: var(--accent); font-size: 1.05rem; margin-top: .15rem; flex: none; }
.plan__list b { font-weight: 500; }
.plan__trial { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; padding: .55rem .9rem; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .9688rem; }
.plan__trial b { font-weight: 500; font-size: 1.375rem; letter-spacing: -.03em; color: var(--accent); }
.pricing__note { margin-top: 2rem; text-align: center; font-size: .875rem; color: var(--text-3); }

/* ----------------------------------------------------------------- faq */
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__title { position: sticky; top: calc(var(--nav-h) + 48px); max-width: 12ch; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item h3 { font-size: inherit; font-weight: inherit; }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -.012em;
  transition: color var(--t-micro) var(--ease);
}
.acc__btn:hover { color: var(--accent); }
.acc__btn i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1rem; color: var(--text-2); transition: transform var(--t-ui) var(--ease), background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.acc__btn[aria-expanded="true"] i { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: transparent; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-ui) var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.5rem; color: var(--text-2); max-width: 62ch; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__panel a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* -------------------------------------------- tarjetas de app (home y /giros/) */
.w-mesa, .appcard--mesa { --w: #f6a55c; --w-soft: #ffd9ae; --w-deep: #b8481f; --wbg: #190d06; }
.w-salon, .appcard--salon { --w: #f48fb5; --w-soft: #ffd3e2; --w-deep: #a02f68; --wbg: #190912; }
.w-clinica, .appcard--clinica { --w: #7ccbff; --w-soft: #cfeeff; --w-deep: #1f64ad; --wbg: #06121d; }
.w-legal, .appcard--legal { --w: #dcc48e; --w-soft: #f4e8cb; --w-deep: #7a6232; --wbg: #100f0d; }
.appcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .5rem;
  width: 100%; height: 100%; padding: 1.05em;
  border-radius: 1.5em;
  color: #120b08;
  background: linear-gradient(155deg, var(--w-soft) 0%, var(--w) 46%, var(--w-deep) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 30px 60px -24px rgb(0 0 0 / .6);
  transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.appcard > i { font-size: 2.1em; }
.appcard > b { font-weight: 500; font-size: 1.15em; letter-spacing: -.02em; }
.fan { position: relative; }
.fan__slot {
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); height: calc(var(--card-w) * 1.32);
  margin: calc(var(--card-w) * -.66) 0 0 calc(var(--card-w) * -.5);
  rotate: calc((var(--i) - 1.5) * var(--tilt));
  z-index: calc(var(--i) + 1);
}
.fan__slot:is(:nth-child(1), :nth-child(4)) { translate: calc((var(--i) - 1.5) * var(--spread)) calc(var(--drop) * 1.5); }
.fan__slot:is(:nth-child(2), :nth-child(3)) { translate: calc((var(--i) - 1.5) * var(--spread)) calc(var(--drop) * .5); }

/* ------------------------------------------- servicios extra: puerta y necesidad */

.need {
  display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-block); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--rim);
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.need__copy { display: grid; gap: .9rem; justify-items: start; }
.need__title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.need__lead { max-width: 38ch; color: var(--text-2); text-wrap: pretty; }
.need__pains { display: grid; gap: .4rem; }
.need__pains li { display: flex; align-items: center; gap: .55rem; font-size: .9688rem; }
.need__pains i { flex: none; color: var(--accent); font-size: 1rem; }
.need__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .5rem; }
.need__cta small { font-size: .875rem; color: var(--text-3); }
.pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; padding: clamp(.75rem, 1.6vw, 1.1rem); border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--line); }
.pipe__h { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; font-size: .9063rem; font-weight: 500; }
.pipe__h .mono { font-size: .8125rem; font-weight: 400; color: var(--accent); }
.pipe__col ul { display: grid; gap: .45rem; }
.pipe__slot { position: relative; height: 4.1rem; border-radius: 14px; border: 1px dashed var(--line-2); }
.pipe__card { position: absolute; inset: -1px; display: grid; align-content: center; padding: 0 .75rem; border-radius: 14px; background: var(--surface-2); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); font-size: .875rem; line-height: 1.3; transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease); }
.pipe__card b { font-weight: 500; }
.pipe__card small { font-size: .75rem; color: var(--text-2); }
.js-anim .pipe__card:not(.is-on) { opacity: 0; transform: translateY(-12px) scale(.95); }

/* --------------------------------------------------------------- finale */
.finale { position: relative; overflow: clip; padding-block: clamp(9rem, 18vw, 18rem); text-align: center; }
.portal--finale {
  top: 100%; width: min(1300px, 150vw);
  /* el anillo no cruza el texto de arriba y se desvanece antes de llegar al pie */
  -webkit-mask: linear-gradient(#000 calc(50% - 7rem), transparent 50%), linear-gradient(transparent 1%, #000 15%); -webkit-mask-composite: source-in;
  mask: linear-gradient(#000 calc(50% - 7rem), transparent 50%), linear-gradient(transparent 1%, #000 15%); mask-composite: intersect;
}
.finale__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: var(--s-5); }
.finale__title { font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: 1.04; letter-spacing: -.038em; font-weight: 500; text-wrap: balance; }
.finale .lead { margin-inline: auto; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; font-size: .9375rem; color: var(--text-2); }
.assure li { display: inline-flex; align-items: center; gap: .4rem; }
.assure i { color: var(--accent); }

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .9375rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 2rem; align-items: start; }
.footer__brand { display: grid; gap: .75rem; color: var(--text-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links a, .footer__contact a { color: var(--text-2); transition: color var(--t-micro) var(--ease); }
.footer__links a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-3); }

/* ----------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grow, .grow--flip { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .grow--flip .grow__copy { order: 0; }
  .need { grid-template-columns: minmax(0, 1fr); }
  .nav__links { display: none; }
  .menu-btn { display: grid; }
  .nav__pill { grid-template-columns: auto 1fr; }
  .nav__actions { justify-self: end; }
  .journey__grid { grid-template-columns: 1fr; gap: 0; }
  .journey__device { --ps: .64; top: calc(var(--nav-h) + 22px); z-index: 2; height: calc(610px * var(--ps) + 14px); background: var(--bg); }
  .journey__device::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 48px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .journey__steps { padding-left: 1.5rem; }
  .step, .step:first-child, .step:last-child { min-height: 44vh; padding: 3rem 0 2rem; align-items: flex-start; }
  .step:last-child { min-height: 60vh; }
  .step__btn { opacity: .4; }
  .plan--main { grid-template-columns: minmax(0, 1fr); }
  .plan--main .plan__list { padding: 1.1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .savings__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .tally { top: auto; bottom: 12px; z-index: 5; }
  .tally__inner { grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; padding: 1rem 1.25rem; border-radius: var(--r-card); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .tally__label { grid-column: 1; font-size: .8125rem; }
  .tally__sum { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(2.1rem, 9.4vw, 2.75rem); }
  .tally__count { grid-column: 1; grid-row: 2; }
  .tally__result { grid-column: 1 / -1; }
  .js-anim .tally:not(.is-done) .tally__result { display: none; }
  .tally__avz { font-size: 2.75rem; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; max-width: 20ch; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .desk { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .desk__side { padding: .6rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .desk__brand { display: none; }
  .desk__tabs { display: flex; flex-wrap: wrap; gap: .3rem; }
  .desk__tab { flex: none; gap: .4rem; min-height: 36px; padding: 0 .7rem; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .8125rem; }
  .desk__tab i { display: none; }
  .desk__tab small { margin-left: .1rem; }
  .desk__tab.is-active { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .pv-rows small { white-space: normal; }
  .pv-kan, .pv-soc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-kan > div { min-height: 0; }
  .pv-tile { aspect-ratio: 1; }
  .proof__stats { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .composer__chips { padding-right: 0; }
  .composer__go { position: static; justify-self: end; }
  .tline { grid-template-columns: 34px 1fr auto; column-gap: .75rem; }
  .tline__logo { width: 34px; height: 34px; border-radius: 10px; }
  .plan--main .plan__row { flex-wrap: wrap; }
  .hero__ctas .btn { width: 100%; }
}

@media (max-width: 560px) {
  .vid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .vid__beats { width: 100%; }
  .diag__head { gap: 1rem; }
  .score__ring { width: 112px; height: 112px; }
  .score__value { top: 38px; font-size: 1.875rem; }
  .nav__cta { display: none; }
  .hero__title { max-width: 11ch; }
  .finale__title { font-size: 2.25rem; }
  .vsl__title { display: none; }
  .vsl__meta { justify-content: center; }
  .vsl__brand { display: none; }
  .acts__btn { min-height: 34px; padding: 0 .8rem; font-size: .8125rem; }
  .act-art { opacity: .5; }
}

@media (max-width: 400px) {
  .btn { white-space: normal; line-height: 1.2; }
  .need__cta .btn { width: 100%; justify-content: space-between; padding-block: .5rem; text-align: left; }
  .vsl__play { width: 48px; font-size: 1.15rem; box-shadow: 0 0 0 6px rgb(79 216 203 / .14), 0 16px 40px -10px rgb(79 216 203 / .6); }
}

/* Pantallas bajas: lo que se queda fijo tiene que caber completo */
@media (min-width: 901px) and (max-height: 760px) {
  .journey__device { --ps: .8; top: calc(var(--nav-h) + 30px); }
}
@media (min-width: 901px) and (max-height: 620px) {
  .journey__device { --ps: .66; }
}
@media (max-width: 900px) and (max-height: 760px) {
  .journey__device { --ps: .5; }
}
@media (max-width: 900px) and (max-height: 620px) {
  .journey__device { --ps: .42; }
}
@media (max-width: 900px) and (max-height: 540px) {
  .journey__grid { grid-template-columns: 180px minmax(0, 1fr); gap: 1.5rem; }
  .journey__device { z-index: auto; background: none; }
  .phone { transform-origin: top left; }
  .journey__device { justify-items: start; }
  .journey__device::after { content: none; }
  .tally { position: static; }
}
@media (max-height: 560px) {
  .menu { align-content: start; gap: 1.25rem; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 1.5rem; }
  .menu__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1.5rem; }
  .menu__links a { font-size: 1.5rem; }
}

/* --------------------------------------------------------- motion reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .tally { position: static; }
}

/* ------------------------------------------------------------------ formulario de alta */
.leadbox { position: fixed; width: min(480px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-block); background: var(--surface); color: var(--text); overflow: auto; }
.leadbox::backdrop { background: rgb(4 18 26 / .62); backdrop-filter: blur(6px); }
.lead__x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lead__body, .lead__done { display: grid; gap: var(--s-4); padding: clamp(1.25rem, 5vw, 2rem); }
.lead__body[hidden], .lead__done[hidden] { display: none; }
.leadbox h2 { margin: 0; padding-right: 2.5rem; font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.12; outline: none; }
.lead__sub { margin: calc(var(--s-2) * -1) 0 0; color: var(--text-2); }
.leadbox label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 500; }
.leadbox small { color: var(--text-3); font-weight: 400; }
.leadbox input:not([type="checkbox"]), .leadbox select { width: 100%; height: 46px; padding-inline: .9rem; border: 1px solid var(--line-2); border-radius: var(--r-field); background: var(--surface-2); color: var(--text); font: inherit; }
.leadbox input:focus-visible, .leadbox select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead__two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.lead__ok { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; color: var(--text-2); cursor: pointer; }
.lead__ok input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__err { margin: 0; font-size: .875rem; color: #e5484d; }
.lead__err:empty { display: none; }
.leadbox .btn { width: 100%; justify-content: center; }
@media (max-width: 420px) { .lead__two { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ entrada de los diálogos */
@media (prefers-reduced-motion: no-preference) {
  .leadbox[open] { animation: box-in .45s var(--ease); }
  @keyframes box-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
}

/* ------------------------------------------------------------------ fin del video del hero */
.vsl__end {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-content: center; justify-items: center; gap: var(--s-3);
  background: rgb(4 18 26 / .62); backdrop-filter: blur(3px);
}
.vsl__end[hidden] { display: none !important; }
.vsl__screen.is-playing > .vsl__end:not([hidden]) { display: grid; }
.vsl__again {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; border-radius: var(--r-pill);
  color: #ecf6f4; font-size: .875rem; opacity: .85; transition: opacity var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease);
}
.vsl__again:hover { opacity: 1; background: rgb(236 246 244 / .1); }
.vsl__again:active { transform: scale(.97); }
@media (max-width: 560px) { .vsl__end .btn--lg { min-height: 44px; --pad: 1.1rem; font-size: .9rem; } .vsl__end .btn--lg .btn__icon { width: 32px; height: 32px; } .vsl__again { min-height: 32px; } }

/* ------------------------------------------------------------------ páginas en desarrollo: /casos-de-uso/ y /resultados/ */
.devp { position: relative; padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(5rem, 9vw, 8rem); }
.devp__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.devp__title { margin-top: var(--s-5); font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.devp__title .word { display: inline-block; will-change: transform; }
.devp__sub { margin-top: var(--s-5); max-width: 52ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.devp__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Tarjetas en preparación: cascada con un brillo que las recorre */
.devp__stack { display: grid; gap: var(--s-3); }
.devcard {
  position: relative; overflow: hidden; display: grid; gap: .75rem;
  padding: 1.1rem 1.25rem; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--rim), 0 28px 60px -44px rgb(14 37 51 / .45);
}
.devp__stack .devcard:nth-child(2) { margin-left: 9%; }
.devp__stack .devcard:nth-child(3) { margin-left: 3%; }
.devp__stack .devcard:nth-child(4) { margin-left: 12%; }
.devcard__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.devcard__tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--text-2); }
.devcard__tag i { color: var(--accent); font-size: 1.05rem; }
.devcard__state { flex: none; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: .2rem .6rem; border-radius: var(--r-pill); border: 1px dashed var(--line-2); }
.devcard__title { font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.skel { display: grid; gap: .45rem; }
.skel i { display: block; height: 9px; border-radius: 6px; background: var(--surface-2); }
.skel i:nth-child(1) { width: 94%; }
.skel i:nth-child(2) { width: 78%; }
.skel i:nth-child(3) { width: 52%; }
.devcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .6) 50%, transparent 70%);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .devcard::after { animation: shimmer 2.8s var(--ease-io) infinite; }
  .devcard:nth-child(2)::after { animation-delay: .35s; }
  .devcard:nth-child(3)::after { animation-delay: .7s; }
  .devcard:nth-child(4)::after { animation-delay: 1.05s; }
  @keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
}

/* Tablero en preparación (resultados) */
.devdash { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.devdash .devcard--wide { grid-column: 1 / -1; }
.devmetric__label { font-size: .8125rem; color: var(--text-2); }
.devmetric__num { display: block; height: 30px; width: 62%; border-radius: 8px; background: var(--surface-2); }
.devchart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: .5rem; }
.devchart i { flex: 1; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--accent) 22%, var(--surface-2)); transform-origin: bottom; }

/* Qué vas a encontrar */
.devplan { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.devplan__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.devplan__list { display: grid; border-top: 1px solid var(--line); }
.devplan__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.devplan__list span { font-family: var(--mono); font-size: .875rem; color: var(--accent); padding-top: .2rem; }
.devplan__list b { display: block; font-weight: 500; font-size: 1.1875rem; letter-spacing: -.01em; }
.devplan__list p { margin-top: .35rem; color: var(--text-2); max-width: 54ch; }
.devend { padding: clamp(4rem, 8vw, 7rem) 0 var(--section); text-align: center; }
.devend .h2 { max-width: 18ch; margin-inline: auto; }
.devend .btn { margin-top: var(--s-6); }

@media (max-width: 900px) {
  .devp__grid, .devplan__grid { grid-template-columns: 1fr; }
  .devp__stack .devcard:nth-child(n) { margin-left: 0; }
}
@media (max-width: 520px) {
  .devdash { grid-template-columns: 1fr; }
}
