/* ==========================================================================
   Barbeo · Landing comercial pública (LANDING-V2-01)
   Rediseño orientado a conversión: vende el RESULTADO (menos desorden · más
   reservas · más control), no un catálogo de funciones. Capturas REALES y
   LIMPIAS del producto (crops sin cromo, en images/landing/clean|mobile/).
   Diseño standalone (no usa el layout del panel). Estética SaaS moderna:
   navy + indigo + cyan de acento, fondos claros, bordes finos, sombras suaves.
   Mobile-first. Sin librerías. Namespace `l` para no colisionar con el panel.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --l-bg: #ffffff;
    --l-bg-soft: #f5f7fb;
    --l-ink: #0f172a;
    --l-ink-2: #334155;
    /* LANDING-V2-01 · muted oscurecido para cumplir contraste AA también sobre
       --l-bg-soft (#f5f7fb): #556074 ≈ 5.6:1 sobre blanco y ≈ 5.3:1 sobre soft. */
    --l-muted: #556074;
    --l-line: #e6e8ef;
    --l-line-soft: #eef1f7;

    --l-brand: #6366f1;         /* indigo · marca Barbeo (espejo de Auth/panel) */
    --l-brand-hover: #4f52e0;   /* estado hover consolidado */
    --l-brand-strong: #4338ca;  /* indigo profundo · cierre de gradientes (paleta consolidada, no la legacy) */
    --l-brand-ink: #4f46e5;
    --l-brand-soft: #eef0ff;
    --l-accent: #06b6d4;     /* cyan / turquesa */
    --l-accent-soft: #e0f7fb;

    --l-navy: #0b1120;
    --l-navy-2: #111827;

    --l-green: #16a34a;
    --l-amber: #d97706;

    --l-radius: 16px;
    --l-radius-lg: 24px;
    --l-radius-xl: 30px;

    --l-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
    --l-shadow-md: 0 14px 40px rgba(15, 23, 42, 0.08);
    --l-shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.14);
    --l-shadow-brand: 0 18px 40px rgba(99, 102, 241, 0.30);

    --l-container: 1160px;
    --l-nav-h: 66px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--l-nav-h) + 16px);
}

.lbody {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--l-bg);
    color: var(--l-ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; /* red de seguridad ante pequeños desbordes de mockups */
}

.lbody.lmenu-open { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.lcontainer {
    width: 100%;
    max-width: var(--l-container);
    margin: 0 auto;
    padding: 0 20px;
}
.lcontainer--narrow { max-width: 780px; }

.lsection { padding: 72px 0; }
.lsection--soft { background: var(--l-bg-soft); }

.lsection__head {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}
.lsection__head h2 {
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    font-weight: 800;
}
.lsection__head p {
    font-size: clamp(16px, 2.4vw, 19px);
    color: var(--l-muted);
    margin: 0 auto;
    max-width: 620px;
}

/* ---------- Eyebrow ---------- */
.leyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--l-brand-ink);
    margin-bottom: 14px;
}
.ldot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--l-accent);
    box-shadow: 0 0 0 4px var(--l-accent-soft);
}

/* ---------- Buttons ---------- */
.lbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.lbtn:hover { transform: translateY(-1px); }
.lbtn:focus-visible { outline: 3px solid var(--l-brand); outline-offset: 2px; }

.lbtn--primary {
    background: linear-gradient(135deg, var(--l-brand) 0%, var(--l-brand-strong) 100%);
    color: #fff;
    box-shadow: var(--l-shadow-brand);
}
.lbtn--primary:hover {
    background: linear-gradient(135deg, var(--l-brand-hover) 0%, var(--l-brand-strong) 100%);
    box-shadow: 0 22px 48px rgba(99, 102, 241, 0.40);
}

.lbtn--soft {
    background: #fff;
    color: var(--l-ink);
    border-color: var(--l-line);
    box-shadow: var(--l-shadow-sm);
}
.lbtn--soft:hover { border-color: #d4d9e6; }

.lbtn--ghost { background: transparent; color: var(--l-ink); border-color: transparent; }
.lbtn--ghost:hover { background: var(--l-brand-soft); color: var(--l-brand-ink); }

.lbtn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.28); }
.lbtn--ghost-light:hover { background: rgba(255,255,255,0.16); }

