/* ══════════════════════════════════════════════════════════════════════════
   iMarket PRO — Landing Page · Diseño editorial claro/oscuro
   Sistema de temas sincronizado con el panel: data-bs-theme + localStorage
   (clave 'darkMode'). Modo claro por defecto.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Paleta · Esmeralda Cyber · Tema Claro ──────────────────────────── */
:root {
    /* Fondo y superficie */
    --lp-bg: #f2f7f4;
    --lp-bg-alt: #e9f1ec;
    --lp-surface: #ffffff;
    --lp-surface-2: #fdfcf9;
    --lp-glass: rgba(255, 255, 255, 0.75);
    --lp-scrim: rgba(10, 10, 16, 0.48);

    /* Texto */
    --lp-text: #17161d;
    --lp-text-soft: #4b4a55;
    --lp-muted: #6f6e7a;
    --lp-heading: #131220;

    /* Acentos — Esmeralda Tech (brand 600/700) + Azul Eléctrico */
    --lp-primary: #047857;            /* acento de texto/eyebrow/enlaces (AA 5.5:1) */
    --lp-primary-soft: #10b981;       /* neón — uso decorativo (scrollbar) */
    --lp-primary-solid: #047857;      /* relleno que soporta texto blanco (AA 5.5:1) */
    --lp-primary-solid-2: #065f46;    /* extremo oscuro del gradiente (AA 7.6:1) */
    --lp-primary-surface: #e7f6ef;    /* contenedor tintado (planes featured) */
    --lp-accent: #2563eb;             /* azul eléctrico — checks, trust, footer */
    --lp-accent-surface: #e8f0fd;     /* contenedor tintado (íconos value) */

    /* Texto sobre relleno sólido (CTA, botones, badges — theme-independiente) */
    --lp-on-primary: #ffffff;
    --lp-on-primary-soft: rgba(255, 255, 255, 0.88);
    --lp-on-primary-muted: rgba(255, 255, 255, 0.72);
    --lp-on-primary-glass: rgba(255, 255, 255, 0.10);
    --lp-on-primary-glass-border: rgba(255, 255, 255, 0.30);
    --lp-on-primary-glass-focus: rgba(255, 255, 255, 0.20);
    --lp-on-primary-ring: rgba(255, 255, 255, 0.22);
    --lp-inverse-surface: #ffffff;    /* botón blanco sobre CTA */

    /* Líneas y sombras */
    --lp-border: rgba(23, 22, 29, 0.10);
    --lp-border-soft: rgba(23, 22, 29, 0.06);
    --lp-glow: rgba(16, 185, 129, 0.14);
    --lp-shadow: 0 1px 2px rgba(23, 22, 29, 0.05), 0 8px 28px rgba(23, 22, 29, 0.06);
    --lp-shadow-lg: 0 4px 12px rgba(23, 22, 29, 0.06), 0 24px 64px rgba(23, 22, 29, 0.10);
    --lp-shadow-btn: 0 0 24px var(--lp-glow), 0 4px 12px rgba(0, 0, 0, 0.18);
    --lp-shadow-btn-lg: 0 0 34px var(--lp-glow), 0 8px 20px rgba(0, 0, 0, 0.22);
    --lp-shadow-white: 0 8px 26px rgba(0, 0, 0, 0.28);
    --lp-shadow-white-lg: 0 12px 32px rgba(0, 0, 0, 0.34);

    /* Gradientes hero (Esmeralda Cyber claro) */
    --lp-hero-a: rgba(16, 185, 129, 0.14);
    --lp-hero-b: rgba(6, 182, 212, 0.10);
    --lp-hero-c: rgba(163, 230, 53, 0.08);

    /* Texturas CTA (siempre sobre relleno sólido esmeralda) */
    --lp-cta-shine-a: rgba(255, 255, 255, 0.14);
    --lp-cta-shine-b: rgba(255, 255, 255, 0.10);

    --lp-font-display: 'Prata', 'Georgia', serif;
    --lp-font-sans: 'Manrope', 'Inter', 'system-ui', sans-serif;
}

