/* =============================================================
   landing_v3.css — Rediseño completo de la landing /about/
   -------------------------------------------------------------
   Implementación del paquete de diseño "Rediseño de about"
   exportado desde Claude Design (handoff bundle).

   Adaptaciones al stack del proyecto:
     - Dark mode: usa body.landing-page.dark-mode (no [data-theme])
     - Tipografía: Plus Jakarta Sans (Google Fonts, importada arriba)
     - Logo del navbar: brand_logo.html partial (no el "O" hardcoded)
     - Sin variables CSS conflictivas con public_pages.css:
       este archivo define su propio namespace (--lp-*).

   Estructura:
     §1  Reset + tipografía + variables (light + dark)
     §2  Container + utility gradient text
     §3  Navbar fijo (.lp-nav)
     §4  Hero (copy + visual)
     §5  Sections base + about + features + disciplines + pricing
     §6  CTA + Footer
     §7  Hero concepts shared (glass card, sparkline, live badge, avatar)
     §8  Concept A — Flujo del Día
     §9  Concept B — Clase en Vivo
     §10 Concept C — Ciclo del Miembro
     §11 Carousel dots + container (rotación de conceptos)
     §12 Keyframes
     §13 Responsive + prefers-reduced-motion
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');


/* ============================================================
   §1 — Reset + tipografía + variables
   ============================================================ */
body.landing-page,
body.landing-page *,
body.landing-page *::before,
body.landing-page *::after {
    box-sizing: border-box;
}

body.landing-page {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--lp-bg);
    color: var(--lp-t1);
    transition: background .35s, color .35s;
}
body.landing-page a { text-decoration: none; }
body.landing-page img,
body.landing-page svg { display: block; max-width: 100%; }
body.landing-page button { font-family: inherit; }

html { scroll-behavior: smooth; }

:root {
    /* Branding */
    --lp-accent: #5e72e4;
    --lp-accent-dk: #4250a0;
    --lp-accent-bg: rgba(94, 114, 228, .09);
    --lp-success: #2dce89;
    --lp-warning: #fb6340;

    /* Tipografía */
    --lp-t1: #11213b;
    --lp-t2: #4a5568;
    --lp-t3: #8898aa;

    /* Backgrounds */
    --lp-bg: #f5f7fa;
    --lp-bg-alt: #eef0f8;

    /* Glassmorphism */
    --lp-bg-glass: rgba(255, 255, 255, .62);
    --lp-border-glass: rgba(255, 255, 255, .72);
    --lp-border-sub: rgba(0, 0, 0, .07);

    /* Sombras */
    --lp-sh-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --lp-sh-md: 0 8px 32px rgba(0, 0, 0, .09);
    --lp-sh-lg: 0 20px 60px rgba(0, 0, 0, .13);
    --lp-sh-accent: 0 20px 60px rgba(94, 114, 228, .28);

    /* Radii */
    --lp-r: 14px;
    --lp-rl: 20px;
}

body.landing-page.dark-mode {
    --lp-t1: #f8fafc;
    --lp-t2: #94a3b8;
    --lp-t3: #64748b;
    --lp-bg: #0f172a;
    --lp-bg-alt: #111827;
    --lp-bg-glass: rgba(28, 40, 63, .72);
    --lp-border-glass: rgba(255, 255, 255, .1);
    --lp-border-sub: rgba(255, 255, 255, .07);
    --lp-sh-md: 0 8px 32px rgba(0, 0, 0, .3);
    --lp-sh-lg: 0 20px 60px rgba(0, 0, 0, .45);
    --lp-sh-accent: 0 20px 60px rgba(94, 114, 228, .22);
}


/* ============================================================
   §1.5 — Logo dual (light/dark) — partial brand_logo.html
   --------------------------------------------------------
   Las reglas equivalentes viven en public_pages.css §1.5, pero
   la landing v3 carga SOLO landing_v3.css. Sin este bloque se
   ven AMBAS variantes del logo simultáneamente.

   IMPORTANTE: usamos !important porque reglas más específicas
   posteriores (.lp-logo .brand-logo, .lp-footer-logo .brand-logo)
   tienen specificity (0,2,0) > (0,1,0) de .brand-logo--dark, y
   además CSS de theme.min.css/style.css del proyecto puede
   forzar `display: inline-block` en imgs. El show/hide reactivo
   al modo es el caso justificado para !important.
   ============================================================ */
.brand-logo {
    max-width: 100%;
    height: auto;
}
.brand-logo--dark { display: none !important; }
body.landing-page.dark-mode .brand-logo--light { display: none !important; }
body.landing-page.dark-mode .brand-logo--dark  { display: revert !important; }


/* ============================================================
   §2 — Container + utility gradient text
   ============================================================ */
