/*
 * Landing pública LAVALLE — sistema visual portado del prototipo lavalle_landing_v2.
 * Se carga después de global.css/public.css:
 *   - Header, footer, barra de progreso y grano aplican a todo el sitio público.
 *   - Los componentes de página viven bajo body.lp para no interferir con
 *     login, recuperación de contraseña, links mágicos ni autofacturación.
 */

:root {
    --lp-navy: #1C2E41;
    --lp-navy-2: #0E1C2A;
    --lp-navy-3: #24394F;
    --lp-gold: #C89948;
    --lp-gold-2: #DCC9A3;
    --lp-white: #FEFEFE;
    --lp-ivory: #F7F5F0;
    --lp-slate: #6D7783;
    --lp-line: rgba(28, 46, 65, 0.12);
    --lp-line-dark: rgba(254, 254, 254, 0.14);
    --lp-shadow: 0 24px 70px rgba(28, 46, 65, 0.12);
    --lp-shadow-dark: 0 32px 90px rgba(0, 0, 0, 0.32);
    --lp-radius: 28px;
    --lp-radius-sm: 18px;
    --lp-font-display: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lp-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ------------------------------------------------------------------ */
/* Elementos globales: progreso de scroll, grano, header y footer      */
/* ------------------------------------------------------------------ */

/* z-index por debajo del overlay de carga (.app-loading-overlay usa 90 en global.css) */
.lp-progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--lp-gold), var(--lp-gold-2));
    z-index: 85;
}

.lp-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 60;
    opacity: 0.22;
    background-image: radial-gradient(rgba(28, 46, 65, 0.05) 0.6px, transparent 0.6px);
    background-size: 4px 4px;
    mix-blend-mode: multiply;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(254, 254, 254, 0.86);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    z-index: 80;
    border-bottom: 1px solid rgba(28, 46, 65, 0.08);
    box-shadow: none;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 18px 40px rgba(28, 46, 65, 0.08);
    background: rgba(254, 254, 254, 0.94);
}

.nav-shell {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
}

.brand img {
    width: 224px;
    height: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: rgba(28, 46, 65, 0.66);
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--lp-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--lp-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-soon {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-gold);
    vertical-align: super;
    margin-left: 3px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.lp-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--lp-navy);
    transition: transform 0.25s ease;
}

.mobile-panel {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.small {
    padding: 10px 15px;
    font-size: 13px;
}

.btn-gold {
    background: var(--lp-gold);
    color: var(--lp-navy-2);
    box-shadow: 0 18px 35px rgba(200, 153, 72, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 24px 48px rgba(200, 153, 72, 0.32);
}

.btn-outline {
    background: transparent;
    border-color: rgba(28, 46, 65, 0.18);
    color: var(--lp-navy);
}

.btn-outline.light {
    border-color: rgba(254, 254, 254, 0.22);
    color: #fff;
}

.btn-ghost {
    background: rgba(28, 46, 65, 0.04);
    color: var(--lp-navy);
}

.btn-dark {
    background: var(--lp-navy);
    color: #fff;
}

.btn.full {
    width: 100%;
}

.site-footer {
    background: var(--lp-navy-2);
    color: #fff;
    padding: 62px 0 28px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
    gap: 44px;
}

.footer-logo {
    width: 210px;
    height: auto;
    margin-bottom: 22px;
    filter: brightness(1.2);
}

.site-footer p,
.site-footer a,
.site-footer span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    text-decoration: none;
}

.site-footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    color: #fff;
}

.site-footer .footer-links a,
.site-footer .footer-links span {
    display: block;
    margin: 9px 0;
}