/* ── Paleta · Esmeralda Cyber · Tema Oscuro (carbón verdoso + neón) ── */
[data-bs-theme="dark"] {
    --lp-bg: #081210;
    --lp-bg-alt: #0d1713;
    --lp-surface: #101d17;
    --lp-surface-2: #0d1712;
    --lp-glass: rgba(16, 29, 23, 0.72);

    --lp-text: #f2f1f5;
    --lp-text-soft: #b9b7c4;
    --lp-muted: #8e8b9c;
    --lp-heading: #ffffff;

    /* En oscuro el neón #34d399 es SOLO acento de texto sobre fondo oscuro
       (AA 10:1); los rellenos sólidos heredan de :root (#047857, AA 5.5:1) */
    --lp-primary: #34d399;
    --lp-primary-soft: #6ee7b7;
    --lp-primary-surface: color-mix(in srgb, var(--lp-primary) 14%, var(--lp-surface));
    --lp-accent: #60a5fa;
    --lp-accent-surface: color-mix(in srgb, var(--lp-accent) 16%, var(--lp-surface));

    --lp-border: rgba(244, 248, 246, 0.12);
    --lp-border-soft: rgba(244, 248, 246, 0.06);
    --lp-glow: rgba(52, 211, 153, 0.18);
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.25);
    --lp-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(0, 0, 0, 0.45);

    --lp-hero-a: rgba(16, 185, 129, 0.16);
    --lp-hero-b: rgba(6, 182, 212, 0.09);
    --lp-hero-c: rgba(163, 230, 53, 0.10);
}

/* ══════════════════════════════════════════════════════════════════════════
   Base
   ══════════════════════════════════════════════════════════════════════════ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--lp-font-sans);
    background: var(--lp-bg);
    color: var(--lp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

svg.lp-ic {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.lp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.lp-display {
    font-family: var(--lp-font-display);
    font-weight: normal;
}

/* ══════════════════════════════════════════════════════════════════════════
   Botones
   ══════════════════════════════════════════════════════════════════════════ */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--lp-font-sans);
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.lp-btn--primary {
    background: linear-gradient(135deg, var(--lp-primary-solid), var(--lp-primary-solid-2));
    color: var(--lp-on-primary);
    box-shadow: var(--lp-shadow-btn);
}

.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-btn-lg);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-text);
    border-color: var(--lp-border);
}

.lp-btn--ghost:hover {
    border-color: var(--lp-primary);
    background: var(--lp-glow);
    transform: translateY(-2px);
}

.lp-btn--lg {
    padding: 16px 30px;
    font-size: 16px;
}

.lp-btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════
   Navbar
   ══════════════════════════════════════════════════════════════════════════ */

.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.lp-nav.is-scrolled {
    background: var(--lp-glass);
    border-bottom-color: var(--lp-border-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--lp-shadow);
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--lp-heading);
}

.lp-nav__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-primary-solid), var(--lp-primary-solid-2));
    color: var(--lp-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px var(--lp-glow);
}

.lp-nav__logo svg {
    width: 21px;
    height: 21px;
}

.lp-nav__links {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 18px;
}

.lp-nav__link {
    padding: 9px 15px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--lp-text-soft);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.lp-nav__link:hover {
    color: var(--lp-primary);
    background: var(--lp-glow);
}

.lp-nav__actions {
    display: none;
    align-items: center;
    gap: 10px;
}

/* Toggle de tema (sol/luna) */
.lp-theme-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.lp-theme-toggle:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-theme-toggle svg {
    width: 19px;
    height: 19px;
}

.lp-theme-toggle .lp-ic--sun {
    display: none;
}

.lp-theme-toggle .lp-ic--moon {
    display: block;
}

[data-bs-theme="dark"] .lp-theme-toggle .lp-ic--sun {
    display: block;
}

[data-bs-theme="dark"] .lp-theme-toggle .lp-ic--moon {
    display: none;
}