.lp-c {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lp-grad-text {
    background: linear-gradient(100deg, #5e72e4 10%, #4250a0 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ============================================================
   §3 — Navbar fijo
   ============================================================ */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: background .3s, box-shadow .3s;
}
.lp-nav.scrolled {
    background: rgba(245, 247, 250, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--lp-border-sub);
}
body.landing-page.dark-mode .lp-nav.scrolled {
    background: rgba(15, 23, 42, .92);
}
.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap mínimo entre logo, navlinks y CTA: sin esto, en breakpoints
       intermedios (tablet) el item del medio se pega al logo cuando el
       CTA crece. space-between solo separa con el SOBRANTE de espacio. */
    gap: 1.5rem;
    height: 64px;
    max-width: 1180px;
    margin: 0 auto;
}
.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--lp-t1);
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
}
.lp-logo:hover,
.lp-logo:focus,
.lp-logo:active {
    color: var(--lp-t1);
    text-decoration: none;
}
.lp-logo .brand-logo {
    width: 32px; height: 32px;
    border-radius: 9px;
    object-fit: contain;
    flex-shrink: 0;
}
.lp-navlinks {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-navlinks a {
    font-size: .88rem;
    font-weight: 500;
    color: var(--lp-t2);
    transition: color .18s;
    position: relative;
    padding: 4px 0;
}
.lp-navlinks a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--lp-accent);
    transition: width .3s ease;
}
.lp-navlinks a:hover { color: var(--lp-accent); }
.lp-navlinks a.active { color: var(--lp-accent); }
.lp-navlinks a.active::after { width: 100%; }
.lp-navcta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-theme-btn {
    background: none;
    border: 1px solid var(--lp-border-sub);
    border-radius: 8px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-t2);
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .18s, color .18s;
}
.lp-theme-btn:hover {
    border-color: var(--lp-accent);
    color: var(--lp-accent);
}
.lp-btn-ghost {
    font-size: .88rem;
    font-weight: 600;
    color: var(--lp-t1);
    padding: .45rem 1rem;
    border-radius: var(--lp-r);
    border: 1.5px solid var(--lp-border-sub);
    transition: border-color .18s, background .18s;
    /* Sin esto, en tablet el botón rompe en 2 líneas ("Iniciar /
       sesión") y ensancha el CTA, empujando los navlinks al logo. */
    white-space: nowrap;
}
.lp-btn-ghost:hover {
    border-color: var(--lp-accent);
    background: var(--lp-accent-bg);
}
/* En dark, --lp-accent-bg (alpha .09) queda invisible sobre el navbar oscuro.
   Bumpeamos a .22 + texto indigo para que el hover sea perceptible. */
body.landing-page.dark-mode .lp-btn-ghost:hover {
    background: rgba(94, 114, 228, .22);
    color: #a3b1fa;
}
.lp-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #5e72e4, #4250a0);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    border-radius: var(--lp-r);
    box-shadow: 0 3px 12px rgba(94, 114, 228, .35);
    transition: transform .18s, box-shadow .18s;
    /* No partir "Comenzar gratis" en 2 líneas en tablet. */
    white-space: nowrap;
}
.lp-btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(94, 114, 228, .45);
    color: #fff;
}
.lp-btn-accent.lg {
    padding: .78rem 1.75rem;
    font-size: .95rem;
}
.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--lp-t1);
    font-size: .9rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    border-radius: var(--lp-r);
    border: 1.5px solid var(--lp-border-sub);
    transition: border-color .18s, background .18s, transform .18s;
}
.lp-btn-outline:hover {
    border-color: var(--lp-accent);
    background: var(--lp-accent-bg);
    transform: translateY(-2px);
    color: var(--lp-t1);
}


/* ============================================================
   §3.5 — Hamburger + Drawer mobile
   --------------------------------------------------------
   Hamburger oculto en desktop (display:none), visible en
   <640px. Drawer = panel lateral derecho con overlay,
   scroll lock del body, animación slide-in, y cierre por
   click overlay / ESC / link click.
   ============================================================ */

.lp-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px; height: 40px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1102;
}
.lp-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--lp-t1);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
}
body.lp-drawer-open .lp-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.lp-drawer-open .lp-hamburger span:nth-child(2) {
    opacity: 0;
}
body.lp-drawer-open .lp-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.lp-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1100;
    cursor: pointer;
}
body.lp-drawer-open .lp-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

.lp-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: var(--lp-bg);
    box-shadow: -8px 0 32px rgba(0, 0, 0, .2);
    z-index: 1101;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
}
body.lp-drawer-open .lp-drawer {
    transform: translateX(0);
}

.lp-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lp-border-sub);
    margin-bottom: 1rem;
}
.lp-drawer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-t1);
}
.lp-drawer-close {
    background: none;
    border: none;
    color: var(--lp-t2);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .18s, background .18s;
}
.lp-drawer-close:hover {
    color: var(--lp-accent);
    background: var(--lp-accent-bg);
}

.lp-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.lp-drawer-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--lp-t1);
    transition: background .18s, color .18s;
}
.lp-drawer-links a:hover {
    background: var(--lp-accent-bg);
    color: var(--lp-accent);
}

.lp-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--lp-border-sub);
}
.lp-drawer-actions .lp-drawer-btn {
    text-align: center;
    justify-content: center;
    padding: .75rem 1.2rem;
    font-size: .95rem;
}
.lp-drawer-theme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .75rem 1rem;
    background: none;
    border: 1.5px solid var(--lp-border-sub);
    border-radius: var(--lp-r);
    color: var(--lp-t1);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s, background .18s, color .18s;
    width: 100%;
}
.lp-drawer-theme:hover {
    border-color: var(--lp-accent);
    background: var(--lp-accent-bg);
    color: var(--lp-accent);
}
.lp-drawer-theme i {
    font-size: 1rem;
    color: var(--lp-accent);
}

body.lp-drawer-open {
    overflow: hidden;
}


/* ============================================================
   §4 — Hero
   --------------------------------------------------------
   .lp-hero          → contenedor full-bleed (para el gradient ::before)
   .lp-hero-inner    → wrapper interno con max-width 1180px centrado,
                       contiene el grid 2-cols (copy + visual)
   ============================================================ */
