/* OZMT-31: footer layout and touch targets. Header appearance stays unchanged. */
.footer .footer__top {
    padding-top: 40px;
}
.footer .footer__top__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
    gap: 32px 40px;
    align-items: start;
}
.footer .footer__nav-grouped {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
.footer .footer__nav-heading {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1d1725;
}
.footer .footer__nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
    width: 100%;
}
.footer .footer__nav__list li,
.footer .footer__nav__list li:nth-child(3n+1) { display: block; width: auto; }
.footer .footer__nav__list a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    line-height: 1.45;
    padding: 5px 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.footer .footer__nav__list li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
    margin: 0;
}
.footer .footer__top__contacts {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}
.footer .footer__top__contacts .logotype { display: block; }
.footer .logotype--footer.mobile { display: none; }
.footer .footer__contacts__list { width: 100%; padding-top: 0; }
.footer .footer__contacts__list .contacts__link {
    display: flex;
    min-height: 44px;
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.footer .socials__link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer .footer__top__actions {
    grid-column: 1 / -1;
    width: 100%;
    padding: 24px 0 0;
    border-top: 1px solid #d7d7d7;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    order: 2;
}
.footer .footer__top__actions .btn { width: auto; flex: 0 0 auto; }
.footer .footer__top__memo { margin: 0; text-align: left; max-width: 480px; }
@media (max-width: 992px) {
    .footer .footer__top__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .footer .footer__top__contacts { flex-direction: column; }
    .footer .footer__nav__list a { min-height: 44px; }
    .footer .footer__top__actions { grid-column: auto; }
}
@media (max-width: 575px) {
    .footer .footer__nav-grouped { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .footer .footer__top__actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .footer .footer__top__actions .btn { width: 100%; }
    .footer .footer__top__memo { text-align: center; }
}
