/* ============================================================================
   Landing pública — mielinotes.com raíz "/"   ·   REDISEÑO premium/minimal
   ----------------------------------------------------------------------------
   Lenguaje visual: SaaS premium moderno (referencias Linear / Stripe / Vercel).
   Sans-serif (Inter) de punta a punta, jerarquía tipográfica fuerte, mucho aire,
   base neutra (blancos + gris muy claro + casi-negro) con teal (#199c82) usado
   con intención como acento. Ritmo por contraste de fondos: blanco / gris /
   BLOQUE TEAL OSCURO de impacto (seguridad) / blanco. Detalles precisos:
   hairlines, radios suaves, sombras discretas. Nada recargado.

   Página standalone: NO carga el shell admin (app.css). Se sirve vía @cssAsset
   con cache-bust por mtime (media queries CRUDAS, NO pasa por el build PostCSS)
   — mismo criterio que /seguridad-y-privacidad. Namespace `lp-`.

   Animaciones: aparición al scroll (fade + translateY) con stagger, activadas
   por IntersectionObserver (clase .is-in). 100% transform/opacity (GPU, sin
   reflow). Respetan prefers-reduced-motion. Responsive impecable: sin overflow
   horizontal en ningún ancho.
   ============================================================================ */

:root {
    /* Acento teal (anclado — no depende del branding global que podría ser azul). */
    --lp-primary:      #199c82;
    --lp-primary-600:  #15866f;
    --lp-primary-700:  #10715d;
    --lp-primary-050:  #ecf7f3;
    --lp-primary-100:  #d6efe7;
    --lp-primary-rgb:  25, 156, 130;

    /* Neutrales (base mayormente neutra, casi-negro para texto). */
    --lp-ink:     #0b1512;   /* títulos / texto fuerte */
    --lp-ink-2:   #3d4a46;   /* cuerpo */
    --lp-muted:   #667571;   /* secundario */
    --lp-faint:   #8a9591;   /* terciario */
    --lp-line:    #e9eeec;   /* hairline */
    --lp-line-2:  #dde4e1;
    --lp-bg:      #ffffff;
    --lp-bg-alt:  #f6f8f7;   /* gris muy claro con matiz teal */
    --lp-card:    #ffffff;

    /* Bloque oscuro de impacto (seguridad + footer). */
    --lp-dark:     #08201b;
    --lp-dark-2:   #0c3529;
    --lp-dark-ink: #eaf3f0;

    /* Forma. */
    --lp-r-sm:  10px;
    --lp-r:     14px;
    --lp-r-lg:  20px;
    --lp-r-xl:  26px;
    --lp-pill:  999px;

    /* Elevación (discreta, premium). */
    --lp-sh-xs: 0 1px 2px rgba(11, 21, 18, .05);
    --lp-sh-sm: 0 2px 6px rgba(11, 21, 18, .05), 0 1px 2px rgba(11, 21, 18, .04);
    --lp-sh-md: 0 12px 30px -12px rgba(11, 32, 27, .16), 0 3px 8px -4px rgba(11, 21, 18, .06);
    --lp-sh-lg: 0 40px 80px -28px rgba(9, 40, 33, .30), 0 12px 28px -14px rgba(11, 21, 18, .12);

    --lp-maxw: 1200px;

    /* Tipografía — Inter, sans moderna, con carácter. */
    --lp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Escala fluida (jerarquía fuerte). */
    --lp-fs-eyebrow: 0.78rem;
    --lp-fs-sm:   clamp(0.85rem, 0.82rem + 0.14vw, 0.92rem);
    --lp-fs-base: clamp(0.98rem, 0.95rem + 0.16vw, 1.05rem);
    --lp-fs-lead: clamp(1.08rem, 1.01rem + 0.40vw, 1.3rem);
    --lp-fs-h3:   clamp(1.12rem, 1.05rem + 0.34vw, 1.32rem);
    --lp-fs-h2:   clamp(1.85rem, 1.35rem + 1.9vw, 3.0rem);
    --lp-fs-h1:   clamp(2.4rem, 1.55rem + 3.4vw, 4.5rem);
}

