.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 112;
    margin-bottom: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, .3);
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

.modal-close {
    height: 100%;
}

.modal-container {
    position: absolute;
    bottom: -100%;
    left: 50%;
    z-index: 110;
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 25px 15px 30px 15px;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    margin-bottom: 0;
    transition: 0.3s;
    transform: translateY(0%) translateX(-50%);
}

@media (max-width: 1024px) {
    .modal-container {
        width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .modal-container {
        width: calc(100% - 40px);
    }
}

.modal.active .modal-container {
    bottom: 50%;
    transform: translateY(50%) translateX(-50%);
}

.modal-btn-close {
    font-size: 28px;
    cursor: pointer;
}

.modal-btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
}

.modal-title {
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.5;
}

.modal-phone {
    margin: 0;
}

.modal-phone__info {
    max-width: 265px;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin: auto;
}

.odal-phone__number {
    color: #000;
    font-size: 20px;
    text-align: center;
    display: block;
    margin: auto;
    margin-top: 15px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    width: max-content;
}

.modal-phone__number {
    font-size: 20px;
    text-align: center;
    display: block;
    margin: auto;
    margin-top: 15px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-txt-main);
    padding-bottom: 4px;
    width: max-content;
}