/* ===================================================
   ФУТЕР
   =================================================== */

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 48px 0 0;
}

/* ====== СЕТКА ====== */
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__col { min-width: 0; }

/* ====== КОЛОНКА 1: БРЕНД ====== */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo__mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo__mark svg {
  width: 26px;
  height: 26px;
  display: block;
}
.footer-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-logo__text strong {
  font-size: 13px;
  letter-spacing: .5px;
}
.footer-logo__text small {
  font-size: 11px;
  color: var(--text-muted);
}

.footer__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 320px;
}

/* ====== СОЦСЕТИ ====== */
.footer__socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F5F6F7;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, transform .15s;
}
.footer-social:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ====== ЗАГОЛОВКИ И СПИСКИ ====== */
.footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text);
  margin-bottom: 16px;
}
.footer__title--mt { margin-top: 24px; }

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__list li a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color .15s;
  display: inline-block;
}
.footer__list li a:hover { color: var(--accent); }

.footer__list-more {
  color: var(--accent) !important;
  font-weight: 500;
}

.footer__empty {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ====== НИЖНЯЯ ПОЛОСА ====== */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__legal a {
  color: var(--text-muted);
  transition: color .15s;
}
.footer__legal a:hover { color: var(--accent); }

.footer__sep {
  color: var(--border);
  user-select: none;
}

/* ===================================================
   АДАПТИВ
   =================================================== */

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__desc { max-width: none; }
}

@media (max-width: 560px) {
  .footer { padding-top: 32px; margin-top: 24px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer__title { margin-bottom: 12px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
  }
  .footer__legal { flex-wrap: wrap; gap: 8px; }
}