/* css/footer.css — site footer + footer nav */

/* Footer */
.main-footer {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-info address,
.footer-info .footer-email {
  color: var(--color-text-secondary);
  font-style: normal;
  display: block;
  margin-top: var(--space-md);
}

.footer-social {
  margin-top: var(--space-md);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.footer-social-link:hover {
  opacity: 1;
}

.footer-ai-launcher {
  margin-top: var(--space-lg);
}

.footer-ai-launcher-label {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
}

.footer-ai-launcher-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-ai-launcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-ai-launcher-link:hover {
  opacity: 1;
  color: var(--color-text);
}

.footer-ai-launcher-icon {
  display: block;
}

.footer-nav {
  display: grid;
  /* minmax(0, 1fr) keeps the four columns compressible between 768px and the
     width where they'd fully fit, so the footer reflows instead of overflowing
     when labels grow. min-width:0 lets the grid shrink inside the flex row. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--space-3xl);
  row-gap: var(--space-2xl);
  min-width: 0;
}

.footer-nav-heading {
  margin: 0 0 var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

