/* Landing corporativa (Views/Landing, _LandingLayout). Independiente del tema del sistema; claro y oscuro según el equipo. */
:root {
    --lp-bg: #ffffff;
    --lp-bg-alt: #f4f6fa;
    --lp-surface: #ffffff;
    --lp-text: #14213d;
    --lp-muted: #5b6475;
    --lp-border: #e2e6ee;
    --lp-primary: #1f4fd8;
    --lp-primary-hover: #183fb0;
    --lp-primary-soft: #e8eefc;
    --lp-accent: #0fa3a3;
    --lp-hero-a: #0d1b3e;
    --lp-hero-b: #173a8a;
    --lp-hero-text: #ffffff;
    --lp-shadow: 0 10px 30px rgba(20, 33, 61, .08);
}

@media (prefers-color-scheme: dark) {
    :root {
        --lp-bg: #0d1220;
        --lp-bg-alt: #121a2c;
        --lp-surface: #161f33;
        --lp-text: #e7ecf5;
        --lp-muted: #9aa4b8;
        --lp-border: #26314a;
        --lp-primary: #5b8cff;
        --lp-primary-hover: #7aa2ff;
        --lp-primary-soft: #1c2a4d;
        --lp-accent: #2cc7c7;
        --lp-hero-a: #070c18;
        --lp-hero-b: #13285c;
        --lp-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.landing a { color: var(--lp-primary); }
.landing h1, .landing h2, .landing h3 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.landing p { margin: 0 0 1em; }
.lp-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-muted { color: var(--lp-muted); }
.mb-0 { margin-bottom: 0 !important; }

/* Cabecera */
.lp-header {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--lp-text) !important; text-decoration: none; }
.lp-logo { width: 30px; height: 30px; color: var(--lp-primary); flex: none; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: var(--lp-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.lp-nav a:hover { color: var(--lp-text); }
.lp-actions { display: flex; gap: 10px; }

/* Botones */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 18px; border-radius: 8px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}
.lp-btn-lg { padding: 13px 24px; font-size: 16px; }
.lp-btn-primary { background: var(--lp-primary); color: #fff !important; }
.lp-btn-primary:hover { background: var(--lp-primary-hover); }
.lp-btn-ghost { color: var(--lp-text) !important; border-color: var(--lp-border); }
.lp-btn-ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary) !important; }
.lp-btn-outline { color: var(--lp-hero-text) !important; border-color: rgba(255, 255, 255, .45); }
.lp-btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.lp-btn:focus-visible, .lp-nav a:focus-visible, .lp-brand:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 2px; }

