/* =============================================================
   Solmateria — FOOTER
   Sober and calm: the page comes to rest after the warm climax.
   ============================================================= */

.site-footer {
  /* Soften the join from the CTA. The CTA no longer ends on a flat #211c21 — it
     now closes on a warm veil-over-video tone (~#33241b), so the footer fades IN
     from that warm tone and settles to its calm neutral base: the page comes to
     rest after the climax (§4/§6). Still no border-top — the fade IS the join. */
  background: linear-gradient(180deg, #33241b 0%, #211c21 150px);
  padding: var(--space-12) 0 var(--space-8);
}
.site-footer__inner {
  display: grid;
  gap: var(--space-6);
}

.site-footer__brand { display: inline-flex; color: var(--color-text); }
.site-footer__logo { height: 28px; width: auto; display: block; }

.site-footer__tag {
  margin: var(--space-3) 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 30rem;
}

.site-footer__contacts {
  display: grid;
  gap: var(--space-1);
  margin: 0;
}
.site-footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  /* padding grows the tap target to ~44px; the tighter grid gap above keeps
     the visual rhythm unchanged */
  padding-block: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.site-footer__contacts a { transition: color var(--dur-fast) var(--ease-out); }
.site-footer__contacts a:hover { color: var(--brand-orange); text-decoration: none; }
.site-footer__contacts svg { width: 18px; height: 18px; color: var(--brand-steel); flex: none; }

.site-footer__legal {
  margin: 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  font-size: var(--text-sm);
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: var(--space-12);
  }
  .site-footer__legal { grid-column: 1 / -1; }
}
