/* ============================================================
   PROVIDO — Landing
   Voz: profesional, calmada, concreta. Linear / Notion / Stripe.
   Prohibido: gradientes, glassmorphism, sombras grandes, neón.
   Premium = restricción, espaciado, hairlines, tipografía.
   ============================================================ */

/* Inter autoalojada (variable, latin) — sin peticiones a terceros */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f6f3;          /* paper */
  --bg-2: #efede7;        /* paper hundido */
  --surface: #ffffff;
  --surface-2: #f4f3f0;
  --border: #d2d2ce;
  --border-2: #dddcd8;    /* hairline suave */
  --ink: #262521;
  --ink-2: #404e64;       /* slate-ink para texto secundario */
  --muted: #54534e;
  --faint: #6c6b65;
  --accent: #5B6E8A;      /* slate blue */
  --accent-deep: #46566e;
  --accent-soft: #ebf0f5;
  --accent-line: #c5d2dd;
  --founder: #9c7c3c;     /* champagne, dosis mínima */
  --good: #1f883d;
  --good-soft: #f0f7f1;
  --good-line: #cfe4d3;
  --warn: #d97706;
  --warn-soft: #fdf3e3;
  --warn-line: #f0dcb8;
  --bad: #d6483f;
  --bad-soft: #fbf2f1;
  --bad-line: #ecd6d3;

  --d-bg: #121214;        /* footer flat dark (sin glow) */
  --d-surface: #1a1a1d;
  --d-surface-2: #242428;
  --d-border: #2c2c31;
  --d-text: #f4f4f3;
  --d-text-2: #b6b8bf;
  --d-muted: #908f8b;
  --d-accent: #8fafc7;

  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
  /* sombras DISCRETAS — nunca grandes */
  --sh-1: 0 1px 2px rgba(38,37,33,0.05);
  --sh-2: 0 1px 2px rgba(38,37,33,0.04), 0 4px 10px -6px rgba(38,37,33,0.10);
  --sh-3: 0 1px 2px rgba(38,37,33,0.05), 0 10px 24px -14px rgba(38,37,33,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-feature-settings: "cv05" 1;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }
