header .language-link {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d6e5e5;
  border-radius: 12px;
  color: #155e60;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.language-link:hover { background: #eef7f7; }
.language-link:focus-visible, .location a:focus-visible { outline: 2px solid #0b7375; outline-offset: 3px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links a { display: inline-flex !important; color: #155e60; text-decoration: underline; }
#contacto, #servicios, #como-llegar { scroll-margin-top: 110px; }
.mobile-directions { display: none; }

.location {
  max-width: 720px;
  margin: 32px auto 0;
  padding: clamp(14px, 3vw, 24px);
  background: #fff;
  border: 1px solid #e0ecec;
  border-radius: 20px;
  text-align: left;
}

.location h3 { margin: 0 0 14px; }
.clinic-map {
  position: relative;
  z-index: 0;
  height: clamp(210px, 40vw, 280px);
  border: 1px solid #e0ecec;
  border-radius: 12px;
  background: #edf6f5;
  overflow: hidden;
}

.map-status, .clinic-map noscript p { padding: 14px; }
.location-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.location-links > div { background: #f0f7f7; border-radius: 12px; padding: 12px; }
#contacto .location-links p { margin: 6px 0; font-size: 14px; }
.location-links a { display: inline-block; color: #155e60; font-weight: 700; font-size: 14px; }

.map-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #0c6567;
  color: #fff;
  font: 700 14px/1 system-ui, sans-serif;
}

.map-number-parking { background: #2456a6; }
.map-pin .map-number { width: 30px; height: 30px; border: 2px solid #fff; box-shadow: 0 2px 6px #0005; }

@media (max-width: 900px) {
  .mobile-directions { display: inline-flex; align-items: center; min-height: 44px; color: #155e60; font-weight: 700; }
}

@media (max-width: 600px) {
  header { gap: 8px !important; }
  header nav { gap: 6px !important; }
  header .language-link { padding: 0 8px; }
}

@media (max-width: 500px) {
  .location-links { grid-template-columns: 1fr; gap: 8px; }
}
