.custom-popup{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    padding: 20px;
}
.custom-popup input{
       line-height: 32px; 
       font-size: 16px;
       font-family: Montserrat;
}
.custom-popup.active{
    opacity: 1;
    visibility: visible;
}

.custom-popup__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
}

.custom-popup__body{
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    transform: translateY(20px);
    transition: .3s;
}

.custom-popup.active .custom-popup__body{
    transform: translateY(0);
}

.custom-popup__title{
    margin: 0 0 25px;
    color: #117f1c;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.custom-popup__close{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #117f1c;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.custom-popup .wpcf7-submit{
    width: 100%;
    background: #117f1c !important;
    border: none;
    border-radius: 14px;
    padding: 16px 25px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.custom-popup input,
.custom-popup textarea,
.custom-popup select{
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    padding: 14px 18px;
}

.custom-popup input:focus,
.custom-popup textarea:focus,
.custom-popup select:focus{
    border-color: #117f1c;
    outline: none;
}
.popup_submit{
    margin-top: 10px;
    width: 100%;
}
@media (max-width: 767px){
    .custom-popup__body{
        padding: 25px;
    }

    .custom-popup__title{
        font-size: 24px;
    }
}  