.site-footer a:hover {
    color: var(--lp-gold-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 24px;
}

.footer-bottom span,
.footer-bottom small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom small a {
    display: inline;
    margin: 0;
    font-size: 12px;
    text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Componentes de página (solo body.lp)                                 */
/* ------------------------------------------------------------------ */

body.lp {
    font-family: var(--lp-font-body);
    background: var(--lp-white);
    color: var(--lp-navy);
    line-height: 1.55;
    overflow-x: hidden;
}

body.lp .container {
    width: min(1180px, calc(100% - 42px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

body.lp .narrow {
    width: min(820px, calc(100% - 42px));
}

body.lp .hero,
body.lp .page-hero {
    position: relative;
    padding: 104px 0 88px;
    overflow: hidden;
    background: none;
}

body.lp .hero-home::before,
body.lp .page-hero::before {
    content: "";
    position: absolute;
    inset: -30% -20% auto auto;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at center, rgba(200, 153, 72, 0.12), transparent 62%);
    pointer-events: none;
}

body.lp .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 68px;
    align-items: center;
}

body.lp .hero-copy h1,
body.lp .page-hero h1,
body.lp .section h2,
body.lp .cta-box h2 {
    font-family: var(--lp-font-display);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 0;
    color: var(--lp-navy);
}

body.lp .hero-copy h1 {
    font-size: clamp(48px, 6vw, 82px);
    max-width: 900px;
}

body.lp .hero-copy h1 strong,
body.lp .page-hero h1 strong {
    color: var(--lp-gold);
}

body.lp .lead {
    font-size: clamp(18px, 2vw, 21px);
    color: rgba(28, 46, 65, 0.68);
    max-width: 680px;
    margin: 24px 0 0;
}

body.lp .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 900;
    color: var(--lp-gold);
}

body.lp .eyebrow span {
    display: inline-block;
    width: 46px;
    height: 2px;
    background: var(--lp-gold);
}

body.lp .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

body.lp .microcopy {
    font-size: 12px;
    color: rgba(28, 46, 65, 0.55);
    max-width: 620px;
    margin-top: 18px;
}

body.lp .dark-section .microcopy,
body.lp .cta-box .microcopy {
    color: rgba(255, 255, 255, 0.55);
}

body.lp .trust-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

body.lp .trust-strip span {
    padding: 9px 12px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: rgba(247, 245, 240, 0.72);
    font-size: 12px;
    font-weight: 800;
    color: rgba(28, 46, 65, 0.72);
}

body.lp .hero-panel {
    position: relative;
    display: block;
    justify-content: normal;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--lp-navy), #13263A);
    padding: 26px;
    color: #fff;
    box-shadow: var(--lp-shadow-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

body.lp .hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 80% 0, rgba(200, 153, 72, 0.22), transparent 36%);
    pointer-events: none;
}

body.lp .panel-top,
body.lp .metric-row,
body.lp .timeline,
body.lp .floating-note {
    position: relative;
}

body.lp .panel-top {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    font-weight: 800;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

body.lp .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #74D49B;
    box-shadow: 0 0 0 7px rgba(116, 212, 155, 0.12);
    margin-right: auto;
}

body.lp .metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0;
}

body.lp .metric-row div {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 20px;
}

body.lp .metric-row span,
body.lp .metric-row em {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-style: normal;
}

body.lp .metric-row strong {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 44px;
    line-height: 1;
    color: #fff;
    margin: 8px 0;
}

body.lp .timeline {
    display: grid;
    gap: 12px;
}

body.lp .timeline-step {
    position: relative;
    padding: 18px 18px 18px 72px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

body.lp .timeline-step::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

body.lp .timeline-step.active::before {
    background: var(--lp-gold);
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 8px rgba(200, 153, 72, 0.14);
}

body.lp .timeline-step strong {
    display: block;
    font-size: 15px;
}

body.lp .timeline-step p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
}

body.lp .floating-note {
    margin-top: 18px;
    background: rgba(200, 153, 72, 0.14);
    border: 1px solid rgba(200, 153, 72, 0.24);
    border-radius: 18px;
    padding: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

body.lp .section {
    padding: 96px 0;
    background: none;
}

body.lp .section-cream {
    background: var(--lp-ivory);
}

body.lp .dark-section {
    background: linear-gradient(145deg, var(--lp-navy-2), var(--lp-navy));
    color: #fff;
}

body.lp .dark-section h1,
body.lp .dark-section h2,
body.lp .dark-section h3 {
    color: #fff;
}

body.lp .dark-section p {
    color: rgba(255, 255, 255, 0.72);
}

body.lp .dark-section .lead {
    color: rgba(255, 255, 255, 0.72);
}

body.lp .angled {
    position: relative;
}

body.lp .angled::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--lp-ivory);
    clip-path: polygon(0 0, 100% 0, 100% 26%, 0 100%);
}

body.lp .split-intro {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 52px;
    align-items: end;
    margin-bottom: 46px;
}

body.lp .section h2,
body.lp .page-hero h1 {
    font-size: clamp(38px, 4.6vw, 62px);
}

body.lp .section-lead {
    font-size: 18px;
    color: rgba(28, 46, 65, 0.66);
    margin: 0;
}

body.lp .dark-section .section-lead {
    color: rgba(255, 255, 255, 0.7);
}

body.lp .value-grid,
body.lp .story-grid,
body.lp .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

body.lp .feature-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

body.lp .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

