/* Holabi · landing de conversión (whatsapp.holabi.io)
   Implementación estática del diseño «Holabi · Landing» (canvas de Claude).
   - Tokens: copia literal de tokens.json del sistema Holabi. Claro = Kintsugi, oscuro = Sumi
     (el oscuro se activa solo con prefers-color-scheme: dark).
   - Componentes del sistema (hb-*): solo el subconjunto que usa la página, autoalojado.
   - Estilos de página con prefijo lp-.
   Sin estilos en línea: el CSP de _headers no permite style-src 'unsafe-inline'. */

/* Fuentes autoalojadas -------------------------------------------------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/BricolageGrotesque-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Tokens ---------------------------------------------------------------- */
:root {
  --bg: #f4efe6; --surface: #fbf8f3; --surface-alt: #ece5d8;
  --ink: #1f1b17; --ink-muted: #5c5349; --ink-subtle: #6e6458;
  --line: #e1d8c9; --line-strong: #8c7f6e;
  --clay: #a84f2c; --clay-hover: #8f3f1f; --on-clay: #fbf8f3; --clay-soft: #f7e8df;
  --gold: #c29a45; --gold-mark: #a9812f; --focus-ring: #a84f2c;
  --on-danger: #fbf8f3; --scrim: #1f1b1766;
  --success: #2c6b6e; --success-soft: #dcebe9; --warning: #86581a; --warning-soft: #f4e6cc;
  --danger: #a3271f; --danger-soft: #f6dcd6; --info: #2f5b8c; --info-soft: #dee7f2;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-float: 0 1px 2px #1f1b170f, 0 12px 32px -8px #1f1b172e;
  --content-max: 1120px; --content-narrow: 720px;
  --duration-fast: 150ms; --duration-base: 240ms; --duration-breath: 3200ms; --duration-speak: 900ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214; --surface: #1c1d20; --surface-alt: #26272b;
    --ink: #ece6da; --ink-muted: #b3ab9d; --ink-subtle: #9c9486;
    --line: #2c2d31; --line-strong: #6f695f;
    --clay: #d9774f; --clay-hover: #e58c67; --on-clay: #111214; --clay-soft: #3b2219;
    --gold: #d2a64f; --gold-mark: #d2a64f; --focus-ring: #d9774f;
    --on-danger: #111214; --scrim: #000000a3;
    --success: #6db5ae; --success-soft: #16302f; --warning: #e2b252; --warning-soft: #382c14;
    --danger: #f08275; --danger-soft: #3d1b18; --info: #8db1e3; --info-soft: #1a2a3f;
    --shadow-float: 0 1px 2px #00000066, 0 12px 32px -8px #000000b3;
  }
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
a { color: inherit; }
main:focus { outline: none; }
.lp { position: relative; min-width: 0; overflow-x: clip; background: var(--bg); color: var(--ink); }
.lp h1, .lp h2, .lp h3 { text-wrap: balance; }
.lp p, .lp li { text-wrap: pretty; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Accesibilidad */
.lp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lp-skip { position: absolute; left: 16px; top: -64px; z-index: 40; padding: 10px 16px; border-radius: var(--radius-md); background: var(--ink); color: var(--bg); font: 500 14px/20px var(--font-sans); text-decoration: none; }
.lp-skip:focus { top: 12px; }
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Sistema Holabi: íconos, logo, agente (ensō) ---------------------------- */
.hb-icon { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hb-logo { display: block; height: 48px; width: auto; overflow: visible; }
.hb-agent { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hb-agent picture, .hb-agent img { display: block; width: 100%; height: 100%; }
.hb-agent[data-state="listening"] img { animation: hb-breath var(--duration-breath) var(--ease-in-out) infinite; }
.hb-agent[data-state="speaking"] img { animation: hb-speak var(--duration-speak) var(--ease-out) infinite; }
@keyframes hb-breath { 0%, 100% { transform: scale(.93); opacity: .82; } 50% { transform: scale(1); opacity: 1; } }
@keyframes hb-speak { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.08); } 36% { transform: scale(.98); } 56% { transform: scale(1.05); } 76% { transform: scale(.995); } }

/* Sistema Holabi: botones ------------------------------------------------ */
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-4); border: 1px solid transparent; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.hb-btn--primary { background: var(--clay); color: var(--on-clay); }
.hb-btn--primary:hover { background: var(--clay-hover); }
.hb-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.hb-btn--secondary:hover { background: var(--surface-alt); }
.hb-btn--ghost { background: transparent; color: var(--ink); }
.hb-btn--ghost:hover { background: var(--surface-alt); }
.hb-btn--sm { height: 32px; padding: 0 var(--space-3); }
.hb-btn--lg { height: 48px; padding: 0 var(--space-5); font-size: 16px; line-height: 24px; }
.hb-btn--icon { width: 40px; padding: 0; }
.hb-btn svg { width: 18px; height: 18px; flex: none; }

