footer.footer {
    background: #1c1c1c;
}

footer.footer {
    min-height: 64px;
    height: auto;
}

.footer__container.container {
    padding: 22px 0;
}

.footer__list-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 70px;
    row-gap: 40px;
    align-items: start;
    min-width: 0;
}

footer .footer__list {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.01em;
}

.footer__list li {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.footer__list li::before { content: none; } /* на случай глобальных маркеров списков в шаблоне */

.footer__title { font-weight: 700; }

.footer__list a {
    font: inherit;
    color: inherit;
    word-break: break-word;
    text-decoration: underline;
}

.footer__list a:hover { opacity: .7; }

.personal-data-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.personal-data-modal.is-open { display: flex; }

.personal-data-modal__content {
    position: relative;
    border-radius: 17px;
    width: calc(100% - 32px);
    max-width: 600px;
    box-sizing: border-box;
    padding: 30px 16px 20px;
    background: #fff;
}

.personal-data-modal__text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 118%;
    color: #000;
}

.personal-data-modal__text a {
    color: #03abff;
    text-decoration: underline;
}

.personal-data-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.personal-data-modal__close::before,
.personal-data-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.6px;
    background: #8A94AD;
}

.personal-data-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.personal-data-modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Планшеты — 2 колонки */
@media (max-width: 1199px) {
    .footer__list-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 50px;
    }
    .footer__container.container { padding: 22px 16px; }
}

/* Мобильные — 1 колонка */
@media (max-width: 767px) {
    .footer__list-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    .footer__list:nth-child(3) { order: 1; } /* Контакты */
    .footer__list:nth-child(4) { order: 2; } /* График */
    .footer__list:nth-child(1) { order: 3; } /* Реквизиты */
    .footer__list:nth-child(2) { order: 4; } /* Документы */

    .footer__container.container { padding: 20px 16px; }
}