body.lp .value-card,
body.lp .story-card,
body.lp .feature-card,
body.lp .price-card,
body.lp .article-card,
body.lp .topic-card,
body.lp .newsletter-box,
body.lp .contact-form,
body.lp .contact-aside,
body.lp .disclaimer-card,
body.lp .principles-card {
    background: #fff;
    border: 1px solid rgba(28, 46, 65, 0.08);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 28px;
}

body.lp .value-card,
body.lp .service-card,
body.lp .price-card,
body.lp .article-card,
body.lp .feature-card,
body.lp .story-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.lp .value-card:hover,
body.lp .service-card:hover,
body.lp .price-card:hover,
body.lp .article-card:hover,
body.lp .feature-card:hover,
body.lp .story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 85px rgba(28, 46, 65, 0.16);
    border-color: rgba(200, 153, 72, 0.3);
}

body.lp .card-index,
body.lp .price-card > span {
    font-weight: 900;
    color: var(--lp-gold);
    letter-spacing: 0.15em;
    font-size: 12px;
}

body.lp .value-card h3,
body.lp .service-card h3,
body.lp .article-card h3,
body.lp .feature-card h3,
body.lp .story-card h3,
body.lp .price-card h3 {
    font-family: var(--lp-font-display);
    font-size: 24px;
    line-height: 1.08;
    margin: 18px 0 10px;
    letter-spacing: -0.03em;
    color: inherit;
}

body.lp .value-card p,
body.lp .service-card p,
body.lp .article-card p,
body.lp .feature-card p,
body.lp .story-card p,
body.lp .price-card p {
    color: rgba(28, 46, 65, 0.66);
    margin: 0;
}

body.lp .process-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 68px;
    align-items: start;
}

body.lp .process-list {
    display: grid;
    gap: 16px;
}

body.lp .process-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 22px;
}

body.lp .process-item span {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--lp-gold);
    color: var(--lp-navy);
    font-weight: 900;
}

body.lp .process-item strong {
    font-family: var(--lp-font-display);
    font-size: 20px;
}

body.lp .process-item p {
    margin: 4px 0 0;
}

body.lp .service-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 22px;
}

body.lp .service-card {
    background: #fff;
    border: 1px solid rgba(28, 46, 65, 0.08);
    box-shadow: var(--lp-shadow);
    border-radius: var(--lp-radius);
    padding: 28px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.lp .service-card.large {
    grid-row: span 2;
    background: linear-gradient(145deg, var(--lp-navy), #102237);
    color: #fff;
}

body.lp .service-card.large h3,
body.lp .service-card.large p {
    color: #fff;
}

body.lp .service-card > span {
    color: var(--lp-gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.12em;
}

body.lp .service-card a {
    font-weight: 800;
    color: var(--lp-gold);
    text-decoration: none;
    margin-top: 16px;
}

body.lp .portal-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 54px;
    align-items: center;
}

body.lp .bj-logo {
    width: 260px;
    margin-bottom: 24px;
}

body.lp .workflow-card {
    background: var(--lp-navy);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--lp-shadow);
    color: #fff;
}

body.lp .workflow-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.64);
}

body.lp .workflow-row:last-child {
    border-bottom: 0;
}

body.lp .workflow-row span {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}

body.lp .workflow-row.done span,
body.lp .workflow-row.active span {
    background: var(--lp-gold);
    border-color: var(--lp-gold);
}

body.lp .workflow-row.done {
    color: #fff;
}

body.lp .workflow-row.active {
    color: var(--lp-gold);
    font-weight: 800;
}

body.lp .cta-section {
    background: var(--lp-navy-2);
}