/* Sistema Holabi: badge, chip, chat, traspaso, acordeón, selector -------- */
.hb-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; background: var(--surface-alt); color: var(--ink); }
.hb-badge svg { width: 14px; height: 14px; flex: none; }
.hb-badge--clay { background: var(--clay); color: var(--on-clay); }
.hb-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 var(--space-3) 0 var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--bg); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.hb-chip .hb-icon { width: 16px; height: 16px; color: var(--ink-muted); }
.hb-chat { display: flex; flex-direction: column; gap: var(--space-3); }
.hb-msg { display: flex; align-items: flex-end; gap: var(--space-2); max-width: 520px; }
.hb-msg .hb-agent { width: 32px; height: 32px; margin-bottom: 2px; }
.hb-msg__bubble { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: 16px; line-height: 24px; color: var(--ink); overflow-wrap: anywhere; }
.hb-msg--agent .hb-msg__bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: var(--radius-sm); }
.hb-msg--user { align-self: flex-end; }
.hb-msg--user .hb-msg__bubble { background: var(--clay-soft); border: 1px solid var(--line); border-bottom-right-radius: var(--radius-sm); }
.hb-msg__meta { display: block; margin-top: var(--space-1); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-subtle); }
.hb-msg--user .hb-msg__meta { text-align: right; }
.hb-handoff { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-alt); font-size: 14px; line-height: 20px; color: var(--ink); }
.hb-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius-md); background: var(--surface-alt); }
.hb-seg__item { height: 32px; padding: 0 var(--space-3); border: 0; border-radius: 8px; background: transparent; font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); cursor: pointer; }
.hb-seg__item[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.hb-advanced { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); }
.hb-advanced > summary { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); list-style: none; cursor: pointer; font-size: 14px; line-height: 20px; font-weight: 500; }
.hb-advanced > summary::-webkit-details-marker { display: none; }
.hb-advanced > summary:focus-visible { border-radius: var(--radius-md); }
.hb-advanced > summary .hb-icon { width: 18px; height: 18px; color: var(--ink-muted); }
.hb-advanced__chev { margin-left: auto; transition: transform var(--duration-fast) var(--ease-out); }
.hb-advanced[open] .hb-advanced__chev { transform: rotate(180deg); }

/* Enlaces y navegación --------------------------------------------------- */
.lp-link { color: var(--clay); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lp-link:hover { color: var(--clay-hover); }
.lp-link--row { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; line-height: 24px; font-weight: 500; }
.lp-link--sm { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; line-height: 22px; font-weight: 500; }
.lp-navlink { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: var(--radius-md); color: var(--ink-muted); font: 500 15px/20px var(--font-sans); text-decoration: none; }
.lp-navlink:hover { color: var(--ink); background: var(--surface-alt); }
.lp-footlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); font-size: 14px; line-height: 20px; text-decoration: none; }
.lp-footlink:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Íconos de página: el ícono acompaña a una palabra */
.lp-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--surface-alt); color: var(--ink); }
.lp-ico .hb-icon { width: 20px; height: 20px; }
.lp-ico--sm { width: 32px; height: 32px; border-radius: 8px; }
.lp-ico--sm .hb-icon { width: 18px; height: 18px; }
.lp-inline-ico { width: 16px; height: 16px; flex: none; color: var(--ink); }