/* ─── Reset acotado ────────────────────────────────────────────────────── */
.lp-page *, .lp-page *::before, .lp-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

.lp-page {
    margin: 0;
    font-family: var(--lp-font);
    color: var(--lp-ink);
    background: var(--lp-bg);
    line-height: 1.6;
    font-size: var(--lp-fs-base);
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;                 /* red de seguridad anti-overflow */
    scroll-behavior: smooth;
}

.lp-page img { max-width: 100%; display: block; }
.lp-page svg { display: block; }
/* Los botones (.lp-btn) son <a>; se excluyen del color de enlace para que
   cada variante mande su propio `color` (y el SVG `currentColor`) sin que este
   reset —de mayor especificidad (0,1,1)— los pinte de teal. */
.lp-page a:not(.lp-btn) { color: var(--lp-primary-700); text-decoration: none; }
.lp-btn { text-decoration: none; }

.lp-container {
    width: 100%;
    max-width: var(--lp-maxw);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 48px);
}

/* Skip-link accesible. */
.lp-skip {
    position: absolute; left: 12px; top: -60px; z-index: 120;
    background: var(--lp-ink); color: #fff; padding: 10px 16px;
    border-radius: var(--lp-r-sm); font-weight: 600; transition: top 160ms ease;
}
.lp-skip:focus { top: 12px; }

/* ─── Botones ──────────────────────────────────────────────────────────── */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--lp-font); font-size: var(--lp-fs-sm); font-weight: 600;
    line-height: 1; letter-spacing: -.01em;
    padding: 11px 18px; border-radius: var(--lp-pill);
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.lp-btn svg { width: 16px; height: 16px; flex: none; }
.lp-btn--teal { background: var(--lp-primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(var(--lp-primary-rgb), .55); }
.lp-btn--teal:hover { background: var(--lp-primary-600); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(var(--lp-primary-rgb), .55); }
.lp-btn--ghost { background: transparent; color: var(--lp-ink); border-color: var(--lp-line-2); }
.lp-btn--ghost:hover { border-color: var(--lp-ink); transform: translateY(-1px); }
.lp-btn--ondark { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.22); }
.lp-btn--ondark:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.lp-btn--white { background: #fff; color: var(--lp-ink); }
.lp-btn--white:hover { background: #f2f5f4; transform: translateY(-1px); box-shadow: var(--lp-sh-md); }
.lp-btn--lg { padding: 14px 24px; font-size: var(--lp-fs-base); }

/* ─── Header sticky (blur al hacer scroll — tipo Stripe) ───────────────── */
.lp-header {
    position: sticky; top: 0; z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.lp-header.is-scrolled {
    background: rgba(255, 255, 255, .78);
    border-bottom-color: var(--lp-line);
    backdrop-filter: saturate(1.5) blur(12px);
    -webkit-backdrop-filter: saturate(1.5) blur(12px);
}
.lp-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 68px; padding-block: 12px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink); font-weight: 700; letter-spacing: -.02em; min-width: 0; }
/* Tile del logo — MISMO tratamiento que la portada /demo (demo/landing.blade):
   fondo teal en gradiente + object-fit:cover, para que el logo (con su propio
   fondo blanco) llene la baldosa de borde a borde y NO quede el recuadro negro
   con letterbox del `contain`. Paridad exacta con la demo. */
.lp-brand__logo {
    width: 38px; height: 38px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: 11px; overflow: hidden; color: #fff;
    background: linear-gradient(140deg, var(--lp-primary), #0f7a65);
    box-shadow: 0 8px 20px rgba(var(--lp-primary-rgb), .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.lp-brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.lp-brand__logo svg { width: 20px; height: 20px; }
.lp-brand__name { font-size: 1.16rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-header__actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }

/* ─── Sección genérica + ritmo de fondos ───────────────────────────────── */
.lp-section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-section--tight { padding-block: clamp(48px, 6vw, 88px); }

.lp-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.lp-head--left { margin-inline: 0; text-align: left; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: var(--lp-fs-eyebrow); font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--lp-primary-700);
    padding: 5px 11px; border: 1px solid var(--lp-primary-100);
    background: var(--lp-primary-050); border-radius: var(--lp-pill);
    margin-bottom: 20px;
}
.lp-eyebrow svg { width: 14px; height: 14px; }
.lp-h2 { font-size: var(--lp-fs-h2); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--lp-ink); }
.lp-head__intro { margin-top: 18px; font-size: var(--lp-fs-lead); color: var(--lp-muted); line-height: 1.55; }

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */
.lp-hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
/* Fondo abstracto teal minimal (grid sutil + halo) */
.lp-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lp-hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 42% at 50% -6%, rgba(var(--lp-primary-rgb), .13), transparent 70%);
}
.lp-hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image:
        linear-gradient(to right, rgba(11,21,18,.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,21,18,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 30%, transparent 78%);
            mask-image: radial-gradient(70% 55% at 50% 20%, #000 30%, transparent 78%);
}
.lp-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin-inline: auto; }
.lp-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--lp-fs-sm); font-weight: 500; color: var(--lp-ink-2);
    padding: 6px 14px 6px 8px; border: 1px solid var(--lp-line-2);
    background: #fff; border-radius: var(--lp-pill); box-shadow: var(--lp-sh-xs);
    margin-bottom: 26px;
}
.lp-hero__badge b { display: inline-flex; align-items: center; gap: 5px; color: var(--lp-primary-700); font-weight: 600; }
.lp-hero__badge b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-primary); box-shadow: 0 0 0 3px rgba(var(--lp-primary-rgb), .18); }
.lp-hero__title { font-size: var(--lp-fs-h1); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: var(--lp-ink); }
.lp-hero__title span { color: var(--lp-primary); }
.lp-hero__sub { margin: 24px auto 0; max-width: 620px; font-size: var(--lp-fs-lead); color: var(--lp-ink-2); line-height: 1.55; }
.lp-hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-hero__note { margin-top: 18px; font-size: var(--lp-fs-sm); color: var(--lp-faint); }

