/* Blue service cards directly above the white, editable footer. */
:root { --footer-blue: #007ead; }
.footer-services { background: var(--footer-blue); color: #fff; padding: 64px 0 60px; }
.footer-services .container, .reference-footer .container { max-width: 1480px; }
.footer-services-heading { text-align: center; max-width: 850px; margin: 0 auto 52px; }
.footer-services-heading h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); font-weight: 600; letter-spacing: -.025em; margin: 0 0 18px; }
.footer-services-heading p { font-size: 1.1rem; margin: 0; }
.footer-services-heading .eyebrow { color: #fff; font-size: .875rem; margin-bottom: 12px; }
.footer-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.footer-service-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 12px; background: #fff; color: #232b32; border-radius: 38px; padding: 28px 26px 30px 20px; text-decoration: none; min-height: 220px; transition: transform .15s ease, box-shadow .15s ease; }
.footer-service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px #003b5729; }
.footer-service-card:focus-visible { outline: 3px solid #fff; outline-offset: 6px; box-shadow: inset 0 0 0 3px #153e63; }
.footer-service-icon { display: block; width: 48px; height: 48px; color: var(--footer-blue); }
.footer-service-icon svg, .footer-service-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-service-copy { min-width: 0; text-align: center; overflow-wrap: anywhere; }
.footer-service-copy h3 { font-size: clamp(1.3rem, 1.75vw, 1.9rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin: 0 0 16px; }
.footer-service-copy p { font-size: 1rem; line-height: 1.8; margin: 0; }
.footer-services-action { text-align: center; margin-top: 40px; }
.footer-services-action a { display: inline-block; color: #fff; padding: 12px 20px; font-size: 1rem; text-underline-offset: 5px; }
.site-footer.reference-footer { background: #fff; color: #20262b; padding-top: 76px; font-size: 1rem; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, .8fr) minmax(0, 1.15fr); align-items: start; gap: 54px; padding-bottom: 60px; }
.footer-identity { text-align: center; min-width: 0; }
.footer-logo-link { display: flex; align-items: center; justify-content: center; min-height: 130px; text-decoration: none; color: #133f69; }
.footer-logo-image { display: block; width: auto; max-width: 100%; height: auto; max-height: 220px; object-fit: contain; }
.footer-wordmark { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; letter-spacing: .08em; overflow-wrap: anywhere; }
.footer-tagline { font-size: 1.05rem; line-height: 1.65; margin: 20px 0 32px; overflow-wrap: anywhere; }
.footer-contact-button { display: inline-flex; justify-content: center; align-items: center; padding: 16px 34px; min-height: 58px; max-width: 100%; background: #202020; color: #fff; border-radius: 14px; font-size: 1rem; font-weight: 650; text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact-button:hover { background: #164366; }
.reference-footer h2 { color: var(--footer-blue); font-size: 1.65rem; font-weight: 500; letter-spacing: 0; margin: 0 0 38px; }
.footer-quick-links { text-align: center; min-width: 0; }
.footer-quick-links ul { list-style: none; margin: 0; padding: 0; }
.footer-quick-links a { display: inline-block; padding: 8px 4px; text-decoration: none; font-size: 1.05rem; overflow-wrap: anywhere; }
.reference-footer a:not(.footer-contact-button):hover { color: #006a93; text-decoration: underline; text-underline-offset: 4px; }
.reference-footer a:focus-visible { outline: 3px solid #007ead; outline-offset: 5px; border-radius: 3px; }
.footer-contact-info { min-width: 0; }
.footer-contact-info address { font-style: normal; }
.footer-contact-row { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; min-width: 0; }
.footer-contact-row svg { width: 30px; height: 30px; flex: 0 0 30px; fill: none; stroke: #244767; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-row a, .footer-contact-row span { font-size: 1.05rem; overflow-wrap: anywhere; min-width: 0; text-decoration: none; padding-block: 4px; }
.footer-opening-hours { margin: 16px 0; overflow-wrap: anywhere; }
.footer-social-link { display: inline-block; padding-block: 10px; }
.footer-copyright { border-top: 1px solid #e3eaee; padding-block: 22px; color: #56616a; font-size: .875rem; text-align: center; }
@media (max-width: 1050px) {
  .footer-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-columns { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 28px; }
  .footer-contact-row { gap: 12px; }
}
@media (max-width: 760px) {
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-identity { grid-column: 1 / -1; max-width: 560px; width: 100%; margin-inline: auto; }
  .footer-logo-image { max-height: 180px; }
  .reference-footer h2 { margin-bottom: 22px; }
}
@media (max-width: 680px) {
  .footer-services { padding-block: 46px; }
  .footer-services-heading { margin-bottom: 32px; }
  .footer-services-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-service-card { min-height: 0; border-radius: 30px; padding: 26px 22px 28px 18px; grid-template-columns: 40px minmax(0, 1fr); }
  .footer-service-icon { width: 40px; height: 40px; }
  .footer-service-copy h3 { font-size: 1.5rem; }
  .site-footer.reference-footer { padding-top: 46px; }
}
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; padding-bottom: 34px; }
  .footer-contact-info { width: 100%; max-width: 340px; margin-inline: auto; }
  .footer-contact-info h2 { text-align: center; }
  .footer-wordmark { font-size: 2.6rem; }
}
@media print { .footer-services, .reference-footer { display: none !important; } }
