/* Standard site footer — shared across all pages.
   Scoped under .site-footer so class selectors override any page's
   legacy `footer {}` element rules. CSS vars have fallbacks so the
   footer renders correctly even on pages that don't define the palette. */

.site-footer {
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  background: var(--bg-page, #FAFBFC);
  padding: 56px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-footer .sf-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .sf-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer .sf-logo {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.site-footer .sf-copy {
  font-size: 13px;
  color: var(--text-muted, #94A3B8);
  line-height: 1.5;
}

.site-footer .sf-social {
  display: flex;
  gap: 14px;
  margin-top: 2px;
}

.site-footer .sf-social a {
  color: var(--text-muted, #94A3B8);
  display: inline-flex;
  transition: color 0.2s;
}

.site-footer .sf-social a:hover {
  color: var(--text-primary, #0F172A);
}

.site-footer .sf-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .sf-head {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary, #0F172A);
  margin-bottom: 2px;
}

.site-footer .sf-col a {
  font-size: 14px;
  color: var(--text-secondary, #64748B);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .sf-col a:hover {
  color: var(--text-primary, #0F172A);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px;
  }
  .site-footer .sf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .site-footer .sf-brand {
    grid-column: 1 / -1;
  }
}