section[id] { scroll-margin-top: 74px; }
.h2, .cta-wrap h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:root { accent-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Documento oculto (pestaña en segundo plano / iframe sin pintar): las transiciones
   se congelan en su estado inicial; con esta clase los reveals saltan a su estado final. */
html.doc-hidden .reveal,
html.doc-hidden .reveal-bloom,
html.doc-hidden .stagger > *,
html.doc-hidden .hero-h1 .line-in,
html.doc-hidden .eyebrow::before,
html.doc-hidden .hero-tag::before,
html.doc-hidden .steps .step-line {
  transition: none !important;
}

/* Skip link — visible solo al enfocar */
.skip-link {
  position: fixed; left: 16px; top: 14px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 600;
  transform: translateY(-64px); opacity: 0; pointer-events: none;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.skip-link:focus-visible {
  transform: none; opacity: 1; pointer-events: auto;
  outline: 2px solid var(--accent); outline-offset: 2px;
}
img { display: block; max-width: 100%; }
::selection { background: rgba(91,110,138,0.18); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px){ .wrap { padding: 0 20px; } }

/* ---------- Buttons (radius sm 8/9, calmos) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.1px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(0.5px); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0.5px); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 10px; }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 8px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--sh-2); }
.btn-secondary { background: var(--surface); color: var(--ink-2); border-color: var(--border); }
.btn-secondary:hover { border-color: #bdbdb7; background: #fcfbf9; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; }
/* on dark */
.btn-d-primary { background: #f4f4f3; color: #1a1a1d; }
.btn-d-primary:hover { background: #fff; }
.btn-d-secondary { background: transparent; color: var(--d-text); border-color: var(--d-border); }
.btn-d-secondary:hover { border-color: #43434a; background: rgba(255,255,255,0.04); }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .lnk:hover .arrow { transform: translateX(3px); }
.lnk { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--accent); }
.lnk:hover { color: var(--accent-deep); }

/* ---------- Brand mark ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 32px; height: 32px; display: block; }
.logo .name { font-size: 19.5px; font-weight: 700; letter-spacing: -0.6px; color: var(--ink); }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,243,0.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
header.nav.scrolled { border-bottom-color: var(--border-2); background: rgba(247,246,243,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 30px; position: relative; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-indicator {
  position: absolute; bottom: -7px; left: 0; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; opacity: 0;
  transform: translateX(0); will-change: transform, width;
  transition: transform .38s var(--ease), width .38s var(--ease), opacity .25s var(--ease);
  pointer-events: none;
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px){ .nav-links { display: none; } }
@media (max-width: 560px){ .nav-cta .nav-login { display: none; } }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec { padding: 110px 0; }
.sec-sm { padding: 80px 0; }
@media (max-width: 720px){ .sec { padding: 72px 0; } .sec-sm { padding: 56px 0; } }
.band-white { background: var(--surface); }
.band-paper { background: var(--bg); }
.line-top { border-top: 1px solid var(--border-2); }
.line-bottom { border-bottom: 1px solid var(--border-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 20px; height: 1.5px; background: var(--accent-line); }
.eyebrow.center { justify-content: center; }

h1,h2,h3,h4 { margin: 0; }
.h2 { font-size: clamp(27px, 3.5vw, 41px); font-weight: 700; letter-spacing: -1.3px; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.55; margin: 18px 0 0; max-width: 46ch; text-wrap: pretty; }
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ============================================================
   HERO — calmo, claro
   ============================================================ */
.hero { padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::after { /* hairline base, sin glow */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--border-2); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
@media (max-width: 1000px){ .hero-grid { grid-template-columns: 1fr; gap: 52px; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.hero-tag::before { content: ""; width: 22px; height: 1.5px; background: var(--accent-line); }
.hero-tag .ic { display: none; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 700; letter-spacing: -2.4px; line-height: 1.02; color: var(--ink); }
.hero h1 .accent { color: var(--accent); }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-h1 .line-in { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-h1 .line-in { transform: translateY(118%); transition: transform .95s var(--ease); will-change: transform; }
  .hero-h1 .line:nth-child(2) .line-in { transition-delay: .12s; }
  .hero-h1.played .line-in { transform: translateY(0); }
}
.hero-sub { font-size: clamp(17px, 1.85vw, 20px); color: var(--ink-2); line-height: 1.55; margin: 26px 0 0; max-width: 48ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 26px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.trust-item svg { width: 15px; height: 15px; color: var(--good); flex: none; }

/* hero visual */
.hero-visual { position: relative; }
.live-more {
  position: absolute; left: 4px; bottom: -40px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
}
.live-more:hover { color: var(--accent-deep); }
.live-more .arrow { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.live-more:hover .arrow { transform: translateX(3px); }
@media (max-width: 1000px){ .live-more { bottom: -28px; } }
@media (max-width: 880px){ .live-more { position: static; margin-top: 16px; } }
.hero-phone { position: absolute; right: -20px; bottom: -44px; width: 168px; z-index: 5; }
@media (max-width: 1000px){ .hero-phone { width: 156px; right: 8px; bottom: -30px; } }
@media (max-width: 460px){ .hero-phone { width: 116px; right: -2px; bottom: -18px; } }

/* ============================================================
   HERO · panel vivo "Clientes / Pulso" (réplica de la app)
   ============================================================ */
.live-panel { background: var(--surface); padding: 0; font-size: 14px; }
.lp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 13px; }
.lp-title { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.lp-date { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.lp-order { display: flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 8px; padding: 2px; }
.lp-order span { font-size: 11px; font-weight: 500; color: var(--muted); padding: 4px 9px; border-radius: 6px; }
.lp-order .lp-order-on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.lp-order span:first-child { color: var(--ink); font-weight: 600; }
@media (max-width: 420px){ .lp-order { display: none; } }

.lp-cols { display: grid; grid-template-columns: minmax(0,1fr) 100px 42px 42px 50px; align-items: center; gap: 8px; padding: 8px 18px; border-block: 1px solid var(--border-2); background: var(--surface-2); }
.lp-cols span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--faint); }
.lp-cols .c-pul { text-align: left; }
.lp-cols .c-pil { text-align: center; }

.lp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lp-sec { font-size: 9.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; padding: 13px 16px 7px; display: flex; align-items: center; gap: 7px; }
.lp-sec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.lp-sec.att { color: var(--bad); } .lp-sec.att::before { background: var(--warn); }
.lp-sec.ok { color: var(--good); } .lp-sec.ok::before { background: var(--good); }

.lp-row {
  display: grid; grid-template-columns: minmax(0,1fr) 100px 42px 42px 50px; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 0;
  background: transparent; border: 0;
  transition: background .18s var(--ease), transform .25s var(--ease), opacity .35s var(--ease);
  position: relative; text-align: left; width: 100%; font: inherit; color: inherit;
}
@media (max-width: 480px){
  .lp-cols { grid-template-columns: minmax(0,1fr) 100px; }
  .lp-row { grid-template-columns: minmax(0,1fr) 100px; }
  .lp-cols .c-pil, .lp-row .lp-pcell { display: none; }
}
.lp-row.attended .lp-name { text-decoration: line-through; text-decoration-color: var(--border); }

.lp-cli { display: flex; align-items: center; gap: 11px; min-width: 0; }
.lp-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: -0.3px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.lp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lp-name { display: block; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-status { display: block; font-size: 11.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.lp-status.bad, .lp-status.warn, .lp-status.muted { color: var(--muted); }

/* PULSO: punto + (número + flecha) con sparkline debajo */
.lp-pulse { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lp-pdot { position: relative; width: 10px; height: 10px; border-radius: 50%; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .lp-pdot { animation: dot-blink 2.6s ease-in-out infinite; }
  .lp-list li:nth-child(3) .lp-pdot { animation-delay: .35s; }
  .lp-list li:nth-child(4) .lp-pdot { animation-delay: .7s; }
  .lp-list li:nth-child(5) .lp-pdot { animation-delay: 1.05s; }
  .lp-list li:nth-child(7) .lp-pdot { animation-delay: .5s; }
  .lp-list li:nth-child(8) .lp-pdot { animation-delay: .9s; }
  .lp-list li:nth-child(9) .lp-pdot { animation-delay: 1.25s; }
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
/* halo radial suave que se difumina hacia fuera (igual que en la app) */
.lp-pdot::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: radial-gradient(circle, currentColor 0%, color-mix(in srgb, currentColor 32%, transparent) 38%, transparent 72%);
  color: inherit; z-index: -1;
}
/* anillo "ping" que sale del punto, color por estado */
.lp-pdot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; opacity: 0; z-index: -1;
}
/* el latido del Pulso, en todas las filas (como en la app), escalonado */
.lp-list li .lp-pdot::after { animation: dot-ping 2.6s cubic-bezier(.22,.61,.36,1) infinite; }
.lp-list li:nth-child(3) .lp-pdot::after { animation-delay: .35s; }
.lp-list li:nth-child(4) .lp-pdot::after { animation-delay: .7s; }
.lp-list li:nth-child(5) .lp-pdot::after { animation-delay: 1.05s; }
.lp-list li:nth-child(7) .lp-pdot::after { animation-delay: .5s; }
.lp-list li:nth-child(8) .lp-pdot::after { animation-delay: .9s; }
.lp-list li:nth-child(9) .lp-pdot::after { animation-delay: 1.25s; }
@media (prefers-reduced-motion: reduce) { .lp-pdot::after { animation: none; } }
.pd-good { background: var(--good); color: var(--good); } .pd-warn { background: var(--warn); color: var(--warn); } .pd-bad { background: var(--bad); color: var(--bad); }
@keyframes dot-ping {
  0% { transform: scale(1); opacity: .4; }
  70%, 100% { transform: scale(3); opacity: 0; }
}
.lp-pocos { font-size: 10px; color: var(--faint); letter-spacing: 0.1px; }
.lp-pstack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-pnum { display: flex; align-items: center; gap: 5px; }
.lp-num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.6px; line-height: 1; color: var(--ink); }
.lp-trend { width: 13px; height: 13px; flex: none; color: var(--faint); }
.lp-spark { width: 58px; height: 20px; }
.lp-spark svg { display: block; overflow: visible; }

/* pilares: un punto por columna (nutrición · entreno · medidas) */
.lp-pcell { display: grid; place-items: center; }
.lp-pcell i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.pl-good { background: var(--good); } .pl-warn { background: var(--warn); } .pl-bad { background: var(--bad); }
.pl-none { background: transparent; border: 1.5px solid var(--border); }

/* toast del evento en vivo */
.live-toast {
  position: absolute; left: 16px; bottom: 16px; right: auto; z-index: 8;
  display: flex; align-items: center; gap: 10px; max-width: 260px;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 11px 14px;
  box-shadow: var(--sh-3); opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.live-toast.show { opacity: 1; transform: none; }
.live-toast .lt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); flex: none; box-shadow: 0 0 0 0 rgba(214,72,63,.5); }
.live-toast.show .lt-dot { animation: lt-ping 1.6s ease-out 2; }
@keyframes lt-ping { 0% { box-shadow: 0 0 0 0 rgba(214,72,63,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(214,72,63,0); } }
.live-toast .lt-txt { font-size: 12.5px; line-height: 1.4; }
.live-toast .lt-txt b { font-weight: 600; }
@media (max-width: 1000px){ .live-toast { left: 10px; bottom: 10px; } }
@media (max-width: 560px){ .live-toast { display: none; } }
@media (prefers-reduced-motion: reduce){ .live-toast.show .lt-dot { animation: none; } }

/* ---------- Browser frame ---------- */
.browser { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--sh-3); }
.browser-bar { display: flex; align-items: center; gap: 13px; height: 40px; padding: 0 14px; background: #f3f1ec; border-bottom: 1px solid var(--border-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6d4cd; display: block; }
.url { flex: 1; max-width: 290px; height: 24px; border-radius: 6px; background: #fbfaf7; border: 1px solid var(--border-2); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 11.5px; color: var(--faint); }
.url svg { width: 11px; height: 11px; }
.browser-body { display: block; background: #fff; }
.browser-body img { width: 100%; height: auto; display: block; }

/* ---------- Phone frame ---------- */
.phone { background: #161417; border-radius: 30px; padding: 6px; box-shadow: var(--sh-3); }
.phone .screen { border-radius: 24px; overflow: hidden; background: #f7f6f3; }
.phone .screen img { width: 100%; height: auto; display: block; padding: 7px 5px 0; box-sizing: border-box; }

/* ---------- Logos / tape ---------- */
.tape { background: var(--bg); border-bottom: 1px solid var(--border-2); }
.tape-inner { display: flex; align-items: center; justify-content: center; gap: 14px 36px; flex-wrap: wrap; padding: 22px 28px; }
.tape-label { font-size: 12.5px; color: var(--muted); }
.tape-strong { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.tape-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
@media (max-width: 680px){ .tape-dot { display: none; } }
.ea-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; box-shadow: 0 0 0 0 rgba(31,136,61,0.4); animation: ea-pulse 2.4s var(--ease) infinite; }
@keyframes ea-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,136,61,0.35); } 70% { box-shadow: 0 0 0 7px rgba(31,136,61,0); } 100% { box-shadow: 0 0 0 0 rgba(31,136,61,0); } }
@media (prefers-reduced-motion: reduce){ .ea-dot { animation: none; } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
@media (max-width: 920px){ .problem-grid { grid-template-columns: 1fr; gap: 44px; } }

.frag { position: relative; padding: 6px 6px 30px; }
.frag-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sh-2); padding: 16px; }
.frag-title { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--faint); margin: 0 0 13px; display: flex; align-items: center; gap: 7px; }
.frag-title .wa { width: 15px; height: 15px; color: #128c7e; opacity: .8; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.bubble.them { background: var(--surface-2); border-bottom-left-radius: 3px; }
.bubble.me { background: var(--accent-soft); border-bottom-right-radius: 3px; margin-left: auto; color: var(--ink-2); }
.bubble .t { font-size: 10px; color: var(--faint); margin-top: 3px; display: block; }
.frag-grid-card { position: absolute; right: -10px; bottom: 6px; width: 58%; transform: rotate(2deg); }
@media (max-width: 920px){ .frag-grid-card { position: static; width: 100%; transform: none; margin-top: 16px; } }
.xls { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.xls td, .xls th { border: 1px solid var(--border-2); padding: 6px 9px; text-align: left; color: var(--muted); }
.xls th { background: var(--surface-2); font-weight: 600; color: var(--ink-2); font-size: 11px; }
.xls .q { color: var(--bad); font-weight: 600; }

/* ---------- Duo: app del cliente → panel del coach ---------- */
.duo {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px;
  max-width: 880px; margin: 48px auto 0;
}
.duo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--sh-2); padding: 26px 28px;
}
.duo-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px;
}
.duo-kicker svg { width: 16px; height: 16px; flex: none; }
.duo-card h3 { font-size: 18.5px; letter-spacing: -0.4px; margin: 0 0 8px; }
.duo-card p:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.duo-flow { display: grid; place-items: center; color: var(--faint); }
.duo-flow svg { width: 22px; height: 22px; }
@media (max-width: 760px){
  .duo { grid-template-columns: 1fr; max-width: 440px; gap: 10px; }
  .duo-flow svg { transform: rotate(90deg); }
}

/* ============================================================
   SOLUTION / pillars
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
@media (max-width: 900px){ .pillars { grid-template-columns: 1fr; gap: 20px; max-width: 420px; margin-inline: auto; } }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-2); display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.pillar-body { padding: 24px 24px 20px; }
.pillar-no { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.pillar-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); margin-bottom: 14px; }
.pillar-ico svg { width: 18px; height: 18px; }
.pillar h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); }
.pillar p { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.pillar-shot { margin-top: 22px; position: relative; padding: 18px 22px 0; height: 262px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pillar-shot .phone { border-radius: 26px 26px 0 0; padding: 6px 6px 0; }
.pillar-shot .phone .screen { border-radius: 22px 22px 0 0; }

/* ============================================================
   PULSO
   ============================================================ */
.pulso-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 68px; align-items: center; }
@media (max-width: 1000px){ .pulso-grid { grid-template-columns: 1fr; gap: 48px; } }
.pulso-visual { position: relative; }

/* anillo destacado con brillo que respira */
.pulse-head { display: flex; align-items: center; gap: 26px; margin: 34px 0 28px; }
.pulse-ring { position: relative; width: 120px; height: 120px; flex: none; }
.pulse-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  border: 2px solid var(--good); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-ring::before { animation: ring-beat 2.6s ease-in-out infinite; }
}
@keyframes ring-beat {
  0%, 100% { opacity: 0; transform: scale(.96); }
  50% { opacity: .55; transform: scale(1.04); }
}
.pulse-ring svg { transform: rotate(-90deg); display: block; position: relative; z-index: 2; }
.pulse-ring .val { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; }
.pulse-ring .val b { font-size: 37px; font-weight: 700; letter-spacing: -1.4px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.pulse-ring .val span { font-size: 9.5px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 4px; }
.pulse-head-copy { min-width: 0; }
.pulse-head-copy h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.3px; }
.pulse-head-copy p { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; max-width: 32ch; }

/* pilares como tres puntos (igual que el panel de cliente) */
.pulse-pillars { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.ppill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.ppill-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ppill-dot.pl-good { background: var(--good); } .ppill-dot.pl-warn { background: var(--warn); } .ppill-dot.pl-bad { background: var(--bad); }

/* cardiograma — monitor del Pulso con barrido brillante */
.ecg { width: 100%; max-width: 300px; height: 44px; margin-top: 16px; }
.ecg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ecg-base { fill: none; stroke: var(--good); stroke-width: 1.6; opacity: .14; stroke-linecap: round; stroke-linejoin: round; }
.ecg-lead { fill: none; stroke: var(--good); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90 1000; stroke-dashoffset: 1090; }
@media (prefers-reduced-motion: no-preference) {
  .ecg-lead { animation: ecg-sweep 3.4s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ecg-lead { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .6; }
}
@keyframes ecg-sweep {
  0% { stroke-dashoffset: 1090; }
  100% { stroke-dashoffset: 0; }
}
.pbar-track { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pbar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--good); }

@media (prefers-reduced-motion: no-preference) {
  /* las barras se llenan al entrar la sección, escalonadas */
  .pulse-bars .pbar-fill { transition: width 1s var(--ease); }
  .pulse-bars .pbar:nth-child(2) .pbar-fill { transition-delay: .12s; }
  .pulse-bars .pbar:nth-child(3) .pbar-fill { transition-delay: .24s; }
}
.pulse-bars.filled .pbar-fill { width: var(--w); }
@media (prefers-reduced-motion: reduce) { .pbar-fill { width: var(--w); } }

/* tres niveles en fila */
.pulse-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 480px){ .pulse-tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 16px 16px 17px; box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tier:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.tier-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.tier-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; align-self: center; }
.tier-range { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.tier h4 { margin: 0 0 3px; font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }
.tier p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.42; }
.tier.good .tier-dot { background: var(--good); } .tier.good .tier-range { color: var(--good); }
.tier.warn .tier-dot { background: var(--warn); } .tier.warn .tier-range { color: var(--warn); }
.tier.bad .tier-dot { background: var(--bad); } .tier.bad .tier-range { color: var(--bad); }

/* ============================================================
   CÓMO EMPIEZAS (3 pasos)
   ============================================================ */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; margin-top: 56px; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin-inline: auto; } }
.step { padding: 0 26px; }
@media (max-width: 820px){ .step { padding: 26px 0; } }
.step-no {
  width: 38px; height: 38px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--sh-1);
  display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; max-width: 30ch; }
.step-line { width: 1px; align-self: stretch; min-height: 80px; margin-top: 19px; background: linear-gradient(var(--border) 40%, transparent); }
@media (max-width: 820px){ .step-line { width: 100%; height: 1px; min-height: 0; margin: 0; background: var(--border-2); } }

/* ============================================================
   PARA QUIÉN
   ============================================================ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; }
@media (max-width: 760px){ .who-grid { grid-template-columns: 1fr; } }
.who-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--sh-2); }
.who-card.is-for { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: none; }
.who-card.not-for { background: var(--surface-2); border-style: dashed; border-color: var(--border); box-shadow: none; }
.who-card.not-for h3 { color: var(--faint); }
.who-card h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.who-card.is-for h3 { color: var(--accent); }
.who-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.who-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.who-card li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.who-card.is-for li svg { color: var(--accent); }
.who-card.not-for li svg { color: var(--faint); }
.who-card.not-for li { color: var(--muted); }

/* ============================================================
   DIFERENCIADOR
   ============================================================ */
.diff-center { max-width: 680px; margin: 0 auto; }
.signal-list { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.signal { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.signal:hover { transform: translateX(3px); box-shadow: var(--sh-2); }
.signal .sig-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }
.signal .sig-body { flex: 1; }
.signal h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.signal p { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.signal .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.3px; color: var(--bad); background: var(--bad-soft); border: 1px solid var(--bad-line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* ============================================================
   Explorador de producto (pestañas)
   ============================================================ */
.explorer { margin-top: 50px; }
.exp-tabs { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 10px 16px; }
.exp-group { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.exp-group-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase; color: var(--faint); }
.exp-group-chips { display: flex; gap: 8px; }
.exp-group-div { width: 1px; align-self: stretch; background: var(--border-2); margin: 0 2px; }
@media (max-width: 700px){
  .exp-tabs { flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 2px 16px 8px; margin-inline: -16px; scrollbar-width: none; }
  .exp-tabs::-webkit-scrollbar { display: none; }
  .exp-group { flex: none; align-items: flex-start; scroll-snap-align: start; }
  .exp-group-chips { flex-wrap: nowrap; }
  .exp-tab { flex: none; }
  .exp-group-div { display: none; }
}
.exp-tab {
  appearance: none; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 500;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.exp-tab:hover { color: var(--ink); border-color: #bcbcb6; }
.exp-tab.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.exp-tab:active { transform: translateY(1px); }
.exp-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.exp-caption { text-align: center; max-width: 52ch; margin: 16px auto 16px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.browser-bar .url { flex: 1; min-width: 0; }
.browser-bar .exp-mode { margin-left: auto; }

/* segmentado claro/oscuro (dentro de la barra del navegador) */
.exp-mode { display: inline-flex; flex: none; gap: 2px; padding: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.exp-mode-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; appearance: none; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 500; width: 26px; height: 22px; border-radius: 999px; cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.exp-mode-btn svg { width: 14px; height: 14px; }
.exp-mode-btn.active { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1); }
.exp-mode-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.exp-stage { max-width: 1000px; margin: 0 auto; }
.exp-frames { position: relative; aspect-ratio: 16 / 10; background: var(--bg); transition: background .35s var(--ease); }
.exp-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.012); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none;
}
.exp-frame.active { opacity: 1; transform: none; }
/* gemela oscura de cada vista: crossfade sincronizado con el fondo */
.exp-frame.exp-frame-dark { opacity: 0; transform: none; transition: opacity .4s var(--ease); }
.explorer[data-mode="dark"] .exp-frame.exp-frame-dark.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .exp-frame.exp-frame-dark { transition: opacity .15s linear; } }
@media (prefers-reduced-motion: reduce) { .exp-frame { transition: opacity .15s linear; transform: none; } }

/* marco de navegador en modo oscuro */
.browser.on-dark { border-color: #2c2c30; }
.browser.on-dark .browser-bar { background: #1a1a1d; border-bottom-color: #2c2c30; }
.browser.on-dark .dots i { background: #3a3a40; }
.browser.on-dark .url { background: #232327; border-color: #2c2c30; color: #8b8b88; }
.browser.on-dark .exp-frames { background: #121214; }

/* explorador: bloque entero a oscuro al activar el switch */
#producto { transition: background .4s var(--ease); }
#producto.exp-dark { background: var(--d-bg); }
#producto.exp-dark .eyebrow { color: var(--d-accent); }
#producto.exp-dark .h2 { color: var(--d-text); }
#producto.exp-dark .lead,
#producto.exp-dark .exp-caption { color: var(--d-text-2); }
#producto.exp-dark .exp-group-label { color: var(--d-muted); }
#producto.exp-dark .exp-group-div { background: var(--d-border); }
#producto.exp-dark .exp-tab { background: var(--d-surface); border-color: var(--d-border); color: var(--d-text-2); }
#producto.exp-dark .exp-tab:hover { color: var(--d-text); border-color: #45454c; }
#producto.exp-dark .exp-tab.active { background: var(--d-accent); border-color: var(--d-accent); color: #15171a; }
#producto.exp-dark .exp-mode { background: var(--d-surface-2); border-color: var(--d-border); }
#producto.exp-dark .exp-mode-btn { color: var(--d-muted); }
#producto.exp-dark .exp-mode-btn.active { color: var(--d-text); background: var(--d-surface); box-shadow: none; }

/* explorador: footprint más compacto en escritorio */
@media (min-width: 1001px){
  #producto.sec { padding-top: 60px; padding-bottom: 60px; }
  .explorer { margin-top: 26px; }
  .exp-caption { margin: 14px auto 14px; }
  .exp-stage { max-width: 760px; }
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; align-items: stretch; }
@media (max-width: 920px){ .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--sh-2); position: relative; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); transform-style: preserve-3d; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--sh-3); }
.plan:not(.featured):hover { border-color: #bdbdb7; box-shadow: var(--sh-3); }

/* calculadora de plan */
.plan-calc { max-width: 440px; margin: 42px auto -14px; text-align: center; }
.pc-label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.2px; }
.pc-row { display: flex; align-items: center; gap: 16px; }
.pc-n { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; color: var(--ink); width: 2.2ch; flex: none; text-align: right; }
#pc-range { flex: 1; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px; background: var(--border); outline: none; cursor: pointer; }
#pc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: var(--sh-2); cursor: grab; transition: transform .15s var(--ease); }
#pc-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
#pc-range::-webkit-slider-thumb:active { cursor: grabbing; }
#pc-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: var(--sh-2); cursor: grab; }
#pc-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.pc-result { margin: 15px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; display: grid; gap: 2px; justify-items: center; }
.pc-result b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-result a { color: var(--accent); font-weight: 500; }
.pc-count { display: inline-block; min-width: 2ch; text-align: center; }
.pc-plan-slot { display: inline-grid; text-align: center; }
.pc-plan-slot > b { grid-area: 1 / 1; }
.pc-ghost { visibility: hidden; }
.pc-price { font-variant-numeric: tabular-nums; }
.pc-sub { font-size: 13.5px; color: var(--faint); }
.pc-per { display: inline-block; min-width: 5ch; text-align: right; }

/* plan resaltado por la calculadora */
.plan { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.plan-tag { transition: opacity .3s var(--ease); opacity: 0; }
.plan.featured .plan-tag { opacity: 1; }
.plan.fit { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--sh-3); }
.price-grid.calc-used .plan.featured:not(.fit) { border-color: var(--border); box-shadow: var(--sh-2); }
.price-grid.calc-used .plan .plan-tag { opacity: 0; }
.price-grid.calc-used .plan.fit .plan-tag { opacity: 1; }
.plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 13px; border-radius: 999px; }
.plan-name { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.plan-cap { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 2px; }
.plan-price .amt { font-size: 44px; font-weight: 700; letter-spacing: -2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-price .amt-was { font-size: 17px; font-weight: 600; color: var(--faint); text-decoration-color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 4px; }
.plan-launch { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px; color: var(--accent); margin-top: 2px; }
.plan-divider { height: 1px; background: var(--border-2); margin: 22px 0; }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.plan li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 1px; }
.price-foot { margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.price-foot .pf { display: inline-flex; align-items: center; gap: 7px; }
.price-foot svg { width: 15px; height: 15px; color: var(--good); }
.price-note { margin: 16px auto 0; max-width: 52ch; text-align: center; font-size: 13px; color: var(--faint); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { max-width: 800px; margin: 46px auto 0; border-top: 1px solid var(--border-2); }
.faq { border-bottom: 1px solid var(--border-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); transition: color .15s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform .25s var(--ease); }
.faq[open] summary .ic { transform: rotate(45deg); }
/* apertura suave del FAQ (progresivo: solo navegadores con interpolate-size) */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    .faq::details-content {
      block-size: auto; opacity: 1; overflow: clip;
      transition: block-size .3s var(--ease), opacity .3s var(--ease), content-visibility .3s allow-discrete;
    }
    .faq:not([open])::details-content { block-size: 0; opacity: 0; }
  }
}
.faq-a { padding: 0 4px 24px; font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 66ch; text-wrap: pretty; }
.faq-a a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.faq-a a:hover { color: var(--accent-deep); }

/* ============================================================
   FINAL CTA — calmo (paper, sin drama)
   ============================================================ */
.cta-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-logo { width: 44px; height: 44px; margin: 0 auto 26px; }
.cta-wrap h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.08; color: var(--ink); max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.cta-wrap h2 .accent { color: var(--accent); }
.cta-wrap p { color: var(--ink-2); font-size: 18px; margin: 20px auto 0; max-width: 46ch; line-height: 1.5; }
.cta-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-mini { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; justify-content: center; }
.cta-mini .mi { display: inline-flex; align-items: center; gap: 7px; }
.cta-mini svg { width: 14px; height: 14px; color: var(--good); }

/* ============================================================
   FOOTER — flat dark (sin glow ni gradiente)
   ============================================================ */
footer { background: var(--d-bg); color: var(--d-muted); padding: 72px 0 38px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
.foot-brand .logo .name { color: var(--d-text); }
.foot-brand p { font-size: 14px; color: var(--d-muted); margin: 15px 0 0; max-width: 32ch; line-height: 1.6; }
.foot-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--d-muted); margin: 0 0 15px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--d-text-2); margin-bottom: 11px; transition: color .14s; width: fit-content; }
.foot-col a:hover { color: var(--d-text); }
.foot-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--d-border); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.foot-bottom small { font-size: 13px; color: var(--d-muted); }
.legal-note { font-size: 13px; color: var(--d-muted); max-width: 54ch; line-height: 1.55; }

/* ============================================================
   Motion — sistema premium con sello propio
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* reveal base: ascenso limpio con enfoque sutil */
  .reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    filter: blur(4px);
    transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
    will-change: opacity, transform, filter;
  }
  .reveal.in { opacity: 1; transform: none; filter: none; }

  /* revelado "bloom" para la imagen grande: escala suave, SIN blur (evita jank) */
  .reveal-bloom { transform: translate3d(0, 20px, 0) scale(.955); filter: none; transition-duration: .95s; }
  .reveal-bloom.in { transform: none; filter: none; }

  /* cascada en grupos */
  .stagger > * {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity .75s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
  }
  .stagger.in > * { opacity: 1; transform: none; filter: none; }
  .stagger.in > *:nth-child(2) { transition-delay: .09s; }
  .stagger.in > *:nth-child(3) { transition-delay: .18s; }
  .stagger.in > *:nth-child(4) { transition-delay: .27s; }
  .stagger.in > *:nth-child(5) { transition-delay: .36s; }

  /* coreografía del hero: la copy entra en secuencia */
  .hero-copy > .reveal:nth-child(2) { transition-delay: .08s; }
  .hero-copy > .reveal:nth-child(3) { transition-delay: .16s; }
  .hero-copy > .reveal:nth-child(4) { transition-delay: .24s; }
  .hero-copy > .reveal:nth-child(5) { transition-delay: .32s; }

  /* el panel del hero entra distinto: desliza y escala */
  .hero-visual.reveal { transform: translate3d(34px, 10px, 0) scale(.985); transition-duration: 1s; transition-delay: .18s; }
  .hero-visual.reveal.in { transform: none; }

  /* filete del epígrafe que se dibuja */
  .eyebrow::before { width: 0; transition: width .7s var(--ease) .18s; }
  .in .eyebrow::before, .reveal.in.eyebrow::before { width: 20px; }
  .hero-tag::before { width: 0; transition: width .75s var(--ease) .3s; }
  .hero-tag.in::before { width: 22px; }
}

/* ============================================================
   Menú móvil
   ============================================================ */
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); border-radius: 9px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { display: block; width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .26s var(--ease), opacity .2s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: 60px; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--border-2);
  box-shadow: var(--sh-3); padding: 14px 22px 20px;
  transform: translateY(-8px); opacity: 0; transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; transform: none; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a { font-size: 16px; font-weight: 500; color: var(--ink); padding: 13px 4px; border-bottom: 1px solid var(--border-2); }
.mm-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mm-cta .btn { width: 100%; }
@media (max-width: 900px){
  .nav-burger { display: flex; }
  .nav-cta .nav-login { display: none; }
}
@media (max-width: 560px){
  .nav-cta .btn-primary { display: none; }
}

/* ============================================================
   Comparativa Hoy vs Provido
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
@media (max-width: 760px){ .compare { grid-template-columns: 1fr; gap: 14px; } }
.compare-col { border: 1px solid var(--border); border-radius: 16px; padding: 24px 24px 22px; background: var(--surface); }
.compare-col.before { background: var(--surface-2); border-style: dashed; border-color: var(--border); }
.compare-col.before .compare-head { color: var(--muted); }
.compare-col.after { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: none; }
.compare-head { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border-2); padding: 4px 9px; border-radius: 999px; }
.compare-tag.on { color: #fff; background: var(--accent); border-color: var(--accent); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.compare-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.compare-col.before li { color: var(--muted); }
/* comparativa: entrada en cascada */
@media (prefers-reduced-motion: no-preference) {
  .compare.reveal li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .compare.reveal.in li { opacity: 1; transform: none; }
  .compare.reveal.in .compare-col.before li:nth-child(1) { transition-delay: .05s; }
  .compare.reveal.in .compare-col.before li:nth-child(2) { transition-delay: .13s; }
  .compare.reveal.in .compare-col.before li:nth-child(3) { transition-delay: .21s; }
  .compare.reveal.in .compare-col.before li:nth-child(4) { transition-delay: .29s; }
  .compare.reveal.in .compare-col.after li:nth-child(1) { transition-delay: .42s; }
  .compare.reveal.in .compare-col.after li:nth-child(2) { transition-delay: .5s; }
  .compare.reveal.in .compare-col.after li:nth-child(3) { transition-delay: .58s; }
  .compare.reveal.in .compare-col.after li:nth-child(4) { transition-delay: .66s; }
}
.compare-col.after li { color: var(--ink-2); }
.compare-col li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.compare-col.before li svg { color: var(--faint); }
.compare-col.after li svg { color: var(--good); }

/* nota dinero del diferenciador */
.diff-note { margin: 22px auto 0; max-width: 680px; padding: 16px 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   Privacidad / RGPD
   ============================================================ */
.privacy-band { padding: 40px 0; }
.privacy { display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto; }
@media (max-width: 600px){ .privacy { flex-direction: column; text-align: center; gap: 14px; } }
.privacy-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent); }
.privacy-ic svg { width: 24px; height: 24px; }
.privacy-txt h3 { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; margin: 0 0 5px; }
.privacy-txt p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ============================================================
   Focus-visible consistente (accesibilidad)
   ============================================================ */