.lbtn--lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.lbtn--block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.lnav {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--l-nav-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lnav.is-scrolled {
    border-bottom-color: var(--l-line);
    box-shadow: 0 1px 0 rgba(15,23,42,0.02), var(--l-shadow-sm);
}
.lnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lnav__links { display: none; gap: 4px; }
.lnav__link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--l-ink-2);
    padding: 8px 12px;
    border-radius: 9px;
    transition: color .15s ease, background .15s ease;
}
.lnav__link:hover { color: var(--l-brand-ink); background: var(--l-brand-soft); }
.lnav__cta { display: none; align-items: center; gap: 10px; }

/* LANDING-POLISH-01 · Botón hamburguesa: área táctil 44×44, alineado con el logo,
   fondo/borde de marca y estados hover/focus sutiles. En ≥1000px se oculta. */
.lnav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--l-line);
    background: #fff;
    border-radius: 12px;
    color: var(--l-ink);
    cursor: pointer;
    box-shadow: var(--l-shadow-sm);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.lnav__toggle:hover { background: var(--l-brand-soft); border-color: #d4d9e6; color: var(--l-brand-ink); }
.lnav__toggle:focus-visible { outline: 3px solid var(--l-brand); outline-offset: 2px; }
.lnav__toggle[aria-expanded="true"] { background: var(--l-brand-soft); color: var(--l-brand-ink); }
.lnav__toggle svg { width: 24px; height: 24px; }

/* ---------- Menú móvil ---------- */
.lmobile {
    position: fixed;
    inset: 0;
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
    /* El panel se guarda fuera de pantalla con translateX(100%). Al ser un
       elemento fijo, el overflow-x:hidden del body no puede recortarlo y ensancha
       la página (desbordamiento horizontal en móvil). overflow:hidden aquí lo
       recorta; cuando el menú abre, el panel entra dentro de estos límites. */
    overflow: hidden;
}
.lmobile.is-open { visibility: visible; pointer-events: auto; }
.lmobile__overlay {
    position: absolute; inset: 0;
    background: rgba(11, 17, 32, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .22s ease;
}
.lmobile.is-open .lmobile__overlay { opacity: 1; }
.lmobile__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 320px);
    background: #fff;
    padding: 16px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    box-shadow: -24px 0 64px rgba(15,23,42,0.24);
    transform: translateX(100%);
    transition: transform .26s cubic-bezier(.4,0,.2,1);
}
.lmobile.is-open .lmobile__panel { transform: translateX(0); }
.lmobile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--l-line-soft);
}
.lmobile__close {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--l-line);
    background: #fff; border-radius: 12px;
    color: var(--l-ink); cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.lmobile__close:hover { background: var(--l-brand-soft); border-color: #d4d9e6; color: var(--l-brand-ink); }
.lmobile__close:focus-visible { outline: 3px solid var(--l-brand); outline-offset: 2px; }
.lmobile__close svg { width: 22px; height: 22px; }
.lmobile__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
}
.lmobile__link {
    font-size: 16.5px;
    font-weight: 600;
    padding: 13px 12px;
    border-radius: 11px;
    color: var(--l-ink);
    transition: background .15s ease, color .15s ease;
}
.lmobile__link:hover { background: var(--l-bg-soft); color: var(--l-brand-ink); }
.lmobile__link:focus-visible { outline: 3px solid var(--l-brand); outline-offset: 2px; }
.lmobile__cta {
    margin-top: auto;   /* ancla las acciones al fondo del drawer */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--l-line-soft);
}

/* ==========================================================================
   Frames (mockups)
   ========================================================================== */
.browser-frame {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--l-line);
    box-shadow: var(--l-shadow-lg);
}
.browser-frame__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 14px;
    background: #f1f3f8;
    border-bottom: 1px solid var(--l-line);
}
.browser-frame__dots { display: inline-flex; gap: 6px; flex: none; }
.browser-frame__dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd2e0; }
.browser-frame__url {
    font-size: 12px;
    color: #8a93a6;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: 7px;
    padding: 4px 12px;
    margin-left: 6px;
    max-width: 62%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browser-frame__viewport { display: block; }

/* LANDING-POLISH-01 · Smartphone premium moderno: cuerpo alto y estilizado, marcos
   finos y uniformes (padding delgado), esquinas refinadas, dynamic island pequeña
   (pill flotante, no notch ancho) y sombra elegante. La UI real (la captura) llena
   la pantalla sin deformarse. */
.phone-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(155deg, #232a3a 0%, #0b1120 52%, #05070d 100%);
    border-radius: 34px;
    padding: 5px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.30),
        0 24px 48px rgba(15, 23, 42, 0.26);
}
/* Filo metálico sutil del marco. */
.phone-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.10);
    pointer-events: none;
}
/* Dynamic island: pastilla pequeña centrada, flotando sobre la pantalla. */
.phone-frame__notch {
    position: absolute;
    top: 13px; left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 9px;
    background: #05070d;
    border-radius: 999px;
    z-index: 3;
}
.phone-frame__screen {
    border-radius: 29px;
    overflow: hidden;
    background: #fff;
}

