/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-background-alt);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-footer);
  padding: 40px 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================================================================
   Branding
   ========================================================================== */

.footer-brand-name {
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-legal-navigation {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.footer-content a {
  color: var(--color-text-footer);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-content a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Copyright
   ========================================================================== */

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 800px) {
  .footer-content {
    align-items: center;
    text-align: center;
  }

  .footer-description {
    margin: 0 auto;
  }

  .footer-navigation {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 32px 0 20px;
  }

  .footer-navigation {
    gap: 12px 18px;
  }
}
