/* ===========================================================================
   Pagina publica de CTH360 (IndexWeb).
   Todo va bajo .lp para no chocar con los estilos del sistema (cth-tema.css,
   Bootstrap, MudBlazor). Paleta CTH360: azul #0B3C82, celeste #00B2FE.
   Las animaciones respetan "reducir movimiento" del sistema operativo.
   =========================================================================== */

@property --lp-giro {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

.lp {
    --azul: #0B3C82;
    --azul-2: #1557B0;
    --noche: #061A3D;
    --noche-2: #04122B;
    --celeste: #00B2FE;
    --celeste-2: #0090D0;
    --cielo: #7DD3FC;
    --verde: #10B981;
    --ambar: #F59E0B;
    --rojo: #EF4444;
    --fondo: #F1F3F6;
    --borde: #E5E7EB;
    --texto: #12263F;
    --tenue: #5B6B82;
    --radio: 16px;
    --suave: cubic-bezier(.2, .8, .2, 1);
    --muelle: cubic-bezier(.34, 1.56, .64, 1);

    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--texto);
    background: #fff;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3, .lp h4, .lp p { margin: 0; font-family: inherit; }
.lp h2, .lp h3 { color: var(--texto); }
.lp ul { margin: 0; padding: 0; list-style: none; }
.lp button { font-family: inherit; }
.lp img { max-width: 100%; display: block; }

.lp-contenedor { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.lp-angosto { max-width: 860px; }

/* --------------------------------------------------------------- Botones */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 26px; border-radius: 14px; border: 0; cursor: pointer;
    font-size: 1rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
    transition: transform .25s var(--suave), box-shadow .25s var(--suave), background .25s, color .25s;
    position: relative; isolation: isolate;
}
.lp-btn-chico { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.lp-btn-primario {
    color: #fff;
    background: linear-gradient(135deg, var(--celeste-2), var(--azul-2) 55%, var(--azul));
    background-size: 160% 160%;
    box-shadow: 0 10px 30px -10px rgba(0, 144, 208, .75), inset 0 1px 0 rgba(255,255,255,.25);
}
.lp-btn-primario:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(0, 178, 254, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.lp-btn-primario::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    background-size: 250% 100%; background-position: 150% 0;
    animation: lp-brillo 4.5s ease-in-out infinite;
}
.lp-btn-vidrio {
    color: #fff; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.22);
}
.lp-btn-vidrio:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.lp-btn-blanco { color: var(--azul); background: #fff; box-shadow: 0 14px 40px -12px rgba(0,0,0,.45); }
.lp-btn-blanco:hover { box-shadow: 0 20px 50px -12px rgba(0,178,254,.7); }
.lp-btn:active { transform: scale(.97); }
.lp-btn-whatsapp { color: #fff; background: #25D366; box-shadow: 0 14px 34px -12px rgba(37,211,102,.75); }
.lp-btn-whatsapp:hover { background: #1EBE5B; box-shadow: 0 18px 40px -12px rgba(37,211,102,.9); }
.lp-whatsapp-flotante {
    position: fixed; right: 24px; bottom: 88px; z-index: 990; height: 56px; min-width: 56px; padding: 0 16px;
    display: inline-flex; align-items: center; gap: 10px; border-radius: 28px; color: #fff !important; background: #25D366;
    box-shadow: 0 14px 34px -10px rgba(37,211,102,.8); font-weight: 700; font-size: .95rem;
    animation: lp-surgir .8s 1.6s var(--suave) backwards;
}
.lp-whatsapp-flotante::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: lp-ping-verde 2.4s 2.5s infinite; }
.lp-whatsapp-flotante .mud-icon-root { font-size: 1.6rem; }
.lp-whatsapp-flotante span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--suave); }
.lp-whatsapp-flotante:hover span { max-width: 240px; }
.lp-pie-whatsapp { display: inline-flex; align-items: center; gap: 6px; }
.lp-pie-soporte { margin-top: 4px; }
.lp-pie-nota { font-size: .78rem; color: rgba(255,255,255,.5); }
.cf-portal {
    margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
    background: linear-gradient(135deg, #E6F6FE, #EEF4FD); border: 1px solid rgba(0,144,208,.35); color: #0B3C82 !important;
    animation: lp-surgir .45s cubic-bezier(.2,.8,.2,1) backwards; transition: transform .25s, box-shadow .25s;
}
.cf-portal:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(11,60,130,.7); }
.cf-portal > .mud-icon-root:first-child { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: #fff; color: #0090D0; flex: none; }
.cf-portal span { flex: 1; display: grid; gap: 2px; }
.cf-portal b { font-size: .9rem; }
.cf-portal small { font-size: .78rem; color: #5B6B82; }
.lp-pie-whatsapp .mud-icon-root { color: #25D366; }
@keyframes lp-ping-verde { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 80%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------------------------------------------------------------- Barra */
.lp-progreso {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999;
    transform-origin: 0 50%; transform: scaleX(var(--lp-avance, 0));
    background: linear-gradient(90deg, var(--celeste), var(--cielo), var(--verde));
}
.lp-barra {
    position: fixed; top: 0; left: 0; right: 0; z-index: 998;
    transition: background .35s, box-shadow .35s, height .35s;
}
.lp-barra-fila { height: 84px; display: flex; align-items: center; gap: 28px; transition: height .35s var(--suave); }
.lp-barra.solida { background: rgba(6, 26, 61, .94); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.lp-barra.solida .lp-barra-fila { height: 68px; }
.lp-logo { flex: none; }
.lp-logo img { height: 46px; width: auto; max-width: none; transition: height .35s var(--suave); }
.lp-barra.solida .lp-logo img { height: 40px; }
.lp-nav { display: flex; gap: 6px; margin-left: auto; }
.lp-nav a {
    position: relative; padding: 10px 12px; color: rgba(255,255,255,.78);
    font-weight: 600; font-size: .95rem; transition: color .2s; white-space: nowrap;
}
.lp-nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--celeste); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--suave);
}
.lp-nav a:hover, .lp-nav a.actual { color: #fff; }
.lp-nav a:hover::after, .lp-nav a.actual::after { transform: scaleX(1); }
.lp-nav-movil { display: none; }
.lp-barra-acciones { display: flex; align-items: center; gap: 14px; }
.lp-enlace-sesion { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: .95rem; opacity: .9; }
.lp-enlace-sesion:hover { opacity: 1; color: var(--cielo); }
.lp-hamburguesa { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.lp-hamburguesa span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--suave), opacity .2s; }
.lp-hamburguesa span:nth-child(1) { top: 15px; }
.lp-hamburguesa span:nth-child(2) { top: 21px; }
.lp-hamburguesa span:nth-child(3) { top: 27px; }
.lp-hamburguesa.abierto span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-hamburguesa.abierto span:nth-child(2) { opacity: 0; }
.lp-hamburguesa.abierto span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------- Portada */
.lp-portada {
    position: relative; min-height: 100vh; padding: 140px 0 110px; overflow: hidden;
    background:
        radial-gradient(1100px 600px at 78% 18%, rgba(0,178,254,.22), transparent 60%),
        radial-gradient(900px 600px at 8% 90%, rgba(16,185,129,.12), transparent 60%),
        linear-gradient(160deg, #0A2F6B 0%, var(--noche) 48%, var(--noche-2) 100%);
    color: #fff; display: flex; align-items: center;
}
.lp-red { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.lp-aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); }
.lp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .55; }
.lp-aurora .a1 { width: 520px; height: 520px; left: 52%; top: -12%; background: #0090D0; animation: lp-deriva 18s ease-in-out infinite alternate; }
.lp-aurora .a2 { width: 420px; height: 420px; left: -8%; top: 46%; background: #1557B0; animation: lp-deriva 22s ease-in-out infinite alternate-reverse; }
.lp-aurora .a3 { width: 300px; height: 300px; left: 72%; top: 62%; background: #0E9F7E; opacity: .35; animation: lp-deriva 26s ease-in-out infinite alternate; }
.lp-malla {
    position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.lp-portada-cuerpo { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.lp-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 50px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.lp-latido { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: lp-ping 1.8s infinite; }

.lp-portada h1 {
    margin: 26px 0 22px; color: #fff; font-weight: 800;
    font-size: clamp(2.2rem, 3.7vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em;
}
.lp-rotador-linea { display: block; white-space: nowrap; min-height: 1.08em; }
.lp-rotador {
    background: linear-gradient(90deg, var(--celeste), var(--cielo) 45%, #6EE7B7);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-cursor { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--celeste); animation: lp-parpadeo 1s steps(1) infinite; border-radius: 2px; }
.lp-bajada { max-width: 600px; font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,.76); }
.lp-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lp-acciones.centradas { justify-content: center; }
.lp-sellos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; }
.lp-sellos span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.72); }
.lp-sellos .mud-icon-root { color: var(--celeste); }

.lp-entrada { animation: lp-surgir .9s var(--suave) backwards; animation-delay: calc(var(--d, 0) * 130ms + 150ms); }

/* Maqueta del panel */
.lp-escena { position: relative; perspective: 1400px; }
.lp-tablero {
    --rx: 6deg; --ry: -12deg;
    position: relative; border-radius: 20px; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,247,252,.98));
    box-shadow: 0 50px 100px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.25), 0 0 80px -20px rgba(0,178,254,.45);
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .6s var(--suave);
    color: var(--texto);
}
.lp-tablero-barra { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF2F8; border-bottom: 1px solid var(--borde); }
.lp-tablero-barra i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.lp-tablero-barra i:nth-child(1) { background: #F87171; }
.lp-tablero-barra i:nth-child(2) { background: #FBBF24; }
.lp-tablero-barra i:nth-child(3) { background: #34D399; }
.lp-tablero-barra em { margin-left: 10px; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--tenue); }
.lp-envivo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--verde); text-transform: uppercase; letter-spacing: .06em; }
.lp-envivo span { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); animation: lp-ping 1.6s infinite; }
.lp-tablero-cuerpo { padding: 16px; display: grid; gap: 12px; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-kpi { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--borde); }
.lp-kpi small { display: block; font-size: .68rem; color: var(--tenue); font-weight: 600; }
.lp-kpi b { display: block; margin-top: 4px; font-size: 1.2rem; font-weight: 800; color: var(--azul); font-variant-numeric: tabular-nums; }
.lp-txt-ambar { color: #D97706 !important; }
.lp-tablero-rejilla { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.lp-tarjeta-mini { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--borde); overflow: hidden; }
.lp-mini-titulo { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; color: var(--tenue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.lp-punto-rojo { width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); animation: lp-ping-rojo 1.6s infinite; }
.lp-feed { display: grid; gap: 6px; height: 156px; overflow: hidden; align-content: start; }
.lp-feed-item { padding: 8px 10px; border-radius: 9px; border-left: 3px solid var(--celeste); background: #F4F9FE; transition: opacity .4s, transform .5s var(--suave); }
.lp-feed-item b { display: block; font-size: .78rem; color: var(--texto); }
.lp-feed-item small { display: block; font-size: .68rem; color: var(--tenue); }
.lp-feed-item.n-critica { border-left-color: var(--rojo); background: #FEF4F4; }
.lp-feed-item.n-ambar { border-left-color: var(--ambar); background: #FFF8EB; }
.lp-feed-item.n-verde { border-left-color: var(--verde); background: #EEFBF5; }
.lp-feed-item.entra { animation: lp-feed-entra .6s var(--muelle); }
.lp-feed-item.sale { opacity: 0; transform: translateX(20px); }
.lp-centro { text-align: center; }
.lp-medidor { width: 100%; max-width: 150px; margin: 6px auto 0; display: block; overflow: visible; }
.lp-medidor .pista { fill: none; stroke: #E8EEF6; stroke-width: 10; stroke-linecap: round; }
.lp-medidor .valor { fill: none; stroke: var(--ambar); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 158; stroke-dashoffset: 158; animation: lp-medidor 2.4s 1s var(--suave) forwards; }
.lp-medidor .aguja { stroke: var(--azul); stroke-width: 3; stroke-linecap: round; transform-origin: 60px 62px; transform: rotate(-90deg); animation: lp-aguja 6s 1s ease-in-out infinite; }
.lp-medidor .eje { fill: var(--azul); }
.lp-medidor-leyenda { display: flex; justify-content: space-between; font-size: .66rem; color: var(--tenue); margin-top: 4px; }
.lp-medidor-leyenda b { color: #D97706; }
.lp-linea { width: 100%; height: 64px; display: block; }
.lp-linea .area { fill: url(#lpArea); opacity: 0; animation: lp-aparecer 1s 1.6s forwards; }
.lp-linea .trazo { fill: none; stroke: var(--celeste-2); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: lp-trazar 2s .9s var(--suave) forwards; }

.lp-flotante {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
    padding: 11px 15px; border-radius: 14px; background: #fff; color: var(--texto);
    box-shadow: 0 20px 40px -14px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.6);
    animation: lp-flotar 6s ease-in-out infinite;
}
.lp-flotante span { display: grid; }
.lp-flotante b { font-size: .8rem; }
.lp-flotante small { font-size: .7rem; color: var(--tenue); }
.lp-flotante .mud-icon-root { width: 34px; height: 34px; padding: 7px; border-radius: 10px; flex: none; }
.lp-flotante.f1 { left: -46px; top: 18%; }
.lp-flotante.f1 .mud-icon-root { background: #E7F8F1; color: var(--verde); }
.lp-flotante.f2 { right: -30px; top: 52%; animation-delay: -2s; }
.lp-flotante.f2 .mud-icon-root { background: #E6F6FE; color: var(--celeste-2); }
.lp-flotante.f3 { left: 10%; bottom: -34px; animation-delay: -4s; }
.lp-flotante.f3 .mud-icon-root { background: #FFF4E0; color: #D97706; }

.lp-bajar { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; z-index: 2; }
.lp-bajar span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: #fff; animation: lp-rueda 1.8s infinite; }

/* ---------------------------------------------------------------- Cinta */
.lp-cinta { background: var(--noche-2); padding: 18px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); position: relative; }
.lp-cinta::before, .lp-cinta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.lp-cinta::before { left: 0; background: linear-gradient(90deg, var(--noche-2), transparent); }
.lp-cinta::after { right: 0; background: linear-gradient(-90deg, var(--noche-2), transparent); }
.lp-cinta-pista { display: flex; gap: 46px; width: max-content; animation: lp-marquesina 48s linear infinite; }
.lp-cinta:hover .lp-cinta-pista { animation-play-state: paused; }
.lp-cinta-item { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.lp-cinta-item .mud-icon-root { color: var(--celeste); font-size: 1rem; }

/* ------------------------------------------------------------ Secciones */
.lp-seccion { padding: 110px 0; position: relative; }
.lp-seccion-gris { background: var(--fondo); }
.lp-seccion-oscura {
    background: radial-gradient(900px 500px at 85% 0%, rgba(0,178,254,.16), transparent 60%), linear-gradient(180deg, var(--noche), var(--noche-2));
    color: #fff;
}
.lp-seccion-oscura h2, .lp-seccion-oscura h3 { color: #fff; }
.lp-cabecera { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.lp-cabecera h2 { margin: 14px 0 16px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.lp-cabecera p { font-size: 1.08rem; line-height: 1.7; color: var(--tenue); }
.lp-cabecera.clara p { color: rgba(255,255,255,.7); }
.lp-ceja { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--celeste-2); }
.lp-ceja.clara { color: var(--celeste); }
.lp-degradado { background: linear-gradient(90deg, var(--azul-2), var(--celeste-2) 60%, var(--celeste)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-degradado-claro { background: linear-gradient(90deg, var(--celeste), var(--cielo), #6EE7B7); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Aparicion al hacer scroll: solo se oculta cuando el script esta activo */
.lp.js-anim [data-revelar] {
    opacity: 0; transform: translateY(34px);
    transition: opacity .8s var(--suave), transform .9s var(--suave);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.lp.js-anim [data-revelar].visible { opacity: 1; transform: none; }

/* Cifras y ciclo */
.lp-cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-cifra {
    padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--borde);
    box-shadow: 0 1px 2px rgba(15,27,51,.04); position: relative; overflow: hidden;
}
.lp-cifra::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--celeste), var(--azul-2)); }
.lp-cifra-valor { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--azul); font-variant-numeric: tabular-nums; line-height: 1; }
.lp-cifra-titulo { display: block; margin-top: 12px; font-weight: 700; font-size: 1.05rem; }
.lp-cifra-detalle { display: block; margin-top: 6px; font-size: .9rem; color: var(--tenue); line-height: 1.5; }

.lp-ciclo { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.lp-ciclo::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--celeste) 0 8px, transparent 8px 16px);
    opacity: .5; animation: lp-hormigas 1.2s linear infinite;
}
.lp-ciclo-paso { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; }
.lp-ciclo-icono {
    width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 10px;
    background: linear-gradient(145deg, var(--azul-2), var(--azul)); color: #fff;
    box-shadow: 0 14px 30px -12px rgba(11,60,130,.7);
    transition: transform .35s var(--muelle);
}
.lp-ciclo-paso:hover .lp-ciclo-icono { transform: translateY(-6px) rotate(-6deg); }
.lp-ciclo-paso:nth-child(even) .lp-ciclo-icono { background: linear-gradient(145deg, var(--celeste), var(--celeste-2)); }
.lp-ciclo-paso b { font-size: 1rem; }
.lp-ciclo-paso small { font-size: .85rem; color: var(--tenue); }

/* ---------------------------------------------------------------- Modulos */
.lp-pestanas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 38px; }
.lp-pestana {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 50px;
    border: 1px solid var(--borde); background: #fff; color: var(--texto); cursor: pointer;
    font-weight: 600; font-size: .93rem; transition: all .3s var(--suave);
}
.lp-pestana em { font-style: normal; font-size: .74rem; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--fondo); color: var(--tenue); transition: all .3s; }
.lp-pestana:hover { border-color: var(--celeste); transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(0,144,208,.6); }
.lp-pestana.activa { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--azul-2), var(--azul)); box-shadow: 0 12px 28px -12px rgba(11,60,130,.8); }
.lp-pestana.activa em { background: rgba(255,255,255,.18); color: #fff; }

.lp-modulos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-modulo {
    --mx: 50%; --my: 0%;
    position: relative; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--borde);
    overflow: hidden; isolation: isolate;
    animation: lp-tarjeta .7s var(--suave) backwards; animation-delay: calc(var(--i, 0) * 70ms);
    transition: border-color .3s, box-shadow .35s var(--suave);
}
.lp-modulo::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(0,178,254,.13), transparent 60%);
}
.lp-modulo:hover { border-color: rgba(0,178,254,.45); box-shadow: 0 24px 50px -28px rgba(11,60,130,.45); }
.lp-modulo:hover::before { opacity: 1; }
.lp-modulo-cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lp-modulo-icono {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
    background: linear-gradient(145deg, #E6F6FE, #DCEBFA); color: var(--azul-2);
    transition: transform .4s var(--muelle), background .3s, color .3s;
}
.lp-modulo:hover .lp-modulo-icono { transform: scale(1.08) rotate(-6deg); background: linear-gradient(145deg, var(--celeste), var(--azul-2)); color: #fff; }
.lp-etiqueta { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 50px; color: #0B6B4F; background: #E3F8EF; }
.lp-modulo h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.lp-modulo p { font-size: .94rem; line-height: 1.6; color: var(--tenue); margin-bottom: 16px; }
.lp-modulo li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; padding: 4px 0; color: #334155; }
.lp-modulo li .mud-icon-root { color: var(--verde); flex: none; margin-top: 1px; }

/* ------------------------------------------------------------------ Bento */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 22px; }
.lp-caja {
    position: relative; padding: 30px; border-radius: 22px; background: var(--fondo); border: 1px solid var(--borde);
    overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 280px;
    transition: transform .45s var(--suave), box-shadow .45s var(--suave);
}
.lp-caja:hover { box-shadow: 0 30px 60px -34px rgba(11,60,130,.55); }
.lp-caja h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.lp-caja p { color: var(--tenue); line-height: 1.6; font-size: .95rem; }
.lp-caja-ancha { grid-column: span 2; flex-direction: row; align-items: center; gap: 30px; }
.lp-caja-texto { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.lp-oscura { background: linear-gradient(145deg, var(--azul), var(--noche)); border-color: transparent; }
.lp-oscura h3 { color: #fff; }
.lp-oscura p { color: rgba(255,255,255,.72); }

.lp-cajeros { flex: 0 0 240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-cajero { aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); position: relative; }
.lp-cajero::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--verde); animation: lp-respira 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * -190ms); }
.lp-cajero.alerta { border-color: rgba(245,158,11,.6); background: rgba(245,158,11,.12); }
.lp-cajero.alerta::after { background: var(--ambar); animation: lp-ping-ambar 1.4s infinite; }

.lp-grafo { margin-top: auto; width: 100%; height: 120px; }
.lp-grafo line { stroke: #9FB6D6; stroke-width: 1.5; stroke-dasharray: 4 4; animation: lp-hormigas-svg 1.6s linear infinite; }
.lp-grafo circle { fill: var(--azul-2); stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lp-respira-nodo 3s ease-in-out infinite; }
.lp-grafo circle:nth-of-type(3) { animation-delay: -1s; }
.lp-grafo circle:nth-of-type(4) { animation-delay: -2s; }
.lp-grafo .centro { fill: var(--celeste-2); }
.lp-grafo .pep { fill: var(--ambar); }

.lp-cadena { margin-top: auto; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.lp-cadena span { flex: none; padding: 6px 7px; border-radius: 10px; background: #fff; border: 1px solid var(--borde); font-family: ui-monospace, Consolas, monospace; font-size: .7rem; color: var(--azul); font-weight: 700; }
.lp-cadena i { flex: 1; min-width: 4px; height: 2px; background: linear-gradient(90deg, var(--celeste), var(--azul-2)); }
.lp-cadena .nuevo { animation: lp-bloque 3.2s var(--muelle) infinite; border-color: var(--verde); color: #0B6B4F; }

.lp-codigo {
    margin: auto 0 0; padding: 14px 16px; border-radius: 14px; background: var(--noche-2); color: #CFE6FF;
    font-family: ui-monospace, Consolas, monospace; font-size: .78rem; line-height: 1.6; white-space: pre; overflow: hidden;
}
.lp-codigo .t { color: var(--celeste); }

.lp-radar { flex: 0 0 46%; height: 150px; }
.lp-radar path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.lp-caja.visible .lp-radar path, .lp:not(.js-anim) .lp-radar path { animation: lp-trazar-radar 6s var(--suave) infinite; }
.lp-radar .ent { stroke: var(--celeste-2); }
.lp-radar .sal { stroke: var(--ambar); animation-delay: .4s !important; }
.lp-radar .pulso { fill: var(--ambar); transform-box: fill-box; transform-origin: center; animation: lp-respira-nodo 1.4s infinite; }

.lp-barras { margin-top: auto; height: 110px; display: flex; align-items: flex-end; gap: 14px; }
.lp-barras div { flex: 1; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-items: end; gap: 3px 4px; }
.lp-barras span { height: var(--h); border-radius: 6px 6px 2px 2px; background: #C9D8EC; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--muelle); }
.lp-barras span.real { background: linear-gradient(180deg, var(--celeste), var(--azul-2)); transition-delay: .15s; }
.lp-barras span.alerta { background: linear-gradient(180deg, var(--ambar), #D97706); animation: lp-ping-ambar 1.8s 1.4s infinite; }
.lp-barras small { grid-column: span 2; text-align: center; font-size: .7rem; color: var(--tenue); font-weight: 600; }
.lp-caja.visible .lp-barras span, .lp:not(.js-anim) .lp-barras span { transform: scaleY(1); }
.lp-noticias { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-noticias span { padding: 7px 12px; border-radius: 50px; background: #fff; border: 1px solid var(--borde); font-size: .8rem; font-weight: 600; color: var(--tenue); }
.lp-noticias .hit { color: #92400E; background: #FFF4E0; border-color: rgba(245,158,11,.5); animation: lp-ping-ambar 1.8s infinite; }

/* ----------------------------------------------------------- Linea de tiempo */
.lp-linea-tiempo { position: relative; max-width: 980px; margin: 0 auto; }
.lp-linea-eje { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.lp-linea-relleno { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--lp-tiempo, 0) * 100%); background: linear-gradient(180deg, var(--celeste), var(--verde)); box-shadow: 0 0 18px var(--celeste); }
.lp-hito { position: relative; width: 50%; padding: 0 56px 46px; }
.lp-hito.izq { left: 0; text-align: right; }
.lp-hito.der { left: 50%; }
.lp-hito-punto {
    position: absolute; top: 4px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--noche); border: 2px solid rgba(0,178,254,.5); color: var(--celeste); z-index: 1;
    box-shadow: 0 0 0 6px var(--noche-2);
    transition: background .4s, color .4s, transform .5s var(--muelle);
}
.lp-hito.izq .lp-hito-punto { right: -23px; }
.lp-hito.der .lp-hito-punto { left: -23px; }
.lp-hito.visible .lp-hito-punto { background: var(--celeste-2); color: #fff; transform: scale(1.08); }
.lp-hito-tarjeta { display: inline-block; text-align: left; padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); max-width: 400px; transition: background .3s, border-color .3s; }
.lp-hito-tarjeta:hover { background: rgba(255,255,255,.09); border-color: rgba(0,178,254,.4); }
.lp-hito-hora { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--celeste); text-transform: uppercase; margin-bottom: 6px; }
.lp-hito-tarjeta b { display: block; font-size: 1.08rem; color: #fff; margin-bottom: 6px; }
.lp-hito-tarjeta p { font-size: .93rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ----------------------------------------------------------- Integraciones */
.lp-dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-izq { margin: 14px 0 18px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.lp-parrafo { font-size: 1.05rem; line-height: 1.7; color: var(--tenue); }
.lp-lista-check { margin: 22px 0 30px !important; display: grid; gap: 10px; }
.lp-lista-check li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lp-lista-check .mud-icon-root { color: var(--verde); }

.lp-orbita { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.lp-orbita-centro {
    position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; z-index: 2;
    box-shadow: 0 0 0 12px rgba(0,178,254,.12), 0 0 0 26px rgba(0,178,254,.06), 0 24px 50px -16px rgba(11,60,130,.6);
    animation: lp-latido-centro 3s ease-in-out infinite;
}
.lp-orbita-centro img { width: 92px; }
.lp-anillo { position: absolute; inset: var(--margen); border-radius: 50%; border: 1.5px dashed rgba(11,60,130,.22); animation: lp-orbitar var(--vel) linear infinite; }
.lp-anillo.r1 { --margen: 24%; --vel: 34s; --r: 26cqw; }
.lp-anillo.r2 { --margen: 3%; --vel: 56s; --r: 47cqw; animation-direction: reverse; }
.lp-satelite {
    --base: calc(360deg / var(--t) * var(--n));
    position: absolute; left: 50%; top: 50%; white-space: nowrap;
    padding: 9px 14px; border-radius: 50px; background: #fff; border: 1px solid var(--borde);
    font-size: .82rem; font-weight: 700; color: var(--azul);
    box-shadow: 0 10px 24px -14px rgba(11,60,130,.6);
    transform: translate(-50%, -50%) rotate(calc(var(--base) + var(--lp-giro))) translateX(var(--r)) rotate(calc(-1 * (var(--base) + var(--lp-giro))));
}
.lp-anillo.r1 .lp-satelite { background: linear-gradient(135deg, var(--azul-2), var(--azul)); color: #fff; border-color: transparent; }

/* ----------------------------------------------------- Galeria y diferencias */
.lp-galeria { position: relative; }
.lp-galeria-pista { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.lp-galeria-pista::-webkit-scrollbar { display: none; }
.lp-galeria-lamina { flex: 0 0 min(100%, 860px); margin: 0; scroll-snap-align: center; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--borde); box-shadow: 0 30px 60px -34px rgba(11,60,130,.5); }
.lp-galeria-lamina img { width: 100%; height: 480px; object-fit: contain; background: #fff; }
.lp-galeria-lamina figcaption { padding: 14px 20px; font-weight: 700; border-top: 1px solid var(--borde); }
.lp-galeria-flecha { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--azul); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); display: grid; place-items: center; transition: transform .25s var(--suave); }
.lp-galeria-flecha:hover { transform: scale(1.08); }
.lp-galeria-flecha.izq { left: -12px; }
.lp-galeria-flecha.der { right: -12px; }
.lp-diferencias { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.lp-diferencia { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--borde); transition: box-shadow .35s var(--suave), border-color .3s; }
.lp-diferencia:hover { box-shadow: 0 24px 50px -28px rgba(11,60,130,.45); border-color: rgba(0,178,254,.4); }
.lp-diferencia-imagen { border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: var(--fondo); }
.lp-diferencia-imagen img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s var(--suave); }
.lp-diferencia:hover .lp-diferencia-imagen img { transform: scale(1.05); }
.lp-diferencia h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.lp-diferencia p { color: var(--tenue); font-size: .93rem; line-height: 1.6; }

/* --------------------------------------------------------------- Seguridad */
.lp-seguridad-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-seguro { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; }
.lp-seguro:hover { background: rgba(255,255,255,.08); border-color: rgba(0,178,254,.45); }
.lp-seguro-icono { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: var(--celeste); background: rgba(0,178,254,.12); }
.lp-seguro b { display: block; font-size: 1.08rem; margin-bottom: 6px; color: #fff; }
.lp-seguro p { color: rgba(255,255,255,.68); font-size: .93rem; line-height: 1.6; }

/* --------------------------------------------------------------------- FAQ */
.lp-faq { display: grid; gap: 12px; }
.lp-faq-item { border-radius: 16px; background: #fff; border: 1px solid var(--borde); transition: border-color .3s, box-shadow .3s; }
.lp-faq-item.abierta { border-color: rgba(0,178,254,.5); box-shadow: 0 16px 40px -26px rgba(11,60,130,.5); }
.lp-faq-pregunta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 1.02rem; font-weight: 700; color: var(--texto); }
.lp-faq-signo { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fondo); position: relative; transition: background .3s, transform .4s var(--suave); }
.lp-faq-signo::before, .lp-faq-signo::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--azul); border-radius: 2px; transition: transform .4s var(--suave), background .3s; }
.lp-faq-signo::after { transform: rotate(90deg); }
.lp-faq-item.abierta .lp-faq-signo { background: var(--azul-2); transform: rotate(180deg); }
.lp-faq-item.abierta .lp-faq-signo::before, .lp-faq-item.abierta .lp-faq-signo::after { background: #fff; }
.lp-faq-item.abierta .lp-faq-signo::after { transform: rotate(0); }
.lp-faq-respuesta { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--suave); }
.lp-faq-respuesta > div { overflow: hidden; }
.lp-faq-item.abierta .lp-faq-respuesta { grid-template-rows: 1fr; }
.lp-faq-respuesta p { padding: 0 22px 20px; color: var(--tenue); line-height: 1.7; }

/* ------------------------------------------------------------------ Cierre */
.lp-cierre { position: relative; overflow: hidden; padding: 120px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--azul) 0%, #0A2F6B 40%, var(--noche) 100%); }
.lp-aurora.suave { filter: blur(80px); }
.lp-aurora.suave .a1 { left: 60%; top: -30%; }
.lp-aurora.suave .a2 { left: 0; top: 30%; }
.lp-cierre-cuerpo { position: relative; z-index: 2; max-width: 820px; }
.lp-cierre h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.lp-cierre p { margin: 18px auto 0; max-width: 640px; color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.7; }

/* --------------------------------------------------------------------- Pie */
.lp-pie { background: var(--noche-2); color: rgba(255,255,255,.7); padding: 70px 0 28px; }
.lp-pie-rejilla { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.lp-pie-rejilla > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lp-pie-logo { height: 52px; width: auto; margin-bottom: 6px; }
.lp-pie p { font-size: .92rem; line-height: 1.6; max-width: 340px; }
.lp-pie b { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.lp-pie a { font-size: .92rem; transition: color .2s; }
.lp-pie a:hover { color: var(--celeste); }
.lp-pie-legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; text-align: center; }

.lp-subir {
    position: fixed; right: 24px; bottom: 24px; z-index: 990; width: 50px; height: 50px; border-radius: 16px; border: 0; cursor: pointer;
    display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--celeste-2), var(--azul-2));
    box-shadow: 0 14px 30px -12px rgba(0,144,208,.8);
    opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .45s var(--muelle);
}
.lp-subir.visible { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------- Animaciones */
@keyframes lp-surgir { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lp-tarjeta { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lp-aparecer { to { opacity: 1; } }
@keyframes lp-deriva { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.15); } 100% { transform: translate(-40px, 70px) scale(.95); } }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } }
@keyframes lp-ping-rojo { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
@keyframes lp-ping-ambar { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.65); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
@keyframes lp-parpadeo { 50% { opacity: 0; } }
@keyframes lp-brillo { 0%, 55% { background-position: 150% 0; } 100% { background-position: -60% 0; } }
@keyframes lp-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes lp-rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes lp-marquesina { to { transform: translateX(-50%); } }
@keyframes lp-hormigas { to { background-position: 16px 0; } }
@keyframes lp-hormigas-svg { to { stroke-dashoffset: -16; } }
@keyframes lp-medidor { to { stroke-dashoffset: 62; } }
@keyframes lp-aguja { 0%, 100% { transform: rotate(-20deg); } 30% { transform: rotate(18deg); } 60% { transform: rotate(4deg); } }
@keyframes lp-trazar { to { stroke-dashoffset: 0; } }
@keyframes lp-trazar-radar { 0% { stroke-dashoffset: 520; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -520; } }
@keyframes lp-feed-entra { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lp-respira { 0%, 100% { transform: scale(.7); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes lp-respira-nodo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes lp-bloque { 0%, 20% { opacity: 0; transform: translateX(-16px) scale(.8); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lp-orbitar { to { --lp-giro: 360deg; } }
@keyframes lp-latido-centro { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* --------------------------------------------------------------- Pantallas */
@media (max-width: 1500px) {
    .lp-nav a { padding: 10px 8px; font-size: .9rem; }
    .lp-enlace-sesion { font-size: 0; gap: 0; padding: 8px; border-radius: 10px; }
    .lp-enlace-sesion .mud-icon-root { font-size: 1.35rem; }
    .lp-enlace-sesion:hover { background: rgba(255,255,255,.08); }
    .lp-flotante.f1 { left: -10px; }
    .lp-flotante.f2 { right: -6px; }
}
@media (max-width: 980px) {
    .lp-portada-cuerpo { grid-template-columns: 1fr; gap: 70px; }
    .lp-escena { max-width: 560px; margin: 0 auto; width: 100%; }
    .lp-cifras { grid-template-columns: repeat(2, 1fr); }
    .lp-ciclo { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .lp-ciclo::before { display: none; }
    .lp-modulos, .lp-bento, .lp-seguridad-rejilla { grid-template-columns: repeat(2, 1fr); }
    .lp-caja-ancha, .lp-bento > .lp-caja:last-child { grid-column: span 2; }
    .lp-dos-columnas { grid-template-columns: 1fr; }
    .lp-pie-rejilla { grid-template-columns: 1fr 1fr; }

    .lp-nav {
        position: absolute; top: 100%; left: 12px; right: 12px; margin: 0; flex-direction: column; gap: 0;
        padding: 10px; border-radius: 18px; background: rgba(6,26,61,.98); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
        opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .35s var(--suave);
    }
    .lp-nav.abierto { opacity: 1; transform: none; pointer-events: auto; }
    .lp-nav a { padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
    .lp-nav a::after { display: none; }
    .lp-nav a:hover { background: rgba(255,255,255,.06); }
    .lp-nav-movil { display: block; }
    .lp-hamburguesa { display: block; }
    .lp-barra-acciones { margin-left: auto; }
}
@media (max-width: 680px) {
    .lp-contenedor { padding: 0 16px; }
    .lp-rotador-linea { white-space: normal; min-height: 2.16em; }
    .lp-barra-acciones .lp-btn { display: none; }
    .lp-logo img { height: 38px; }
    .lp-portada { padding: 116px 0 90px; }
    .lp-btn { width: 100%; }
    .lp-acciones .lp-btn { flex: 1 1 100%; }
    .lp-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .lp-kpi { padding: 8px; }
    .lp-kpi b { font-size: .95rem; }
    .lp-tablero-rejilla { grid-template-columns: 1fr; }
    .lp-centro { display: none; }
    .lp-flotante.f1 { left: -6px; top: -26px; }
    .lp-flotante.f2 { display: none; }
    .lp-flotante.f3 { left: auto; right: -6px; bottom: -30px; }
    .lp-seccion { padding: 80px 0; }
    .lp-cifras, .lp-modulos, .lp-bento, .lp-seguridad-rejilla { grid-template-columns: 1fr; }
    .lp-ciclo { grid-template-columns: repeat(2, 1fr); }
    .lp-caja-ancha, .lp-bento > .lp-caja:last-child { grid-column: auto; }
    .lp-caja-ancha { flex-direction: column; align-items: stretch; }
    .lp-cajeros { flex-basis: auto; }
    .lp-radar { flex-basis: auto; width: 100%; }
    .lp-pestana span { display: none; }
    .lp-pestana.activa span { display: inline; }
    .lp-linea-eje { left: 22px; }
    .lp-hito, .lp-hito.izq, .lp-hito.der { width: 100%; left: 0; text-align: left; padding: 0 0 34px 64px; }
    .lp-hito.izq .lp-hito-punto, .lp-hito.der .lp-hito-punto { left: 0; right: auto; }
    .lp-galeria-lamina img { height: 260px; }
    .lp-galeria-flecha { display: none; }
    .lp-pie-rejilla { grid-template-columns: 1fr; }
    .lp-satelite { font-size: .7rem; padding: 6px 10px; }
    .lp-orbita-centro { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
    .lp-orbita-centro img { width: 66px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .lp.js-anim [data-revelar] { opacity: 1; transform: none; }
}

/* ===========================================================================
   Formulario de contacto (ContactForm.razor): se abre como dialogo Radzen
   con CssClass "cf-dialogo". Va fuera de .lp porque tambien se usa en otras
   paginas publicas.
   =========================================================================== */
.rz-dialog.cf-dialogo {
    padding: 0 !important; border-radius: 26px !important; overflow: hidden; max-width: calc(100vw - 32px);
    background: #fff; box-shadow: 0 50px 120px -30px rgba(4, 18, 43, .75) !important;
    animation: cf-abrir .5s cubic-bezier(.2, .8, .2, 1) backwards;
}
.rz-dialog.cf-dialogo .rz-dialog-content { padding: 0 !important; overflow: auto; max-height: calc(100vh - 48px); }
.rz-dialog-wrapper:has(.cf-dialogo) .rz-dialog-mask { background: rgba(4, 18, 43, .62) !important; }

.cf {
    --azul: #0B3C82; --azul-2: #1557B0; --noche: #061A3D; --celeste: #00B2FE; --celeste-2: #0090D0;
    --verde: #10B981; --borde: #E5E7EB; --texto: #12263F; --tenue: #5B6B82; --suave: cubic-bezier(.2, .8, .2, 1);
    display: grid; grid-template-columns: 340px 1fr; min-height: 560px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--texto);
}
.cf *, .cf *::before, .cf *::after { box-sizing: border-box; }
.cf h2, .cf h3, .cf p { margin: 0; font-family: inherit; }
.cf ul { margin: 0; padding: 0; list-style: none; }
.cf a { text-decoration: none; }

.cf-lado {
    position: relative; overflow: hidden; padding: 34px 30px; color: #fff; display: flex; flex-direction: column; gap: 18px;
    background: radial-gradient(420px 320px at 100% 0%, rgba(0,178,254,.35), transparent 60%), linear-gradient(160deg, #0A2F6B, var(--noche) 70%);
}
.cf-lado-brillo { position: absolute; width: 260px; height: 260px; right: -90px; bottom: -90px; border-radius: 50%; background: #0090D0; filter: blur(70px); opacity: .45; animation: cf-deriva 9s ease-in-out infinite alternate; }
.cf-lado > *:not(.cf-lado-brillo) { position: relative; }
.cf-logo { height: 40px; width: auto; align-self: flex-start; }
.cf-lado h2 { color: #fff; font-size: 1.55rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.cf-lado p { color: rgba(255,255,255,.74); font-size: .93rem; line-height: 1.6; }
.cf-beneficios { display: grid; gap: 10px; }
.cf-beneficios li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); }
.cf-beneficios .mud-icon-root { color: var(--celeste); }
.cf-canales { margin-top: auto; display: grid; gap: 10px; }
.cf-canal { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: #fff !important; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .25s, border-color .25s, transform .25s var(--suave); }
.cf-canal:hover { background: rgba(255,255,255,.13); border-color: rgba(0,178,254,.55); transform: translateX(4px); }
.cf-canal .mud-icon-root { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(0,178,254,.18); color: var(--celeste); flex: none; }
.cf-canal:first-child .mud-icon-root { background: rgba(37,211,102,.18); color: #25D366; }
.cf-canal span { display: grid; font-size: .88rem; font-weight: 700; }
.cf-canal small { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }

.cf-cuerpo { position: relative; padding: 34px 34px 28px; display: flex; flex-direction: column; }
.cf-cerrar { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--borde); background: #fff; color: var(--tenue); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--suave), color .2s, border-color .2s; }
.cf-cerrar:hover { color: var(--azul); border-color: var(--celeste); transform: rotate(90deg); }
.cf-ceja { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--celeste-2); }
.cf-cuerpo h3 { margin: 6px 0 18px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--texto); }

.cf-intereses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cf-chip { height: 34px; padding: 0 14px; border-radius: 50px; border: 1px solid var(--borde); background: #fff; color: var(--texto); font-family: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .25s var(--suave); }
.cf-chip:hover { border-color: var(--celeste); }
.cf-chip.activo { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--azul-2), var(--azul)); box-shadow: 0 8px 18px -10px rgba(11,60,130,.8); }

.cf-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cf-ancho { grid-column: span 2; }
.cf-campo { display: grid; gap: 6px; margin: 0; }
.cf-campo span { font-size: .8rem; font-weight: 700; color: #334155; }
.cf-campo input, .cf-campo textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--borde); background: #F8FAFC;
    font-family: inherit; font-size: .95rem; color: var(--texto); outline: none; resize: vertical;
    transition: border-color .2s, box-shadow .25s, background .2s;
}
.cf-campo input::placeholder, .cf-campo textarea::placeholder { color: #9AA8BC; }
.cf-campo input:hover, .cf-campo textarea:hover { border-color: #C9D5E6; }
.cf-campo input:focus, .cf-campo textarea:focus { background: #fff; border-color: var(--celeste-2); box-shadow: 0 0 0 4px rgba(0,178,254,.15); }
.cf-campo.error input { border-color: #EF4444; background: #FFF7F7; }
.cf-campo.error span { color: #C2272D; }

.cf-aviso { margin-top: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #FFF8EB; color: #92400E; font-size: .87rem; font-weight: 600; animation: cf-sacudir .4s; }
.cf-acciones { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cf-btn { flex: 1; min-width: 180px; height: 50px; border: 0; border-radius: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: .98rem; font-weight: 700; color: #fff; transition: transform .25s var(--suave), box-shadow .25s; }
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn:active { transform: scale(.98); }
.cf-btn-primario { background: linear-gradient(135deg, var(--celeste-2), var(--azul-2) 55%, var(--azul)); box-shadow: 0 12px 28px -12px rgba(0,144,208,.8); }
.cf-btn-whatsapp { background: #25D366; box-shadow: 0 12px 28px -12px rgba(37,211,102,.8); }
.cf-nota { margin-top: 12px !important; font-size: .78rem; color: var(--tenue); text-align: center; }

.cf-listo { margin: auto 0; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 10px; }
.cf-listo-icono { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34D399, var(--verde)); box-shadow: 0 0 0 10px rgba(16,185,129,.14); animation: cf-pop .6s cubic-bezier(.34,1.56,.64,1) backwards; }
.cf-listo-icono .mud-icon-root { font-size: 2.2rem; }
.cf-listo h3 { margin: 6px 0 0 !important; }
.cf-listo p { color: var(--tenue); line-height: 1.6; max-width: 380px; }
.cf-listo .cf-btn { flex: none; min-width: 200px; margin-top: 8px; }

@keyframes cf-abrir { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cf-deriva { to { transform: translate(-60px, -50px) scale(1.2); } }
@keyframes cf-sacudir { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes cf-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 760px) {
    .cf { grid-template-columns: 1fr; min-height: 0; }
    .cf-lado { padding: 26px 22px; gap: 12px; }
    .cf-lado h2 { font-size: 1.25rem; padding-right: 40px; }
    .cf-lado p, .cf-beneficios { display: none; }
    .cf-canales { grid-template-columns: 1fr 1fr; }
    .cf-canal { padding: 9px 10px; gap: 8px; }
    .cf-canal span { font-size: .72rem; word-break: break-all; }
    .cf-cuerpo { padding: 24px 20px 22px; position: static; }
    .cf { position: relative; }
    .cf-cerrar { top: 14px; right: 14px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
    .cf-rejilla { grid-template-columns: 1fr; }
    .cf-ancho { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .rz-dialog.cf-dialogo, .cf *, .cf *::before, .cf *::after { animation: none !important; transition: none !important; }
}