.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.lhero {
    position: relative;
    padding: 28px 0 48px;
    overflow: hidden;
    background:
        radial-gradient(1000px 460px at 78% -8%, rgba(6,182,212,0.10), transparent 60%),
        radial-gradient(900px 500px at 12% 4%, rgba(99,102,241,0.12), transparent 58%),
        var(--l-bg);
}
.lhero__glow {
    position: absolute;
    top: -160px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}
.lhero__grid { position: relative; display: grid; gap: 30px; }
/* min-width:0 evita que un hijo de contenido ancho (p. ej. el titular) ensanche la
   pista del grid más allá del viewport en pantallas estrechas. */
.lhero__grid > * { min-width: 0; }
.lhero__copy { text-align: center; }
.lhero__title {
    /* LANDING-V2-01 · Dimensionado para que las TRES líneas del titular quepan sin
       clip en pantallas estrechas (≥320px), incluso con la pila de sistema mientras
       Inter carga de forma asíncrona. En desktop escala hasta 56px. */
    font-size: clamp(33px, 8.8vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 16px;
}
/* LANDING-V2-01 · Titular en tres líneas (menos desorden · más reservas · más
   control); la segunda se resalta con el indigo de marca. Cada línea es un bloque;
   NO se fuerza nowrap (eso ensanchaba la pista del grid en pantallas estrechas y
   desbordaba el hero) — el tamaño ya garantiza que cada línea entra por sí sola. */
.lhero__line { display: block; }
.lhero__line--accent { color: var(--l-brand-ink); }
.lhero__subtitle {
    font-size: clamp(16px, 3.4vw, 20px);
    line-height: 1.5;
    color: var(--l-ink-2);
    font-weight: 500;
    margin: 0 auto 20px;
    max-width: 500px;
}
.lhero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto 14px;
}
.lhero__micro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--l-ink-2);
    margin: 0;
}
.lhero__micro svg { width: 17px; height: 17px; color: var(--l-green); }

.lhero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lhero__desktop { width: 100%; }
/* Móvil/tablet: el teléfono del barbero es protagonista y se superpone,
   centrado, sobre el borde inferior del panel owner. En desktop (≥1000px) pasa
   a absolute (ver breakpoint). */
.lhero__phone {
    order: 0;
    width: 186px;
    margin-top: -60px;
    position: relative;
    z-index: 4;
    filter: drop-shadow(0 20px 32px rgba(15, 23, 42, 0.22));
}

/* ==========================================================================
   Intro editorial centrada de una sección (título + párrafo explicativo)
   ========================================================================== */
.lintro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lintro h2 {
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 16px;
}
.lintro__lead {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--l-ink-2);
    margin: 0 auto;
    max-width: 640px;
}
.lintro__note {
    font-size: clamp(15px, 2.2vw, 16px);
    color: var(--l-muted);
    margin: 14px auto 0;
    max-width: 560px;
}

/* ==========================================================================
   Problema: bloques editoriales (divisor + texto), sin cards pesadas
   ========================================================================== */
.lproblem__grid { display: grid; gap: 28px 44px; margin-top: 4px; }
.lproblem__item { border-top: 2px solid var(--l-line); padding-top: 18px; }
.lproblem__item h3 {
    font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--l-brand-ink); margin: 0 0 8px;
}
.lproblem__item p { margin: 0; color: var(--l-muted); font-size: 16px; }
.lproblem__bridge {
    max-width: 640px;
    margin: 40px auto 0;
    text-align: center;
    font-size: clamp(18px, 2.6vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--l-ink);
}

/* ==========================================================================
   Solución: fila de módulos con icono (sobria, se centra al envolver)
   ========================================================================== */
.lsolgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 780px; margin: 0 auto; }
.lsol {
    flex: 1 1 200px; max-width: 240px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--l-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--l-shadow-sm);
    font-weight: 700; font-size: 15px; color: var(--l-ink);
}
.lsol__ic {
    flex: none; width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--l-brand-soft); color: var(--l-brand-ink);
}