/* Portada */
.lp-hero {
    background: radial-gradient(circle at 85% 20%, rgba(91, 140, 255, .35), transparent 45%), linear-gradient(135deg, var(--lp-hero-a), var(--lp-hero-b));
    color: var(--lp-hero-text);
    padding: 88px 0 96px;
}
.lp-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.lp-hero .lp-lead { color: rgba(255, 255, 255, .82); }
.lp-hero .lp-eyebrow { color: #9fc0ff; }
.lp-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--lp-primary); margin-bottom: .75em; }
.lp-lead { font-size: 1.12rem; color: var(--lp-muted); max-width: 40em; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.lp-mock { background: rgba(255, 255, 255, .96); border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: #14213d; }
.lp-mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef1f7; }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd2df; }
.lp-mock-body { padding: 20px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.lp-mock-kpis div { background: #f4f6fa; border-radius: 10px; padding: 10px 12px; }
.lp-mock-kpis small { display: block; color: #5b6475; font-size: 11px; }
.lp-mock-kpis strong { font-size: 15px; }
.lp-mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 8px; border-bottom: 1px solid #e2e6ee; }
.lp-mock-chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #5b8cff, #1f4fd8); }

/* Secciones */
.lp-section { padding: 88px 0; }
.lp-section-alt { background: var(--lp-bg-alt); }
.lp-section-head { max-width: 640px; margin-bottom: 40px; }
.lp-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-card { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 26px 22px; box-shadow: var(--lp-shadow); }
.lp-card h3 { font-size: 1.08rem; }
.lp-card p { color: var(--lp-muted); font-size: 15px; margin: 0; }
.lp-card-icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--lp-primary-soft); color: var(--lp-primary); margin-bottom: 16px; }

.lp-product { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 28px; }
.lp-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.lp-checks li::before {
    content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--lp-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.lp-stats { display: grid; gap: 14px; }
.lp-stats div { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 20px 22px; box-shadow: var(--lp-shadow); }
.lp-stats strong { display: block; font-size: 1.9rem; color: var(--lp-primary); line-height: 1.1; }
.lp-stats span { color: var(--lp-muted); font-size: 15px; }

.lp-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.lp-contact-card { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 26px; box-shadow: var(--lp-shadow); }
.lp-contact-card p { display: flex; flex-direction: column; gap: 2px; user-select: text; }
.lp-contact-card p:last-child { margin-bottom: 0; }
.lp-contact-card a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

.lp-footer { border-top: 1px solid var(--lp-border); padding: 28px 0; font-size: 14px; }
.lp-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.lp-footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-footer-links a { text-decoration: none; font-weight: 500; }

/* Política de datos (Views/Landing/Privacidad) */
.lp-legal { max-width: 820px; }
.lp-legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.lp-legal h2 { font-size: 1.25rem; margin-top: 2em; }
.lp-legal li { margin-bottom: .4em; }
.lp-legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.lp-legal th, .lp-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--lp-border); }
.lp-legal th { background: var(--lp-bg-alt); width: 34%; font-weight: 600; }
.lp-notice { border: 1px solid #e6b450; background: color-mix(in srgb, #e6b450 14%, transparent); border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; font-size: 15px; }

/* Tableta y celular */
@media (max-width: 1000px) {
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hero-inner, .lp-product, .lp-contact { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero-visual { max-width: 520px; }
}
@media (max-width: 760px) {
    .lp-container { padding: 0 16px; }
    .lp-nav { display: none; }
    .lp-actions { margin-left: auto; }
    .lp-header-inner { gap: 12px; }
    .lp-brand span { font-size: 14px; line-height: 1.2; }
    .lp-hero { padding: 56px 0 64px; }
    .lp-section { padding: 60px 0; }
    .lp-grid { grid-template-columns: 1fr; }
    .lp-hero-actions .lp-btn { flex: 1 1 100%; }
    .lp-mock-kpis { gap: 6px; }
    .lp-mock-kpis div { padding: 8px; }
    .lp-mock-kpis strong { font-size: 12px; white-space: nowrap; }
}
@media (max-width: 560px) {
    /* La marca ocupa su fila y los botones van debajo: así caben "Administrar empresas" e "Ingresar" */
    .lp-header-inner { flex-wrap: wrap; padding: 10px 0; row-gap: 8px; }
    .lp-actions { margin-left: 0; width: 100%; flex-wrap: wrap; }
    .lp-actions .lp-btn { flex: 1 1 40%; padding: 8px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-btn { transition: none; }
}

/* ---------- Cabecera de la landing (barra superior, menú con Soluciones desplegable y acciones) ---------- */
.lp-topbar { background: var(--lp-hero-a); color: rgba(255, 255, 255, .88); font-size: 13.5px; }
.lp-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.lp-topbar-news { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-topbar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pill { flex: none; background: var(--lp-accent); color: #04211f; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.landing .lp-topbar-link { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.landing .lp-topbar-link:hover { text-decoration: underline; }
.landing .lp-topbar-admin { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .88); font-weight: 500; text-decoration: none; white-space: nowrap; }
.landing .lp-topbar-admin:hover { color: #fff; text-decoration: underline; }
.lp-topbar-admin svg { width: 16px; height: 16px; }
.lp-topbar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.lp-header-main .lp-header-inner { flex-wrap: nowrap; gap: 24px; min-height: 72px; }
.lp-brand-text { white-space: nowrap; }

.lp-menu { display: flex; align-items: center; gap: 2px; }
.lp-menu-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; border: 0; background: none;
    color: var(--lp-text) !important; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.lp-menu-link:hover, .lp-dd.is-open .lp-dd-toggle { background: var(--lp-bg-alt); }
.lp-menu-link:focus-visible, .lp-burger:focus-visible, .lp-link-strong:focus-visible, .lp-dd-item:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 2px; }
.lp-chevron { width: 16px; height: 16px; transition: transform .15s; }
.lp-dd.is-open .lp-chevron { transform: rotate(180deg); }
.lp-menu-actions { display: none; }

.lp-dd { position: relative; }
.lp-dd-panel {
    position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; padding: 18px; z-index: 20;
    background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; box-shadow: 0 18px 50px rgba(20, 33, 61, .18);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
/* Sin JavaScript se abre con el mouse o el teclado; con JavaScript también con clic (landing.js) */
.lp-dd:hover .lp-dd-panel, .lp-dd:focus-within .lp-dd-panel, .lp-dd.is-open .lp-dd-panel { opacity: 1; visibility: visible; transform: none; }
.lp-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* puente para no perder el hover */
.lp-dd-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); margin: 0 0 10px 6px; }
.lp-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.lp-dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--lp-text) !important; }
.lp-dd-item:hover { background: var(--lp-bg-alt); }
.lp-dd-item strong { display: block; font-size: 14.5px; }
.lp-dd-item small { display: block; color: var(--lp-muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.lp-dd-icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: var(--lp-primary-soft); color: var(--lp-primary); }
.lp-dd-foot { display: block; margin-top: 12px; padding: 12px 10px 2px; border-top: 1px solid var(--lp-border); font-size: 14px; font-weight: 600; text-decoration: none; }

.lp-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.lp-link-strong { color: var(--lp-text) !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.lp-link-strong:hover { color: var(--lp-primary) !important; }
.lp-cta-main { padding: 11px 20px; gap: 6px; box-shadow: 0 6px 16px color-mix(in srgb, var(--lp-primary) 30%, transparent); }
.lp-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--lp-border); background: var(--lp-surface); color: var(--lp-text); cursor: pointer; padding: 9px; }
.lp-burger svg { width: 100%; height: 100%; }

/* Tableta y celular: las secciones pasan al menú desplegable (hamburguesa) */
@media (max-width: 1024px) {
    .lp-burger { display: inline-block; }
    .lp-cta { gap: 12px; }
    .lp-menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 16px 18px; background: var(--lp-surface); border-bottom: 1px solid var(--lp-border); box-shadow: 0 16px 30px rgba(20, 33, 61, .12);
    }
    .lp-header-main.is-menu-open .lp-menu { display: flex; }
    .lp-menu-link { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 16px; }
    .lp-dd-panel { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; }
    .lp-dd:hover .lp-dd-panel, .lp-dd:focus-within .lp-dd-panel { display: none; }
    .lp-dd.is-open .lp-dd-panel { display: block; }
    .lp-dd::after { display: none; }
    .lp-dd-title { display: none; }
    .lp-menu-actions { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--lp-border); }
    .lp-menu-actions .lp-btn { width: 100%; padding: 12px; }
    .lp-menu-cta { display: none !important; } /* el botón principal sigue en la cabecera */
}
@media (max-width: 760px) {
    .lp-topbar-text, .landing .lp-topbar-admin { display: none; } /* "Administrar empresas" queda en el menú */
    .lp-topbar-inner { justify-content: center; }
    .lp-dd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .lp-cta-main { display: none; }
    .lp-menu-cta { display: inline-flex !important; }
}
@media (max-width: 560px) {
    .lp-header-main .lp-header-inner { padding-top: 0; padding-bottom: 0; min-height: 62px; gap: 12px; }
    .lp-header-main .lp-brand-text { font-size: 14px; white-space: normal; line-height: 1.2; max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-dd-panel, .lp-chevron { transition: none; }
}

/* ---------- Portada dinámica: entrada, palabra que rota, tablero en vivo, franja de funciones, revelado al bajar ---------- */
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-hero { position: relative; overflow: hidden; }
.lp-hero-inner { position: relative; z-index: 1; }
.lp-hero-glow span {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none;
    animation: lp-drift 18s ease-in-out infinite alternate;
}
.lp-hero-glow span:nth-child(1) { width: 420px; height: 420px; background: #3b6cff; top: -140px; right: 8%; }
.lp-hero-glow span:nth-child(2) { width: 320px; height: 320px; background: #0fa3a3; bottom: -160px; left: 30%; animation-duration: 22s; animation-delay: -6s; }
.lp-hero-glow span:nth-child(3) { width: 260px; height: 260px; background: #7c4dff; top: 20%; left: -80px; opacity: .3; animation-duration: 26s; }
@keyframes lp-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }

/* Entrada escalonada de la portada (solo CSS: funciona sin JavaScript) */
.lp-in { animation: lp-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.lp-in-2 { animation-delay: .08s; }
.lp-in-3 { animation-delay: .18s; }
.lp-in-4 { animation-delay: .28s; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.lp-rotate {
    display: inline-block; color: #8fd8ff;
    background: linear-gradient(90deg, #9fc0ff, #5ef0d8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transition: opacity .3s, transform .3s;
}
.lp-rotate.is-out { opacity: 0; transform: translateY(.3em); }

.lp-hero-visual { position: relative; }
.lp-mock { transition: transform .4s ease; transform-style: preserve-3d; will-change: transform; }
.lp-mock-bar { align-items: center; }
.lp-mock-bar em { margin-left: 8px; font-style: normal; font-size: 11px; color: #5b6475; font-weight: 600; }
.lp-mock-kpis strong { transition: color .3s; }
.lp-mock-kpis strong.is-bump { color: #0b8f6a; }
.lp-mock-chart span { height: var(--h); transform-origin: bottom; animation: lp-grow .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.35s + var(--d, 0ms)); transition: height .6s ease; }
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lp-feed { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 12px; min-height: 64px; }
.lp-feed li { display: flex; align-items: center; gap: 8px; background: #f4f6fa; border-radius: 8px; padding: 6px 10px; animation: lp-slide .45s ease both; }
.lp-feed li span:nth-child(2) { flex: 1; color: #3a4459; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-feed-dot { width: 8px; height: 8px; border-radius: 50%; background: #12b886; box-shadow: 0 0 0 0 rgba(18, 184, 134, .6); animation: lp-ping 2s infinite; flex: none; }
@keyframes lp-slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(18, 184, 134, 0); } }

.lp-float {
    position: absolute; display: grid; background: #fff; color: #14213d; border-radius: 12px; padding: 10px 14px 10px 40px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28); font-size: 13px; line-height: 1.3; animation: lp-bob 6s ease-in-out infinite;
}
.lp-float small { color: #5b6475; font-size: 11.5px; }
.lp-float::before { content: ""; position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #12b886 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lp-float-a { left: -44px; bottom: -26px; }
.lp-float-b { right: -22px; top: -18px; animation-delay: -3s; }
.lp-float-b::before { background-color: #f08c00; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6M12 17h.01' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Franja de funciones que se desplaza sola (se detiene al pasar el mouse) */
.lp-marquee { overflow: hidden; border-bottom: 1px solid var(--lp-border); background: var(--lp-surface); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee-track { display: flex; width: max-content; animation: lp-marquee 45s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
.lp-marquee ul { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.lp-marquee li { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--lp-muted); padding: 6px 14px; border: 1px solid var(--lp-border); border-radius: 999px; }
.lp-marquee li::before { content: "•"; color: var(--lp-accent); margin-right: 8px; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* Tarjetas: se levantan y siguen el mouse con un brillo suave */
.lp-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.lp-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--lp-primary) 14%, transparent), transparent 70%); }
.lp-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-primary) 40%, var(--lp-border)); box-shadow: 0 18px 40px rgba(20, 33, 61, .14); }
.lp-card:hover::after { opacity: 1; }
.lp-card-icon { transition: transform .25s ease; }
.lp-card:hover .lp-card-icon { transform: scale(1.08) rotate(-4deg); }
.lp-stats div { transition: transform .25s ease; }
.lp-stats div:hover { transform: translateX(4px); }

/* Cómo empezar */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent)); opacity: .35; }
.lp-steps li { position: relative; text-align: center; padding: 0 6px; }
.lp-step-num {
    position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px;
    background: var(--lp-surface); border: 2px solid var(--lp-primary); color: var(--lp-primary); font-weight: 700; font-size: 18px;
    transition: background-color .25s, color .25s, transform .25s;
}
.lp-steps li:hover .lp-step-num { background: var(--lp-primary); color: #fff; transform: scale(1.08); }
.lp-steps h3 { font-size: 1.05rem; }
.lp-steps p { color: var(--lp-muted); font-size: 14.5px; margin: 0; }
.lp-steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; justify-content: center; margin-top: 44px; }
.lp-steps-cta .lp-btn { gap: 6px; }

/* Preguntas frecuentes */
.lp-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.lp-faq details[open] { border-color: color-mix(in srgb, var(--lp-primary) 45%, var(--lp-border)); box-shadow: var(--lp-shadow); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--lp-primary); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq summary:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 2px; border-radius: 12px; }
.lp-faq details p { padding: 0 18px 16px; margin: 0; color: var(--lp-muted); }
.lp-contact-card .lp-contact-web { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--lp-border); }

/* Cabecera al bajar y enlace de la sección visible */
.lp-header-main { transition: box-shadow .2s; }
.lp-header-main.is-scrolled { box-shadow: 0 8px 24px rgba(20, 33, 61, .1); }
.lp-menu-link.is-active { color: var(--lp-primary) !important; background: var(--lp-primary-soft); }

/* Revelado al bajar: solo se oculta si landing.js está activo (clase lp-js), así sin JavaScript todo se ve */
.lp-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.lp-js [data-reveal].is-visible { opacity: 1; transform: none; }
.lp-js .lp-card[data-reveal].is-visible:hover { transform: translateY(-4px); transition-delay: 0ms; }

@media (max-width: 1000px) {
    .lp-steps { grid-template-columns: 1fr; gap: 14px; }
    .lp-steps::before { top: 10px; bottom: 10px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--lp-primary), var(--lp-accent)); }
    .lp-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; text-align: left; padding: 0; }
    .lp-step-num { grid-row: span 2; margin: 0; }
    .lp-steps h3 { margin: 10px 0 2px; }
    .lp-faq-wrap { grid-template-columns: 1fr; gap: 8px; }
    .lp-float-a { left: 8px; bottom: -22px; }
    .lp-float-b { right: 8px; }
}
@media (max-width: 560px) {
    .lp-float { display: none; }
    .lp-hero-glow span { filter: blur(50px); opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-in, .lp-mock-chart span, .lp-feed li, .lp-feed-dot, .lp-float, .lp-hero-glow span { animation: none; }
    .lp-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    .lp-marquee-track ul[aria-hidden] { display: none; }
    .lp-marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
    .lp-marquee { -webkit-mask-image: none; mask-image: none; }
    .lp-js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .lp-card, .lp-card-icon, .lp-mock, .lp-rotate, .lp-step-num { transition: none; }
    .lp-card:hover, .lp-stats div:hover { transform: none; }
}
