/* =========================
PLIK: popup.css
========================= */

.lead-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:999999;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    padding:20px;
}

.lead-popup-overlay.active{
    opacity:1;
    visibility:visible;
}

.lead-popup{
    width:100%;
    max-width:1050px;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 1fr;
    position:relative;
    animation:popupShow .35s ease;
    box-shadow:0 30px 80px rgba(0,0,0,0.3);
}

@keyframes popupShow{

    from{
        transform:translateY(30px) scale(.96);
        opacity:0;
    }

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

}

.lead-popup-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#f3f3f3;
    font-size:28px;
    cursor:pointer;
    z-index:10;
    transition:0.2s;
}

.lead-popup-close:hover{
    background:#e5e5e5;
}

.lead-popup-left{
    background:linear-gradient(135deg,#111827,#1f2937);
    color:#fff;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.lead-popup-badge{
    display:inline-flex;
    width:max-content;
    background:#f59e0b;
    color:#111;
    padding:10px 18px;
    border-radius:999px;
    font-weight:700;
    margin-bottom:25px;
    font-size:14px;
}

.lead-popup-left h2{
    font-size:42px;
    line-height:1.15;
    margin-bottom:20px;
}

.lead-popup-left h2 span{
    color:#fbbf24;
}

.lead-popup-left p{
    font-size:18px;
    opacity:0.92;
    line-height:1.7;
    margin-bottom:30px;
}

.lead-popup-benefits{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:30px;
}

.benefit-item{
    font-size:17px;
    line-height:1.5;
}

.lead-popup-urgency{
    background:rgba(255,255,255,0.08);
    padding:18px;
    border-radius:18px;
    font-size:15px;
    border:1px solid rgba(255,255,255,0.1);
}

.lead-popup-right{
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.lead-popup-right h3{
    font-size:32px;
    margin-bottom:30px;
    color:#111827;
}

.popup-form-group{
    margin-bottom:18px;
}

.popup-form-group input,
.popup-form-group select,
.popup-form-group textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:16px;
    font-size:16px;
    outline:none;
    transition:0.2s;
    font-family:inherit;
}

.popup-form-group input:focus,
.popup-form-group select:focus,
.popup-form-group textarea:focus{
    border-color:#f59e0b;
    box-shadow:0 0 0 4px rgba(245,158,11,0.15);
}

.popup-form-group textarea{
    resize:vertical;
    min-height:120px;
}

.lead-popup-submit{
    width:100%;
    border:none;
    background:#f59e0b;
    color:#111;
    padding:18px;
    border-radius:16px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:0.25s;
    margin-top:10px;
}

.lead-popup-submit:hover{
    transform:translateY(-2px);
    background:#fbbf24;
}

.lead-popup-trust{
    margin-top:18px;
    font-size:14px;
    color:#6b7280;
    text-align:center;
    line-height:1.5;
}

.lead-popup-success{
    display:none;
    text-align:center;
    padding-top:20px;
}

.lead-popup-success h4{
    font-size:28px;
    margin-bottom:15px;
}

.lead-popup-success p{
    color:#4b5563;
    line-height:1.8;
    font-size:16px;
}

/* TABLET */
@media(max-width:900px){

    .lead-popup{
        grid-template-columns:1fr;
        max-height:92vh;
        overflow-y:auto;
        border-radius:24px;
    }

    .lead-popup-left,
    .lead-popup-right{
        padding:38px;
    }

    .lead-popup-left h2{
        font-size:34px;
    }

}

/* MOBILE */
@media(max-width:600px){

    .lead-popup-overlay{
        padding:10px;
        align-items:flex-end;
    }

    .lead-popup{
        width:100%;
        max-height:94vh;
        border-radius:24px 24px 0 0;
    }

    .lead-popup-left,
    .lead-popup-right{
        padding:24px;
    }

    .lead-popup-left h2{
        font-size:28px;
        line-height:1.2;
    }

    .lead-popup-left p{
        font-size:16px;
    }

    .lead-popup-right h3{
        font-size:24px;
        margin-bottom:20px;
    }

    .benefit-item{
        font-size:15px;
    }

    .popup-form-group input,
    .popup-form-group select,
    .popup-form-group textarea{
        padding:14px;
        font-size:16px;
    }

    .lead-popup-submit{
        padding:16px;
        font-size:16px;
    }

    .lead-popup-close{
        width:38px;
        height:38px;
        font-size:24px;
        top:12px;
        right:12px;
    }

}

/* SMALL PHONES */
@media(max-width:380px){

    .lead-popup-left h2{
        font-size:24px;
    }

    .lead-popup-left,
    .lead-popup-right{
        padding:20px;
    }

}