/* =====================================================================
   VitalHub — Sitio de marketing. Sistema de diseño.
   Marca real: índigo #7267EF + acento cálido coral→magenta (corazón→cerebro).
   ===================================================================== */

:root {
    /* Marca */
    --indigo: #7267EF;
    --indigo-2: #5a4fd6;
    --violet: #9b6dff;
    --magenta: #e84a8a;
    --coral: #ff6b5e;
    --orange: #ff9a5a;

    /* Base oscura */
    --bg: #08060f;
    --bg-2: #0d0b1c;
    --bg-3: #12102a;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.10);
    --stroke-2: rgba(255, 255, 255, 0.16);

    /* Texto */
    --ink: #F2F1FA;
    --ink-soft: #c7c4e0;
    --ink-mut: #8f8cb0;

    /* Gradiente firma (corazón → cerebro) */
    --grad: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 34%, var(--violet) 66%, var(--indigo) 100%);
    --grad-soft: linear-gradient(100deg, rgba(255,107,94,.16), rgba(232,74,138,.16), rgba(114,103,239,.16));
    --glow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 60px -20px rgba(114,103,239,.55);

    /* Layout */
    --maxw: 1200px;
    --radius: 18px;
    --radius-lg: 26px;
    --ease: cubic-bezier(.22,.61,.36,1);

    /* Tipografía fluida */
    --fs-display: clamp(2.3rem, 4.8vw, 4.4rem);
    --fs-h1: clamp(2.1rem, 4.6vw, 3.6rem);
    --fs-h2: clamp(1.7rem, 3.2vw, 2.6rem);
    --fs-h3: clamp(1.2rem, 1.6vw, 1.5rem);
    --fs-lead: clamp(1.05rem, 1.4vw, 1.28rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.011em;
}

/* Fondo global: malla de gradiente + grano */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-fx .blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
    will-change: transform;
}
.blob.b1 { width: 46vw; height: 46vw; left: -10vw; top: -8vw; background: radial-gradient(circle, var(--indigo), transparent 62%); }
.blob.b2 { width: 40vw; height: 40vw; right: -12vw; top: 20vh; background: radial-gradient(circle, var(--magenta), transparent 62%); opacity: .38; }
.blob.b3 { width: 38vw; height: 38vw; left: 25vw; bottom: -14vw; background: radial-gradient(circle, var(--coral), transparent 62%); opacity: .28; }
.bg-fx::after {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: .035; mix-blend-mode: overlay;
}

/* ---------- Utilidades ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft); padding: .4rem .85rem; border: 1px solid var(--stroke);
    border-radius: 100px; background: var(--surface); backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.section-head p { color: var(--ink-mut); font-size: var(--fs-lead); margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .98rem;
    padding: .85rem 1.4rem; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
    text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 160%; box-shadow: 0 12px 34px -12px rgba(232,74,138,.6); }
.btn-primary:hover { box-shadow: 0 18px 50px -12px rgba(232,74,138,.85); transform: translateY(-2px); background-position: 100% 0; }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--stroke-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--indigo); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 0; transition: padding .3s, background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: .55rem 0; background: rgba(8,6,15,.72); backdrop-filter: blur(16px); border-color: var(--stroke); }
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.brand .logo { width: 34px; height: 34px; flex: 0 0 34px; }
.brand small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: var(--coral); text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--grad); transition: width .25s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.burger { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(8rem, 18vh, 12rem) 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: var(--fs-display); font-weight: 850; line-height: 1.06; letter-spacing: -.03em; }
.hero h1 .line { display: block; padding-bottom: .06em; }
.hero .lead { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 30ch; margin: 1.5rem 0 2.2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.5rem; font-size: .85rem; color: var(--ink-mut); display: flex; align-items: center; gap: .5rem; }

/* Trust bar */
.trust { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--stroke); }
.trust p { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: 1rem; }
.trust-logos { display: flex; flex-wrap: wrap; gap: .7rem; }
.trust-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--ink-soft);
    padding: .5rem .9rem; border: 1px solid var(--stroke); border-radius: 100px; background: var(--surface); }
