/* Shared type and controls */
.display { font-weight: 750; letter-spacing: -.045em; }
.display em { color: inherit; font-style: normal; font-weight: inherit; }
.btn { min-height: 48px; }
.btn-coral { background: #b8402c; color: #fff; }
.btn-coral:hover { background: #963521; color: #fff; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #b8402c;
  outline-offset: 4px;
}
#contact-form { scroll-margin-top: 6rem; }
.first-visit-content > div { max-width: 68ch; }

/* Homepage */
.clinic-home { color: #162b52; }
.home-inner { width: min(100% - 2.25rem, 68rem); margin-inline: auto; }
body > nav, .home-intro { background: #fdfcfa; }
.home-next, .home-visit { background: #f7f1e8; }
.home-intro { padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.home-opening { display: grid; gap: 2rem; align-items: center; }
.home-kicker { font-size: .86rem; color: #5d6573; font-weight: 650; margin-bottom: .8rem; }
.home-opening h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 7.5vw, 5rem);
  line-height: 1.01;
  letter-spacing: -.06em;
  font-weight: 800;
}
.home-description { max-width: 38ch; font-size: clamp(1rem, 2vw, 1.2rem); margin: 1rem 0 1.3rem; }
.home-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.home-quicklinks { display: flex; flex-wrap: wrap; column-gap: 1rem; margin-top: .55rem; }
.home-quicklinks a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.home-visit { padding: 1rem; border-radius: var(--radius); }
.home-visit h2 { font-size: 1.06rem; }
.home-visit p, .home-next p, .home-team p { margin: .65rem 0; }
.clinic-home .home-section { padding-block: clamp(2rem, 5vw, 4rem); }
.home-section h2 { font-size: clamp(1.65rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.04em; }
.home-reviews { background: #162b52; color: #fff; }
.home-reviews a { color: #fff; }
.home-quotes { display: grid; gap: 1rem; margin: 1.25rem 0; }
.home-quotes figure { border-left: 2px solid #ed8c76; padding-left: 1rem; }
.home-quotes blockquote { color: inherit; font-family: inherit; font-size: 1.07rem; line-height: 1.55; }
.home-quotes figcaption { margin-top: .5rem; color: #e0e8f4; font-size: .9rem; }
.home-team { display: grid; gap: 1.5rem; align-items: center; }
.home-team .doc-grid { margin: 0; }
.home-team .doc-card img { display: block; aspect-ratio: 4 / 4.5; }
.home-section .svc-index { margin-block: 1.2rem; }
@media (min-width: 48rem) {
  .home-opening { grid-template-columns: 1.9fr 1fr; }
  .home-visit { padding: 1.5rem 2rem; }
  .home-team { grid-template-columns: 1fr 1.25fr; gap: 3rem; }
  .home-quotes { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 47.99rem) {
  .home-opening { gap: 1.1rem; }
  .home-opening h1 { letter-spacing: -.045em; }
  .home-intro { padding-block: 1.85rem; }
  .home-intro .home-actions .btn { padding-block: .65rem; }
  .home-visit { display: flex; flex-wrap: wrap; column-gap: 1rem; align-items: baseline; }
  .home-visit h2 { flex-basis: 100%; }
  .home-visit a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Keep keyboard-only controls visible and narrow-screen buttons readable. */
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .65rem 1rem; background: #fff; color: #162b52; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
#main-content { scroll-margin-top: 5rem; }
.btn { white-space: normal; text-align: center; }
@media (max-width: 420px) {
  .actionbar .btn { font-size: .95rem; padding-inline: .55rem; }
}
.menu-sheet.open { transition-property: transform; }
@media (prefers-reduced-motion: reduce) {
  .menu-sheet.open { transition: none; }
}

/* Keep paired actions legible as the available width changes. */
.hero-actions, .cta-actions, .home-actions { max-width: none; }
.hero-actions, .cta-actions { flex-wrap: wrap; }
:is(.hero-actions, .cta-actions, .home-actions) > .btn {
  min-width: 0;
  line-height: 1.25;
}
@media (max-width: 30rem) {
  :is(.hero-actions, .cta-actions, .home-actions) > .btn { flex: 0 0 100%; }
}
@media (min-width: 30.01rem) {
  :is(.hero-actions, .cta-actions, .home-actions) > .btn { flex: 0 0 auto; max-width: 100%; }
}

/* Time-limited clinic hours notices. */
.holiday-hours {
  padding: .65rem 1rem;
  background: #f8dfc8;
  color: #162b52;
  text-align: center;
  font-size: .92rem;
  line-height: 1.55;
}
.holiday-hours[hidden] { display: none; }
.holiday-hours strong { margin-inline-end: .35rem; }
.holiday-hours a { display: inline-block; color: inherit; font-weight: 700; margin-inline-start: .4rem; }
@media (max-width: 30rem) {
  .holiday-hours strong { display: block; margin: 0; }
}

/* Center each dropdown indicator beside its label. */
.nav-links .has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}
.nav-links .caret {
  width: .42rem;
  height: .42rem;
  flex: none;
  margin: 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  color: inherit;
  font-size: 0;
  line-height: 0;
  transform: translateY(-1px) rotate(45deg);
}