/* Encabezado ------------------------------------------------------------- */
.lp-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.lp-head__inner { display: flex; align-items: center; gap: 12px; max-width: 1168px; min-height: 72px; margin: 0 auto; padding: 12px 24px; }
.lp-brand { display: inline-flex; align-items: center; margin-right: auto; padding: 6px 4px; border-radius: 8px; }
.lp-brand .hb-logo, .lp-foot .hb-logo { height: 28px; }
.lp-nav { display: flex; align-items: center; gap: 4px; }
.lp-head .hb-btn { height: 44px; }
.lp-head__cta { padding: 0 18px; font-size: 15px; }
.lp-menu-btn { display: none; width: 44px; padding: 0; }
.lp-menu-panel { display: none; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.lp-menu-panel .lp-navlink { height: 48px; font-size: 16px; }

/* Estructura de secciones ------------------------------------------------ */
.lp-sec { padding: clamp(48px, 5vw, 72px) 24px; border-top: 1px solid var(--line); }
.lp-wrap { display: flex; flex-direction: column; gap: 40px; max-width: var(--content-max); margin: 0 auto; }
.lp-wrap--32 { gap: 32px; }
.lp-intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.lp-intro--760 { max-width: 760px; }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.lp-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.lp-h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 1.1rem + 2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variation-settings: 'opsz' 12; color: var(--ink); }
.lp-h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; font-variation-settings: 'opsz' 12; color: var(--ink); }
.lp-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.lp-cap { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-subtle); }
.lp-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.lp-card--12 { gap: 12px; }
.lp-card__body { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); gap: var(--gap, 24px); margin: 0; padding: 0; list-style: none; }
.lp-grid--240 { --min: 240px; }
.lp-grid--280 { --min: 280px; --gap: 32px; }
.lp-grid--300 { --min: 300px; }
.lp-grid--320 { --min: 320px; }
.lp-grid--16 { --gap: 16px; }
.lp-row { display: flex; align-items: center; gap: 12px; }
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lp-cta-row--hero { margin-top: 8px; }
.lp-cta-row--center { justify-content: center; width: 100%; margin-top: 8px; }
.lp-links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }

/* Hero ------------------------------------------------------------------- */
.lp-hero { padding: clamp(40px, 6vw, 80px) 24px clamp(48px, 6vw, 72px); }
.lp-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 64px); max-width: var(--content-max); margin: 0 auto; }
.lp-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lp-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 1.25rem + 3.2vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; font-variation-settings: 'opsz' 12; color: var(--ink); }
.lp-hero h1 span { display: block; }
.lp-hero__lead { margin: 0; max-width: 34em; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.lp-hero__points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.lp-hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lp-hero__figure { flex: 1 1 360px; max-width: 460px; min-width: 0; margin: 0 auto; }
.lp-hero__figure figcaption { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--ink-subtle); text-align: center; }
.lp-stage { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.lp-stage__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lp-stage__who { flex: 1; min-width: 0; }
.lp-stage__who p { margin: 0; }
.lp-stage__name { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.lp-stage__role { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.lp-stage__badge { gap: 6px; }
.lp-stage .hb-chat { padding: 20px 16px 24px; background: var(--bg); }
.lp-stage .hb-msg--user { max-width: 86%; }
.lp-stage .hb-msg--agent { max-width: 92%; flex-direction: column; align-items: stretch; gap: 8px; }
.lp-quick { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lp-quick li { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--clay); }

/* Botón de ver el video (modo conversación) */
.lp-play { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-top: 1px solid var(--line); background: var(--surface); font-family: var(--font-sans); text-align: left; color: var(--ink); cursor: pointer; }
.lp-play:hover { background: var(--clay-soft); }
.lp-play__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--clay-soft); color: var(--clay); }
.lp-play__txt { display: grid; gap: 2px; min-width: 0; }
.lp-play__title { font-size: 15px; line-height: 20px; font-weight: 600; }
.lp-play__sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* Video del hero y narrador ---------------------------------------------- */
.lp-vmode { display: flex; flex-direction: column; background: var(--surface-alt); }
.lp-vmode__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 16px; }
.lp-vmode__top .hb-badge { background: var(--surface); }
.lp-vmode__top .hb-btn { height: 36px; background: var(--surface); }
.lp-vmode__foot { display: grid; gap: 12px; padding: 12px 16px 16px; }
.lp-caption { display: flex; align-items: center; min-height: 66px; margin: 0; padding: 10px 14px; border-radius: var(--radius-md); background: var(--ink); color: var(--bg); font-size: 15px; line-height: 22px; }
.lp-vmode__ctrl { display: flex; align-items: center; gap: 12px; }
.lp-vmode__ctrl .hb-btn { flex: none; width: 44px; height: 44px; background: var(--surface); }
.lp-vmode__ctrl p { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
/* Un solo <video>: se ve en el hero y, al bajar, se acopla abajo a la derecha sin reiniciarse */
.lp-vslot { position: relative; aspect-ratio: 4 / 5; max-height: 560px; background: var(--surface-alt); }
.lp-player { position: absolute; inset: 0; overflow: hidden; background: var(--surface-alt); }
.lp-video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 14%; background: var(--surface-alt); }
.lp-player.is-docked { position: fixed; inset: auto 24px 24px auto; z-index: 31; width: 168px; height: 210px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-float); animation: lp-dock 240ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes lp-dock { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

.lp-narr { position: fixed; right: 24px; bottom: 24px; z-index: 30; }
.lp-narr.has-video { right: 204px; }
.lp-narr__card { display: flex; flex-direction: column; gap: 12px; width: 340px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-float); }
.lp-narr__top { display: flex; align-items: center; gap: 12px; }
.lp-narr__toggle { display: grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--clay-soft); color: var(--clay); cursor: pointer; }
.lp-narr__who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lp-narr__who p { margin: 0; }
.lp-narr__name { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.lp-narr__name .hb-agent { width: 18px; height: 18px; }
.lp-narr__close { width: 44px; height: 44px; color: var(--ink-muted); }
.lp-narr__text { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink); }
.lp-narr__cta { width: 100%; }

