/* Shared footer: readable type and clear service, company, and contact groups. */
footer.site-footer {
  background: #0d1821;
  color: #fff;
  padding: 64px 0 28px;
}
footer.site-footer .footer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 36px;
  margin-bottom: 40px;
}
footer.site-footer a.footer-wordmark {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(76px, 8vw, 112px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: 0;
  text-decoration: none;
}
footer.site-footer .footer-wordmark > span {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
}
footer.site-footer a.back-top {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  gap: 14px;
  margin: 0;
  color: #c5d1db;
  font-size: 14px !important;
  line-height: 1.5;
}
footer.site-footer .back-top span { font-size: 22px; }
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
footer.site-footer .footer-grid > * { min-width: 0; }
footer.site-footer .footer-grid h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}
footer.site-footer .footer-grid .footer-intro h3 {
  font-size: 28px !important;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
}
footer.site-footer .footer-grid p,
footer.site-footer .footer-grid a {
  color: #c5d1db;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
footer.site-footer .footer-grid p { margin: 0; }
footer.site-footer .footer-grid a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding-block: 2px;
}
footer.site-footer .footer-core-services {
  border-left: 2px solid #79b8ec;
  padding-left: 14px;
  margin-bottom: 20px;
}
footer.site-footer .footer-core-services a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
footer.site-footer .footer-core-services a:last-child { margin-bottom: 0; }
footer.site-footer .footer-contact p { margin: 22px 0 8px; }
footer.site-footer .footer-contact a.footer-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  margin: 18px 0 0;
  border: 1px solid #d20016;
  border-radius: 6px;
  background: #c80015;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
footer.site-footer .footer-contact a.footer-quote:hover { background: #a90012; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .footer-links a:hover,
footer.site-footer .footer-contact a:not(.footer-quote):hover,
footer.site-footer .footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer.site-footer a:focus-visible {
  outline: 2px solid #8cc8ff;
  outline-offset: 5px;
  border-radius: 2px;
}
footer.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 44px;
  padding-top: 24px;
  color: #b7c6d2;
  font-size: 14px;
  line-height: 1.6;
}
footer.site-footer .footer-bottom a {
  margin: 0;
  color: #c5d1db;
  font-size: 14px !important;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  footer.site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px 48px !important;
  }
}
@media (max-width: 600px) {
  footer.site-footer { padding-top: 44px; }
  footer.site-footer .footer-heading { gap: 22px; padding-bottom: 28px; margin-bottom: 32px; }
  footer.site-footer .footer-wordmark > span { font-size: 11px; letter-spacing: .09em; }
  footer.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  footer.site-footer .footer-grid > * { grid-column: auto; }
  footer.site-footer .footer-links a { min-height: 36px; margin-bottom: 6px; }
  footer.site-footer .footer-bottom { justify-content: flex-start; margin-top: 32px; }
}

/* Allow the full customer-service address to wrap on narrow screens. */
a[href^="mailto:"] { overflow-wrap: anywhere; }