/* Mock de producto (app window abstracto, 100% CSS) */
.lp-mock {
    position: relative; z-index: 1;
    max-width: 960px; margin: clamp(44px, 6vw, 72px) auto 0;
    background: #fff; border: 1px solid var(--lp-line-2);
    border-radius: var(--lp-r-xl); box-shadow: var(--lp-sh-lg);
    overflow: hidden;
}
.lp-mock__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--lp-line); background: #fbfcfc; }
.lp-mock__dots { display: inline-flex; gap: 6px; }
.lp-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-line-2); }
.lp-mock__url { margin-left: 8px; flex: 1; height: 24px; max-width: 320px; border-radius: var(--lp-pill); background: #f1f4f3; display: inline-flex; align-items: center; padding: 0 12px; gap: 7px; font-size: .72rem; color: var(--lp-faint); }
.lp-mock__url svg { width: 12px; height: 12px; color: var(--lp-primary); }
.lp-mock__body { display: grid; grid-template-columns: 190px 1fr; min-height: 300px; }
.lp-mock__side { border-right: 1px solid var(--lp-line); padding: 16px 14px; background: #fbfcfc; display: flex; flex-direction: column; gap: 6px; }
.lp-mock__navitem { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--lp-r-sm); font-size: .8rem; color: var(--lp-muted); }
.lp-mock__navitem span { width: 15px; height: 15px; border-radius: 4px; background: var(--lp-line-2); flex: none; }
.lp-mock__navitem.is-on { background: var(--lp-primary-050); color: var(--lp-primary-700); font-weight: 600; }
.lp-mock__navitem.is-on span { background: var(--lp-primary); }
.lp-mock__main { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lp-mock__toph { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-mock__toph b { font-size: .95rem; color: var(--lp-ink); font-weight: 700; letter-spacing: -.01em; }
.lp-mock__chip { font-size: .68rem; font-weight: 600; color: var(--lp-primary-700); background: var(--lp-primary-050); border: 1px solid var(--lp-primary-100); padding: 4px 9px; border-radius: var(--lp-pill); }
.lp-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-mock__stat { border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 12px 13px; }
.lp-mock__stat i { display: block; width: 34px; height: 6px; border-radius: 3px; background: var(--lp-line-2); margin-bottom: 9px; }
.lp-mock__stat b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); }
.lp-mock__stat b.t { color: var(--lp-primary); }
.lp-mock__rows { display: flex; flex-direction: column; gap: 9px; }
.lp-mock__row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: var(--lp-r); }
.lp-mock__av { width: 26px; height: 26px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--lp-primary-100), var(--lp-primary)); }
.lp-mock__ln { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lp-mock__ln i { height: 7px; border-radius: 4px; background: var(--lp-line-2); }
.lp-mock__ln i:first-child { width: 45%; background: #cdd6d2; }
.lp-mock__ln i:last-child { width: 72%; }
.lp-mock__pill { width: 46px; height: 20px; border-radius: var(--lp-pill); background: var(--lp-primary-050); flex: none; }

/* ═══ AUDIENCIAS (qué es / para quién) ═══════════════════════════════════ */
.lp-aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.lp-aud__card { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); padding: clamp(24px, 3vw, 32px); transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease; }
.lp-aud__card:hover { transform: translateY(-4px); box-shadow: var(--lp-sh-md); border-color: var(--lp-line-2); }
.lp-aud__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--lp-primary-050); color: var(--lp-primary-700); margin-bottom: 18px; }
.lp-aud__ic svg { width: 25px; height: 25px; }
.lp-aud__card h3 { font-size: var(--lp-fs-h3); font-weight: 700; letter-spacing: -.02em; color: var(--lp-ink); margin-bottom: 8px; }
.lp-aud__card p { font-size: var(--lp-fs-sm); color: var(--lp-muted); line-height: 1.6; }