.lp-hero {
    min-height: 100vh;
    padding: 7rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 65% 55% at 85% 15%, rgba(94, 114, 228, .11) 0%, transparent 70%),
        radial-gradient(ellipse 45% 50% at 8% 85%, rgba(66, 80, 160, .08) 0%, transparent 70%);
}
.lp-hero-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}
.lp-hero-copy { position: relative; z-index: 2; }
.lp-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lp-accent);
    margin-bottom: 1.1rem;
}
.lp-h1 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--lp-t1);
    margin-bottom: 1.25rem;
    text-wrap: balance;
}
.lp-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--lp-t2);
    max-width: 470px;
    margin-bottom: 2rem;
    text-wrap: pretty;
}
.lp-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.lp-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.lp-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--lp-t3);
}
.lp-badges .bi-check-circle-fill { color: var(--lp-success); }


/* ============================================================
   §5 — Sections base + about + features + disciplines + pricing
   ============================================================ */
.lp-section { padding: 5.5rem 2rem; }
.lp-section-alt { background: var(--lp-bg-alt); }
.lp-sh {
    text-align: center;
    margin-bottom: 3rem;
}
.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lp-accent);
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--lp-accent-bg);
    border: 1px solid rgba(94, 114, 228, .2);
    margin-bottom: 1rem;
}
.lp-h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--lp-t1);
    margin-bottom: .75rem;
    text-wrap: balance;
}
.lp-sub {
    font-size: 1rem;
    color: var(--lp-t2);
    max-width: 520px;
    margin: 0 auto;
    text-wrap: pretty;
}

/* About */
.lp-about-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}
.lp-about-text p {
    font-size: 1rem;
    color: var(--lp-t2);
    line-height: 1.78;
    margin-bottom: 1.1rem;
}
.lp-about-text strong {
    color: var(--lp-t1);
    font-weight: 600;
}
.lp-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.lp-stat-v {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.lp-stat-l {
    font-size: .8rem;
    color: var(--lp-t3);
    margin-top: 2px;
}
.lp-about-vis {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--lp-accent-bg);
    border: 2px solid rgba(94, 114, 228, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--lp-accent);
    flex-shrink: 0;
    box-shadow: var(--lp-sh-accent);
    overflow: hidden;
}
.lp-about-logo {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Features */
.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.lp-feat {
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lp-border-glass);
    border-radius: var(--lp-r);
    padding: 1.75rem;
    box-shadow: var(--lp-sh-sm);
    transition: transform .2s, box-shadow .2s;
}
.lp-feat:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-sh-md);
}
.lp-feat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--lp-accent-bg);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.lp-feat h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--lp-t1);
    margin-bottom: .5rem;
}
.lp-feat p {
    font-size: .84rem;
    color: var(--lp-t2);
    line-height: 1.6;
}

/* Disciplines */
.lp-disc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.lp-tl {
    display: flex;
    flex-direction: column;
}
.lp-tli {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 1.25rem;
    padding-bottom: 2rem;
    position: relative;
}
.lp-tli:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: var(--lp-border-sub);
}
.lp-tl-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    border: 2px solid var(--lp-accent);
    background: var(--lp-bg);
    transition: background .2s;
}
.lp-tli:first-child .lp-tl-dot { background: var(--lp-accent); }
.lp-tl-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--lp-t1);
    margin-bottom: 3px;
}
.lp-tl-sub {
    font-size: .74rem;
    color: var(--lp-accent);
    font-weight: 600;
    margin-bottom: 6px;
}
.lp-tl-desc {
    font-size: .82rem;
    color: var(--lp-t2);
    line-height: 1.6;
}
.lp-tl-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.lp-tl-tag {
    font-size: .67rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--lp-accent-bg);
    color: var(--lp-accent);
    border: 1px solid rgba(94, 114, 228, .2);
}
.lp-why-head {
    margin-bottom: 1.5rem;
}
.lp-why-head h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--lp-t1);
}
.lp-why-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.lp-why {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.1rem 1.25rem;
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lp-border-glass);
    border-radius: var(--lp-r);
    box-shadow: var(--lp-sh-sm);
}
.lp-why-icon {
    font-size: 1.25rem;
    color: var(--lp-accent);
    flex-shrink: 0;
    padding-top: 2px;
}
.lp-why-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--lp-t1);
}
.lp-why-sub {
    font-size: .74rem;
    font-weight: 600;
    color: var(--lp-t3);
    margin-top: 1px;
}
.lp-why-desc {
    font-size: .78rem;
    color: var(--lp-t2);
    margin-top: 4px;
    line-height: 1.5;
}

.lp-bm-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.5rem;
}
.lp-bm-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .55rem 1.25rem;
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--lp-border-sub);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--lp-t2);
    cursor: pointer;
    transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.lp-bm-tab i { font-size: 1rem; color: var(--lp-accent); }
