:root {
  --brand: #157aa5;
  --brand-dark: #0d668f;
  --brand-deep: #073b52;
  --brand-ink: #052b3d;
  --ink: #132b36;
  --muted: #4d6570;
  --blue-soft: #eff8fb;
  --blue-pale: #f7fcfe;
  --sand: #f7f2eb;
  --sand-deep: #e8ddcf;
  --white: #ffffff;
  --line: #ccdde4;
  --line-strong: #a9c2cc;
  --success: #17633b;
  --danger: #a51f35;
  --focus: #ffbf47;
  --shadow-sm: 0 8px 24px rgba(7, 59, 82, .09);
  --shadow: 0 20px 50px rgba(7, 59, 82, .14);
  --radius-sm: .75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --container: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--brand-dark); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: var(--brand-deep); }
address { font-style: normal; }
p, ul, ol { margin-block: 0 1rem; }
h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.65rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h4 { font-size: 1.35rem; }

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
  border-radius: .25rem;
}
::selection { color: var(--white); background: var(--brand-deep); }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 7.5rem); scroll-margin-top: 90px; }
.section--blue-soft { background: linear-gradient(180deg, var(--blue-pale), var(--blue-soft)); }
.section--sand { background: linear-gradient(180deg, #fbf8f4, var(--sand)); }
.section-heading { max-width: 820px; margin: 0 auto clamp(2.25rem, 5vw, 4rem); text-align: center; }
.section-heading--left { max-width: 760px; margin-inline: 0; text-align: left; }
.eyebrow {
  margin: 0 0 .6rem;
  color: var(--brand-dark);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow--light { color: #bfe8f5; }
.lead { color: #314f5b; font-size: clamp(1.08rem, 1.65vw, 1.3rem); line-height: 1.6; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .8rem 1rem;
  border-radius: .55rem;
  color: var(--white);
  background: var(--brand-deep);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: none; }

/* Utility bar and header */
.utility-bar { color: #eaf7fb; background: var(--brand-deep); font-size: .9rem; }
.utility-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.utility-inner a { min-height: 42px; display: inline-flex; align-items: center; gap: .45rem; color: var(--white); font-weight: 750; text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }
.utility-inner svg { width: 18px; height: 18px; fill: currentColor; }
.site-header {
  position: sticky;
  z-index: 300;
  top: 0;
  border-bottom: 1px solid rgba(169, 194, 204, .68);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 4px 18px rgba(7, 59, 82, .04);
  backdrop-filter: blur(12px);
}
.header-inner { position: relative; min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 1 320px; width: min(320px, 42vw); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.55rem, 1.45vw, 1.3rem); }
.site-nav > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav > a:not(.button):hover { color: var(--brand-dark); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: .7rem;
  color: var(--brand-deep);
  background: var(--white);
}
.nav-icon { width: 27px; height: 27px; fill: currentColor; }
.nav-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon--close { display: block; }

/* Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .74rem 1.25rem;
  border: 2px solid transparent;
  border-radius: .7rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.button--small { min-height: 44px; padding: .62rem 1rem; font-size: .9rem; }
.button--primary { color: var(--white); background: var(--brand-dark); box-shadow: 0 8px 22px rgba(13, 102, 143, .22); }
.button--primary:hover { color: var(--white); background: var(--brand-deep); box-shadow: 0 11px 27px rgba(7, 59, 82, .25); }
.button--white { color: var(--brand-deep); background: var(--white); }
.button--white:hover { color: var(--brand-deep); background: #eaf7fb; }
.button--ghost { color: var(--white); border-color: rgba(255, 255, 255, .82); background: transparent; }
.button--ghost:hover { color: var(--brand-deep); background: var(--white); }
.button--outline { color: var(--brand-deep); border-color: var(--brand-dark); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--brand-dark); }
@media (hover: hover) and (pointer: fine) { .button:hover { transform: translateY(-2px); } }

/* Hero carousel */
.hero { background: var(--brand-deep); }
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(430px, 39vw, 650px);
  background: #d8e5e9;
}
.carousel-track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.carousel-slide picture, .carousel-slide img { width: 100%; height: 100%; }
.carousel-slide img { object-fit: cover; object-position: center; }
.js .carousel-slide.is-active img { animation: hero-breathe 8s ease-out both; }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 35, 50, .03), rgba(4, 35, 50, .19));
}
.slide-caption {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  padding: .52rem .75rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 43, 61, .82);
  font-size: .84rem;
  font-weight: 780;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.carousel-controls {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .4rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(5, 43, 61, .84);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  backdrop-filter: blur(7px);
}
.carousel-button, .carousel-dot {
  flex: 0 0 auto;
  border: 0;
  color: var(--white);
  background: transparent;
}
.carousel-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.carousel-button:hover { background: rgba(255, 255, 255, .16); }
.carousel-button svg { width: 24px; height: 24px; fill: currentColor; }
.carousel-dots { display: flex; align-items: center; gap: .15rem; }
.carousel-dot { width: 34px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.carousel-dot::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}
.carousel-dot[aria-current="true"]::before { background: var(--white); }
.hero-message { color: var(--white); background: linear-gradient(120deg, var(--brand-ink), var(--brand-deep) 58%, #0b5877); }
.hero-message-inner { min-height: 235px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 4.5vw, 3.75rem); }
.hero-copy { max-width: 850px; }
.hero-copy h1 { color: var(--white); font-size: clamp(2.35rem, 4.4vw, 4.4rem); }
.hero-copy > p:last-child { max-width: 760px; margin: 0; color: #d9edf4; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.hero-actions { display: grid; gap: .85rem; }

/* Quick actions */
.quick-actions { position: relative; z-index: 20; margin-top: -1.25rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.quick-item {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .18s ease;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { color: var(--ink); background: var(--blue-soft); }
.quick-item strong, .quick-item small { display: block; }
.quick-item small { margin-top: .15rem; color: var(--muted); font-size: .9rem; }
.quick-icon { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--brand-dark); }
.quick-icon svg { width: 25px; height: 25px; fill: currentColor; }

/* About */
.about-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.about-copy { max-width: 640px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.2rem; margin: 1.6rem 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.75rem; font-weight: 720; }
.feature-list li::before { content: ""; position: absolute; top: .56em; left: 0; width: .72rem; height: .72rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #dceff6; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: .35rem; color: var(--brand-dark); font-weight: 850; }
.studio-collage { position: relative; min-height: 510px; }
.studio-photo { position: absolute; overflow: hidden; margin: 0; border: 7px solid var(--white); border-radius: var(--radius); background: #dce8ed; box-shadow: var(--shadow); }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-photo--large { inset: 0 7% 17% 0; }
.studio-photo--small { width: 54%; height: 42%; right: 0; bottom: 0; }
.studio-note { position: absolute; z-index: 2; top: 1.2rem; right: 0; max-width: 260px; padding: 1rem 1.15rem; border-left: 5px solid var(--brand); border-radius: .45rem 0 0 .45rem; color: var(--white); background: rgba(7, 59, 82, .93); box-shadow: var(--shadow-sm); }
.studio-note strong, .studio-note span { display: block; }
.studio-note span { margin-top: .2rem; color: #d9edf4; font-size: .9rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.service-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #dce8ed; }
.service-body { padding: 1.3rem 1.25rem 1.4rem; }
.service-body h3 { font-size: 1.35rem; }
.service-body p { color: var(--muted); }
details { border-top: 1px solid var(--line); }
summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  color: var(--brand-dark);
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.35rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details ul { margin: .1rem 0 .5rem; padding-left: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }

/* Team */
.doctor-profile { display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-pale), var(--white)); box-shadow: var(--shadow-sm); }
.doctor-photo { align-self: stretch; display: grid; place-items: center; }
.doctor-photo img { width: min(100%, 330px); height: auto; aspect-ratio: 300 / 475; object-fit: contain; border-radius: 1.25rem; box-shadow: var(--shadow); }
.doctor-copy .role { margin: -.25rem 0 1rem; color: var(--brand-dark); font-weight: 850; }
.affiliation-details { margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.affiliation-details h4 { margin: 0 0 .75rem; color: var(--brand-dark); }
.affiliations { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; }
.hygiene-heading { max-width: 760px; margin: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.hygiene-heading p:last-child { color: var(--muted); }
.provider-grid { display: grid; grid-template-columns: minmax(210px, .58fr) minmax(210px, .58fr) minmax(420px, 1.55fr); gap: 1.25rem; align-items: stretch; }
.provider-card, .team-photo { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.provider-card img { width: 100%; aspect-ratio: 300 / 475; object-fit: cover; object-position: center top; }
.provider-card-body { padding: 1rem 1.15rem 1.2rem; }
.provider-card-body h4 { margin: 0 0 .2rem; }
.provider-card-body p { margin: 0; color: var(--brand-dark); font-weight: 800; }
.team-photo { display: flex; flex-direction: column; }
.team-photo picture { flex: 1; min-height: 0; }
.team-photo img { width: 100%; height: 100%; min-height: 275px; object-fit: cover; object-position: center; }
.team-photo figcaption { padding: .85rem 1rem; color: var(--muted); font-size: .92rem; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why-item { padding: 1.55rem; border: 1px solid #e1d4c4; border-radius: var(--radius); background: rgba(255, 255, 255, .78); }
.why-number { display: inline-block; margin-bottom: .65rem; color: var(--brand); font-size: 1.85rem; font-weight: 900; line-height: 1; }
.why-item h3 { font-size: 1.38rem; }
.why-item p { margin: 0; color: var(--muted); }

/* Contact and map */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.map-card { overflow: hidden; margin: 1.6rem 0 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.map-card > a { position: relative; display: block; color: var(--white); text-decoration: none; }
.map-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.map-action { position: absolute; right: 1rem; bottom: 1rem; min-height: 44px; display: inline-flex; align-items: center; padding: .65rem .85rem; border: 1px solid rgba(255,255,255,.58); border-radius: .65rem; color: var(--white); background: rgba(7, 59, 82, .92); font-weight: 820; box-shadow: 0 7px 20px rgba(0,0,0,.2); }
.map-card figcaption { padding: .72rem 1rem; color: var(--muted); font-size: .86rem; }
.location-details { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 1.4rem; align-items: center; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.location-details h3 { margin-bottom: .5rem; }
.location-details address { margin-bottom: .8rem; }
.road-sign { width: 180px; aspect-ratio: 1000 / 835; object-fit: cover; border-radius: .9rem; }
.form-card { position: sticky; top: 116px; padding: clamp(1.5rem, 3.5vw, 2.35rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .38rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .8rem;
  border: 2px solid var(--line-strong);
  border-radius: .65rem;
  color: var(--ink);
  background: var(--white);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #789aa8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand-deep); outline: 4px solid var(--focus); outline-offset: 1px; }
.required { color: var(--danger); }
.privacy-note { margin: .2rem 0 0; padding: 1rem 1.05rem; border-left: 5px solid var(--brand); border-radius: .2rem .65rem .65rem .2rem; background: var(--blue-soft); font-size: .93rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-actions > span { color: var(--muted); font-size: .88rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: .65rem; font-weight: 720; }
.form-status.is-visible { display: block; }
.form-status.is-success { border: 1px solid #9dcfb4; color: var(--success); background: #eaf7f0; }
.form-status.is-error { border: 1px solid #dfacb6; color: var(--danger); background: #fcecef; }

/* Footer */
.site-footer { padding: 4rem 0 6.5rem; color: #dbeef5; background: var(--brand-ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-logo { width: min(360px, 100%); height: auto; padding: .65rem .8rem; border-radius: .65rem; background: var(--white); }
.footer-brand p { max-width: 500px; }
.cookie-note { color: #bfe8f5; }
.site-footer h2 { color: var(--white); font-family: inherit; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: var(--white); }
.footer-links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .17); font-size: .9rem; }
.mobile-actions { display: none; }

/* Progressive animation: content remains visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Legal and error pages */
.legal-header { border-bottom: 1px solid var(--line); background: var(--white); }
.legal-header .header-inner { min-height: 84px; }
.legal-main { padding: clamp(3.5rem, 7vw, 6rem) 0 7rem; }
.legal-main .container { max-width: 900px; }
.legal-main h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); }
.legal-main h2 { margin-top: 2.5rem; font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
.legal-main h3 { margin-top: 1.6rem; font-size: 1.35rem; }
.legal-main li + li { margin-top: .35rem; }
.legal-logo { width: min(360px, 76vw); margin-bottom: 2.5rem; }
.callout { padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: .65rem; background: var(--blue-soft); }

@media (max-width: 1080px) {
  .utility-inner span { display: none; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    z-index: 20;
    top: calc(100% + .55rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: .55rem .65rem; }
  .site-nav .button { margin-top: .35rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-photo { grid-column: 1 / -1; }
  .team-photo img { min-height: 0; aspect-ratio: 1280 / 500; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .utility-bar { display: none; }
  .header-inner { min-height: 80px; }
  .brand { width: min(285px, 66vw); }
  .hero-carousel { min-height: clamp(320px, 51vw, 460px); }
  .hero-message-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { max-width: none; }
  .studio-collage { min-height: 470px; }
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-photo { justify-content: start; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .section { padding-block: 4.25rem; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .header-inner { min-height: 74px; }
  .brand { width: min(255px, 68vw); }
  .nav-toggle { width: 46px; height: 46px; }
  .site-nav { left: .2rem; right: .2rem; }
  .hero-carousel { min-height: 290px; }
  .carousel-slide img { object-position: center; }
  .slide-caption { left: .75rem; bottom: .75rem; max-width: 47%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .carousel-controls { right: .65rem; bottom: .65rem; gap: .05rem; padding: .25rem; }
  .carousel-button { width: 42px; height: 42px; }
  .carousel-dot { width: 24px; height: 42px; }
  .carousel-dot::before { width: 9px; height: 9px; }
  .hero-message-inner { min-height: 0; padding-block: 2.25rem 2.7rem; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10.8vw, 3.2rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-actions { margin-top: 0; }
  .quick-grid { border-radius: 0 0 var(--radius) var(--radius); }
  .feature-list { grid-template-columns: 1fr; }
  .studio-collage { min-height: 390px; }
  .studio-photo--large { inset: 0 0 25% 0; }
  .studio-photo--small { width: 66%; height: 38%; }
  .studio-note { top: .7rem; max-width: 230px; }
  .service-grid, .why-grid, .provider-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-body { padding: 1.2rem; }
  .doctor-profile { padding: 1rem; border-radius: var(--radius); }
  .doctor-photo { justify-content: center; }
  .affiliations { columns: 1; }
  .team-photo { grid-column: auto; }
  .provider-card { max-width: 380px; margin-inline: auto; }
  .location-details { grid-template-columns: 1fr 120px; }
  .road-sign { width: 120px; }
  .form-card { padding: 1.3rem; border-radius: var(--radius); }
  .form-actions { align-items: stretch; flex-direction: column; }
  .site-footer { padding-bottom: 7.8rem; }
  .footer-brand { grid-column: auto; }
  .mobile-actions {
    position: fixed;
    z-index: 500;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -8px 24px rgba(7, 59, 82, .14);
    backdrop-filter: blur(10px);
  }
  .mobile-actions a {
    min-height: 66px;
    display: grid;
    place-items: center;
    gap: .1rem;
    padding: .35rem .2rem;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
  }
  .mobile-actions a + a { border-left: 1px solid var(--line); }
  .mobile-actions svg { width: 23px; height: 23px; fill: var(--brand-dark); }
}

@media (max-width: 420px) {
  .carousel-dots { display: none; }
  .location-details { grid-template-columns: 1fr; }
  .road-sign { width: min(210px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .button, .quick-grid, .service-card, .doctor-profile, .provider-card, .team-photo, .why-item, .map-card, .location-details, .form-card { border: 1px solid CanvasText; }
  .carousel-controls, .slide-caption, .map-action { border: 1px solid CanvasText; }
  .feature-list li::before { background: CanvasText; box-shadow: none; }
}

@media print {
  .utility-bar, .site-header, .carousel-controls, .quick-actions, .mobile-actions, .hero-actions, .form-card { display: none !important; }
  .hero-carousel { min-height: 280px; }
  .hero-message { color: #000; background: #fff; }
  .hero-copy h1, .hero-copy > p:last-child { color: #000; }
  .section { padding-block: 2rem; }
  a { color: #000; }
}

/* Comfortable standalone link targets in contact and footer areas. */
.location-details p a,
.footer-links a,
.footer-bottom a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 600px) {
  .hero-carousel { min-height: 245px; }
  .hero-message-inner { padding-block: 1.8rem 2.15rem; }
  .hero-copy h1 { font-size: clamp(2.05rem, 9.5vw, 2.9rem); }
  .hero-copy > p:last-child { font-size: 1rem; line-height: 1.55; }
  .hero-actions { gap: .65rem; }
}