body.lp .cta-box {
    background: linear-gradient(145deg, var(--lp-navy), #0B1723);
    color: #fff;
    border-radius: 36px;
    padding: 58px;
    box-shadow: var(--lp-shadow-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

body.lp .cta-box h2 {
    color: #fff;
    max-width: 900px;
}

body.lp .cta-box p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.74);
}

body.lp .page-hero.compact {
    padding: 112px 0 80px;
}

body.lp .page-hero.compact h1 {
    max-width: 950px;
}

body.lp .badge-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(200, 153, 72, 0.14);
    border: 1px solid rgba(200, 153, 72, 0.35);
    color: var(--lp-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

body.lp .service-tabs {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 24px;
}

body.lp .tabs-nav {
    display: grid;
    gap: 12px;
    align-content: start;
}

body.lp .tabs-nav button {
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(28, 46, 65, 0.1);
    border-radius: 18px;
    text-align: left;
    padding: 18px 20px;
    font-weight: 900;
    color: rgba(28, 46, 65, 0.7);
    transition: 0.25s ease;
}

body.lp .tabs-nav button.active,
body.lp .tabs-nav button:hover {
    background: var(--lp-navy);
    color: #fff;
    border-color: var(--lp-navy);
}

body.lp .tabs-panel {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 38px;
    border: 1px solid rgba(28, 46, 65, 0.08);
    box-shadow: var(--lp-shadow);
    min-height: 380px;
}

body.lp .tab-pane {
    display: none;
}

body.lp .tab-pane.active {
    display: block;
    animation: lpFadeUp 0.35s ease both;
}

body.lp .tab-pane h3 {
    font-family: var(--lp-font-display);
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0 0 16px;
}

body.lp .tab-pane > p {
    font-size: 18px;
    color: rgba(28, 46, 65, 0.68);
}

body.lp .mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

body.lp .mini-grid span {
    background: var(--lp-ivory);
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
    color: var(--lp-navy);
    font-size: 14px;
}

body.lp .price-card.highlight {
    background: var(--lp-navy);
    color: #fff;
    transform: translateY(-10px);
}

body.lp .price-card.highlight p,
body.lp .price-card.highlight h3 {
    color: #fff;
}

body.lp .disclaimer-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

body.lp .check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 14px;
}

body.lp .check-list.two-cols {
    grid-template-columns: 1fr 1fr;
}

body.lp .check-list li {
    position: relative;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.78);
}

body.lp .check-list.on-light li {
    color: rgba(28, 46, 65, 0.72);
}

body.lp .check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--lp-gold);
    color: var(--lp-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
}

body.lp .academy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}

body.lp .topic-card {
    align-self: start;
    position: sticky;
    top: 110px;
}

body.lp .topic-card h3 {
    margin-top: 0;
}

body.lp .topic-card a {
    display: block;
    padding: 10px 0;
    color: rgba(28, 46, 65, 0.62);
    font-weight: 800;
    text-decoration: none;
}

body.lp .topic-card a.active,
body.lp .topic-card a:hover {
    color: var(--lp-gold);
}

body.lp .article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

body.lp .article-card.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, var(--lp-navy), #102237);
    color: #fff;
}

body.lp .article-card.featured h3 {
    font-size: 36px;
    color: #fff;
    margin: 12px 0;
}

body.lp .article-card.featured p {
    color: rgba(255, 255, 255, 0.72);
}

body.lp .article-card > span {
    color: var(--lp-gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.12em;
}

body.lp .article-card a {
    color: inherit;
    text-decoration: none;
}

body.lp .newsletter-box {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

body.lp .inline-form {
    display: flex;
    gap: 10px;
}

body.lp .inline-form input,
body.lp .contact-form input,
body.lp .contact-form select,
body.lp .contact-form textarea {
    width: 100%;
    border: 1px solid rgba(28, 46, 65, 0.13);
    background: #fff;
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    min-height: 0;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.lp .inline-form input:focus,
body.lp .contact-form input:focus,
body.lp .contact-form select:focus,
body.lp .contact-form textarea:focus {
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 4px rgba(200, 153, 72, 0.12);
}

body.lp .about-hero {
    background: linear-gradient(180deg, #fff, var(--lp-ivory));
}

body.lp .principles-card {
    background: var(--lp-navy);
    color: #fff;
}

body.lp .principles-card h3 {
    font-size: 28px;
    margin-top: 0;
    color: #fff;
}

body.lp .principles-card > div {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
}

body.lp .principles-card span {
    color: var(--lp-gold);
    font-weight: 900;
}

body.lp .principles-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

body.lp .stats-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.55fr);
    gap: 22px;
    align-items: stretch;
}

body.lp .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--lp-radius);
    padding: 28px;
}

body.lp .stat-card strong {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 42px;
    line-height: 1;
    color: var(--lp-gold);
    margin-bottom: 14px;
}