.lp-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.lp-bar__inner { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-float); }
.lp-bar__toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--clay-soft); color: var(--clay); cursor: pointer; }
.lp-bar__toggle .hb-icon { width: 18px; height: 18px; }
.lp-bar__who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lp-bar__who p { margin: 0; }
.lp-bar__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); }
.lp-bar__text { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.lp-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-bar__cta { flex: none; height: 44px; padding: 0 14px; }

/* Resultados reales ------------------------------------------------------ */
.lp-results { padding: 0 24px clamp(48px, 5vw, 72px); }
.lp-results .lp-wrap { gap: 16px; }
.lp-results .lp-grid { --min: 420px; --gap: 16px; }
.lp-stat { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-width: 0; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.lp-stat::before { content: ""; position: absolute; top: 0; left: 28px; width: 64px; height: 2px; background: var(--gold); }
.lp-stat__fig { display: grid; gap: 4px; flex: none; }
.lp-stat__num { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 1.8rem + 2.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; font-variation-settings: 'opsz' 12; font-variant-numeric: tabular-nums; color: var(--ink); }
.lp-stat__note { margin: 0; max-width: 180px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.lp-stat__body { flex: 1 1 220px; min-width: 0; display: grid; gap: 6px; }
.lp-stat__kind { display: flex; align-items: center; gap: 8px; }

/* Cómo funciona ---------------------------------------------------------- */
.lp-step__head { display: flex; align-items: center; gap: 12px; }
.lp-step__head > div { display: grid; gap: 0; }
.lp-card .hb-chat { flex: 1; padding: 16px; border-radius: 12px; background: var(--bg); }
.lp-card .hb-chat .hb-msg--user { max-width: 92%; }
.lp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-left: 40px; }
.lp-card .hb-handoff { align-items: flex-start; flex-wrap: nowrap; }
.lp-card .hb-handoff > .hb-icon { margin-top: 2px; color: var(--ink-muted); }
.lp-handoff__txt { display: grid; gap: 4px; min-width: 0; }
.lp-handoff__txt p { margin: 0; }
.lp-handoff__title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.lp-handoff__sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* Beneficios ------------------------------------------------------------- */
.lp-benefit__body { flex: 1; margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.lp-benefit__quote { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-subtle); }

/* Casos de uso ----------------------------------------------------------- */
.lp-case__block { display: grid; gap: 4px; }
.lp-case__block p:not(.lp-cap) { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink); }
.lp-case__block--help { padding-top: 16px; border-top: 1px solid var(--line); }
.lp-case__block--help p:not(.lp-cap) { color: var(--ink-muted); }

/* Cómo empezar ----------------------------------------------------------- */
.lp-start { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-start p:not(.lp-cap) { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* Confianza y control ---------------------------------------------------- */
.lp-control { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.lp-control__list { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.lp-control__item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.lp-control__item:last-child { border-bottom: 1px solid var(--line); }
.lp-control__item > div { display: grid; gap: 6px; min-width: 0; }
.lp-control__item p { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.lp-security { flex: 1 1 380px; padding: 28px; }
.lp-security__list { display: grid; margin: 0; padding: 0; list-style: none; }
.lp-security__list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--ink); }
.lp-security__list li:last-child { border-bottom: 1px solid var(--line); }
.lp-security__list .hb-icon { margin-top: 3px; color: var(--success); }
.lp-security p { margin: 0; }

/* Precios ---------------------------------------------------------------- */
.lp-seg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lp-seg-row > span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.lp-seg .hb-seg__item { height: 44px; min-width: 96px; padding: 0 20px; font-size: 15px; }
.lp-plan { position: relative; overflow: hidden; }
.lp-plan--rec { border-color: var(--line-strong); }
.lp-plan--rec::before { content: ""; position: absolute; top: 0; left: 24px; width: 64px; height: 2px; background: var(--gold); }
.lp-plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.lp-plan__price { display: grid; gap: 4px; }
.lp-plan__price p { margin: 0; }
.lp-plan__amount { display: flex; align-items: baseline; gap: 6px; }
.lp-plan__amount b { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.03em; font-variation-settings: 'opsz' 12; font-variant-numeric: tabular-nums; color: var(--ink); }
.lp-plan__amount span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.lp-plan__term { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.lp-plan__cop { font-size: 13px; line-height: 18px; color: var(--ink-subtle); }
.lp-plan__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lp-plan__list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink); }
.lp-plan__list li .hb-icon { margin-top: 2px; }
.lp-plan__list li.is-muted { color: var(--ink-muted); }
.lp-plan__list li.lp-plan__focus .hb-icon { margin-top: 3px; }
.lp-plan__focus-txt { display: grid; gap: 4px; min-width: 0; }
.lp-plan__focus-txt p { margin: 0; }
.lp-plan__focus-line { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); }
.lp-plan__bonus { font-size: 14px; line-height: 20px; color: var(--ink); }
.lp-plan__mix { margin-top: 2px !important; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-subtle); }
.lp-plan-alt { background: transparent; gap: 12px; }
.lp-plan-alt__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.lp-plan-alt__top > div { display: flex; align-items: center; gap: 12px; }
.lp-plan-alt__top > p { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.lp-plan-alt ul { display: grid; gap: 8px; margin: 0; padding: 0 0 0 18px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.lp-plan-alt ul li.is-strong { color: var(--ink); font-weight: 500; }
.lp-plan-alt > p { margin: 0; }
.lp-notes { display: grid; gap: 8px; margin: 0; padding: 0 0 0 18px; max-width: 860px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Preguntas frecuentes ---------------------------------------------------- */
.lp-wrap--faq { max-width: 760px; }
.lp-faq { display: grid; gap: 12px; }
.lp-faq .hb-advanced { background: var(--surface); }
.lp-faq .hb-advanced > summary { min-height: 56px; font-size: 16px; line-height: 24px; }
.lp-faq .hb-advanced > summary > span { flex: 1; min-width: 0; }
.lp-faq__a { padding: 0 16px 16px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.lp-faq__a p { margin: 0; }
.lp-faq__a ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0 0 0 20px; }

/* Cierre ----------------------------------------------------------------- */
.lp-close { padding: clamp(56px, 6vw, 88px) 24px; text-align: center; }
.lp-close .lp-wrap { align-items: center; gap: 20px; max-width: 760px; }
.lp-close h2 { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 1.2rem + 3vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; font-variation-settings: 'opsz' 12; color: var(--ink); }
.lp-close p { margin: 0; }
.lp-close__hola { margin-top: 4px !important; font-size: 14px; line-height: 20px; color: var(--ink-subtle); }

/* Pie -------------------------------------------------------------------- */
.lp-foot { padding: 40px 24px 48px; border-top: 1px solid var(--line); background: var(--surface); }
.lp-foot .lp-wrap { gap: 20px; }
.lp-foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lp-foot__brand { display: flex; flex-direction: column; gap: 8px; }
.lp-foot__brand a { display: inline-flex; width: fit-content; padding: 4px; border-radius: 8px; }
.lp-foot__brand p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.lp-foot__legal { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-subtle); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 760px) {
  .lp-nav { display: none; }
  .lp-menu-btn { display: inline-flex; }
  .lp-menu-panel:not([hidden]) { display: grid; }
  .lp-brand .hb-logo { height: 24px; }
  .lp-narr { display: none; }
  .lp-bar { display: block; }
  .lp { padding-bottom: 88px; }
  .lp-player.is-docked { inset: auto 12px calc(80px + env(safe-area-inset-bottom, 0px)) auto; width: 96px; height: 120px; border-radius: 16px; }
}
@media (max-width: 560px) {
  .lp-cta-row .hb-btn { width: 100%; }
}

/* Movimiento reducido: sin bucles ni transiciones; estado final directo --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hb-agent[data-state] img { animation: none; }
  .lp-player.is-docked { animation: none; }
  .hb-btn, .hb-advanced__chev { transition: none; }
}