/* ═══ BENEFICIOS PARA CLÍNICAS (filas de impacto) ═══════════════════════ */
.lp-benes { display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 22px); }
.lp-bene {
    display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: clamp(16px, 3vw, 32px);
    background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg);
    padding: clamp(22px, 3vw, 30px) clamp(22px, 3.5vw, 38px);
    transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease;
}
.lp-bene:hover { transform: translateY(-3px); box-shadow: var(--lp-sh-md); border-color: var(--lp-primary-100); }
.lp-bene__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(140deg, var(--lp-primary-050), #fff); border: 1px solid var(--lp-primary-100); color: var(--lp-primary-700); }
.lp-bene__ic svg { width: 30px; height: 30px; }
.lp-bene__tx h3 { font-size: var(--lp-fs-h3); font-weight: 700; letter-spacing: -.02em; color: var(--lp-ink); margin-bottom: 5px; }
.lp-bene__tx p { font-size: var(--lp-fs-base); color: var(--lp-ink-2); line-height: 1.55; }
.lp-bene__n { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--lp-line-2); line-height: 1; }

/* ═══ FUNCIONALIDADES (grid) ════════════════════════════════════════════ */
.lp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.lp-feat {
    background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r);
    padding: 22px 20px;
    transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease, border-color .2s ease;
}
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--lp-sh-md); border-color: var(--lp-primary-100); }
.lp-feat__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--lp-bg-alt); color: var(--lp-primary-700); margin-bottom: 15px; border: 1px solid var(--lp-line); }
.lp-feat__ic svg { width: 21px; height: 21px; }
.lp-feat h3 { font-size: 0.98rem; font-weight: 700; letter-spacing: -.01em; color: var(--lp-ink); margin-bottom: 5px; }
.lp-feat p { font-size: var(--lp-fs-sm); color: var(--lp-muted); line-height: 1.5; }