body.lp .stat-card span {
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

body.lp .contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

body.lp .form-row {
    margin-bottom: 16px;
}

body.lp .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

body.lp .form-row textarea {
    min-height: 150px;
    resize: vertical;
}

body.lp .form-row .errorlist {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    color: #C45A5A;
    font-size: 13px;
    font-weight: 700;
}

body.lp .form-errors {
    background: rgba(196, 90, 90, 0.08);
    border: 1px solid rgba(196, 90, 90, 0.35);
    border-radius: 16px;
    padding: 14px 16px;
    color: #9d3f3f;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

body.lp .contact-aside {
    background: var(--lp-navy);
    color: #fff;
}

body.lp .contact-aside h3,
body.lp .contact-aside h4 {
    color: #fff;
}

body.lp .contact-aside a,
body.lp .contact-aside p {
    color: rgba(255, 255, 255, 0.78);
}

body.lp .contact-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    margin-top: 24px;
}

body.lp .contact-legal {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(28, 46, 65, 0.6);
}

body.lp .contact-legal a {
    color: var(--lp-navy);
    font-weight: 700;
    text-decoration: underline;
}

body.lp .legal-copy {
    max-width: 860px;
}

body.lp .legal-copy h2 {
    font-size: 34px;
    margin-top: 34px;
}

body.lp .legal-copy p {
    color: rgba(28, 46, 65, 0.68);
    font-size: 18px;
}

body.lp .flash-stack {
    position: relative;
    z-index: 90;
}

/* ------------------------------------------------------------------ */
/* Animaciones                                                          */
/* ------------------------------------------------------------------ */

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

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

body.lp .delay-1 {
    transition-delay: 0.1s;
}

body.lp .delay-2 {
    transition-delay: 0.18s;
}

body.lp .delay-3 {
    transition-delay: 0.26s;
}

@keyframes lpFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 980px) {
    .desktop-nav,
    .nav-actions .btn {
        display: none;
    }

    .lp-menu-toggle {
        display: flex;
    }

    .nav-shell {
        height: 76px;
    }

    .brand img {
        width: 196px;
    }

    .mobile-panel {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #fff;
        border-bottom: 1px solid var(--lp-line);
    }

    .mobile-panel.open {
        max-height: 520px;
    }

    .mobile-panel nav {
        display: grid;
        gap: 0;
        padding: 12px 22px 24px;
    }

    .mobile-panel a {
        padding: 14px 0;
        text-decoration: none;
        color: var(--lp-navy);
        font-weight: 700;
    }

    body.lp .hero-grid,
    body.lp .split-intro,
    body.lp .process-grid,
    body.lp .portal-grid,
    body.lp .service-tabs,
    body.lp .academy-layout,
    body.lp .newsletter-box,
    body.lp .stats-grid,
    body.lp .contact-grid {
        grid-template-columns: 1fr;
    }

    body.lp .value-grid,
    body.lp .story-grid,
    body.lp .feature-grid,
    body.lp .feature-grid.two-cols,
    body.lp .service-showcase,
    body.lp .pricing-grid,
    body.lp .article-grid {
        grid-template-columns: 1fr;
    }

    body.lp .service-card.large,
    body.lp .article-card.featured {
        grid-column: auto;
        grid-row: auto;
    }

    body.lp .mini-grid {
        grid-template-columns: 1fr 1fr;
    }

    body.lp .check-list.two-cols {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    body.lp .topic-card {
        position: relative;
        top: auto;
    }

    body.lp .hero-copy h1 {
        font-size: clamp(42px, 11vw, 70px);
    }
}

@media (max-width: 620px) {
    body.lp .container {
        width: min(100% - 30px, 1180px);
    }

    body.lp .hero,
    body.lp .page-hero {
        padding: 72px 0;
    }

    body.lp .section {
        padding: 72px 0;
    }

    body.lp .hero-actions,
    body.lp .inline-form {
        flex-direction: column;
    }

    body.lp .hero-actions .btn {
        width: 100%;
    }

    body.lp .metric-row,
    body.lp .mini-grid {
        grid-template-columns: 1fr;
    }

    body.lp .cta-box {
        padding: 34px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    body.lp .article-card.featured h3 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lp .reveal,
    body.lp .tab-pane.active {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }

    .site-header,
    .nav-link::after,
    .btn,
    body.lp .value-card,
    body.lp .service-card,
    body.lp .price-card,
    body.lp .article-card,
    body.lp .feature-card,
    body.lp .story-card {
        transition: none !important;
    }
}

/* Utilidades sin estilos inline (CSP: style-src 'self') */

body.lp .lp-mt-0 {
    margin-top: 0;
}

body.lp .lp-mt-10 {
    margin-top: 10px;
}

body.lp .lp-mt-18 {
    margin-top: 18px;
}

body.lp .lp-mt-28 {
    margin-top: 28px;
}

body.lp .lp-mt-56 {
    margin-top: 56px;
}

body.lp .lp-strong-light {
    color: #fff;
}

body.lp .lp-topic-search {
    margin-top: 14px;
}

body.lp .lp-topic-search input {
    width: 100%;
    border: 1px solid rgba(28, 46, 65, 0.13);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}

body.lp .lp-topic-search input:focus {
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 4px rgba(200, 153, 72, 0.12);
}
