/* =====================================================
   ContactX · Footer Component
   ===================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--fg);
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.footer-links-section h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.footer-links a:hover {
  border-bottom-color: var(--border-strong);
}

.footer-bottom {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

@media (max-width: 520px) {
  .footer-container {
    padding: 40px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