.btn:focus-visible,
.nav-links a:focus-visible,
.mm-links a:focus-visible,
.faq summary:focus-visible,
.foot-col a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.faq summary:focus-visible { outline-offset: 4px; }

/* ============================================================
   Detalles premium de movimiento
   ============================================================ */
/* barra de progreso de lectura */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 60;
  background: linear-gradient(90deg, var(--accent), #7d93ae);
  will-change: transform; pointer-events: none;
}

/* parallax sutil de los mockups (profundidad al hacer scroll) */
.parallax { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .parallax { transform: none !important; } }

/* apertura suave de la FAQ */
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq-a { animation: faq-in .34s var(--ease); }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: none; }
}

/* las líneas conectoras de los pasos se dibujan */
@media (prefers-reduced-motion: no-preference) {
  .steps .step-line { transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease) .3s; }
  .steps.in .step-line { transform: scaleY(1); }
}
@media (max-width: 820px){
  .steps .step-line { transform-origin: left; }
}

/* barra CTA fija en móvil */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
  display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(247,246,243,0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-2);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }
@media (max-width: 700px){ .mobile-cta { display: block; } }

/* ── Modo beta privada (ADR 0048) ─────────────────────────────────────────
   El interruptor es `class="beta"` en el <body>. Con ella puesta se ocultan
   precios y las promesas de prueba gratuita, y aparece el bloque de beta;
   al quitarla la landing vuelve entera, sin tocar nada más.

   Se hace con `:not()` en lugar de fijar un `display` a cada bloque para que
   cada elemento conserve el suyo natural (los botones son inline-flex, las
   secciones block): fijarlo aquí rompería la maquetación de los CTA. */
body:not(.beta) .solo-beta { display: none !important; }
body.beta .solo-lanzamiento { display: none !important; }
