/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
  color: var(--color-muted);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h3 {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  margin: 0 0 0.5rem;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-social h3 {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  margin: 0 0 0.75rem;
}

.footer-social h3 + .social-icons + h3 {
  margin-top: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icons--sponsor a {
  width: auto;
  height: auto;
  border-radius: 8px;
}

.social-icons--sponsor img {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media screen and (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-links {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}
