/* Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  padding: 48px 0;
  margin-top: auto;
  background: oklch(12% 0.02 270);
  z-index: 1;
}

:root.light .footer {
  background: oklch(96% 0.008 270);
}

/* Gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-aurora);
  opacity: 0.6;
  box-shadow: 0 0 16px oklch(74% 0.2 45 / 15%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(180px, 1fr) minmax(160px, 1fr);
  gap: 36px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition:
    color var(--transition),
    padding-inline-start var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
  padding-inline-start: 4px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-policy-links,
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-policy-link {
  color: var(--muted);
}
