/* ==========================================================
   POPUP
========================================================== */

.popup-overlay{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:24px;
    background:rgba(15,15,15,.58);
    backdrop-filter:blur(8px);
    z-index:999999;
    opacity:0;
    visibility:hidden;
    transition:opacity .45s ease,visibility .45s ease;
}

.popup-overlay.show{
    opacity:1;
    visibility:visible;
}

.popup-box{
    position:relative;
    width:100%;
    max-width:460px;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:
        0 35px 90px rgba(0,0,0,.30),
        0 10px 30px rgba(0,0,0,.12);
    transform:translateY(35px) scale(.92);
    opacity:0;
    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        opacity .45s;
}

.popup-overlay.show .popup-box{
    transform:translateY(0) scale(1);
    opacity:1;
}

.popup-image{
    height:290px;
    overflow:hidden;
    z-index:1;
}

.popup-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s ease;
}

.popup-box:hover .popup-image img{
    transform:scale(1.04);
}

.popup-content{
    padding:30px;
    text-align:center;
    z-index:2;
}

.popup-content h2{
    font-size:28px;
    line-height:1.2;
    margin-bottom:14px;
    color:#222;
    font-weight:700;
}

.popup-content p{
    font-size:15px;
    line-height:1.8;
    color:#666;
}

.popup-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    margin-top:26px;
    padding:15px 34px;
    border-radius:999px;
    background:#D07A34;
    color:#fff;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
    box-shadow:0 12px 25px rgba(208,122,52,.30);
}

.popup-btn:hover{
    background:#bc6725;
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(208,122,52,.45);
}

.popup-close{
    z-index:10;
    position:absolute;
    top:16px;
    right:16px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(8px);
    font-size:22px;
    font-weight:300;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.popup-close:hover{
    transform:rotate(90deg) scale(1.08);
    background:#fff;
}

body.popup-open{
    overflow:hidden;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .popup-overlay{
        padding:15px;
    }

    .popup-box{
        max-width:420px;
        border-radius:18px;
    }

    .popup-content{
        padding:24px;
    }

    .popup-content h2{
        font-size:22px;
    }

    .popup-content p{
        font-size:15px;
        line-height:1.7;
    }

    .popup-btn{
        width:100%;
        padding:14px;
        margin-top:22px;
    }

    .popup-close{
        width:38px;
        height:38px;
        font-size:24px;
        top:12px;
        right:12px;
    }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:480px){

    .popup-content{
        padding:20px;
    }

    .popup-content h2{
        font-size:20px;
    }

    .popup-content p{
        font-size:14px;
    }

}