.modal-buttons__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-button {
    position: relative;
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.modal-button:hover {
    opacity: 0.9;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.modal-button__tg {
    background-color: #2c97de;
}

.modal-button__wa {
    background-color: #3cba54;
}
.modal-button__max {
    background: radial-gradient(136.12% 140.74% at 99.77% 99.04%, #8d28c8 0%, #7c42fa 20%, #007aff 80%, #609ceb 100%);
}


.modal-button__tg:before {
    position: absolute;
    top: 15px;
    left: 10px;
    content: "";
    background-image: url("../images/svg/tg.svg");
    height: 13px;
    width: 16px;
}

.modal-button__wa:before {
    position: absolute;
    top: 13px;
    left: 10px;
    content: "";
    background-image: url("../images/svg/wa.svg");
    height: 16px;
    width: 16px;
}

.modal-tel {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: #6dabe4;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    white-space: nowrap;
}

.modal-tel:hover {
    opacity: 0.9;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


.modal-block--tel .block-form {
    padding: 30px;
    background-color: #ffffff;
}

.modal-block--tel .block-form__title {
    color: var(--theme-b-link);
}


