.modal_wrap .modal_form_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(229, 229, 229, .9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.modal_wrap .form_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.modal_wrap .form_modal_body {
    display: flex;
    gap: 30px;
    align-items: center;
}
.modal_wrap .form_img_wrap {
    width: 136px;
    height: 136px;
    flex-shrink: 0;
}
.modal_wrap .form_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.modal_wrap .form_modal_title {
    margin: 0 0 7px 0;
    font-size: 24px;
    line-height: 1.4;
    color: #2DA8FF;
}
.modal_wrap .form_modal_text {
    font-size: 16px;
    line-height: 1.5;
    color: #414141;
}
.modal_wrap .form_contact {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modal_wrap .form_contact_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.modal_wrap .form_contact_buttons a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.modal_wrap .form_contact_buttons a span {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #2DA8FF;
    transition: .3s ease-in-out;
    will-change: color, transform;
}
.modal_wrap .form_contact_buttons .form_contact_phone:after,
.modal_wrap .form_contact_buttons a span:after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #2DA8FF;
    transform: scaleX(1);
    transition: .3s ease-in-out;
}
.modal_wrap .form_contact_buttons a.form_contact_phone:hover:after,
.modal_wrap .form_contact_buttons a:hover span:after {
    transform: scaleX(0);
    background-color: #AB04FF;
}
.modal_wrap .form_contact_buttons a:hover span {
    text-decoration: none;
    color: #AB04FF;
}
.modal_wrap .form_modal_text a {
    line-height: 24px;
    font-size: inherit;
    color: #2DA8FF;
    will-change: color, transform;
}
.modal_wrap .form_modal_text_desktop a{
    display: inline-block;
}
.modal_wrap .form_modal_text a:hover {
    color: #AB04FF;
}
.modal_wrap .modal-btn span,
.modal_wrap .modal-btn svg {
    transition: .3s ease-in-out;
}
.modal_wrap .modal-btn span {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    transform: translateX(10px);
}
.modal_wrap .form_modal_content {
    padding: 40px 50px 35px 35px;
    position: relative;
}
.modal_wrap .form_modal_close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
}
.modal_wrap .form_modal_close svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.modal_wrap .form_modal_close svg path {
    transition: .3s ease-in-out;
}
.modal_wrap .form_modal_close:hover path {
    fill: #AB04FF;
    stroke: #AB04FF;
}
.modal_wrap.active .form_modal,
.modal_wrap.active .modal_form_overlay {
    opacity: 1;
    visibility: visible;
}
.modal_wrap.active .form_modal {
    transform: translate(-50%, -50%) scale(1);
}
.modal_wrap .form_modal_text_mobile,
.modal_wrap .form_contact_buttons .form_contact_phone {
    display: none;
}
@media(max-width: 567px) {
    .modal_wrap .form_modal_content {
        padding: 14px 20px 25px;
    }
    .modal_wrap .form_modal_body {
        flex-direction: column;
        gap: 7px;
    }
    .modal_wrap .form_img_wrap {
        width: 64px;
        height: 64px;
    }
    .modal_wrap .form_modal_intro {
        text-align: center;
    }
    .modal_wrap .form_contact_buttons {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        gap: 15px;
    }
    .modal_wrap .form_modal_title {
        margin: 0;
        font-weight: 600;
        color: #383838;
    }
    .modal_wrap .form_modal_text_mobile {
        display: block;
    }
    .modal_wrap .form_modal_text_desktop,
    .modal_wrap .form_contact .form_contact_title {
        display: none;
    }
    .modal_wrap .form_contact_buttons .form_contact_phone {
        position: relative;
        display: inline-block;
    }
    .modal_wrap .form_contact_buttons a svg {
        width: 19px;
        height: 19px;
    }
    .modal_wrap .form_contact_buttons .form_contact_phone,
    .modal_wrap .form_contact_buttons a span {
        font-size: 20px;
    }
}
