/* ============================================================
   footer.css — подвал ГК Такт
   ============================================================ */

.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
  padding-bottom: 0;
}

/* ── Верхний блок ───────────────────────────────────────────── */
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
}

/* ── Колонка бренда ─────────────────────────────────────────── */
.footer__brand {}

.footer__logo {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer__logo-text span { color: var(--c-accent); }

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

/* Соцсети */
.footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}

.footer__social-link:hover {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

/* ── Навигационные колонки ──────────────────────────────────── */
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--tr-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__nav a:hover { color: var(--c-accent-soft); }

/* ── Контактная колонка ─────────────────────────────────────── */
.footer__contacts {}

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer__contact-item i {
  color: var(--c-accent);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__contact-item a,
.footer__contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  line-height: 1.5;
}

.footer__contact-item a:hover { color: var(--c-accent-soft); }

/* ── Нижний копирайт ────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  /* Отступ снизу для FAB на мобильных */
  padding-bottom: calc(20px + 52px);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

@media (min-width: 768px) {
  .footer__bottom { padding-bottom: 20px; }
}

.footer__bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.footer__bottom a:hover { color: rgba(255,255,255,0.75); }

/* ── SEO-текстовый блок ─────────────────────────────────────── */
.seo-block {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  padding-block: 40px;
}

.seo-block h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.seo-block__text {
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  line-height: 1.75;
  max-width: 900px;
}

.seo-block__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
}

.seo-block__cities span {
  font-size: 0.8rem;
  color: var(--c-ink-soft);
}

.seo-block__cities span::after {
  content: '·';
  margin-left: 14px;
  opacity: 0.4;
}

.seo-block__cities span:last-child::after { display: none; }