.lp-bm-tab:hover {
    border-color: var(--lp-accent);
    color: var(--lp-t1);
    transform: translateY(-1px);
}
.lp-bm-tab.active {
    background: linear-gradient(135deg, #5e72e4, #4250a0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 114, 228, .35);
}
.lp-bm-tab.active i { color: #fff; }

/* Selector de periodo (Mensual / Anual) de las tarjetas de precio — _pricing_plans.html.
   Mismos tokens --lp-* que .lp-bm-tab, así sigue al tema claro/oscuro de la landing. */
/* Periodo POR TARJETA (components/_plan_period_control.html, px='lp'): static (1 periodo),
   pill (2–3) o select (4), arriba a la derecha de cada tarjeta. */
.lp-price-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem .75rem;
    margin-bottom: .5rem;
}
.lp-price-head .lp-price-name { margin-bottom: 0; }
.lp-price-period { flex: none; margin-left: auto; }
.lp-period-static,
.lp-period-select {
    display: inline-block;
    padding: .28rem .75rem;
    border: 1px solid var(--lp-border-sub);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--lp-t2);
    white-space: nowrap;
}
.lp-period-select {
    background-color: var(--lp-bg-glass);
    color: var(--lp-t1);
    cursor: pointer;
}
.lp-period-pill {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border-sub);
    border-radius: 999px;
}
.lp-period-btn {
    padding: .28rem .7rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--lp-t2);
    cursor: pointer;
    transition: background .18s, color .18s, box-shadow .18s;
}
.lp-period-btn:hover { color: var(--lp-t1); }
.lp-period-btn.active {
    background: var(--lp-bg);
    color: var(--lp-t1);
    box-shadow: var(--lp-sh-sm);
}
.lp-period-btn:focus-visible,
.lp-period-select:focus-visible,
.lp-line-tab:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }
/* En la tarjeta destacada (fondo de acento) los controles se aclaran. */
.lp-price.featured .lp-period-static,
.lp-price.featured .lp-period-select { border-color: rgba(255, 255, 255, .5); color: #fff; background-color: transparent; }
.lp-price.featured .lp-period-select option { color: var(--lp-t1); }
.lp-price.featured .lp-period-pill { background: rgba(255, 255, 255, .18); border-color: transparent; }
.lp-price.featured .lp-period-btn { color: rgba(255, 255, 255, .85); }
.lp-price.featured .lp-period-btn.active { background: #fff; color: #4250a0; }

.lp-price-save {
    display: flex;
    flex-wrap: wrap;
    gap: .1rem .75rem;
    margin-top: 4px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--lp-t2);
}
.lp-price-save-pct { font-weight: 700; color: var(--lp-accent); }
.lp-price.featured .lp-price-save,
.lp-price.featured .lp-price-save-pct { color: rgba(255, 255, 255, .9); }
[data-pane-months][hidden] { display: none !important; }
[data-plan-line][hidden] { display: none !important; }

/* Selector de línea (Punto de venta | Con facturación): UNA píldora segmentada — componente
   compartido components/_plan_toggles.html con px='lp'. Solo con 2+ líneas. Segmento activo
   relleno con el degradado de acento; debajo, UNA línea de ayuda con la línea elegida. */
.lp-line-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    max-width: 100%;
    margin: 0 auto 1.8rem;
}
.lp-line-track {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    max-width: 100%;
    padding: 5px;
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--lp-border-sub);
    border-radius: 999px;
}
.lp-line-tab {
    min-width: 0;
    padding: .5rem 1.3rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    color: var(--lp-t2);
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
}
.lp-line-tab:hover { color: var(--lp-t1); }
.lp-line-tab.active {
    background: linear-gradient(135deg, #5e72e4, #4250a0);
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 114, 228, .35);
}
.lp-line-short { display: none; }
.lp-line-help {
    min-height: 1.25em;
    max-width: 38rem;
    margin: 0;
    font-size: .85rem;
    color: var(--lp-t2);
    text-align: center;
}
.lp-line-desc { animation: lp-line-fade .25s ease; }
.lp-line-desc[hidden] { display: none; }
@keyframes lp-line-fade {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: none; }
}
@media (max-width: 767.98px) {
    .lp-line-switch { align-items: stretch; }
    .lp-line-track { display: grid; width: 100%; }
    .lp-line-tab { padding: .5rem .6rem; font-size: .84rem; }
    .lp-line-full { display: none; }
    .lp-line-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-line-tab, .lp-period-btn { transition: none; }
    .lp-line-desc { animation: none; }
}

.lp-pricing-pane { display: none; }
.lp-pricing-pane.active { display: block; }
.lp-pricing-empty { text-align: center; }

