/* ============================================================
   FOOTER.CSS — Site footer
   ============================================================ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem 4rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* ── Brand column ── */
.site-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.18));
}

.site-footer__tagline {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  max-width: 30ch;
}

/* ── Nav columns ── */
.site-footer__nav {
  display: flex;
  gap: 3rem;
}

.site-footer__nav-col h4 {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.site-footer__nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.site-footer__nav-col a {
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__nav-col a:hover { color: var(--text); }

/* ── Bottom row ── */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.site-footer__legal-name {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

.site-footer__legal-name strong {
  color: var(--text-2);
  font-weight: 500;
}

.site-footer__built-by {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

.site-footer__built-by a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer__built-by a:hover {
  color: var(--text);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-3);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__social-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
