:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --white: #fffefa;
  --pale: #efefe5;
  --ink: #18392f;
  --green: #1c4738;
  --dark: #16392e;
  --muted: #4e635b;
  --line: #d6ded2;
  --rust: #914a32;
  --focus: #b3613c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 98px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding: clamp(64px, 8vw, 115px) 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -.052em; line-height: 1.02; }
.eyebrow {
  margin-bottom: 17px;
  color: var(--rust);
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: white;
  background: var(--green);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; line-height: 1.17; }
.brand img { width: 49px; height: 49px; border-radius: 7px; mix-blend-mode: multiply; }
.brand strong { display: block; font-size: .96rem; }
.brand small { display: block; color: var(--muted); margin-top: 4px; font-size: .72rem; }
.main-nav { display: flex; gap: 29px; align-items: center; font-size: .89rem; }
.main-nav a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.main-nav a:not(.button):hover { color: var(--rust); }
.button, .icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 49px;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 11px 19px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { background: #295b49; border-color: #295b49; }
.header-book { min-height: 43px; padding: 9px 15px; font-size: .86rem; }
.button-outline { color: var(--green); background: transparent; border-color: #bdcbbc; }
.button-outline:hover { color: var(--ink); background: #e8ede2; border-color: #9db09f; }
.icon-button { padding: 0; min-width: 44px; min-height: 44px; color: var(--ink); background: transparent; border-color: var(--line); }
.icon-button .icon { width: 22px; height: 22px; }
.icon-button:hover { background: var(--pale); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(26px, 6vw, 105px);
  padding: 62px 0 70px;
}
.hero h1 {
  font-size: clamp(3.55rem, 7.15vw, 7rem);
  line-height: .96;
  letter-spacing: -.065em;
}
.hero-description { max-width: 385px; margin-top: 27px; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--muted); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 25px; font-size: .88rem; }
.hero-note .icon { color: var(--green); }
.hero-portrait { width: 100%; max-width: 433px; justify-self: end; }
.portrait-frame {
  display: grid;
  justify-items: center;
  align-items: end;
  padding: clamp(18px, 3vw, 36px) clamp(19px, 4vw, 53px) 0;
  background: #dce5d9;
  background: linear-gradient(145deg, #e6ecdf, #c9d8cc);
  border: 1px solid #cbd7ca;
  border-radius: 11px;
  overflow: hidden;
}
.portrait-mat {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 49% 49% 0 0 / 43% 43% 0 0;
  outline: 1px solid #f3f5edb0;
  outline-offset: 7px;
  box-shadow: 0 0 40px #16392e24;
}
.portrait-mat img { width: 100%; height: auto; }
.hero-portrait figcaption { padding-top: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: .8rem; color: var(--muted); }

.clinics { background: var(--pale); border-top: 1px solid #e3e5da; }
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 60px;
  margin-bottom: 32px;
}
.section-intro > p { color: var(--muted); max-width: 365px; }
.clinic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.clinic-card {
  display: flex;
  flex-direction: column;
  padding: clamp(21px, 3vw, 37px);
  background: var(--white);
  border: 1px solid #d7dfd0;
  border-radius: var(--radius);
}
.clinic-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 79px; }
.clinic-heading h3 { font-size: clamp(1.65rem, 3.2vw, 2.75rem); line-height: 1.02; letter-spacing: -.04em; }
.city { margin-bottom: 6px; color: var(--rust); font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.clinic-photo { width: clamp(75px, 8vw, 117px); height: auto; aspect-ratio: 1.58; object-fit: cover; border-radius: 5px; }
.clinic-info { display: grid; gap: 16px; margin: 23px 0; padding-top: 21px; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; line-height: 1.4; }
.info-row > .icon { margin-top: 2px; color: #587263; }
.info-row strong, .phone { font-size: .98rem; font-weight: 700; }
.info-row p { margin-top: 3px; color: var(--muted); font-size: .85rem; }
.phone { white-space: nowrap; }
.phone:hover, .text-link:hover { color: var(--rust); }
.clinic-actions { margin-top: auto; display: flex; gap: 14px 19px; flex-wrap: wrap; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .86rem; font-weight: 700; }

.about-grid, .questions-grid, .contact-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(35px, 9vw, 140px); }
.about-lead { margin-top: 21px; max-width: 450px; color: var(--muted); }
.practice-list { margin: 0; align-self: center; }
.practice-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.practice-list > div:last-child { border-bottom: 1px solid var(--line); }
.practice-list dt { font: 1.45rem/1.16 var(--serif); }
.practice-list dd { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.questions { background: #e9eee4; }
.faq details { border-top: 1px solid #ccd7ca; }
.faq details:last-child { border-bottom: 1px solid #ccd7ca; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  min-height: 53px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  display: grid;
  place-items: center;
  content: "+";
  flex: none;
  width: 27px;
  height: 27px;
  border: 1px solid #b9c9bc;
  border-radius: 50%;
  color: var(--green);
  font-size: 1.13rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: .93rem; }
.faq summary:hover { color: var(--rust); }

.contact { background: var(--dark); color: #f3f5eb; }
.contact-grid { align-items: center; }
.contact .eyebrow { color: #e9b79e; }
.contact p:not(.eyebrow) { margin: 20px 0 24px; color: #d2e0d3; }
.button-on-dark { color: var(--dark); background: #edf3e6; border-color: #edf3e6; }
.button-on-dark:hover { color: var(--dark); background: #d4e2d1; border-color: #d4e2d1; }
.contact-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #ffffff3e; }
.contact-list li { border-top: 1px solid #ffffff3e; }
.contact-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 15px; padding: 14px 0; text-decoration: none; }
.contact-list a:hover strong { text-decoration: underline; }
.contact-list span { color: #cbdbcf; font-size: .8rem; }
.contact-list strong { grid-row: 2; font-family: var(--serif); font-weight: 400; font-size: clamp(1.21rem, 2.6vw, 1.85rem); overflow-wrap: anywhere; }
.contact-list .icon { grid-area: 1 / 2 / 3 / 3; align-self: center; color: #d1e1d3; }

.site-footer { font-size: .83rem; color: var(--muted); }
.footer-inner, .footer-inner > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 22px; }
.footer-inner { padding-block: 23px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.mobile-actions { display: none; }

dialog:not([open]) { display: none; }
#booking-dialog {
  width: min(100% - 32px, 492px);
  max-width: none;
  max-height: calc(100% - 24px);
  padding: 0;
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px #13292045;
}
#booking-dialog::backdrop { background: #142d26ad; }
body:has(#booking-dialog[open]) { overflow: hidden; }
.dialog-inner { position: relative; padding: clamp(22px, 5.8vw, 34px); }
.dialog-inner h2 { margin: 3px 44px 22px 0; font-size: clamp(2rem, 6vw, 2.75rem); }
.dialog-close { position: absolute; top: 17px; right: 17px; }
.office-picker { padding: 0; margin: 0; border: 0; min-width: 0; }
.office-picker legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: .88rem; }
.office-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.office-options label {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 9px 12px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.office-options input { accent-color: var(--green); margin: 0; }
.office-options label:has(:checked) { background: #edf2e8; border-color: #78947e; }
.office-options label:hover { border-color: #78947e; }
.office-options label:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.booking-hours { display: flex; align-items: start; gap: 8px; min-height: 25px; margin-top: 16px; color: var(--muted); font-size: .91rem; }
.booking-hours .icon { margin-top: 2px; }
.booking-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }
.booking-actions .button { padding-inline: 8px; }
.booking-help { margin-top: 16px; color: var(--muted); font-size: .84rem; }

@media (max-width: 900px) {
  .wrap { width: min(1160px, calc(100% - 64px)); }
  .main-nav { gap: 17px; }
}

@media (max-width: 740px) {
  html { scroll-padding-top: 77px; }
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 38px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 0 12px; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .7rem; }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    width: 100%;
    gap: 0 14px;
    padding-bottom: 9px;
  }
  .main-nav a { min-height: 39px; display: flex; align-items: center; }
  .main-nav .header-book { display: none; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    min-height: 42px;
    min-width: 42px;
  }
  .has-menu .main-nav { display: none; }
  .has-menu .main-nav.is-open {
    display: grid;
    position: absolute;
    inset: 100% 0 auto;
    grid-template-columns: 1fr;
    background: var(--paper);
    box-shadow: 0 10px 18px #17392c12;
    border-bottom: 1px solid var(--line);
    padding: 4px 19px 10px;
  }
  .has-menu .main-nav.is-open a:not(.header-book) { min-height: 46px; border-top: 1px solid var(--line); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 39px 0 35px; gap: 31px; }
  .hero h1 { font-size: clamp(3rem, 11.7vw, 5.35rem); }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 21px; }
  .hero-note { margin-top: 17px; }
  .hero-portrait { justify-self: start; max-width: 350px; }
  .portrait-frame { padding: 17px 36px 0; }
  .hero-portrait figcaption { padding-top: 8px; padding-bottom: 6px; }
  .section-intro, .about-grid, .questions-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .clinic-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .clinic-photo { width: 93px; }
  .section-space { padding: 48px 0; }
  .mobile-actions {
    position: fixed;
    z-index: 4;
    bottom: 0;
    inset-inline: 0;
    display: grid;
    grid-template-columns: 1fr 1.16fr;
    gap: 8px;
    padding: 8px max(12px, calc((100vw - 460px) / 2)) calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -5px 21px #17392c11;
  }
  .mobile-actions .button { min-height: 48px; padding-inline: 7px; font-size: .88rem; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 30px); }
  .hero-actions .button { padding-inline: 11px; font-size: .84rem; }
  .booking-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
