/* Утверждённый footer prototype: контакты → ссылки → логотип → документы → копирайт. */
.footer-tz { padding: 56px 0 30px; background: var(--footer-bg-color, #3a3939); color: #fff; }
.footer-tz .footer-tz__inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 8.333vw, 160px); }
.footer-tz__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-bottom: 26px; }
.footer-tz__contact { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 18px; }
.footer-tz__phone { color: #fff; font-size: 24px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.footer-tz__socials { display: inline-flex; flex: 0 0 auto; flex-wrap: nowrap; align-items: center; gap: 8px; }
.footer-tz__social { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; overflow: visible; color: #fff; }
.footer-tz__social svg { display: block; flex: 0 0 44px; width: 44px; height: 44px; max-width: none; }
.footer-tz__button { display: inline-flex; max-width: 100%; min-height: var(--ds-btn-small-h, 48px); align-items: center; justify-content: center; padding: var(--ds-btn-small-pad, 12px 26px); border: 2px solid var(--primary-color, #1c6efe); border-radius: var(--ds-r-pill, 40px); background: var(--primary-color, #1c6efe); color: #fff; font-family: var(--font, Montserrat, sans-serif); font-size: var(--ds-btn-small-font, 15px); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: filter .2s ease, background-color .2s ease, border-color .2s ease; }
.footer-tz__button:hover { background: var(--primary-color, #1c6efe); border-color: var(--primary-color, #1c6efe); filter: brightness(.9); }
.footer-tz__nav { padding: 32px 0 42px; }
.footer-tz__columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer-tz__title { margin: 0 0 14px; color: #fff; font-family: var(--font, Montserrat, sans-serif); font-size: 15px; font-weight: 600; line-height: 1.35; }
.footer-tz__list { margin: 0; padding: 0; list-style: none; }
.footer-tz__list a { display: flex; min-height: 44px; align-items: center; padding: 8px 0; color: var(--grey-text, #d9d9d9); font-family: var(--font, Montserrat, sans-serif); font-size: 14px; line-height: 20px; text-decoration: none; overflow-wrap: anywhere; }
.footer-tz__list a:hover, .footer-tz__list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-tz__brand { width: 100%; margin: 12px 0 0; }
.footer-tz__brand svg { display: block; width: 100%; height: auto; }
.footer-tz__docs { padding: 24px 0 0; }
.footer-tz__legal { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.footer-tz__legal li { display: inline-flex; align-items: center; color: var(--grey-text, #d9d9d9); font-size: 12px; line-height: 18px; }
.footer-tz__legal li + li::before { margin: 0 8px; content: "·"; }
.footer-tz__legal a { color: var(--grey-text, #d9d9d9); text-decoration: none; }
.footer-tz__legal a:hover, .footer-tz__legal a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-tz__copy { margin: 14px 0 0; color: var(--grey-text, #d9d9d9); font-size: 12px; line-height: 18px; }
.footer-tz a:focus-visible { outline: 2px solid var(--ds-focus-inverse, #9fb7ff); outline-offset: 3px; }

@media (max-width: 1399px) { .footer-tz__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; } }
@media (max-width: 899px) { .footer-tz { padding-top: 44px; } .footer-tz__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; } }
@media (max-width: 599px) {
    .footer-tz { padding: 36px 0 26px; }
    .footer-tz .footer-tz__inner { padding: 0 20px; }
    .footer-tz__top, .footer-tz__contact, .footer-tz__columns, .footer-tz__brand { width: 100%; max-width: 100%; min-width: 0; }
    .footer-tz__top { align-items: flex-start; }
    .footer-tz__contact { display: block; }
    .footer-tz__phone { display: inline-block; font-size: 21px; white-space: nowrap; }
    .footer-tz__socials { display: flex; margin-top: 8px; }
    .footer-tz__button { width: 100%; max-width: 100%; box-sizing: border-box; }
    .footer-tz__columns { grid-template-columns: 1fr; gap: 20px; }
    .footer-tz__title { margin-bottom: 8px; }
    .footer-tz__list a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 15px; }
    .footer-tz__legal { display: block; }
    .footer-tz__legal li { display: flex; min-width: 0; min-height: 32px; line-height: 22px; overflow-wrap: anywhere; }
    .footer-tz__brand { overflow: hidden; }
    .footer-tz__brand svg { width: 100%; max-width: 100%; }
    .footer-tz__legal li + li::before { content: none; }
}