/* ==========================================================================
   Secciones de funcionalidad (imagen + copy)
   ========================================================================== */
.lfeature__grid {
    display: grid;
    gap: 34px;
    align-items: center;
}
.lfeature__copy { text-align: center; }
.lfeature__copy h2 {
    font-size: clamp(25px, 5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 14px;
}
.llead {
    font-size: clamp(16px, 2.6vw, 18px);
    color: var(--l-muted);
    margin: 0 auto;
    max-width: 540px;
}
.lfeature__media { width: 100%; min-width: 0; }
.lfeature__media--phone { display: flex; justify-content: center; }
.lfeature__media--phone .phone-frame { width: 240px; }
.lfeature__actions { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Lista con checks (sub-beneficios de las secciones de funcionalidad) */
.lchecks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.lchecks li { display: flex; align-items: center; gap: 11px; font-size: 16px; color: var(--l-ink-2); font-weight: 600; }
.lchecks svg { flex: none; width: 20px; height: 20px; color: var(--l-brand-ink); }

/* Callout único (retención) */
.lcallout {
    margin: 26px auto 0;
    max-width: 420px;
    background: linear-gradient(140deg, var(--l-brand) 0%, var(--l-brand-strong) 100%);
    color: #fff;
    border-radius: var(--l-radius);
    padding: 20px 22px;
    text-align: center;
    box-shadow: var(--l-shadow-brand);
}
.lcallout strong { display: block; font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.lcallout span { display: block; font-size: 14px; color: rgba(255,255,255,0.88); margin-top: 4px; }
.lbadge {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 3px 10px;
}

/* ==========================================================================
   Grid de cards compactas (Clientes · Funciones adicionales)
   ========================================================================== */
.lcardgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.lcard {
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius);
    padding: 22px 20px;
    box-shadow: var(--l-shadow-sm);
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.lcard:hover { transform: translateY(-2px); box-shadow: var(--l-shadow-md); border-color: #dfe3ee; }
.lcard__ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 14px;
    border-radius: 12px;
    background: var(--l-brand-soft); color: var(--l-brand-ink);
}
.lcard h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.lcard p { margin: 0; color: var(--l-muted); font-size: 15px; line-height: 1.5; }

/* ==========================================================================
   Dos públicos (independientes · barberías)
   ========================================================================== */
.laudience { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.laudience__card {
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--l-shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.laudience__ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--l-brand-soft), var(--l-accent-soft));
    color: var(--l-brand-ink);
}
.laudience__card h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.laudience__card p { margin: 0 0 22px; color: var(--l-ink-2); font-size: 16px; max-width: 360px; }
.laudience__card .lbtn { margin-top: auto; }

/* ==========================================================================
   Pasos numerados editoriales (cómo funciona)
   ========================================================================== */
.lsteps { display: grid; gap: 26px; max-width: 900px; margin: 8px auto 0; }
.lstep { text-align: center; }
.lstep__num {
    width: 46px; height: 46px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--l-brand), var(--l-brand-strong));
    color: #fff; font-weight: 800; font-size: 19px;
    box-shadow: var(--l-shadow-brand);
}
.lstep h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.lstep p { margin: 0; color: var(--l-muted); font-size: 15px; }

/* ==========================================================================
   Planes (Free · Pro mensual · Pro anual)
   ========================================================================== */
.lplans__grid {
    display: grid;
    gap: 18px;
    max-width: 400px;
    margin: 0 auto;
}
.lplans__grid--3 { max-width: 1040px; }
.lplan {
    position: relative;
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 30px 26px;
    box-shadow: var(--l-shadow-sm);
    display: flex;
    flex-direction: column;
}
.lplan--featured {
    border-color: transparent;
    box-shadow: 0 24px 60px rgba(99,102,241,0.22);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(140deg, var(--l-brand), var(--l-accent)) border-box;
    border: 1.5px solid transparent;
}
.lplan__flag {
    position: absolute;
    top: -12px; left: 26px;
    background: linear-gradient(135deg, var(--l-brand), var(--l-brand-strong));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: var(--l-shadow-brand);
}
.lplan__flag--save {
    background: linear-gradient(135deg, var(--l-accent), #0891b2);
    box-shadow: 0 12px 28px rgba(6,182,212,0.32);
}
.lplan__name { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.lplan__price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.lplan__per { font-size: 15px; font-weight: 600; color: var(--l-muted); letter-spacing: 0; }
.lplan__save {
    font-size: 13.5px; font-weight: 700; color: var(--l-brand-ink);
    margin: 0 0 10px;
}
/* ADMIN-PROMOTIONS-01 · Precio normal tachado sobre el promocional (solo cuando hay promoción). */
.lplan__was {
    font-size: 15px; color: var(--l-muted); margin: 0 0 2px;
}
.lplan__was s { text-decoration: line-through; }
.lplan__tagline { color: var(--l-muted); font-size: 14px; margin: 0 0 18px; }
.lplan__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.lplan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--l-ink-2); }
.lplan__check {
    flex: none;
    width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px;
    background: var(--l-brand-soft);
    color: var(--l-brand-ink);
    margin-top: 1px;
}
.lplan__check svg { width: 12px; height: 12px; }
.lplan a { margin-top: auto; }
.lplans__note {
    text-align: center;
    max-width: 560px;
    margin: 26px auto 0;
    color: var(--l-muted);
    font-size: 14.5px;
}