.trust-chip svg { color: var(--coral); }

/* ---------- Marco de producto (browser frame) recreando VitalHub ---------- */
.frame { border-radius: var(--radius-lg); border: 1px solid var(--stroke-2); background: linear-gradient(180deg, #14122b, #0d0b1c);
    box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), var(--glow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.02); }
.frame-bar .dots { display: flex; gap: .4rem; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #45435f; display: block; }
.frame-bar .url { margin-left: .6rem; font-size: .72rem; color: var(--ink-mut); background: rgba(255,255,255,.04); padding: .28rem .8rem; border-radius: 100px; border: 1px solid var(--stroke); }
.hero-mock { transform: perspective(1600px) rotateY(-11deg) rotateX(5deg); transform-style: preserve-3d; will-change: transform; }

/* App recreada: cuerpo */
.app { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; background: #f6f6fb; color: #2b2b3c; }
.app-side { background: linear-gradient(180deg, var(--indigo), var(--indigo-2)); padding: 1rem .8rem; color: #fff; }
.app-side .al { display: flex; align-items: center; gap: .5rem; font-size: .8rem; padding: .5rem .6rem; border-radius: 9px; color: rgba(255,255,255,.82); margin-bottom: .2rem; }
.app-side .al.on { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.app-side .al i { width: 15px; height: 15px; display: inline-block; opacity: .9; }
.app-main { padding: 1rem 1.1rem; }
.app-title { font-weight: 700; font-size: .95rem; margin-bottom: .8rem; color: #23223a; }
.alerts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.a-card { background: #fff; border-radius: 12px; padding: .7rem; border-left: 3px solid var(--indigo); box-shadow: 0 6px 18px -10px rgba(30,20,80,.25); }
.a-card.g { border-left-color: #3ec9a7; } .a-card.r { border-left-color: #f4436c; } .a-card.o { border-left-color: #f0ad4e; }
.a-card .n { font-size: 1.3rem; font-weight: 800; color: #23223a; line-height: 1; }
.a-card .l { font-size: .62rem; color: #8a8aa0; margin-top: .2rem; }
.app-row { background: #fff; border-radius: 12px; box-shadow: 0 6px 18px -10px rgba(30,20,80,.2); overflow: hidden; }
.app-row .r { display: grid; grid-template-columns: 1.4fr 1fr .8fr auto; gap: .5rem; padding: .55rem .8rem; border-bottom: 1px solid #eef; font-size: .72rem; align-items: center; }
.app-row .r.h { background: #f3f2fd; font-weight: 700; color: #5a4fd6; }
.pill { font-size: .58rem; font-weight: 700; padding: .18rem .5rem; border-radius: 100px; }
.pill.ok { background: #e7f9f3; color: #1a9e7c; } .pill.wa { background: #fff3e0; color: #d98a17; } .pill.pr { background: #eef; color: #5a4fd6; }

/* ---------- Agenda (calendario recreado) ---------- */
.cal { background: #f6f6fb; color: #2b2b3c; overflow-x: auto; }
.cal-grid { display: grid; grid-template-columns: 42px repeat(6, minmax(84px, 1fr)); min-width: 560px; }
.cal-grid > div { border-right: 1px solid #e9e9f2; border-bottom: 1px solid #f1f1f7; padding: 3px 4px; min-height: 34px; }
.cal-grid .hd { background: #f3f2fd; color: #5a4fd6; font-weight: 700; text-align: center; font-size: .64rem; padding: .5rem 0; border-bottom: 1px solid #e0def5; }
.cal-grid .hr { color: #9a9ab0; text-align: right; font-size: .55rem; padding-top: .5rem; }
.apt { border-radius: 6px; padding: 3px 6px; color: #fff; font-weight: 600; line-height: 1.15; font-size: .58rem; box-shadow: 0 4px 10px -4px rgba(30,20,80,.5); }
.apt.fisio { background: linear-gradient(135deg,#7267EF,#5a4fd6); }
.apt.fono  { background: linear-gradient(135deg,#3ec9a7,#2ba585); }
.apt.to    { background: linear-gradient(135deg,#f0ad4e,#e0942f); }
.apt.psico { background: linear-gradient(135deg,#e84a8a,#c73b73); }
.apt.med   { background: linear-gradient(135deg,#ff6b5e,#e8503f); }
.cal-legend { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-soft); }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Bento / cards ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card:hover { transform: translateY(-4px); border-color: var(--stroke-2); background: var(--surface-2); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1rem;
    background: var(--grad-soft); border: 1px solid var(--stroke); color: var(--coral); }
.card h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: .5rem; letter-spacing: -.01em; }
.card p { color: var(--ink-mut); font-size: .95rem; }
.card.sp-3 { grid-column: span 3; } .card.sp-2 { grid-column: span 2; } .card.sp-6 { grid-column: span 6; } .card.sp-4 { grid-column: span 4; }
.card .beam { position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(114,103,239,.12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover .beam { opacity: 1; }

/* ---------- Problema ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.pain { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); }
.pain .x { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,107,94,.14); color: var(--coral); font-weight: 800; }
.pain h4 { font-size: 1.02rem; margin-bottom: .2rem; }
.pain p { color: var(--ink-mut); font-size: .9rem; }

/* ---------- Módulos (scroll horizontal) ---------- */
.mods-track { display: flex; gap: 1.2rem; padding-bottom: 1rem; }
.mod { flex: 0 0 clamp(260px, 30vw, 340px); background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 1.8rem; }
.mod .tag { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.mod h3 { font-size: 1.35rem; margin: .6rem 0; }
.mod p { color: var(--ink-mut); font-size: .92rem; }
.mod ul { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; }
.mod li { font-size: .86rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: flex-start; }
.mod li::before { content: "✓"; color: #3ec9a7; font-weight: 800; }

/* ---------- Normativa (killer) ---------- */
.norm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.norm { text-align: center; padding: 2rem 1.2rem; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); position: relative; }
.norm .b { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: #3ec9a7; }
.norm h4 { font-size: 1.15rem; margin: .5rem 0; }
.norm p { color: var(--ink-mut); font-size: .85rem; }
.norm .ring { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--stroke); color: var(--violet); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat .num { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 850; line-height: 1; letter-spacing: -.03em; }
.stat .lab { color: var(--ink-mut); font-size: .9rem; margin-top: .5rem; }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
    border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,3rem); background: linear-gradient(160deg, rgba(114,103,239,.10), rgba(232,74,138,.06)); }
.roi label { display: block; font-size: .85rem; color: var(--ink-soft); margin: 1rem 0 .4rem; }
.roi input[type=range] { width: 100%; accent-color: var(--indigo); }
.roi .val { font-weight: 700; color: var(--coral); }
.roi-out { text-align: center; }
.roi-out .big { font-size: clamp(2.6rem,6vw,4rem); font-weight: 850; letter-spacing: -.03em; }
.roi-out .sub { color: var(--ink-mut); }
.roi-out .chip { display: inline-block; margin-top: 1rem; font-size: .8rem; padding: .5rem 1rem; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); padding: clamp(3rem,7vw,6rem) 1.5rem;
    background: radial-gradient(120% 140% at 50% 0%, rgba(232,74,138,.16), transparent 60%), var(--bg-2); position: relative; overflow: hidden; }
.cta-final h2 { font-size: var(--fs-h1); font-weight: 850; letter-spacing: -.02em; }
.cta-final p { color: var(--ink-soft); font-size: var(--fs-lead); margin: 1rem auto 2rem; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--stroke); padding: 4rem 0 2rem; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mut); margin-bottom: 1rem; }
.footer a { display: block; color: var(--ink-soft); text-decoration: none; font-size: .92rem; margin-bottom: .6rem; transition: color .2s; }
.footer a:hover { color: var(--coral); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--stroke); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--ink-mut); font-size: .85rem; }

/* ---------- Sobre-scroll del footer (animación al seguir bajando) ---------- */
.overscroll { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; text-align: center;
    background: radial-gradient(120% 120% at 50% 50%, #12102a, #08060f 70%); opacity: 0; visibility: hidden; }
.overscroll .rocket { font-size: 4rem; }
.overscroll h2 { font-size: var(--fs-h1); font-weight: 850; margin: 1rem 0; }
.overscroll p { color: var(--ink-soft); margin-bottom: 2rem; }
.overscroll .hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); font-size: .8rem; color: var(--ink-mut); }
.confetti-piece { position: fixed; width: 10px; height: 14px; top: -20px; z-index: 210; pointer-events: none; border-radius: 2px; }

/* ---------- CTA flotante adaptativo ---------- */
.floatcta { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; display: flex; align-items: center; gap: .7rem;
    padding: .8rem 1.1rem; border-radius: 100px; background: rgba(13,11,28,.85); backdrop-filter: blur(14px);
    border: 1px solid var(--stroke-2); box-shadow: var(--glow); transform: translateY(140%); transition: transform .5s var(--ease); }
.floatcta.show { transform: translateY(0); }
.floatcta .t { font-size: .85rem; } .floatcta .t b { display: block; }
.floatcta .close { background: none; border: 0; color: var(--ink-mut); cursor: pointer; font-size: 1.1rem; }

/* ---------- Personalización visitante ---------- */
.welcome-back { display: none; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-soft);
    background: var(--grad-soft); border: 1px solid var(--stroke); padding: .4rem .9rem; border-radius: 100px; margin-bottom: 1.4rem; width: max-content; }
.welcome-back.show { display: inline-flex; }

/* ---------- Reveal (IntersectionObserver + CSS) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Entrada del hero (CSS, robusta: no depende de JS) ---------- */
@keyframes vhUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes vhFade { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { animation: vhUp .9s var(--ease) both; }
.hero-copy .welcome-back { animation-delay: .05s; }
.hero-copy .eyebrow { animation-delay: .12s; }
.hero-copy h1 { animation-delay: .2s; }
.hero-copy .lead { animation-delay: .34s; }
.hero-copy .hero-cta { animation-delay: .46s; }
.hero-copy .hero-note { animation-delay: .56s; }
.hero-mock { animation: vhFade 1.1s var(--ease) .35s both; }

/* ---------- Formulario multipaso ---------- */
.form-card { max-width: 620px; margin-inline: auto; background: var(--surface); border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.6rem); }
.steps-bar { display: flex; gap: .5rem; margin-bottom: 1.8rem; }
.steps-bar span { flex: 1; height: 5px; border-radius: 100px; background: var(--stroke); overflow: hidden; }
.steps-bar span.done { background: var(--grad); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--stroke-2);
    background: rgba(255,255,255,.03); color: var(--ink); font-family: inherit; font-size: .95rem; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); }
.field select option { background: var(--bg-2); }
.step { display: none; } .step.active { display: block; }
.form-nav { display: flex; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; }
.autosave { font-size: .78rem; color: var(--ink-mut); text-align: center; margin-top: 1rem; }

/* ---------- Cotizador ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.qmod { border: 1px solid var(--stroke); border-radius: 14px; padding: 1.1rem; cursor: pointer; background: var(--surface); transition: all .25s; user-select: none; }
.qmod.on { border-color: var(--indigo); background: var(--grad-soft); }
.qmod .k { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.qmod .k .chk { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--stroke-2); display: grid; place-items: center; font-size: .7rem; }
.qmod.on .k .chk { background: var(--grad); border-color: transparent; color: #fff; }
.qmod small { color: var(--ink-mut); font-size: .78rem; }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; align-items: start; }
.plan { border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 2rem; background: var(--surface); position: relative; }
.plan.pop { border-color: transparent; background: linear-gradient(180deg, rgba(114,103,239,.14), rgba(232,74,138,.06)); box-shadow: var(--glow); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 800; padding: .3rem .9rem; border-radius: 100px; background: var(--grad); color: #fff; }
.plan h3 { font-size: 1.3rem; } .plan .price { font-size: 2.4rem; font-weight: 850; margin: .6rem 0; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--ink-mut); }
.plan ul { list-style: none; margin: 1.2rem 0; display: grid; gap: .6rem; }
.plan li { font-size: .9rem; color: var(--ink-soft); display: flex; gap: .5rem; } .plan li::before { content: "✓"; color: #3ec9a7; font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-mock { transform: none; margin-top: 1rem; }
    .nav-links { display: none; }
    .burger { display: block; }
    .bento { grid-template-columns: repeat(2,1fr); }
    .card.sp-3,.card.sp-2,.card.sp-6,.card.sp-4 { grid-column: span 2; }
    .roi, .foot-grid, .plans, .quote-grid, .norm-grid, .stats, .pain-grid { grid-template-columns: 1fr; }
    .norm-grid, .stats { grid-template-columns: repeat(2,1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .alerts { grid-template-columns: 1fr; }
    .norm-grid, .stats, .foot-grid { grid-template-columns: 1fr; }
    .app { grid-template-columns: 1fr; } .app-side { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .blob { display: none; }
    * { animation: none !important; }
}

/* ---------- Variantes de fondo por sección (rompe la monotonía) ---------- */
.section--panel { background: linear-gradient(180deg, #100e24, #0b0918); border-block: 1px solid var(--stroke); }
.section--tint { background: radial-gradient(120% 90% at 50% 0%, rgba(114,103,239,.10), transparent 55%); }
.section--warm { background: radial-gradient(120% 90% at 50% 100%, rgba(232,74,138,.09), transparent 55%); }
.section--panel .card, .section--panel .aud, .section--panel .norm, .section--panel .pain { background: rgba(255,255,255,.03); }

/* ---------- Logo real ---------- */
.brand-logo-icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.brand-logo { height: 30px; width: auto; display: block; }
.nav.scrolled .brand-logo { height: 27px; }
@media (max-width:560px){ .brand-logo { height: 25px; } }

/* ---------- Destello del cursor (spotlight profesional) ---------- */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%;
    pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(232,74,138,.10), rgba(114,103,239,.07) 40%, transparent 62%);
    mix-blend-mode: screen; opacity: 0; transition: opacity .4s; will-change: transform;
}
.cursor-dot {
    position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%;
    pointer-events: none; z-index: 95; transform: translate(-50%, -50%);
    background: #fff; box-shadow: 0 0 12px 2px rgba(232,74,138,.8); opacity: 0; transition: opacity .3s, width .2s, height .2s;
}
.cursor-dot.hot { width: 34px; height: 34px; background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }

/* ---------- Certificado MinSalud ---------- */
.cert {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
    border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem;
    background: linear-gradient(120deg, rgba(62,201,167,.10), rgba(114,103,239,.08));
    text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s;
}
.cert:hover { transform: translateY(-3px); border-color: rgba(62,201,167,.5); }
.cert .seal { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem;
    background: radial-gradient(circle, rgba(62,201,167,.25), transparent 70%); border: 1px solid rgba(62,201,167,.4); }
.cert .b { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #3ec9a7; text-transform: uppercase; }
.cert h4 { font-size: 1.1rem; margin: .2rem 0; }
.cert p { color: var(--ink-mut); font-size: .86rem; }
.cert .go { font-size: .82rem; color: var(--coral); font-weight: 600; white-space: nowrap; }
@media (max-width:640px){ .cert { grid-template-columns: 1fr; text-align: center; } .cert .seal { margin: 0 auto; } }

/* ---------- Clientes (marquee) ---------- */
.clients { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-row { display: flex; gap: 1rem; width: max-content; animation: marquee 42s linear infinite; }
.clients:hover .clients-row { animation-play-state: paused; }
.client-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
    padding: .8rem 1.3rem; border: 1px solid var(--stroke); border-radius: 14px; background: var(--surface); white-space: nowrap; }
.client-chip .h { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Audiencia ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.aud { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); }
.aud .e { font-size: 2rem; } .aud h4 { font-size: 1rem; margin: .5rem 0 .2rem; } .aud p { color: var(--ink-mut); font-size: .82rem; }
@media (max-width:760px){ .aud-grid { grid-template-columns: repeat(2,1fr); } }

/* Nav móvil */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(8,6,15,.96); backdrop-filter: blur(20px); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); font-size: 1.4rem; text-decoration: none; font-weight: 600; }