/* ═══ SEGURIDAD (bloque oscuro de impacto) ══════════════════════════════ */
.lp-sec-wrap { padding-block: clamp(56px, 7vw, 104px); }
.lp-sec {
    position: relative; overflow: hidden;
    border-radius: var(--lp-r-xl);
    background:
        radial-gradient(90% 80% at 88% -10%, rgba(var(--lp-primary-rgb), .28), transparent 60%),
        linear-gradient(160deg, var(--lp-dark) 0%, var(--lp-dark-2) 100%);
    color: var(--lp-dark-ink);
    padding: clamp(34px, 5vw, 68px);
    box-shadow: var(--lp-sh-lg);
}
.lp-sec::before { /* grid sutil sobre el bloque */
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(80% 80% at 80% 0%, #000, transparent 75%);
            mask-image: radial-gradient(80% 80% at 80% 0%, #000, transparent 75%);
}
.lp-sec__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.lp-sec__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--lp-fs-eyebrow); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9fe6d3; margin-bottom: 18px; }
.lp-sec__eyebrow svg { width: 15px; height: 15px; }
.lp-sec h2 { font-size: var(--lp-fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: #fff; margin-bottom: 16px; }
.lp-sec__lead { color: rgba(255,255,255,.82); font-size: var(--lp-fs-lead); line-height: 1.55; margin-bottom: 26px; }
.lp-sec__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-sec__item { display: flex; gap: 11px; align-items: flex-start; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: var(--lp-r); padding: 14px 15px; }
.lp-sec__item svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #6fddc2; }
.lp-sec__item b { display: block; color: #fff; font-size: .92rem; font-weight: 600; margin-bottom: 2px; letter-spacing: -.01em; }
.lp-sec__item span { font-size: .82rem; color: rgba(255,255,255,.72); line-height: 1.45; }

/* ═══ CTA FINAL + contacto ═════════════════════════════════════════════ */
.lp-cta { text-align: center; max-width: 760px; margin-inline: auto; }
.lp-cta h2 { font-size: var(--lp-fs-h2); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; color: var(--lp-ink); }
.lp-cta p { margin: 18px auto 0; max-width: 540px; font-size: var(--lp-fs-lead); color: var(--lp-muted); line-height: 1.55; }
.lp-cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-cta__contact { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--lp-line); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.lp-cta__item { display: inline-flex; align-items: center; gap: 9px; font-size: var(--lp-fs-sm); color: var(--lp-ink-2); }
.lp-cta__item svg { width: 17px; height: 17px; color: var(--lp-primary-700); flex: none; }
.lp-cta__item b { color: var(--lp-ink); font-weight: 600; }
.lp-cta__item a { color: var(--lp-primary-700); font-weight: 600; }

/* ═══ FOOTER (oscuro) ═══════════════════════════════════════════════════ */
.lp-footer { background: var(--lp-dark); color: rgba(255,255,255,.72); padding-block: clamp(44px, 6vw, 68px); }
.lp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.lp-footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.lp-footer__brand .lp-brand__name { color: #fff; }
.lp-footer__tag { font-size: var(--lp-fs-sm); color: rgba(255,255,255,.58); max-width: 320px; line-height: 1.6; }
.lp-footer h4 { color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; }
.lp-footer ul { list-style: none; display: grid; gap: 11px; }
.lp-footer li, .lp-page .lp-footer__col a { color: rgba(255,255,255,.72); font-size: var(--lp-fs-sm); }
.lp-footer__col a { display: inline-flex; align-items: center; gap: 8px; transition: color .16s ease; }
.lp-footer__col a:hover { color: #fff; }
.lp-footer__col svg { width: 15px; height: 15px; color: #6fddc2; flex: none; }
.lp-footer__bottom { margin-top: clamp(30px, 4vw, 44px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: var(--lp-fs-sm); color: rgba(255,255,255,.5); }

/* ═══ ANIMACIONES AL SCROLL (IntersectionObserver → .is-in) ═════════════ */
.lp-anim { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 65ms); will-change: opacity, transform; }
.lp-anim.is-in { opacity: 1; transform: none; }
/* Fallback si el JS no corre: mostrar todo tras cargar (evita contenido invisible). */
.lp-page.no-js .lp-anim { opacity: 1; transform: none; }

/* Stagger por posición — vive en CSS (cero estilos inline en el Blade). */
.lp-hero__inner > .lp-anim:nth-child(2) { --i: 1; }
.lp-hero__inner > .lp-anim:nth-child(3) { --i: 2; }
.lp-hero__inner > .lp-anim:nth-child(4) { --i: 3; }
.lp-hero__inner > .lp-anim:nth-child(5) { --i: 4; }
.lp-hero .lp-mock { --i: 5; }
.lp-head > .lp-anim:nth-child(2),
.lp-aud  > .lp-anim:nth-child(2),
.lp-benes > .lp-anim:nth-child(2),
.lp-cta  > .lp-anim:nth-child(2) { --i: 1; }
.lp-head > .lp-anim:nth-child(3),
.lp-aud  > .lp-anim:nth-child(3),
.lp-benes > .lp-anim:nth-child(3),
.lp-cta  > .lp-anim:nth-child(3) { --i: 2; }
.lp-cta  > .lp-anim:nth-child(4) { --i: 3; }
.lp-feats > .lp-anim:nth-child(4n+2) { --i: 1; }
.lp-feats > .lp-anim:nth-child(4n+3) { --i: 2; }
.lp-feats > .lp-anim:nth-child(4n+4) { --i: 3; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* Laptop / tablet grande */
@media (max-width: 1080px) {
    .lp-feats { grid-template-columns: repeat(3, 1fr); }
    .lp-sec__grid { grid-template-columns: 1fr; }
    .lp-sec__list { grid-template-columns: 1fr 1fr; }
}

/* Tablet */
@media (max-width: 860px) {
    .lp-aud { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .lp-bene { grid-template-columns: 56px 1fr; }
    .lp-bene__n { display: none; }
    .lp-footer__grid { grid-template-columns: 1fr 1fr; }
    .lp-footer__brand-col { grid-column: 1 / -1; }
    .lp-mock__body { grid-template-columns: 1fr; }
    .lp-mock__side { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--lp-line); gap: 8px; }
    .lp-mock__navitem { white-space: nowrap; }
    .lp-mock__navitem:nth-child(n+4) { display: none; }
}

/* Móvil grande / tablet chica */
@media (max-width: 640px) {
    .lp-feats { grid-template-columns: repeat(2, 1fr); }
    .lp-sec__list { grid-template-columns: 1fr; }
    .lp-header__demo { display: none; }          /* la demo baja al hero */
    .lp-hero__cta .lp-btn, .lp-cta__actions .lp-btn { flex: 1 1 auto; }
    .lp-mock__stats { grid-template-columns: 1fr; }
    .lp-mock__stat { display: flex; align-items: center; gap: 12px; }
    .lp-mock__stat i { margin-bottom: 0; }
}

/* Móvil */
@media (max-width: 440px) {
    .lp-feats { grid-template-columns: 1fr; }
    .lp-footer__grid { grid-template-columns: 1fr; }
    .lp-brand__name { font-size: 1.05rem; }
    .lp-header__inner { min-height: 60px; }
    .lp-cta__contact { flex-direction: column; align-items: center; }
    .lp-footer__bottom { justify-content: center; text-align: center; }
    .lp-mock__toph b { font-size: .88rem; }
}

/* Landscape móvil corto: reduce el respiro vertical del hero */
@media (max-height: 480px) and (orientation: landscape) {
    .lp-hero { padding-top: 40px; }
    .lp-mock { display: none; }                   /* prioriza el mensaje en landscape corto */
}

/* Reduce motion: sin animaciones de entrada ni hover-lift */
@media (prefers-reduced-motion: reduce) {
    .lp-page { scroll-behavior: auto; }
    .lp-anim { opacity: 1 !important; transform: none !important; transition: none !important; }
    .lp-page *, .lp-page *::before, .lp-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE DE WHATSAPP  ·  contacto directo
   ----------------------------------------------------------------------------
   Docked abajo-derecha. Círculo con el glifo de WhatsApp (verde de marca, acción
   reconocible al instante). Anillo de pulso discreto para llamar la atención sin
   molestar. Al hover/focus (desktop) despliega una etiqueta que crece hacia la
   IZQUIERDA — el borde derecho queda anclado por `right`, así nunca desborda el
   viewport. En móvil se mantiene como círculo compacto. Accesible: aria-label,
   focus-visible, respeta prefers-reduced-motion, safe-area en iOS.
   ════════════════════════════════════════════════════════════════════════ */
.lp-wa {
    position: fixed;
    right: clamp(16px, 3.2vw, 28px);
    bottom: clamp(16px, 3.2vw, 28px);
    bottom: calc(clamp(16px, 3.2vw, 28px) + env(safe-area-inset-bottom, 0px));
    z-index: 95;

    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    border-radius: var(--lp-pill);
    background: linear-gradient(145deg, #25d366 0%, #1aae57 100%);
    box-shadow:
        0 10px 26px -6px rgba(18, 140, 90, .55),
        0 4px 10px -3px rgba(11, 21, 18, .22),
        inset 0 1px 0 rgba(255, 255, 255, .28);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    animation: lp-wa-in .55s cubic-bezier(.22, 1, .36, 1) .8s both;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background .28s ease;
}

.lp-wa:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #2ee06e 0%, #1bb85c 100%);
    box-shadow:
        0 16px 34px -8px rgba(18, 140, 90, .6),
        0 6px 14px -4px rgba(11, 21, 18, .26),
        inset 0 1px 0 rgba(255, 255, 255, .3);
}
.lp-wa:active { transform: translateY(-1px) scale(.98); }

.lp-wa:focus-visible {
    outline: 3px solid var(--lp-primary);
    outline-offset: 3px;
}

/* Caja del icono — cuadrada y fija: define el punto de anclaje derecho */
.lp-wa__ic {
    position: relative;
    width: 58px;
    height: 58px;
    flex: none;
    display: grid;
    place-items: center;
}
.lp-wa__ic svg {
    position: relative;
    z-index: 1;
    width: 33px;
    height: 33px;
    filter: drop-shadow(0 1px 1.5px rgba(9, 66, 44, .35));
}

/* Etiqueta — colapsada a 0 (círculo puro); se despliega al hover/focus */
.lp-wa__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: -.01em;
    padding: 0;
    transition: max-width .38s cubic-bezier(.22, 1, .36, 1), opacity .26s ease, padding .38s cubic-bezier(.22, 1, .36, 1);
}
.lp-wa:hover .lp-wa__label,
.lp-wa:focus-visible .lp-wa__label {
    max-width: 200px;
    opacity: 1;
    padding: 0 2px 0 22px;
}

/* Anillo de pulso — halo que EMANA hacia afuera (centro transparente vía
   box-shadow, no un disco relleno): el glifo queda siempre limpio y nítido. */
.lp-wa__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: lp-wa-pulse 2.4s cubic-bezier(.66, 0, 0, 1) infinite;
}

@keyframes lp-wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes lp-wa-in {
    from { transform: translateY(18px) scale(.5); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

/* Móvil: círculo algo más compacto (sin hover, la etiqueta no aparece) */
@media (max-width: 640px) {
    .lp-wa__ic { width: 55px; height: 55px; }
    .lp-wa__ic svg { width: 31px; height: 31px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-wa { animation: none; }
    .lp-wa__ring { animation: none; opacity: 0; }
}