/* ==========================================================================
   Comparación simple (Free vs Pro)
   ========================================================================== */
.lcompare { display: grid; gap: 18px; grid-template-columns: 1fr; }
.lcompare__col {
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: var(--l-radius-lg);
    padding: 28px 26px;
    box-shadow: var(--l-shadow-sm);
}
.lcompare__col--pro {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(140deg, var(--l-brand), var(--l-accent)) border-box;
    border: 1.5px solid transparent;
}
.lcompare__name { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.lcompare__for { color: var(--l-muted); font-size: 14px; margin: 0 0 16px; }
.lcompare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lcompare__list li {
    position: relative; padding-left: 24px;
    font-size: 15px; color: var(--l-ink-2); font-weight: 500;
}
.lcompare__list li::before {
    content: ""; position: absolute; left: 4px; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--l-brand);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.lfaq__list { display: grid; gap: 12px; }
.lfaq__item {
    background: #fff;
    border: 1px solid var(--l-line);
    border-radius: 14px;
    padding: 4px 20px;
    box-shadow: var(--l-shadow-sm);
}
.lfaq__item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 34px 16px 0;
    position: relative;
    color: var(--l-ink);
}
.lfaq__item summary::-webkit-details-marker { display: none; }
.lfaq__item summary::after {
    content: "";
    position: absolute;
    right: 2px; top: 50%;
    width: 12px; height: 12px;
    margin-top: -6px;
    border-right: 2px solid var(--l-muted);
    border-bottom: 2px solid var(--l-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.lfaq__item[open] summary::after { transform: rotate(-135deg); }
.lfaq__item p { margin: 0 0 16px; color: var(--l-muted); font-size: 15px; }
.lfaq__item summary:focus-visible { outline: 3px solid var(--l-brand); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   CTA final
   ========================================================================== */
/* Menos padding inferior que superior: el footer navy sigue de inmediato y
   aporta su propio aire, así se evita la banda blanca antes del footer. */
.lcta { padding: 72px 0 52px; }
.lcta__card {
    position: relative;
    overflow: hidden;
    background: radial-gradient(700px 300px at 80% -20%, rgba(6,182,212,0.4), transparent 60%), linear-gradient(135deg, var(--l-navy) 0%, #1e2340 100%);
    border-radius: var(--l-radius-xl);
    padding: 56px 28px;
    text-align: center;
    color: #fff;
    box-shadow: var(--l-shadow-lg);
}
.lcta__glow {
    position: absolute;
    top: -80px; left: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(99,102,241,0.5), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.lcta__card h2 {
    position: relative;
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 14px;
}
.lcta__card p {
    position: relative;
    color: rgba(255,255,255,0.82);
    font-size: clamp(16px, 2.6vw, 18px);
    margin: 0 auto 28px;
    max-width: 520px;
}
.lcta__actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto;
}
.lcta__micro {
    position: relative;
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lfooter { background: var(--l-navy); color: #cbd5e1; padding: 40px 0 26px; }
/* Móvil: una sola columna. Marca, Producto, Cuenta, Legal se apilan en orden.
   .lfooter__cols usa display:contents para que sus 3 <nav> participen en el
   mismo grid que la marca (una única fila superior en desktop). */
.lfooter__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lfooter__brand .barbeo-brand { color: #fff; }
.lfooter__tagline { margin: 12px 0 0; color: #94a3b8; font-size: 14px; max-width: 320px; }
.lfooter__cols { display: contents; }
.lfooter__col { display: flex; flex-direction: column; gap: 10px; }
.lfooter__title { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #f1f5f9; margin: 0 0 4px; }
.lfooter__col a { font-size: 14px; line-height: 1.5; color: #cbd5e1; font-weight: 600; }
.lfooter__col a:hover { color: #fff; }
.lfooter__col a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.lfooter__bottom { padding-top: 20px; font-size: 13px; color: #64748b; }

/* ==========================================================================
   Reveal on-scroll
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
    .lcardgrid--3, .lcardgrid--4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
    .lhero__actions, .lcta__actions { flex-direction: row; justify-content: center; max-width: none; }
    .lhero__actions .lbtn, .lcta__actions .lbtn { flex: 0 1 auto; }
    .lcompare { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .lsection { padding: 92px 0; }
    .lcontainer { padding: 0 32px; }
    .lcta { padding: 96px 0 68px; }
    .lcta__card { padding: 68px 48px; }

    /* Tablet: 2x2 (Marca | Producto / Cuenta | Legal). */
    .lfooter__top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }

    .lproblem__grid { grid-template-columns: 1fr 1fr; }
    .lsteps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .laudience { grid-template-columns: 1fr 1fr; }
    .lhero__actions { max-width: none; }
}

@media (min-width: 900px) {
    .lproblem__grid { grid-template-columns: repeat(3, 1fr); }
    .lcardgrid--3 { grid-template-columns: repeat(3, 1fr); }
    .lplans__grid--3 { grid-template-columns: repeat(3, 1fr); align-items: center; }
    /* Pro mensual (destacada) sobresale ligeramente sobre las laterales. */
    .lplans__grid--3 .lplan--featured { transform: scale(1.04); z-index: 2; }
}

@media (min-width: 1000px) {
    .lnav__links { display: flex; }
    .lnav__cta { display: flex; }
    .lnav__toggle { display: none; }

    /* Footer desktop: 4 columnas reales en una sola fila superior.
       Marca ligeramente más ancha; nav Producto/Cuenta/Legal iguales.
       align-items: start alinea todas las columnas en la misma línea superior. */
    .lfooter__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: start; }

    /* Hero: dos columnas, teléfono superpuesto al frente */
    .lhero { padding: 64px 0 96px; }
    .lhero__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .lhero__copy { text-align: left; }
    .lhero__subtitle { margin-left: 0; margin-right: 0; }
    .lhero__actions { justify-content: flex-start; margin-left: 0; }
    .lhero__visual { display: block; padding-right: 30px; }
    .lhero__desktop { width: 100%; }
    .lhero__phone {
        position: absolute;
        width: 168px;
        right: 4px;
        bottom: -28px;
        order: 0;
        z-index: 4;
        margin-top: 0;                 /* anula el solape móvil */
        filter: drop-shadow(0 22px 38px rgba(15, 23, 42, 0.24));
    }

    /* Funcionalidades: dos columnas alternadas */
    .lfeature__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
    .lfeature__copy { text-align: left; }
    .llead { margin-left: 0; margin-right: 0; }
    .lcallout { margin-left: 0; }
    .lfeature__actions { justify-content: flex-start; }
    .lfeature__copy .lchecks { justify-items: start; }
    .lfeature--reverse .lfeature__copy { order: 2; }
    .lfeature--reverse .lfeature__media { order: 1; }

    .lcardgrid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .lhero__phone { width: 182px; right: 8px; }
}

/* ==========================================================================
   LANDING-06 · Crop FÍSICO móvil de las capturas desktop (≤767px)
   Cada captura protagonista trae un crop recortado a mano en
   images/landing/mobile/ (ver <x-landing.shot mobileName>), ya encuadrado (sin
   sidebar, sin cifras ni columnas cortadas). El navegador lo elige con
   <source media="(max-width:767px)">. Aquí solo fijamos su relación de aspecto
   (--m-ar, inyectada por el componente) para que NO haya CLS al cambiar de
   fuente desktop↔móvil. En ≥768px NO aplica: se sirve el asset desktop limpio.
   ========================================================================== */
@media (max-width: 767px) {
    .browser-frame .shot--m img {
        width: 100%;
        height: auto;
        aspect-ratio: var(--m-ar);
        object-fit: fill; /* la relación coincide con el crop: no deforma */
    }
}

/* ==========================================================================
   Accesibilidad: menos movimiento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .lbtn, .lmobile__panel, .lmobile__overlay, .lcard { transition: none !important; }
    .lbtn:hover, .lcard:hover { transform: none; }
}