/* Popup captación landing — ¿Quieres saber más? */

.lp-lead-popup {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.lp-lead-popup[hidden] {
    display: none !important;
}

.lp-lead-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.48);
    backdrop-filter: blur(2px);
}

.lp-lead-popup-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 26rem);
    padding: 1.75rem 1.5rem 1.35rem;
    background:
        radial-gradient(ellipse 90% 55% at 100% 0%, rgba(233, 78, 26, 0.12), transparent 55%),
        #fff;
    border: 1px solid var(--hairline, #ECE6DF);
    border-radius: 0.85rem;
    box-shadow: 0 24px 64px rgba(20, 20, 20, 0.18);
    text-align: center;
    animation: lp-lead-in 0.38s ease both;
}

@keyframes lp-lead-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.lp-lead-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--outline-variant, #d8d2cb);
    border-radius: 0.45rem;
    background: #fff;
    color: var(--on-surface, #141414);
    cursor: pointer;
    font-size: 0.95rem;
}

.lp-lead-popup-eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-orange, #E94E1A);
}

.lp-lead-popup-panel .head-display {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    margin: 0 0 0.75rem;
    text-align: center;
}

.lp-lead-popup-lead {
    margin: 0 auto 1.25rem;
    max-width: 22rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--on-surface-variant, #5c5650);
}

.lp-lead-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lp-lead-popup-actions .dwbi-cta-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
}

.lp-lead-popup-actions .dwbi-cta-btn.dwbi-cta-secondary {
    background: color-mix(in srgb, var(--brand-orange, #E94E1A) 9%, #fff);
    color: var(--on-surface, #141414);
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(233, 78, 26, 0.12);
    font-weight: 600;
}

.lp-lead-popup-actions .dwbi-cta-btn.dwbi-cta-secondary:hover {
    color: var(--brand-orange, #E94E1A);
    border-color: transparent;
    background: color-mix(in srgb, var(--brand-orange, #E94E1A) 14%, #fff);
    box-shadow: 0 10px 24px rgba(233, 78, 26, 0.18);
    transform: none;
}

.lp-lead-popup-foot {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    color: var(--on-surface-variant, #5c5650);
    line-height: 1.5;
}

.lp-lead-popup-foot a {
    color: var(--brand-orange, #E94E1A);
    text-decoration: none;
}

.lp-lead-popup-foot a:hover {
    text-decoration: underline;
}

.lp-lead-popup-dismiss {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

body.lp-lead-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .lp-lead-popup-panel {
        animation: none;
    }
}
