/* ── LP Slider ────────────────────────────────────────────────────────────── */

.lp-slider {
    position: relative;
    width: 100%;
    height: var(--lp-slider-altura, 580px);
    overflow: hidden;
    background: #0d1b3e;
    user-select: none;
    box-shadow:
        inset 90px 0 70px -20px rgba(5, 10, 25, 0.95),
        inset -90px 0 70px -20px rgba(5, 10, 25, 0.95),
        inset 0 -80px 60px -20px rgba(5, 10, 25, 0.85),
        0 16px 50px 0px rgba(5, 10, 25, 0.45),
        0 -6px 20px 0px rgba(5, 10, 25, 0.25);
    position: relative;
    z-index: 1;
}



/* ── Track ─────────────────────────────────────────────────────────────────── */

.lp-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ── Slide ─────────────────────────────────────────────────────────────────── */

.lp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    pointer-events: none;
}

.lp-slide--activo {
    opacity: 1;
    pointer-events: auto;
}

/* ── Fondo con Ken Burns ───────────────────────────────────────────────────── */

.lp-slide-fondo {
    position: absolute;
    inset: 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-color: #0d1b3e;
    will-change: transform;
    animation: lp-ken-burns 30s ease-in-out infinite;
}

.lp-slide--activo .lp-slide-fondo {
    animation: lp-ken-burns 30s ease-in-out infinite;
}

@keyframes lp-ken-burns {
    0%   { transform: scale(1);    }
    50%  { transform: scale(1.07); }
    100% { transform: scale(1);    }
}


/* ── Overlay degradado ─────────────────────────────────────────────────────── */

.lp-slide-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

/* ── Contenido ─────────────────────────────────────────────────────────────── */

.lp-slide-contenido {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8% 0 8%;
    max-width: 720px;
}

/* Stagger de entrada: cada elemento arranca invisible y sube */

.lp-slide-eyebrow,
.lp-slide-titulo,
.lp-slide-sub,
.lp-slide-cta {
    opacity: 0;
    transform: translateY(18px);
}

.lp-slide--activo .lp-slide-eyebrow {
    animation: lp-slide-up .55s cubic-bezier(.22,.68,0,1) .10s both;
}
.lp-slide--activo .lp-slide-titulo {
    animation: lp-slide-up .55s cubic-bezier(.22,.68,0,1) .25s both;
}
.lp-slide--activo .lp-slide-sub {
    animation: lp-slide-up .55s cubic-bezier(.22,.68,0,1) .40s both;
}
.lp-slide--activo .lp-slide-cta {
    animation: lp-slide-up .55s cubic-bezier(.22,.68,0,1) .55s both;
}

@keyframes lp-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Eyebrow ───────────────────────────────────────────────────────────────── */

.lp-slide-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e1ff01;
    margin-bottom: 14px;
}

/* ── Titular ───────────────────────────────────────────────────────────────── */

.lp-slide-titulo {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

/* ── Subtítulo ─────────────────────────────────────────────────────────────── */

.lp-slide-sub {
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.55;
    color: rgba(255,255,255,.82);
    margin: 0 0 28px;
    max-width: 520px;
}

/* ── CTA ───────────────────────────────────────────────────────────────────── */

.lp-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e1ff01;
    color: #0d1b3e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 50px;
    width: fit-content;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(204,255,0,.30);
}

.lp-slide-cta:hover {
    background: #d9ff33;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(204,255,0,.45);
    color: #0d1b3e;
    text-decoration: none;
}

/* ── Botones prev / next ───────────────────────────────────────────────────── */

.lp-slider-prev,
.lp-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    transition: background .2s, transform .2s;
    z-index: 10;
    padding: 0;
}

.lp-slider-prev { left: 20px; }
.lp-slider-next { right: 20px; }

.lp-slider-prev:hover,
.lp-slider-next:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-50%) scale(1.08);
}

.lp-slider-prev:focus-visible,
.lp-slider-next:focus-visible {
    outline: 2px solid #e1ff01;
    outline-offset: 2px;
}

/* ── Dots ──────────────────────────────────────────────────────────────────── */

.lp-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.lp-slider-dot {
    height: 8px;
    width: 8px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,.40);
    padding: 0;
    transition: background .25s, width .3s cubic-bezier(.34,1.56,.64,1);
}

.lp-slider-dot--activo {
    width: 26px;
    background: #e1ff01;
}

.lp-slider-dot:focus-visible {
    outline: 2px solid #e1ff01;
    outline-offset: 2px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .lp-slider {
        height: var(--lp-slider-altura-mobile, 420px);
    }

    .lp-slide-contenido {
        padding: 0 24px;
        max-width: 100%;
        justify-content: flex-end;
        padding-bottom: 70px;
    }

    .lp-slider-prev { left: 10px; }
    .lp-slider-next { right: 10px; }
}
