[hidden] { display: none !important; }
html { scroll-behavior: auto !important; }

.site-header { padding-block: 9px; text-align: left; }
.site-header .brand img { display: block; width: auto; height: 48px; }
.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px clamp(8px, 1.6vw, 23px);
}
.site-header .site-nav a {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  color: #155e60;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .site-nav .book-link {
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  background: #0b6869;
  color: #fff;
}
.site-header .site-nav a:hover { color: #073d3e; text-decoration: underline; }
.site-header .site-nav .book-link:hover { color: #fff; background: #084f50; }
.site-header .site-nav a:focus-visible, .site-header .brand:focus-visible, .cookie-choice button:focus-visible,
.cookie-settings:focus-visible, .visit-contact a:focus-visible { outline: 2px solid #0b6869; outline-offset: 3px; }
main [id] { scroll-margin-top: 145px; }

#contacto { text-align: left !important; }
#contacto > h2, #contacto > .section-eyebrow, #contacto > p { text-align: center; }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr);
  align-items: start;
  gap: 20px;
  max-width: 1060px;
  margin: 28px auto 0;
}
#contacto .visit-contact {
  background: #fff;
  border: 1px solid #e0ecec;
  border-radius: 20px;
  padding: clamp(16px, 3vw, 25px);
}
#contacto .visit-contact .hours { margin: 0; padding: 0; background: transparent; box-shadow: none; border: 0; }
#contacto .visit-contact .hours p { align-items: flex-start; text-align: left; gap: 4px; flex-direction: column; }
#contacto .visit-contact .visit-actions { display: grid; gap: 4px; margin: 12px 0 0; }
.visit-actions a { display: flex; align-items: center; min-height: 44px; color: #155e60; font-weight: 700; }
#contacto .location { width: 100%; max-width: none; margin: 0; }
.clinic-map { height: auto; margin: 0; }
.clinic-map img { width: 100%; height: auto; display: block; }
.clinic-map figcaption { padding: 4px 10px; text-align: right; color: #456061; font-size: 11px; background: #fff; }
.clinic-map a { color: inherit; }
.location-links a { min-height: 42px; display: inline-flex; align-items: center; line-height: 1.35; }
.location-links > div { min-width: 0; }
.location-links strong { display: flex; align-items: center; gap: 7px; }
.map-number { flex: 0 0 25px; }
.mobile-directions { display: none !important; }

.cookie-settings {
  min-height: 44px;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: #155e60;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-choice {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 300;
  width: min(390px, calc(100% - 32px));
  box-sizing: border-box;
  border: 1px solid #d5e7e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 36px #19353535;
  color: #204142;
  padding: 16px;
}
.cookie-choice h2 { margin: 0 0 6px; font-size: 18px; text-align: left; }
.cookie-choice p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: inherit; }
.cookie-choice a { color: #155e60; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions button {
  min-height: 44px;
  border: 1px solid #a9c7c5;
  border-radius: 10px;
  color: #154e50;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: #edf7f6;
  cursor: pointer;
}
.cookie-actions button:hover { background: #daefec; }

@media (max-width: 760px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  #contacto .location { grid-row: 1; }
  #contacto .visit-contact .hours { max-width: none; }
}
@media (max-width: 520px) {
  .site-header { display: grid !important; grid-template-columns: 1fr auto; padding: 5px 4% !important; }
  .site-header .site-nav { display: contents; }
  .site-header .site-nav .language-link { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-header .site-nav .book-link { grid-column: 2; grid-row: 2; justify-self: end; padding-inline: 8px; text-align: center; }
  .site-header .site-nav .section-nav { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; column-gap: 11px; }
  .site-header .brand img { height: 36px; }
  .site-header .site-nav a { font-size: 12px; min-height: 40px; }
}
@media (max-width: 600px) {
  .cookie-choice { bottom: 76px; }
}
@media (min-width: 521px) {
  .site-header .site-nav .section-nav { display: flex; gap: clamp(8px, 1.6vw, 23px); }
}

.site-header .brand img { height: 88px; }
@media (max-width: 520px) {
  .site-header .brand img { height: 64px; }
}
