.popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #26252580;
    backdrop-filter: blur(16px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.popup.active {
    opacity: 1;
    background: #26252580;
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.popup__content {
    background: #fff;
    padding: 70px 80px 60px;
    max-width: 700px;
    width: 90%;
    border-radius: 24px;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: .3s ease;
}

.popup.active .popup__content {
    opacity: 1;
    transform: translateY(0);
}

.popup__close {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    background: transparent;
    width: 40px;
    height: 40px;
    border: 1px solid #B8B8B8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    padding: 12px;
}

.popup__close:hover {
    border-color: #F4EEE7;
    transition: .3s;
}

.popup__close svg path {
    transition: .3s;
}

.popup__close:hover svg path {
    fill: #F4EEE7;
    transition: .3s;
}

body.popup-open {
    overflow: hidden;
}

.popup__content .main-title {
    font-weight: 500;
    font-size: 32px;
    text-transform: uppercase;
    color: #3399CC;
    margin-bottom: 8px;
}

.popup__content .contact-form-box .form-description {
    max-width: 100%;
}

@media screen and (max-width: 767px) {
    .popup__content {
        padding: 48px 32px 40px;
        border-radius: 16px;
    }

    .popup__content .main-title {
        font-size: 18px;
    }

    .popup__close {
        width: 24px;
        height: 24px;
        padding: 7px;
    }
}