.site-footer,
.site-footer-wrap {
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  background: var(--bg);
}

.site-footer-wrap a {
  color: var(--text) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer-wrap a:hover {
  color: var(--secondary);
}

.footer-contact__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px 0;
}

.footer-contact__title > a {
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-contact__title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.footer-logo img,
.js-footer-logo {
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  display: block;
}

.footer-links--legal {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 767px) {
  .footer-contact__title {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .footer-links,
  .footer-links--legal {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin: 28px 0;
  }
}