.lp-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
}
.lp-price {
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lp-border-glass);
    border-radius: var(--lp-rl);
    padding: 2rem 1.75rem;
    position: relative;
    box-shadow: var(--lp-sh-sm);
    transition: transform .2s, box-shadow .2s;
}
.lp-price:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-sh-md);
}
.lp-price.featured {
    background: linear-gradient(145deg, #5e72e4, #4250a0);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--lp-sh-accent);
    transform: scale(1.04);
}
.lp-price.featured:hover {
    transform: scale(1.04) translateY(-4px);
}
.lp-price-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .2);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: .75rem;
}
.lp-price-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--lp-t1);
}
.lp-price.featured .lp-price-name { color: rgba(255, 255, 255, .85); }
.lp-price-amt {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--lp-t1);
}
.lp-price-amt small {
    font-size: .85rem;
    font-weight: 500;
    opacity: .7;
}
.lp-price.featured .lp-price-amt { color: #fff; }
.lp-price-desc {
    font-size: .8rem;
    color: var(--lp-t3);
    margin: .5rem 0 1.5rem;
}
.lp-price.featured .lp-price-desc { color: rgba(255, 255, 255, .65); }
.lp-price-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin: 0 0 1.75rem;
    padding: 0;
}
.lp-price-ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .82rem;
    color: var(--lp-t2);
}
.lp-price-ul li.off { opacity: .45; }
.lp-price-ul li i {
    color: var(--lp-success);
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-price-ul li.off i { color: var(--lp-t3); }
.lp-price.featured .lp-price-ul li { color: rgba(255, 255, 255, .85); }
.lp-price.featured .lp-price-ul li i { color: rgba(255, 255, 255, .8); }
.lp-price-btn {
    display: block;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    padding: .7rem;
    border-radius: var(--lp-r);
    border: 1.5px solid var(--lp-border-sub);
    color: var(--lp-t1);
    transition: border-color .18s, background .18s;
}
.lp-price-btn:hover {
    border-color: var(--lp-accent);
    background: var(--lp-accent-bg);
    color: var(--lp-t1);
}
.lp-price-btn.primary {
    background: #fff;
    color: #5e72e4;
    border-color: transparent;
}
.lp-price-btn.primary:hover {
    background: rgba(255, 255, 255, .9);
    color: #5e72e4;
}


/* ============================================================
   §6 — CTA + Footer
   ============================================================ */
.lp-cta-sec {
    background: linear-gradient(135deg, #5e72e4, #4250a0);
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}
.lp-cta-sec h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}
.lp-cta-em {
    /* Texto con gradient text — replica el estilo de .lp-grad-text pero
       sobre fondo gradient indigo del CTA, usando blanco translúcido. */
    color: #fff;
    background: linear-gradient(100deg, #ffffff 10%, rgba(255,255,255,.7) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lp-cta-sec p {
    font-size: 1rem;
    opacity: .82;
    max-width: 500px;
    margin: 0 auto 2rem;
}
.lp-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #5e72e4;
    font-size: .95rem;
    font-weight: 700;
    padding: .8rem 1.75rem;
    border-radius: var(--lp-r);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    transition: transform .18s;
}
.lp-btn-white:hover {
    transform: translateY(-2px);
    color: #5e72e4;
}

.lp-footer {
    background: var(--lp-bg-alt);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--lp-border-sub);
}
/* Enlaces legales de la barra inferior del footer (templates/system/landing/_footer.html). */
.lp-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem 1.25rem;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--lp-border-sub);
}
.lp-footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--lp-t1);
    margin-bottom: 1rem;
}
.lp-footer-logo .brand-logo {
    width: 32px; height: 32px;
    border-radius: 9px;
    object-fit: contain;
    flex-shrink: 0;
}
.lp-footer-tagline {
    font-size: .83rem;
    color: var(--lp-t3);
    line-height: 1.6;
    max-width: 240px;
}
.lp-footer-col h4 {
    font-size: .76rem;
    font-weight: 700;
    color: var(--lp-t1);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.lp-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 0;
    margin: 0;
}
.lp-footer-col a {
    font-size: .82rem;
    color: var(--lp-t3);
    transition: color .18s;
}
.lp-footer-col a:hover { color: var(--lp-accent); }
.lp-fc-li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: .8rem;
    color: var(--lp-t3);
    margin-bottom: .6rem;
}
.lp-fc-li i {
    color: var(--lp-accent);
    flex-shrink: 0;
    padding-top: 2px;
}
.lp-fc-li a { color: var(--lp-t3); }
.lp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: .8rem;
    color: var(--lp-t3);
}
.lp-footer-bottom a { color: var(--lp-accent); }
.lp-footer-bottom .lp-footer-legal a { color: var(--lp-t3); }
.lp-footer-bottom .lp-footer-legal a:hover { color: var(--lp-accent); }
.lp-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}
.lp-footer-socials a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--lp-bg-glass);
    border: 1px solid var(--lp-border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-t2);
    transition: color .18s, border-color .18s, transform .18s;
}
.lp-footer-socials a:hover {
    color: var(--lp-accent);
    border-color: var(--lp-accent);
    transform: translateY(-2px);
}


/* ============================================================
   §7 — Hero concepts shared primitives
   ============================================================ */
