.site-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-popup.is-open {
    display: flex;
}

.site-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.site-popup__inner {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 8px;
    padding: 45px 30px 30px;
    box-sizing: border-box;
}

.site-popup__close {
    display: flex;
    align-items: center;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    justify-content: center;
    position: absolute;
        z-index: 2;
}

.site-popup__close svg {
    width: 24px;
    height: 24px;
}

body.popup-open {
    overflow: hidden;
}

.site-popup__content .text {
    text-align: center;
}



#popup-success .site-popup__inner {
    border-radius: 24px;
    padding: 60px 40px;
}

#popup-success .title-section {
    text-align: center;
    margin: 0 0 40px;
}





.site-popup.popup-contact.is-open {
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
}

@media (min-width: 1700px) {
    .site-popup.popup-contact.is-open {
        display: flex;
        align-items: center;
    }
}

.site-popup__overlay {
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#popup-contact-1 .site-popup__inner {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 1440px;
    margin: 0 auto;
    background: #f1f1f1;
}

#popup-contact-1 .wrap,
#popup-contact-1 .container {
    padding: 0;
}

#popup-contact-1 .title-section {
    font-size: 32px;
    margin: 0 0 24px;
}

#popup-contact-1 .desc-section {
    font-size: 14px;
    margin: 0 0 30px;
}



#popup-contact-1 .contact__info {
    padding: 32px 40px;
}

#popup-contact-1 .contact__subtitle {
    margin: 0 0 32px;
}



#popup-contact-1 .field textarea {
    max-height: 110px;
}



#popup-contact-1 .wrap {
    max-width: 1200px;
    margin: 0 auto;
}




@media (max-width: 1600px) {

    #popup-contact-1 .field input,
    #popup-contact-1 .field input:focus,
    #popup-contact-1 .field textarea,
    #popup-contact-1 .field textarea:focus {
        font-size: 16px;
    }

    #popup-contact-1 .field input {
        height: 48px;
    }

    #popup-contact-1 .site-popup__inner {
        padding: 32px 40px 32px;
    }

    #popup-contact-1 .title-section {
        font-size: 28px;
        margin: 0 0 20px;
    }

    .site-popup__content .contact__title {
        font-size: 30px;
    }

    .site-popup__content .contact__items {
        gap: 20px;
    }

    #popup-contact-1 .field textarea {
        max-height: 90px;
    }

    .site-popup__content .fields {
        gap: 12px;
    }

    .site-popup.popup-contact {
        padding: 16px;
    }
}













@media (max-width: 1199px) {

    #popup-success .title-section {
        margin: 0 0 24px;
    }

    #popup-success .site-popup__inner {
        padding: 60px 20px;
    }

    .site-popup__close {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 991px) {
    #popup-contact-1 .contact__info {
        padding: 32px 16px;
    }

    .desc-section {
        margin: 0 auto 30px;
        max-width: 480px;
    }

    .site-popup__close {
        top: 10px;
        right: 10px;
    }

    #popup-contact-1 .site-popup__inner {
        padding: 54px 16px 16px;
    }

    .site-popup__content .contact__item>span {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .site-popup__content .contact__item {
        gap: 10px;
        grid-template-columns: 42px 1fr;
    }

    .site-popup__content .contact__item>div,
    .site-popup__content .contact__item>div a {
        font-size: 16px;
    }

    .site-popup__close svg {
        width: 16px;
        height: 16px;
    }
}