/* =============================================================================
   Подвал — общий для публичной части и кабинета (разметка: site_footer() в
   inc/layout.php). Подключается обеими оболочками после их основного файла.
   Цвета берёт из токенов, которые под одними именами объявлены и в site.css,
   и в app.css (--tint, --line, --ink, --text, --muted, --accent).
   Отступ НАД подвалом задаёт оболочка, здесь его нет.
   ========================================================================== */
.ftr { background: var(--tint); color: var(--text); font-size: 15px; line-height: 1.6; }
.ftr .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; text-decoration: none; }
.ftr .logo__mark { width: 34px; height: 34px; }
.ftr .logo__sub { color: var(--muted); font-weight: 500; }
.ftr__main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding: 64px 0 48px; }
.ftr__about { max-width: 340px; margin: 18px 0 0; line-height: 1.6; }
.ftr__title { margin: 0 0 16px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.ftr__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ftr__list a { color: var(--text); font-weight: 400; text-decoration: none; transition: color .2s; }
.ftr__list a:hover { color: var(--accent); }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 40px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 14px; }
.ftr__bottom p { margin: 0; color: var(--ink); font-weight: 500; }
.ftr__status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
@media (max-width: 1024px) {
    .ftr__main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 48px 0 40px; }
    .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .ftr__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
    .ftr__bottom { flex-direction: column; align-items: flex-start; }
}