.gcard {
    background: var(--lp-bg-glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid var(--lp-border-glass);
    border-radius: var(--lp-r);
    box-shadow: var(--lp-sh-md);
    padding: 1rem 1.125rem;
}

.sparkline {
    width: 100%; height: 30px;
    display: block;
    margin-top: 8px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--lp-success);
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(45, 206, 137, 0.12);
    border: 1px solid rgba(45, 206, 137, 0.25);
    white-space: nowrap;
}
.live-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--lp-success);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.mini-av {
    width: 28px; height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mini-av svg { width: 100%; height: 100%; display: block; }

.mini-av-lg { width: 32px; height: 32px; }

/* Paleta de avatars para Concept B — colores fijos para el stack de miembros.
   Hex+alpha: 22 (~13%) bg, 44 (~27%) border, 66 (~40%) svg fill. */
.av-c1 { background: #5e72e422; border-color: #5e72e444; }
.av-c1 svg circle, .av-c1 svg ellipse { fill: #5e72e466; }
.av-c2 { background: #2dce8922; border-color: #2dce8944; }
.av-c2 svg circle, .av-c2 svg ellipse { fill: #2dce8966; }
.av-c3 { background: #fb634022; border-color: #fb634044; }
.av-c3 svg circle, .av-c3 svg ellipse { fill: #fb634066; }
.av-c4 { background: #f4a92622; border-color: #f4a92644; }
.av-c4 svg circle, .av-c4 svg ellipse { fill: #f4a92666; }
.av-c5 { background: #7e57c222; border-color: #7e57c244; }
.av-c5 svg circle, .av-c5 svg ellipse { fill: #7e57c266; }
.av-c6 { background: #26c6da22; border-color: #26c6da44; }
.av-c6 svg circle, .av-c6 svg ellipse { fill: #26c6da66; }


/* ============================================================
   §8 — CONCEPT A — Flujo del Día
   ============================================================ */
.ca-wrap {
    position: relative;
    width: 100%;
    max-width: 365px;
    margin: auto;
    padding: 26px 48px 54px 46px;
}
.ca-fw { position: absolute; z-index: 3; }
.ca-fw-ren {
    top: 0; right: 0;
    animation: rev-ren 0.5s ease-out 0.65s both;
}
.ca-fw-ren .gcard {
    width: 192px;
    animation: float-up 7s ease-in-out infinite;
}
.ca-fw-rev {
    bottom: 0; left: 0;
    animation: rev-rev 0.5s ease-out 0.85s both;
}
.ca-fw-rev .gcard {
    width: 167px;
    animation: float-up 9s ease-in-out 1.2s infinite;
}
.ca-fc-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lp-t1);
    margin-bottom: 8px;
}
.ca-rlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ca-rlist li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.69rem;
    color: var(--lp-t2);
}
.ca-av {
    width: 16px; height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--lp-accent-bg);
    border: 1.5px solid rgba(94, 114, 228, .2);
}
.ca-rev-amt {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lp-t1);
    letter-spacing: -0.02em;
}
.ca-rev-dlta {
    font-size: 0.7rem;
    color: var(--lp-success);
    font-weight: 600;
    margin-top: 2px;
}
.ca-main { position: relative; z-index: 2; }
.ca-main-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lp-t2);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.7rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--lp-border-sub);
}
.ca-main-hd i {
    color: var(--lp-accent);
    margin-right: 4px;
}
.ca-tl {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tl-item {
    display: grid;
    grid-template-columns: 34px 10px 1fr;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--lp-border-sub);
    opacity: 0;
    animation: tl-in 0.4s ease-out both;
}
.tl-item:last-child { border-bottom: none; }
.tl-item:nth-child(1) { animation-delay: .25s; }
.tl-item:nth-child(2) { animation-delay: .35s; }
.tl-item:nth-child(3) { animation-delay: .45s; }
.tl-item:nth-child(4) { animation-delay: .55s; }
.tl-item:nth-child(5) { animation-delay: .65s; }
.tl-item:nth-child(6) { animation-delay: .75s; }
.tl-time {
    font-size: 0.69rem;
    font-weight: 600;
    color: var(--lp-t3);
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
}
.tl-dot {
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
}
.tl-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid;
    animation: pulse-ring 1.8s ease-out infinite;
}
.tl-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tl-lbl {
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--lp-t1);
}
.tl-dtl {
    font-size: 0.69rem;
    color: var(--lp-t3);
}
.tl-warn .tl-lbl { color: var(--lp-warning); }
.tl-live .tl-lbl {
    color: var(--lp-accent);
    font-weight: 700;
}


/* ============================================================
   §9 — CONCEPT B — Clase en Vivo
   ============================================================ */
.cb2-wrap {
    position: relative;
    width: 100%;
    max-width: 365px;
    margin: auto;
    padding: 26px 48px 54px 46px;
}
.cb2-fw { position: absolute; z-index: 3; }
.cb2-fw-next {
    top: 0; right: 0;
    animation: rev-ren 0.5s ease-out 0.65s both;
}
.cb2-fw-next .gcard {
    width: 178px;
    animation: float-up 7s ease-in-out infinite;
}
.cb2-fw-notif {
    bottom: 0; left: 0;
    animation: rev-rev 0.5s ease-out 0.85s both;
}
.cb2-fw-notif .gcard {
    width: 195px;
    animation: float-up 9s ease-in-out 1.2s infinite;
}
.cb2-main-hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 8px;
}
.cb2-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--lp-t3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.cb2-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lp-t1);
    letter-spacing: -0.02em;
}
.cb2-instructor {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 0;
    border-top: 1px solid var(--lp-border-sub);
    border-bottom: 1px solid var(--lp-border-sub);
    margin-bottom: 10px;
}
.cb2-instr-name {
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--lp-t1);
}
.cb2-instr-role {
    font-size: 0.68rem;
    color: var(--lp-t3);
    margin-top: 1px;
}
.cb2-time {
    font-size: 0.71rem;
    color: var(--lp-t2);
    margin-bottom: 9px;
}
.cb2-time i {
    color: var(--lp-accent);
    margin-right: 3px;
}
.cb2-cap-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.71rem;
    margin-bottom: 5px;
}
.cb2-cap-label {
    font-weight: 600;
    color: var(--lp-t1);
}
.cb2-cap-pct {
    color: var(--lp-warning);
    font-weight: 700;
}
.cb2-cap-bar {
    height: 5px;
    border-radius: 3px;
    background: var(--lp-border-sub);
    overflow: hidden;
    margin-bottom: 11px;
}
.cb2-cap-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #5e72e4, #fb6340);
    animation: bar-grow-cb2 0.8s ease-out 0.5s forwards;
}
.cb2-members {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cb2-av-stack { display: flex; }
.cb2-av-stack .mini-av { margin-left: -8px; }
.cb2-av-stack .mini-av:first-child { margin-left: 0; }
.cb2-more {
    font-size: 0.7rem;
    color: var(--lp-t3);
}
.cb2-next-label {
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--lp-t3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.cb2-next-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--lp-t1);
}
.cb2-next-info {
    font-size: 0.69rem;
    color: var(--lp-t2);
    margin-top: 2px;
}
.cb2-next-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.64rem;
    font-weight: 700;
    background: var(--lp-accent-bg);
    color: var(--lp-accent);
    border: 1px solid rgba(94, 114, 228, .2);
    border-radius: 20px;
    padding: 2px 8px;
    margin-top: 6px;
}
.cb2-notif-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cb2-notif-icon {
    color: var(--lp-success);
    font-size: 1rem;
    flex-shrink: 0;
    padding-top: 2px;
}
.cb2-notif-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--lp-t1);
}
.cb2-notif-detail {
    font-size: 0.68rem;
    color: var(--lp-t3);
    margin-top: 2px;
}
.cb2-notif-amt {
    font-size: 0.72rem;
    color: var(--lp-success);
    font-weight: 700;
    margin-top: 4px;
}


/* ============================================================
   §10 — CONCEPT C — Ciclo del Miembro
   ============================================================ */