/* Burger (móvil) */
.lp-btn-burger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lp-btn-burger:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-btn-burger svg {
    width: 20px;
    height: 20px;
}

.lp-btn-burger .lp-ic--x {
    display: none;
}

.lp-btn-burger.is-open .lp-ic--menu {
    display: none;
}

.lp-btn-burger.is-open .lp-ic--x {
    display: block;
}

/* Panel móvil (drawer) */
.lp-nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--lp-surface);
    border-left: 1px solid var(--lp-border-soft);
    box-shadow: var(--lp-shadow-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 110;
    overflow-y: auto;
}

.lp-nav-mobile.is-open {
    transform: translateX(0);
}

.lp-nav-mobile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--lp-border-soft);
}

.lp-nav-mobile__brand {
    font-weight: 800;
    font-size: 17px;
    color: var(--lp-heading);
    display: flex;
    align-items: center;
    gap: 9px;
}

.lp-nav-mobile__brand svg {
    width: 19px;
    height: 19px;
    color: var(--lp-primary);
}

.lp-nav-mobile__cta-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface-2);
    color: var(--lp-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-nav-mobile__cta-close svg {
    width: 17px;
    height: 17px;
}

.lp-nav-mobile__link {
    padding: 13px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lp-text);
    transition: all 0.2s ease;
}

.lp-nav-mobile__link:hover {
    background: var(--lp-glow);
    color: var(--lp-primary);
}

.lp-nav-mobile__divider {
    height: 1px;
    background: var(--lp-border-soft);
    margin: 14px 0;
}

.lp-nav-mobile__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.lp-nav-mobile__actions .lp-btn {
    width: 100%;
}

/* Backdrop oscuro detrás del drawer */
.lp-scrim {
    position: fixed;
    inset: 0;
    background: var(--lp-scrim);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 105;
}

.lp-scrim.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════════════════════ */

.lp-hero {
    position: relative;
    padding: 98px 0 0px;
    overflow: hidden;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 22% -8%, var(--lp-hero-a) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 18%, var(--lp-hero-b) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 50% 110%, var(--lp-hero-c) 0%, transparent 60%);
    pointer-events: none;
}

.lp-hero__inner {
    position: relative;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--lp-text-soft);
    margin-bottom: 30px;
    box-shadow: var(--lp-shadow);
}

.lp-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-accent);
    box-shadow: 0 0 10px var(--lp-accent);
    animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.6;
    }
}

.lp-hero__title {
    font-family: var(--lp-font-display);
    font-size: clamp(38px, 6.4vw, 66px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--lp-heading);
    margin-bottom: 26px;
}

.lp-hero__title-accent {
    color: var(--lp-primary);
    font-style: italic;
}

.lp-hero__sub {
    font-size: clamp(16.5px, 2.2vw, 19.5px);
    color: var(--lp-muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

.lp-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.lp-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 54px;
    color: var(--lp-muted);
    font-size: 14.5px;
    font-weight: 600;
}

.lp-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-hero__trust-item svg {
    color: var(--lp-accent);
    width: 17px;
    height: 17px;
}

/* Scroll hint */
.lp-hero__scroll {
    display: none;
    margin-top: 64px;
    justify-content: center;
    color: var(--lp-muted);
    font-size: 13px;
    gap: 8px;
    align-items: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-hero__scroll svg {
    width: 15px;
    height: 15px;
    animation: lp-float 2.2s ease-in-out infinite;
}

@keyframes lp-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Secciones genéricas
   ══════════════════════════════════════════════════════════════════════════ */

.lp-section {
    padding: 88px 0;
    position: relative;
}

.lp-section--alt {
    background: var(--lp-bg-alt);
    border-top: 1px solid var(--lp-border-soft);
    border-bottom: 1px solid var(--lp-border-soft);
}

.lp-section__head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 56px;
}

.lp-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-primary);
    margin-bottom: 16px;
}

