/* Shared footer. Kept separate so hosting updates load the complete layout. */
.site-footer {
  display: block;
  padding: 52px 0 0;
  background: #f5f8fc;
  border-top: 3px solid #159ba8;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-grid > * { min-width: 0; }
.site-footer .brand { width: 180px; }
.site-footer .footer-tagline {
  margin-top: 18px;
  color: #0b2d6b;
  font-size: .8125rem;
  font-weight: 650;
}
.site-footer .footer-description {
  max-width: 260px;
  margin-top: 10px;
  font-size: .8125rem;
  line-height: 1.8;
  color: #52647d;
}
.footer-links h2, .footer-contact h2 {
  margin: 4px 0 16px;
  color: #0b2d6b;
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.footer-links ul { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-links button, .footer-contact a {
  display: inline-block;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #40516b;
  font: inherit;
  font-size: .8125rem;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
}
.site-footer .footer-contact p { margin: 0 0 7px; font-size: .8125rem; line-height: 1.7; }
.footer-contact .footer-email { color: #0b2d6b; font-weight: 650; overflow-wrap: anywhere; }
.site-footer .footer-contact .footer-contact-note { margin-top: 10px; font-size: .75rem; }
.footer-links a:hover, .footer-links button:hover, .footer-contact a:hover, .footer-legal a:hover {
  color: #087b89;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 20px 0;
  border-top: 1px solid #d9e3ef;
}
.site-footer .footer-bottom p { margin: 0; font-size: .6875rem; line-height: 1.8; }
.site-footer .footer-ownership p + p { margin-top: 2px; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer-legal a { color: #52647d; font-size: .75rem; padding: 6px 0; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 32px 52px; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-bottom: 30px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .site-footer .footer-description { max-width: 350px; }
  .footer-links ul { gap: 10px; }
  .footer-links a, .footer-links button { padding-block: 6px; }
  .footer-contact { border-top: 1px solid #d9e3ef; padding-top: 22px; }
  .footer-bottom { align-items: flex-start; gap: 12px; }
  .footer-bottom .footer-legal { margin: 0; }
  .footer-legal { gap: 8px 20px; }
}
@media (max-width: 360px) {
  .footer-grid { gap: 26px 16px; }
}