.cc-wrap {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: auto;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 28px;
}
.cc-cw { position: absolute; z-index: 3; }
.cc-cw-tl {
    top: 12px; left: -4px;
    opacity: 0;
    animation: chip-tl 0.5s ease-out 0.8s both;
}
.cc-cw-br {
    bottom: 80px; right: -8px;
    opacity: 0;
    animation: chip-br 0.5s ease-out 1.0s both;
}
.cc-cw-b {
    bottom: 10px; left: 14px;
    opacity: 0;
    animation: chip-b 0.5s ease-out 1.2s both;
}
.cc-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 9px 13px;
}
.cc-chip-t {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--lp-t1);
}
.cc-chip-s {
    font-size: 0.67rem;
    color: var(--lp-t3);
    margin-top: 1px;
}
.cc-ic-accent { font-size: 1.05rem; color: var(--lp-accent); }
.cc-ic-success { font-size: 1.05rem; color: var(--lp-success); }
.cc-ic-warn { font-size: 1.05rem; color: var(--lp-warning); }

.mcard {
    position: relative;
    width: 288px;
    z-index: 2;
    background: linear-gradient(148deg, #5e72e4 0%, #4250a0 52%, #2d3580 100%);
    border-radius: 22px;
    padding: 1.3rem 1.4rem 1.4rem;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--lp-sh-accent);
    animation: float-up 8s ease-in-out infinite;
}
.mcard::before {
    content: '';
    position: absolute;
    top: -55px; right: -55px;
    width: 175px; height: 175px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.mcard::after {
    content: '';
    position: absolute;
    bottom: -70px; left: -38px;
    width: 195px; height: 195px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.mc-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}
.mc-brand {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    opacity: .66;
}
.mc-plan {
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
    background: rgba(255, 255, 255, .18);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .28);
}
.mc-profile {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 1.1rem;
}
.mc-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, .3);
}
.mc-avatar svg { width: 100%; height: 100%; display: block; }
.mc-name {
    font-size: .96rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -.01em;
    color: #fff;
}
.mc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.mc-active {
    font-size: .68rem;
    font-weight: 600;
    opacity: .9;
}
.mc-exp {
    font-size: .65rem;
    opacity: .56;
}
.mc-stats {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: .95rem;
}
.mc-att-hd {
    display: flex;
    justify-content: space-between;
    font-size: .69rem;
    opacity: .78;
    margin-bottom: 5px;
}
.mc-att-ct {
    font-weight: 700;
    opacity: 1;
}
.mc-att-bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
    margin-bottom: 11px;
}
.mc-att-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, .84);
    animation: bar-grow-cc 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}
.mc-hm {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mc-hm-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 2px;
}
.mc-hm-days span {
    font-size: .57rem;
    font-weight: 600;
    opacity: .46;
    text-align: center;
}
.mc-hm-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.mc-hm-cell {
    height: 16px;
    border-radius: 3px;
    opacity: 0;
    animation: cell-pop 0.18s ease-out both;
}
.mc-hm-cell.on { background: rgba(255, 255, 255, .72); }
.mc-hm-cell.off { background: rgba(255, 255, 255, .12); }


/* ============================================================
   §11 — Carousel container + dots
   ============================================================ */
.lp-hero-carousel { width: 100%; }
.lp-hero-concepts {
    position: relative;
    min-height: 480px;
}
.hero-concept {
    display: none;
}
.hero-concept.hero-concept-active {
    display: block;
    animation: fade-in 0.4s ease-out;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
}
.cdot {
    width: 8px; height: 8px;
    border-radius: 4px;
    background: var(--lp-border-sub);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .25s, width .3s, border-radius .3s;
}
.cdot.cdot-active {
    background: var(--lp-accent);
    width: 24px;
}


/* ============================================================
   §12 — Keyframes
   ============================================================ */
@keyframes float-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes tl-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(2.8); opacity: 0; }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .38; }
}
@keyframes cell-pop {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: 1; transform: none; }
}
@keyframes rev-ren {
    from { opacity: 0; transform: rotate(2.5deg) translateY(8px); }
    to { opacity: 1; transform: rotate(2.5deg) translateY(0); }
}
@keyframes rev-rev {
    from { opacity: 0; transform: rotate(-2deg) translateY(8px); }
    to { opacity: 1; transform: rotate(-2deg) translateY(0); }
}
@keyframes chip-tl {
    from { opacity: 0; transform: rotate(-5deg) translateY(8px); }
    to { opacity: 1; transform: rotate(-5deg) translateY(0); }
}
@keyframes chip-br {
    from { opacity: 0; transform: rotate(4deg) translateY(8px); }
    to { opacity: 1; transform: rotate(4deg) translateY(0); }
}
@keyframes chip-b {
    from { opacity: 0; transform: rotate(-2.5deg) translateY(8px); }
    to { opacity: 1; transform: rotate(-2.5deg) translateY(0); }
}
@keyframes bar-grow-cb2 {
    from { width: 0; }
    to { width: 90%; }
}
@keyframes bar-grow-cc {
    from { width: 0; }
    to { width: 82%; }
}


/* ============================================================
   §13 — Responsive + prefers-reduced-motion
   ============================================================ */