.lp-section__title {
    font-family: var(--lp-font-display);
    font-size: clamp(28px, 4.4vw, 42px);
    line-height: 1.2;
    color: var(--lp-heading);
    margin-bottom: 16px;
}

.lp-section__sub {
    font-size: 17px;
    color: var(--lp-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   Beneficios / Value props
   ══════════════════════════════════════════════════════════════════════════ */

.lp-grid-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.lp-value {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-soft);
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: var(--lp-shadow);
    transition: all 0.3s ease;
}

.lp-value:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp-shadow-lg);
}

.lp-value__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--lp-glow);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.lp-value__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--lp-heading);
    margin-bottom: 9px;
}

.lp-value__desc {
    font-size: 14.5px;
    color: var(--lp-muted);
    line-height: 1.65;
}

.lp-value--accent .lp-value__icon {
    background: var(--lp-accent-surface);
    color: var(--lp-accent);
}

/* ══════════════════════════════════════════════════════════════════════════
   El Manifiesto (sección editorial)
   ══════════════════════════════════════════════════════════════════════════ */

.lp-manifesto__body {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: clamp(17px, 2vw, 19.5px);
    line-height: 1.85;
    color: var(--lp-text-soft);
}

.lp-manifesto__closing {
    display: block;
    font-family: var(--lp-font-display);
    font-size: clamp(20px, 2.6vw, 27px);
    font-style: italic;
    line-height: 1.45;
    color: var(--lp-heading);
    margin-top: 8px;
}

.lp-manifesto__closing em {
    color: var(--lp-primary);
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════════════
   Pilares — nota de intriga
   ══════════════════════════════════════════════════════════════════════════ */

.lp-pillar-note {
    max-width: 580px;
    margin: 46px auto 0;
    padding: 20px 26px;
    border: 1px dashed var(--lp-border);
    border-radius: 16px;
    background: var(--lp-surface);
    text-align: center;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--lp-muted);
}

.lp-pillar-note a {
    color: var(--lp-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   Precios
   ══════════════════════════════════════════════════════════════════════════ */

.lp-grid-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-soft);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--lp-shadow);
    transition: all 0.3s ease;
}

.lp-plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp-shadow-lg);
}

.lp-plan--featured {
    background: linear-gradient(160deg, var(--lp-surface), var(--lp-primary-surface));
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 1px var(--lp-glow), var(--lp-shadow-lg);
}

.lp-plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-primary-solid), var(--lp-primary-solid-2));
    color: var(--lp-on-primary);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.lp-plan__name {
    font-size: 20px;
    font-weight: 800;
    color: var(--lp-heading);
}

.lp-plan__desc {
    font-size: 14px;
    color: var(--lp-muted);
    margin: 5px 0 22px;
}

.lp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 26px;
}

.lp-plan__amount {
    font-family: var(--lp-font-display);
    font-size: 42px;
    color: var(--lp-heading);
}

.lp-plan__period {
    font-size: 14.5px;
    color: var(--lp-muted);
    font-weight: 600;
}

.lp-plan__amount--custom {
    font-size: 34px;
}

.lp-plan__list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
}

.lp-plan__item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--lp-text-soft);
}

.lp-plan__item svg {
    width: 18px;
    height: 18px;
    color: var(--lp-accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.lp-plan__item--strong {
    color: var(--lp-text);
    font-weight: 600;
}

.lp-plan__item--strong svg {
    color: var(--lp-primary);
}

.lp-plan__footer {
    margin-top: auto;
}

.lp-plan__footer .lp-btn {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════
   FAQ (acordeón)
   ══════════════════════════════════════════════════════════════════════════ */

.lp-faq {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq__item {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
    box-shadow: var(--lp-shadow);
}

.lp-faq__item.is-open {
    border-color: var(--lp-primary);
}

.lp-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--lp-font-sans);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--lp-heading);
    text-align: left;
}

.lp-faq__q-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--lp-glow);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.lp-faq__item.is-open .lp-faq__q-icon {
    transform: rotate(180deg);
}

