:root {
  --ivory: #f5f3ed;
  --paper: #fcfbf7;
  --brand: #87a67a;
  --brand-soft: #dce6d7;
  --gold: #b97812;
  --ink: #292a25;
  --muted: #62675e;
  --line: #d5d8cf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand-soft); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(4rem, 15vw, 6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 7vw, 3.7rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.45rem, 4.5vw, 2rem); letter-spacing: -.025em; }
p { text-wrap: pretty; }
.container { width: min(100% - 40px, 1200px); margin-inline: auto; }
.section { padding-block: 64px; }
.eyebrow { margin-bottom: 22px; font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.prose { max-width: 62ch; }
.prose p { line-height: 1.85; }
.prose p + p { margin-top: 1rem; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.45 !important; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; transform: translateY(-160%); padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--ivory); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 92px; }
.wordmark { display: block; width: 145px; text-decoration: none; }
.header-logo { width: 100%; height: 80px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.menu-toggle { display: flex; gap: 14px; align-items: center; min-height: 44px; border: 0; padding: 10px 0 10px 16px; color: var(--ink); background: none; cursor: pointer; font-size: .82rem; }
.menu-toggle > span:last-child { font-size: 1.5rem; line-height: 1; }
.main-nav { display: none; width: 100%; padding-block: 10px 22px; }
.main-nav.open { display: grid; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding-block: 10px; font-size: .84rem; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.header-cta { display: none; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 52px; padding: 14px 22px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: .84rem; border: 1px solid var(--ink); transition: background-color .18s ease; }
.button:hover { background: #4d5047; }
.button span { font-size: 1.1rem; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding-block: 8px; font-size: .82rem; text-decoration: none; border-bottom: 1px solid var(--brand); }
.text-link:hover { border-color: var(--ink); }

.hero { padding-block: 42px 52px; display: grid; gap: 36px; }
.hero h1 { line-height: .94; }
.hero h1 span { display: block; font-style: italic; font-size: .53em; line-height: 1.25; margin-bottom: 5px; color: var(--brand); }
.hero-intro { max-width: 38rem; margin-top: 25px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--muted); }
.hero-actions { margin-top: 28px; display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.hero-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 43%; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: .65rem; color: var(--muted); }
.hero-photo figcaption span:last-child { text-transform: uppercase; letter-spacing: .13em; }

.about-section { border-top: 1px solid var(--line); display: grid; gap: 34px; }
.about-copy .text-link { margin-top: 22px; }
.editorial-columns { display: grid; gap: 38px; }
.approach-section { background: var(--paper); }
.section-intro > p:last-child { max-width: 35rem; margin-top: 22px; color: var(--muted); }
.approach-row { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding-block: 27px; border-top: 1px solid var(--line); }
.approach-row:last-child { border-bottom: 1px solid var(--line); }
.item-number { font-size: .68rem; color: var(--muted); padding-top: 6px; }
.approach-row p { max-width: 52ch; margin-top: 12px; color: var(--muted); }

.clinic-section { background: #e5e9e1; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
.section-heading > p { max-width: 36rem; color: var(--muted); }
.clinic-gallery { display: grid; gap: 30px; }
.clinic-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.clinic-photo figcaption { display: flex; gap: 12px; padding-top: 12px; font-size: .7rem; color: var(--muted); }
.clinic-photo figcaption span { font-size: .6rem; padding-top: 2px; }

.journey-list { border-top: 1px solid var(--line); }
.journey-item { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 20px; min-height: 96px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.journey-list span { font-size: .68rem; color: var(--muted); }
.journey-list strong { font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 400; }

.credentials-section { overflow: hidden; background: var(--paper); }
.credentials-heading { align-items: end; margin-bottom: 38px; }
.credentials-intro { max-width: 32rem; color: var(--muted); }
.credentials-hint { margin-top: 14px; font-size: .7rem; color: var(--muted); }
.credentials-grid { border-top: 1px solid var(--line); }
.credential-card { min-width: 0; border-bottom: 1px solid var(--line); }
.credential-open { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: stretch; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: zoom-in; }
.credential-image { display: grid; place-items: center; height: 146px; padding: 12px; overflow: hidden; background: #f0efe9; }
.credential-image img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.75) contrast(.96); transition: filter .25s ease, opacity .25s ease; }
.credential-open:hover .credential-image img { filter: saturate(.95) contrast(1); }
.credential-copy { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-width: 0; padding: 18px; }
.credential-copy > span { display: flex; flex-direction: column; min-width: 0; }
.credential-copy small { order: 2; margin-top: 8px; font-size: .6rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.credential-copy strong { font-family: var(--serif); font-size: clamp(1.05rem, 4vw, 1.28rem); font-weight: 400; line-height: 1.22; }
.credential-copy em { order: 3; margin-top: 3px; font-size: .65rem; line-height: 1.35; font-style: normal; color: var(--muted); }
.credential-copy b { flex: 0 0 auto; align-self: flex-end; width: auto; height: auto; padding-bottom: 2px; border-bottom: 1px solid var(--brand); color: var(--muted); font-size: 0; font-weight: 400; }
.credential-copy b::after { content: "Ver"; font-family: var(--sans); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.credential-open:hover .credential-copy b { color: var(--ink); border-color: var(--ink); }
.credential-dialog { width: min(94vw, 1180px); max-width: none; max-height: 92vh; margin: auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(26, 29, 24, .28); }
.credential-dialog::backdrop { background: rgba(27, 30, 25, .76); backdrop-filter: blur(5px); }
.credential-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.credential-dialog-bar p { overflow: hidden; font-family: var(--serif); font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.credential-dialog-close { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 0 7px 14px; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: .72rem; }
.credential-dialog-close span { font-size: 1.5rem; font-weight: 300; }
.credential-dialog-stage { display: grid; place-items: center; height: calc(92vh - 64px); padding: 16px; overflow: auto; background: #e8e9e4; }
.credential-dialog-stage img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
body:has(.credential-dialog[open]) { overflow: hidden; }

.reviews-section { background: #e5e9e1; }
.reviews-heading { align-items: end; margin-bottom: 36px; }
.reviews-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.carousel-button { width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.2rem; }
.carousel-button:hover { background: var(--ink); color: var(--paper); }
.carousel-button:disabled { opacity: .35; cursor: not-allowed; background: transparent; color: var(--ink); }
.carousel-status { min-width: 48px; text-align: center; font-size: .7rem; }
.carousel-toggle { min-height: 38px; padding: 7px 12px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: .68rem; }
.carousel-toggle:hover { border-bottom-color: var(--brand); }
.reviews-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(88vw, 390px); gap: 18px; overflow-x: auto; padding: 2px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
.review-card { min-height: 390px; padding: 28px; background: var(--paper); display: flex; flex-direction: column; scroll-snap-align: start; border-top: 3px solid var(--brand); }
.review-meta { display: flex; justify-content: space-between; gap: 18px; font-size: .65rem; color: var(--muted); }
.review-stars { color: var(--gold); letter-spacing: .12em; }
.review-card blockquote { margin: 38px 0 30px; font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.42rem); line-height: 1.5; }
.review-card footer { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-card footer strong { font-size: .78rem; }
.review-card footer span { font-size: .65rem; color: var(--muted); }
.reviews-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 26px; font-size: .7rem; color: var(--muted); }
.reviews-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--ink); }

.faq-section { background: var(--paper); }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: 1.3rem; }
summary::-webkit-details-marker { display: none; }
summary span { font-family: var(--sans); font-size: 1.4rem; font-weight: 300; transition: transform .18s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 58ch; padding: 0 45px 24px 0; color: var(--muted); }
.contact-section { background: var(--brand-soft); }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 36rem; }
.contact-actions { display: grid; width: 100%; gap: 10px; margin-top: 6px; }
.contact-button { justify-content: flex-start; }
.contact-button > span { margin-left: auto; }
.channel-icon { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-button .channel-icon { margin-right: 2px; }
.phone-link { min-height: 44px; padding-block: 8px; }
.social-link { min-height: 58px; padding: 10px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--ink); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.social-link > span { display: flex; flex-direction: column; line-height: 1.25; }
.social-link small { font-size: .62rem; color: var(--muted); }
.social-link strong { font-size: .82rem; font-weight: 500; }
.social-link b { margin-left: auto; font-size: 1.1rem; font-weight: 400; }
.social-link:hover { background: var(--ink); color: var(--paper); }
.social-link:hover small { color: inherit; }
.icon-dot { fill: currentColor; stroke: none; }
.contact-note { font-size: .75rem; color: var(--muted); }

.site-footer { padding-block: 64px 28px; }
.footer-main { display: grid; gap: 34px; }
.footer-logo { width: min(100%, 300px); height: auto; mix-blend-mode: multiply; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer-main nav a { min-height: 36px; font-size: .8rem; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-main > p { max-width: 38rem; font-size: .72rem; color: var(--muted); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .66rem; color: var(--muted); }

@media (min-width: 700px) {
  .section { padding-block: 90px; }
  .hero { grid-template-columns: 1fr .82fr; align-items: center; gap: 8%; padding-block: 70px; }
  .hero h1 { font-size: clamp(5rem, 9vw, 8.2rem); }
  .hero-intro { font-size: 1.32rem; }
  .hero-actions { flex-direction: row; align-items: center; }
  .about-section { grid-template-columns: .9fr 1.1fr; gap: 10%; }
  .editorial-columns { grid-template-columns: .82fr 1.18fr; gap: 10%; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: end; }
  .section-heading > p { max-width: 25rem; }
  .reviews-carousel { grid-auto-columns: min(46%, 500px); gap: 24px; }
  .reviews-footer { flex-direction: row; justify-content: space-between; align-items: center; }
  .reviews-actions { flex-direction: row; gap: 28px; }
  .contact-actions { grid-template-columns: 1.15fr .85fr; }
  .clinic-gallery { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .clinic-photo-main { grid-row: span 2; }
  .clinic-photo-main img { aspect-ratio: 1 / 1.45; }
  .clinic-photo:nth-child(4) { grid-column: 1 / -1; }
  .clinic-photo:nth-child(4) img { aspect-ratio: 2 / 1; }
  .credentials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
  .credential-open { display: block; }
  .credential-image { height: 285px; padding: 22px; }
  .credential-copy { min-height: 145px; padding: 20px 2px 24px; align-items: flex-end; }
  .credential-copy strong { font-size: 1.3rem; }
  .footer-main { grid-template-columns: 1fr .7fr 1fr; align-items: center; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1000px) {
  .header-inner { flex-wrap: nowrap; }
  .wordmark { width: 165px; }
  .menu-toggle { display: none; }
  .main-nav { display: flex; width: auto; padding: 0; margin-left: auto; gap: 28px; }
  .main-nav a { font-size: .78rem; }
  .header-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; margin-left: 30px; padding: 10px 16px; border: 1px solid var(--ink); font-size: .76rem; text-decoration: none; }
  .header-cta:hover { background: var(--ink); color: var(--paper); }
  .hero-photo img { max-height: 760px; }
  .clinic-gallery { grid-template-columns: 1.18fr .82fr .82fr; }
  .clinic-photo-main { grid-row: span 2; }
  .clinic-photo:nth-child(4) { grid-column: 2 / 4; }
  .clinic-photo:nth-child(4) img { aspect-ratio: 2 / 1; }
  .credentials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 34px; }
  .credential-image { height: 300px; }
  .journey-section { padding-block: 110px; }
  .reviews-section, .faq-section, .contact-section { padding-block: 105px; }
}

@media (max-width: 540px) {
  .journey-item { grid-template-columns: 66px 1fr; }
  .hero h1 { font-size: clamp(4rem, 19vw, 5.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  summary span, .button, .social-link, .credential-image img, .credential-copy b { transition: none; }
}
