/* ============================================================
   footer.css  —  Three-column footer: copyright | socials | built-with
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.125rem 2rem;
  margin-top: auto;
  transition: border-color var(--dur2) var(--ease);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--content-max) + var(--toc-w) + 3rem);
  margin: 0 auto;
  font-size: 0.79rem; color: var(--fg2);
}
.footer-col { flex: 1; }
.footer-col--center { display: flex; justify-content: center; flex: none; }
.footer-col--right  { text-align: right; }
.footer-col--right a { color: var(--accent); }
.footer-copy { color: var(--fg2); }

/* Social icon cluster */
.footer-social {
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none;
}
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r);
  background: var(--surface);
  color: var(--fg2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  filter: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer { padding: 1rem 1.25rem; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-col, .footer-col--right { flex: none; text-align: center; }
}
