.site-footer {
  border-top: 1px solid rgba(121, 108, 97, 0.2);
  background: #e3e2e6;
  padding: 0.95rem 0 0.65rem;
  color: var(--muted, #5e5851);
}

.site-footer__inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-footer__logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-footer__brand-text {
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f1d1b;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  flex: 1 1 auto;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 0.35rem;
  color: #1f1d1b;
  font-size: 0.82rem;
  line-height: 1.3;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.site-footer__list a {
  color: var(--muted, #5e5851);
  text-decoration: none;
  font-size: 0.83rem;
  line-height: 1.35;
}

.site-footer__list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal {
  margin-top: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(121, 108, 97, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}

.site-footer__legal p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.site-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 0.45rem 0.95rem;
  flex-wrap: wrap;
}

.site-footer__legal-links a {
  color: var(--muted, #5e5851);
  text-decoration: none;
  font-size: 0.74rem;
  line-height: 1.35;
}

.site-footer__legal-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-footer__top {
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-footer__columns {
    width: 100%;
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 680px) {
  .site-footer__columns {
    grid-template-columns: 1fr;
  }

  .site-footer__legal {
    margin-top: 0.65rem;
    text-align: left;
  }
}
