﻿.site-footer {
  margin-top: clamp(3rem, 5vw, 4rem);
  background: var(--bg, #0f141a);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted, #a9b4c0);
}

.footer-inner {
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 4vw, 3.5rem);
  font-size: 0.85rem;
}

.footer-columns {
  display: grid;
  gap: 2rem;
}

.footer-column {
  display: grid;
  gap: 1rem;
  align-content: start;
  justify-items: start;
}

.footer-column h2 {
  margin: 0;
  color: var(--soft, #d8e0ea);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column h2 + a {
  margin-top: -0.45rem;
}

.footer-column a {
  color: rgba(216, 224, 234, 0.72);
  font-size: 0.85rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-column a:hover {
  color: rgba(244, 247, 251, 0.9);
}

.footer-bottom {
  margin: 1.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(216, 224, 234, 0.66);
  font-size: 0.85rem;
  line-height: 1.3;
}

.footer-supplement {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
  max-width: 64rem;
  color: rgba(216, 224, 234, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-supplement p {
  margin: 0;
}

.footer-supplement a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-supplement a:hover {
  color: rgba(244, 247, 251, 0.9);
}

@media (min-width: 760px) {
  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(3rem, 6vw, 5.5rem);
    row-gap: 2.5rem;
  }
}

@media (max-width: 759px) {
  .footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-columns {
    gap: 1.5rem;
  }

  .footer-column {
    gap: 0.9rem;
  }

  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}
