body.modal-active {
    overflow: hidden;
    height: 100%;
}

.modal-wrap {
    display: block;
    background: transparent;
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 100%;
    height: 100%;
    z-index: 910;
    overflow: auto;
}

body.modal-active .modal-wrap {
    top: 0px !important;
    left: 0 !important;
}

.modal-wrap .modal-overlay {
    position: fixed;
    z-index: 911;
    background: var(--gradient3);
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0.7;
}

body.modal-active .modal-wrap .modal-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background: white;
    box-sizing: border-box;
    padding: 40px;
    width: calc(100% - 20px);
    max-width: 800px;
    margin: 100px auto;
    position: relative;
    z-index: 912;
    box-shadow: 0 4px 31px rgba(0,0,0,0.35);
}

.modal-close {
    top: -50px;
    right: -12px;
    width: 50px;
    height: 50px;
    position: absolute;
    background: url('/wp-content/themes/aibatros/images/icon-close-small-white.svg') no-repeat center center;
    background-size: 25px auto;
    cursor: pointer;
}

.contact-wrap {
    margin: 50px 0 18px 0;
    display: flex;
    gap: 50px;
}

.contact-wrap a {
    font-size: 40px;
    line-height: 120%;
    font-weight: 700;
}

.contact-wrap a.tel {
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 65px auto;
    }
    .contact-wrap {
        flex-direction: column;
        margin: 20px 0 18px 0;
        gap: 20px;
    }
    .contact-wrap a {
        font-size: 30px;
    }
}