@media (max-width: 1020px) {
    .lp-feat-grid { grid-template-columns: repeat(2, 1fr); }
    /* Auto-fit ya colapsa naturalmente — solo desactivamos la escala del
       featured para que no rompa la grilla en pantallas chicas. */
    .lp-price.featured { transform: none; }
    .lp-price.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 900px) {
    /* Navbar tablet: comprimimos padding/gaps Y ocultamos el accent
       ("Comenzar gratis"). En tablet priorizamos el acceso al login
       ("Iniciar sesión"); el signup sigue disponible vía la pantalla
       de login (link "¿No estás registrado? Regístrate"). Sin estos
       ajustes, los 2 botones + nav no caben y el accent se sale del
       viewport derecho hasta que el breakpoint mobile (640px) active
       el hamburger. */
    .lp-nav { padding: 0 1rem; }
    .lp-nav-inner { gap: 1rem; }
    .lp-navlinks { gap: 1.25rem; }
    .lp-navcta { gap: 6px; }
    .lp-navcta .lp-btn-accent { display: none; }

    .lp-hero {
        padding: 6rem 1.5rem 3rem;
        text-align: center;
    }
    .lp-hero-inner {
        grid-template-columns: 1fr;
    }
    .lp-hero-cta,
    .lp-badges { justify-content: center; }
    .lp-lead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .lp-about-grid { grid-template-columns: 1fr; }
    .lp-about-vis { display: none; }
    .lp-disc-grid { grid-template-columns: 1fr; }
    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 640px) {
    .lp-navlinks { display: none; }
    .lp-navcta { gap: 6px; }
    .lp-navcta .lp-btn-accent { display: none; }
    .lp-navcta .lp-btn-ghost {
        padding: .4rem .8rem;
        font-size: .82rem;
    }
    .lp-theme-btn {
        width: 32px; height: 32px;
        font-size: .85rem;
    }
    .lp-hamburger { display: flex; }

    .lp-feat-grid { grid-template-columns: 1fr; }
    .lp-stats { gap: 1.5rem; }
    .lp-footer-grid { grid-template-columns: 1fr; }
    .lp-footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }
    .ca-fw,
    .cb2-fw { display: none; }
    .ca-wrap,
    .cb2-wrap { padding: 0; }
    .cc-cw { display: none; }
    .cc-wrap {
        padding: 1rem 0;
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page *,
    body.landing-page *::before,
    body.landing-page *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .tl-item,
    .cc-cw,
    .ca-fw,
    .cb2-fw,
    .mc-hm-cell { opacity: 1 !important; }
    .cb2-cap-fill { width: 90% !important; }
    .mc-att-fill { width: 82% !important; }
}

/* =============================================================
   Dropdown "Negocios" del navbar de landing (_landing_nav.html)
   -------------------------------------------------------------
   Solo CSS, sin JS. El menú aparece al pasar el mouse (hover) y
   al navegar con teclado (focus-within → accesible). El click en
   el toggle sigue llevando a la sección #models.

   Clases:
     .lp-nav-dd        → contenedor <li> (posición relativa, ancla del menú)
     .lp-nav-dd-toggle → el link "Negocios" (usa estilos base de .lp-navlinks a)
     .lp-nav-dd-caret  → ícono chevron, rota 180° al desplegar
     .lp-nav-dd-menu   → panel flotante con los BusinessModels
     .lp-nav-dd-item   → cada enlace a una landing de detalle (ícono + texto)

   Funciona en dark mode automáticamente: usa las variables del tema,
   que ya cambian con body.landing-page.dark-mode.
   ============================================================= */
.lp-nav-dd {
    position: relative;
}

/* Caret pequeño junto al texto, gira al abrir el menú */
.lp-nav-dd-caret {
    font-size: .7rem;
    margin-left: 2px;
    display: inline-block;
    transition: transform .2s ease;
}
.lp-nav-dd:hover .lp-nav-dd-caret,
.lp-nav-dd:focus-within .lp-nav-dd-caret {
    transform: rotate(180deg);
}

/* Panel del menú: oculto por defecto, visible en hover/focus-within.
   El padding-top crea un puente de hover continuo entre el toggle y el
   menú (sin gap real), para que al bajar el mouse no se corte el hover. */
.lp-nav-dd-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
    min-width: 220px;
    margin: 0;
    padding-top: 12px;            /* puente de hover (no es separación visual) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lp-nav-dd:hover .lp-nav-dd-menu,
.lp-nav-dd:focus-within .lp-nav-dd-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* La caja real del dropdown vive en un pseudo-elemento para que el
   padding-top puente quede transparente y solo el panel se vea. */
.lp-nav-dd-menu::before {
    content: '';
    position: absolute;
    inset: 12px 0 0 0;           /* arranca tras el puente de hover */
    background: var(--lp-bg-glass);
    border: 1px solid var(--lp-border-sub);
    border-radius: var(--lp-r);
    box-shadow: var(--lp-sh-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

/* Ítem del menú: ícono + texto.
   Se prefija con .lp-navlinks para ganarle en especificidad a la regla base
   `.lp-navlinks a` (que define padding/color/underline de las pestañas), ya
   que estos enlaces también son descendientes <a> de .lp-navlinks. */
.lp-navlinks .lp-nav-dd-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .9rem;
    color: var(--lp-t2);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
/* Anula el underline ::after que la base .lp-navlinks a dibuja al hover */
.lp-navlinks .lp-nav-dd-item::after {
    display: none;
}
.lp-navlinks .lp-nav-dd-item:first-child {
    border-top-left-radius: var(--lp-r);
    border-top-right-radius: var(--lp-r);
}
.lp-navlinks .lp-nav-dd-item:last-child {
    border-bottom-left-radius: var(--lp-r);
    border-bottom-right-radius: var(--lp-r);
}
.lp-navlinks .lp-nav-dd-item i {
    font-size: 1rem;
    color: var(--lp-accent);
    flex-shrink: 0;
}
.lp-navlinks .lp-nav-dd-item:hover,
.lp-navlinks .lp-nav-dd-item:focus {
    background: var(--lp-bg-alt);
    color: var(--lp-accent);
}

/* Respeta la preferencia de movimiento reducido en caret y panel */
@media (prefers-reduced-motion: reduce) {
    .lp-nav-dd-caret,
    .lp-nav-dd-menu { transition: none; }
}
