/* ============================================================
   footer.css
   Site footer — three-column grid, legal bar, SDG note.
   Depends on: tokens.css, utilities.css
   ============================================================ */

#footer {
  background: var(--black-deep);
  padding: var(--space-14) 0 var(--space-8);
}

/* ── Three-column grid ──────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

/* ── Brand column ───────────────────────────────────────── */
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--grey-text);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

/* ── Link columns ───────────────────────────────────────── */
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-muted);
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .88rem;
  color: var(--stone);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

/* ── Bottom bar ─────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  font-size: .78rem;
  color: var(--grey-muted);
  line-height: 1.7;
}

.footer-sdg {
  font-size: .78rem;
  color: var(--grey-muted);
  text-align: right;
}
