/* ── Site Footer ──────────────────────────────────────────────────────────── */

.home .site-footer {
  background-color: var(--footer-landing-bg);
  color: var(--footer-landing-text);
}

body:not(.home) .site-footer {
  background-color: var(--footer-other-bg);
  color: var(--footer-other-text);
}

.home .site-footer a {
  color: var(--footer-landing-text);
}

body:not(.home) .site-footer a {
  color: var(--footer-other-text);
}

.home .site-footer .site-footer__bottom {
  border-top: 1px solid var(--footer-landing-border);
}
body:not(.home) .site-footer .site-footer__bottom {
  border-top: 1px solid var(--footer-other-border);
}

.site-footer {
  display: block;
  padding: 25px 0 40px;
  width: 100%;
}

.site-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 35px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.site-footer__column .site-footer__logo {
  margin-left: 0;
  margin-right: auto;
}

.site-footer__column .site-footer__menu {
  align-items: flex-start;
}

.site-footer__column .site-footer__contact {
  align-items: flex-start;
}

.site-footer__column .site-footer__social {
  justify-content: flex-start;
}

.site-footer__logo {
  display: block;
}

.site-footer__heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.site-footer__tagline {
  font-size: 14px;
  opacity: 0.8;
}

/* ── Footer navigation menu ─────────────────────────────────────────────── */

.site-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__menu a {
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.site-footer__menu a:hover {
  opacity: 0.7;
}

/* ── Contact details ─────────────────────────────────────────────────────── */

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.site-footer__contact-item a {
  text-decoration: none;
}

.site-footer__contact-item a:hover {
  opacity: 0.7;
}

.site-footer__hours {
  white-space: pre-line;
}

/* ── Social links ────────────────────────────────────────────────────────── */

.site-footer__social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease;
}

.site-footer__social-link svg {
  width: 100%;
  height: 100%;
}

.site-footer__social-link:hover {
  opacity: 0.7;
}

/* ── Bottom bar ──────────────────────────────────────────────────────────── */

.site-footer__bottom {
  padding-top: 35px;
  text-align: center;
}

.site-footer__copyright {
  font-size: 12px;
  opacity: 0.8;
}

/* ── Footer logo sizing ────────────────────────────────────────────────────── */

@media screen and (min-width: 990px) {
  .site-footer__logo {
    width: var(--logo-footer-width);
    height: var(--logo-footer-height);
    max-width: none;
    max-height: none;
  }
}
@media screen and (max-width: 989px) {
  .site-footer__logo {
    width: var(--logo-footer-mobile-width);
    height: var(--logo-footer-mobile-height);
    max-width: none;
    max-height: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media screen and (max-width: 749px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__column {
    text-align: center;
  }

  .site-footer__column .site-footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__column .site-footer__menu {
    align-items: center;
  }

  .site-footer__column .site-footer__contact {
    align-items: center;
  }

  .site-footer__column .site-footer__social {
    justify-content: center;
  }
}
