/* Shared compact footer. */
.site-footer {
  padding: 54px 0 22px;
  border-top: 3px solid #81c9bb;
  background: #073e46;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.35fr);
  gap: 32px;
  align-items: start;
}
.site-footer .brand {
  margin: 0 0 18px;
  padding: 4px 12px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}
.site-footer .brand .brand-logo { width: 180px; height: auto; }
.site-footer h3 { font-size: 14px; margin: 5px 0 20px; font-weight: 700; }
.site-footer p { font-size: 12px; line-height: 1.85; margin: 0 0 16px; color: #bcd3d2; }
.site-footer-brand > p { max-width: 260px; }
.site-footer a { font-size: 12px; line-height: 1.7; margin: 0 0 11px; }
.site-footer .site-footer-phone { display: block; font-size: 17px; font-weight: 700; margin: 18px 0; color: white; }
.site-footer .site-footer-email { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: white; }
.site-footer .footer-social { margin: 20px 0 0; }
.site-footer .footer-social-label { font-size: 11.5px; color: #a9c8c4; margin-bottom: 9px; }
.site-footer .footer-social-links { gap: 9px; }
.site-footer .footer-social-link { width: 40px; height: 40px; min-width: 40px; padding: 10px; margin: 0; border-radius: 10px; }
.site-footer .footer-social-link svg { width: 20px; height: 20px; }
.site-footer-links a { display: block; width: fit-content; max-width: 100%; overflow-wrap: break-word; }
.site-footer-visit p { font-size: 12px; margin-bottom: 14px; }
.site-footer .footer-map-frame { border-radius: 10px; border: 1px solid #ffffff28; }
.site-footer .footer-clinic-map { height: 165px; border-radius: 10px; }
.site-footer .site-footer-directions { display: flex; gap: 12px; width: fit-content; color: #d1ece5; font-weight: 700; margin: 12px 0 0; }
.site-footer-utility { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; border-top: 1px solid #ffffff1f; margin-top: 32px; padding-top: 24px; }
.site-footer-directory { display: flex; gap: 14px; align-items: center; flex: 1 1 300px; max-width: 410px; min-width: 0; }
.site-footer-directory label { flex-shrink: 0; color: #bdd6d2; font-size: 12px; }
.site-footer-directory select { margin: 0; min-height: 40px; min-width: 0; width: 100%; font-size: 12px; padding: 9px 10px; border-radius: 8px; }
.site-footer-utility p { margin: 0; font-size: 12px; }
.site-footer .site-footer-utility p a { display: inline; font-size: 12px; font-weight: 500; }
.site-footer .site-footer-whatsapp { display: inline-flex; align-items: center; gap: 16px; border: 1px solid #7fbaab; padding: 10px 15px; border-radius: 8px; margin: 0; color: #fff; font-weight: 700; }
.site-footer .site-footer-whatsapp:hover { background: #ffffff0c; text-decoration: none; }
.site-footer .legal { margin-top: 24px; padding-top: 18px; font-size: 11.5px; color: #9ebfbd; }
.site-footer .legal a { margin: 0; font-size: 11.5px; }
@media (max-width: 1000px) {
  .site-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 40px; }
  .site-footer-brand { order: 0; }
  .site-footer-visit { order: 1; }
  .site-footer-links { order: 2; }
  .site-footer .footer-clinic-map { height: 180px; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 38px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-footer-grid { gap: 30px 24px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-brand > p { max-width: 360px; }
  .site-footer-links { order: 1; }
  .site-footer-visit { order: 2; grid-column: 1 / -1; }
  .site-footer h3 { margin-bottom: 16px; }
  .site-footer .brand .brand-logo { width: 170px; }
  .site-footer .footer-clinic-map { height: 190px; }
  .site-footer-utility { align-items: flex-start; gap: 20px; margin-top: 28px; }
  .site-footer-directory { flex-basis: 100%; max-width: none; }
  .site-footer .legal { display: flex; flex-direction: column; gap: 10px; }
}