.lp-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-faq__a-inner {
    padding: 0 22px 22px;
    font-size: 14.5px;
    color: var(--lp-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA final
   ══════════════════════════════════════════════════════════════════════════ */

.lp-cta {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--lp-primary-solid), var(--lp-primary-solid-2));
    color: var(--lp-on-primary);
    text-align: center;
    padding: 72px 28px;
}

.lp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 15% 10%, var(--lp-cta-shine-a) 0%, transparent 55%),
        radial-gradient(ellipse 55% 55% at 90% 95%, var(--lp-cta-shine-b) 0%, transparent 55%);
    pointer-events: none;
}

.lp-cta__inner {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.lp-cta__title {
    font-family: var(--lp-font-display);
    font-size: clamp(28px, 4.4vw, 42px);
    margin-bottom: 16px;
}

.lp-cta__sub {
    font-size: 17px;
    color: var(--lp-on-primary-soft);
    margin-bottom: 36px;
}

.lp-btn--white {
    background: var(--lp-inverse-surface);
    color: var(--lp-primary-solid);
    box-shadow: var(--lp-shadow-white);
}

.lp-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-white-lg);
}

.lp-cta__footnote {
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--lp-on-primary-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-cta__footnote svg {
    width: 15px;
    height: 15px;
}

/* ── Formulario Demo Privada (dentro del CTA) ───────────────────────────── */

.lp-demo-form {
    margin-top: 10px;
}

.lp-demo-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.lp-demo-form input,
.lp-demo-form select {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid var(--lp-on-primary-glass-border);
    background: var(--lp-on-primary-glass);
    color: var(--lp-on-primary);
    font-family: var(--lp-font-sans);
    font-size: 14.5px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lp-demo-form input::placeholder {
    color: var(--lp-on-primary-muted);
    font-weight: 500;
}

.lp-demo-form select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.lp-demo-form select option {
    color: var(--lp-text);
    background: var(--lp-surface);
}

.lp-demo-form input:focus,
.lp-demo-form select:focus {
    border-color: var(--lp-on-primary);
    background: var(--lp-on-primary-glass-focus);
    box-shadow: 0 0 0 3px var(--lp-on-primary-ring);
}

.lp-demo-form__actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.lp-demo-form__micro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    margin-top: 22px;
    font-size: 13px;
    color: var(--lp-on-primary-soft);
    font-weight: 600;
}

.lp-demo-form__micro span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-demo-form__micro svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--lp-on-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════════════ */

.lp-footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--lp-border-soft);
    background: var(--lp-bg-alt);
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 44px;
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 18px;
    color: var(--lp-heading);
    margin-bottom: 14px;
}

.lp-footer__brand svg {
    width: 20px;
    height: 20px;
    color: var(--lp-primary);
}

.lp-footer__about {
    font-size: 14px;
    color: var(--lp-muted);
    max-width: 320px;
    line-height: 1.7;
}

.lp-footer__col-title {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 16px;
}

.lp-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-footer__links a {
    font-size: 14.5px;
    color: var(--lp-text-soft);
    transition: color 0.2s ease;
}

.lp-footer__links a:hover {
    color: var(--lp-primary);
}

.lp-footer__bottom {
    padding-top: 26px;
    border-top: 1px solid var(--lp-border-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--lp-muted);
}

