/* Shared footer across the homepage, menu pages and CMS templates. */
footer.site-footer {
  height: auto;
  clear: both;
  margin: 0;
  padding: 48px 0 0;
  background: #39424a;
  color: #e5e9ed;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer .site-footer-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-footer .site-footer-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 188px 144px;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
}

.site-footer .site-footer-grid > * {
  min-width: 0;
}

.site-footer .site-footer-heading {
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:focus-visible {
  outline: 2px solid #a5ccff;
  outline-offset: 4px;
}

.site-footer .site-footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  margin: 0 0 24px;
}

.site-footer .site-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer .site-footer-service {
  display: block;
  width: 190px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: #39424a;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.site-footer .site-footer-service:hover {
  background: #eaf1f8;
  border-color: #eaf1f8;
}

.site-footer .site-footer-phone {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: #fff;
  font-size: 19px;
  line-height: 28px;
  white-space: nowrap;
}

.site-footer .site-footer-phone img {
  width: 24px;
  height: 24px;
}

.site-footer .site-footer-addresses p {
  margin: 0 0 8px;
  color: #e5e9ed;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.site-footer .site-footer-addresses p:last-child {
  margin-bottom: 0;
}

.site-footer .site-footer-socials {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  gap: 14px 12px;
}

.site-footer .site-footer-socials a,
.site-footer .site-footer-socials img {
  display: block;
  width: 28px;
  height: 28px;
}

.site-footer .site-footer-socials a:hover {
  opacity: 0.8;
}

.site-footer .footer-business {
  width: 144px;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.site-footer .footer-business img {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px;
  border-radius: 4px;
  background: #fff;
}

.site-footer .site-footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.site-footer .site-footer-bottom p {
  margin: 0;
  color: #bdc6ce;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer .site-footer-bottom a {
  color: inherit !important;
}

@media (max-width: 1099px) {
  .site-footer .site-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 32px 40px;
  }
}

@media (max-width: 599px) {
  footer.site-footer {
    padding-top: 32px;
  }

  .site-footer .site-footer-inner {
    padding: 0 24px;
  }

  .site-footer .site-footer-grid {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 28px 20px;
    padding-bottom: 28px;
  }

  .site-footer .site-footer-brand,
  .site-footer .site-footer-addresses {
    grid-column: 1 / -1;
  }

  .site-footer .site-footer-heading {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .site-footer .site-footer-socials {
    grid-template-columns: repeat(3, 28px);
    gap: 12px;
  }

  .site-footer .footer-business {
    width: 132px;
  }
}