.lp-footer__made {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-footer__made svg {
    width: 14px;
    height: 14px;
    color: var(--lp-accent);
}

/* ══════════════════════════════════════════════════════════════════════════
   Scrollbar
   ══════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--lp-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--lp-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lp-primary-soft);
}

/* ══════════════════════════════════════════════════════════════════════════
   Reveal on scroll (JS añade .lp-is-visible)
   ══════════════════════════════════════════════════════════════════════════ */

.lp-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-reveal.lp-is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-hero__badge-dot,
    .lp-hero__scroll svg {
        animation: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════════════ */

/* 600px+ */
@media (min-width: 600px) {
    .lp-hero__cta {
        flex-direction: row;
    }

    .lp-grid-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-footer__bottom {
        flex-direction: row;
    }
}

/* 768px+ */
@media (min-width: 768px) {
    .lp-nav__links {
        display: flex;
    }

    .lp-nav__actions {
        display: flex;
    }

    .lp-btn-burger {
        display: none;
    }

    .lp-hero__scroll {
        display: flex;
    }

    .lp-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .lp-demo-form__row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 1024px+ */
@media (min-width: 1024px) {
    .lp-grid-values {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-grid-pricing {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-section {
        padding: 108px 0;
    }
}

/* Accesibilidad: foco visible */
:focus-visible {
    outline: 2px solid var(--lp-primary);
    outline-offset: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   V2 — Mejoras Premium (auditoría UI/UX 2026-08)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Stagger reveal ─────────────────────────────────────────────────────
   La transición de .lp-reveal es [opacity, transform]: el primer delay
   escala la aparición (opacity) y el segundo (0s) mantiene el hover del
   transform inmediato en las cards. */

.lp-grid-values .lp-reveal,
.lp-grid-pricing .lp-reveal {
    transition-delay: calc(var(--lp-stagger, 0) * 90ms), 0s;
}

.lp-grid-values .lp-reveal:nth-child(1) {
    --lp-stagger: 0;
}

.lp-grid-values .lp-reveal:nth-child(2) {
    --lp-stagger: 1;
}

.lp-grid-values .lp-reveal:nth-child(3) {
    --lp-stagger: 2;
}

.lp-grid-pricing .lp-reveal:nth-child(2) {
    --lp-stagger: 1;
}

.lp-grid-pricing .lp-reveal:nth-child(3) {
    --lp-stagger: 2;
}

/* Footer: contacto, redes y enlaces legales */
.lp-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.lp-footer__contact a,
.lp-footer__contact span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--lp-text-soft);
    transition: color 0.2s ease;
}

.lp-footer__contact a:hover {
    color: var(--lp-primary);
}

.lp-footer__contact svg,
.lp-footer__socials svg {
    width: 16px;
    height: 16px;
    color: var(--lp-accent);
    flex-shrink: 0;
}

.lp-footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.lp-footer__socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-text-soft);
    transition: all 0.25s ease;
}

.lp-footer__socials a:hover {
    color: var(--lp-primary);
    border-color: var(--lp-primary);
    transform: translateY(-3px);
}

.lp-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    justify-content: center;
    font-size: 13px;
    color: var(--lp-muted);
    margin-top: 6px;
}

.lp-footer__legal a {
    color: var(--lp-muted);
    transition: color 0.2s ease;
}

.lp-footer__legal a:hover {
    color: var(--lp-primary);
}

/* ── Toggle de tema en el drawer móvil: misma lógica de íconos que el navbar
   (claro → muestra luna "cambiar a oscuro"; oscuro → muestra sol "cambiar a claro") ── */
#lp-theme-toggle-mobile .lp-ic--sun {
    display: none;
}

#lp-theme-toggle-mobile .lp-ic--moon {
    display: block;
}

[data-bs-theme="dark"] #lp-theme-toggle-mobile .lp-ic--sun {
    display: block;
}

[data-bs-theme="dark"] #lp-theme-toggle-mobile .lp-ic--moon {
    display: none;
}
/* ══════════════════════════════════════════════════════════════════════════
   CTA Socios · Afiliados · Acceso Miembros
   Sección previa al footer: misma paleta y ritmo del design system lp-
   ══════════════════════════════════════════════════════════════════════════ */

.lp-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.lp-member__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-member__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    color: var(--lp-text-soft, var(--lp-text));
}

.lp-member__item .lp-ic {
    width: 16px;
    height: 16px;
    color: var(--lp-primary);
    flex-shrink: 0;
}

.lp-member__micro {
    font-size: 13.5px;
    color: var(--lp-text-soft, var(--lp-text));
    opacity: 0.85;
    margin: 0;
}

.lp-member__micro a {
    color: var(--lp-primary);
    font-weight: 600;
}
