:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #20343a;
  --muted: #4d6064;
  --line: #d5d9d4;
  --accent: #665747;
  --pale: #eaf0ed;
  --dark: #21383f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 150px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #937044; outline-offset: 5px; }
img { width: 100%; height: auto; display: block; }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; font-weight: 400; }
h1 { font-size: clamp(3rem, 5.15vw, 5.1rem); letter-spacing: -.055em; }
h1 .hero-accent { display: block; font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.3vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); letter-spacing: -.025em; }
h4 { font-size: 1.45rem; }
p + p { margin-top: 1rem; }
.shell { width: min(1180px, calc(100% - 76px)); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 105px); }
.eyebrow { margin-bottom: 17px; color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 700; }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-160%); z-index: 10; padding: .7rem; background: white; }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; justify-items: center; }
.brand { display: inline-grid; text-decoration: none; line-height: 1.1; }
.brand span { font-size: .66rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 5px; }
.brand strong { font: 700 1.7rem/1.06 var(--serif); letter-spacing: -.035em; }
.header nav {
  display: flex;
  justify-content: center;
  width: 100%;
  border-top: 1px solid var(--line);
  column-gap: clamp(12px, 3.5vw, 46px);
}
nav a { display: grid; place-items: center; min-height: 44px; font-size: .87rem; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid transparent; border-radius: 100px; font: 600 .85rem/1.2 var(--sans); text-decoration: none; text-align: center; }
.primary { color: white; background: var(--dark); }
.primary:hover { background: #37545c; }
.outline { border-color: #9baba8; }
.outline:hover { background: var(--pale); }
.hero { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(26px, 4vw, 62px); padding-block: clamp(45px, 6.3vw, 88px); }
.hero-text { text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 4.55vw, 4.55rem); text-wrap: balance; }
.hero-intro { margin: 22px auto 0; max-width: 44ch; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero .actions { justify-content: center; }
.hero .actions .button { min-width: 148px; }
.hero .actions .outline { border-color: var(--dark); background: #eaf0ed; }
.hero .actions .outline:hover { background: #dce6e2; }
.hero-experience { display: inline-block; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 23px; font-size: .78rem; color: var(--accent); font-weight: 650; }
.hero-picture img { aspect-ratio: 1.26; object-fit: cover; object-position: 53% center; border-radius: 4px; }
figcaption { padding-top: 11px; font-size: .74rem; color: var(--muted); }
.hero-picture figcaption { display: flex; justify-content: space-between; gap: 10px; }
.philosophy { border-block: 1px solid var(--line); background: var(--pale); padding-block: clamp(50px, 6.5vw, 90px); }
.philosophy-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 7vw, 112px); }
.philosophy-inner > div:first-child { align-self: center; text-align: center; }
.philosophy-inner > div:nth-child(2) > p, .clinician-copy > p:not(.eyebrow), .clinic p:not(.eyebrow), .treatment-layout > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.editorial-note { border-left: 1px solid #879c92; padding-left: 19px; margin-top: 25px; }
.editorial-note p { font: italic 1.35rem/1.4 var(--serif); }
.editorial-note small { display: block; margin-top: 7px; font-size: .72rem; color: var(--muted); }
.section-heading { margin-bottom: 30px; }
.clinical-heading { text-align: center; }
.clinical-heading > p:last-child { max-width: 64ch; margin: 16px auto 0; color: var(--muted); }
.clinical-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 34px); }
.clinician { display: flex; flex-direction: column; background: #eeeae2; border-radius: 4px; overflow: hidden; }
.clinician > img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.clinician-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(20px, 3vw, 36px); }
.clinician-copy h3 + p { margin-top: 12px; margin-bottom: 20px; }
.credential { font-size: .8rem; border-top: 1px solid #d5cec1; padding-top: 13px; margin-top: auto; }
.team-row { display: grid; justify-items: center; gap: 22px; margin-top: 45px; text-align: center; }
.staff-grid, .collaborator-grid { display: grid; gap: 20px; }
.staff-grid { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 540px; }
.collaborator-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 60rem;
  margin: 24px auto 0;
}
.collaborator-grid .person {
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  text-align: center;
}
.collaborators { margin-top: 47px; border-top: 1px solid var(--line); padding-top: 32px; }
.collaborators > h3 { text-align: center; }
.person img { aspect-ratio: 4/5; object-fit: cover; object-position: center 21%; background: #dededc; border-radius: 3px; }
.person h4 { margin-top: 13px; }
.person p { margin-top: 7px; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.person details { margin-top: 8px; font-size: .81rem; }
summary { cursor: pointer; }
.treatments { padding-block: clamp(52px, 7vw, 97px); background: #efede6; border-block: 1px solid var(--line); }
.treatment-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 7vw, 110px); }
.treatment-layout h2 + p, .clinic h2 + p { margin-top: 18px; }
.treatment-layout > .button, .clinic > .button {
  grid-column: 1 / -1;
  justify-self: center;
  position: relative;
  inset-block-start: clamp(14px, 2vw, 22px);
}
.clinic > .button { inset-block-start: clamp(18px, 2vw, 24px); }
.treatment-layout { row-gap: clamp(24px, 4vw, 44px); }
.service-list { border-top: 1px solid #c9cdc5; }
.service-list details { border-bottom: 1px solid #c9cdc5; }
.service-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font: 1.35rem/1.25 var(--serif); list-style: none; }
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary::after { content: "+"; font-family: var(--sans); color: var(--accent); }
.service-list details[open] summary::after { content: "−"; }
.service-list p { color: var(--muted); font-size: .9rem; padding: 0 20px 17px 0; }
.clinic { display: grid; grid-template-columns: 1.12fr .88fr; gap: 21px clamp(24px, 6vw, 88px); align-items: center; }
.clinic img { border-radius: 4px; }
.contact { padding-block: clamp(52px, 6.5vw, 87px); background: var(--dark); color: #fbfaf7; }
.contact .eyebrow { color: #dbcdb6; }
.contact-intro { color: #dce7e6; margin-top: 15px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.2fr 1fr; gap: 26px; margin-top: 35px; }
.contact-grid > div { border-top: 1px solid #6a8184; padding-top: 18px; }
.contact-grid h3 { font-size: 1.45rem; margin-bottom: 14px; }
.number { font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.contact-button { display: flex; width: max-content; max-width: 100%; padding-block: 0; margin-top: 12px; border-color: #8ba0a2; color: inherit; }
.contact-button:hover { background: #3b555d; }
.mobile-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-bottom: 12px; }
.mobile-contact .contact-button { margin: 0; }
address { font-style: normal; }
.footer { padding-block: 30px; }
.footer-row { display: grid; justify-items: start; gap: 12px; }
.footer-row .header-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-row .brand-mark { flex: none; width: 44px; height: auto; }
.footer-row p, .preview-note, .legal { color: var(--muted); font-size: .79rem; }
.legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(94%, 28rem); gap: 7px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 21px; }
.legal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
}
.legal-link:hover, .legal-link[aria-current="page"] { background: #efede6; }
.legal-page { max-width: 48rem; }
.legal-page h1 { margin-top: 22px; }
.legal-page h2 { margin: 28px 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.legal-page p, .legal-page dd { color: var(--muted); }
.legal-page dt { font-weight: 650; }
.legal-page dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.legal-page p a { overflow-wrap: anywhere; }
.legal-page .legal { margin-top: 32px; }
.preview-note { margin-top: 14px; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-grid { gap: 18px; }
  .mobile-contact { display: grid; justify-items: start; }
  .collaborator-grid { gap: 15px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .brand strong { font-size: 1.5rem; }
  .hero, .philosophy-inner, .clinical-team, .team-row, .treatment-layout, .clinic, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .hero-picture img { aspect-ratio: 1.53; }
  .team-row { margin-top: 35px; gap: 18px; }
  .collaborators { margin-top: 35px; padding-top: 26px; }
  .collaborator-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 88%;
    max-width: 19rem;
    gap: 24px;
  }
  .collaborator-grid .person img { max-width: 13rem; margin-inline: auto; }
  .person h4 { font-size: 1.26rem; }
  .clinic { gap: 22px; }
  .contact-grid { gap: 23px; }
  .mobile-contact { display: flex; }
}

.header .header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding-block: clamp(14px, 2vw, 27px);
  font-size: clamp(.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}
.header .brand-label {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 26px);
}
.header .brand-mark {
  width: clamp(36px, 10vw, 118px);
  height: auto;
  flex: none;
}
.header .brand-label, .header .brand-doctor {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}
.header-brand .brand-name {
  font: 700 clamp(1rem, 2.05vw, 1.55rem)/1.1 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.clinic-tour {
  border-top: 1px solid var(--line);
  padding-block: clamp(33px, 5vw, 65px);
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 7vw, 90px);
  align-items: center;
}
.tour-copy h2 { max-width: 16ch; }
.tour-copy > p:not(.eyebrow) { margin-top: 15px; color: var(--muted); }
.clinic-tour video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--dark);
  border-radius: 4px;
}
@media (max-width: 680px) {
  .clinic-tour { grid-template-columns: 1fr; }
}

.history {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 7vw, 90px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.history-copy h2 { max-width: 17ch; }
.history-copy h2 + p, .history-copy .button { margin-top: 20px; }
.history-copy p:not(.eyebrow) { color: var(--muted); max-width: 57ch; }
.history-founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.history-person img { aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.history-person figcaption { display: grid; gap: 5px; }
.history-person { container-type: inline-size; }
.history-person figcaption strong { font: clamp(.88rem, 6.25cqw, 1.2rem)/1.2 var(--serif); color: var(--ink); }
.surname { white-space: nowrap; }
.history-copy .button { display: flex; width: fit-content; margin-inline: auto; }
.opinions { padding-block: clamp(52px, 7vw, 95px); border-bottom: 1px solid var(--line); }
.opinions h2 + p { color: var(--muted); margin-top: 14px; }
.opinion-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.opinion-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 21px;
}
.opinion-card:nth-child(n+4) { grid-column: span 3; }
.opinion-card h3 { font-size: 1.45rem; margin-bottom: 11px; }
.opinion-card p { color: var(--muted); font-size: .89rem; }
.opinion-card .opinion-byline {
  margin-top: auto;
  padding-top: 14px;
  font-size: .76rem;
  font-weight: 650;
  color: var(--ink);
}
.opinion-form-layout {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(20px, 6vw, 65px);
}
.opinion-form-layout p { color: var(--muted); font-size: .88rem; margin-top: 9px; }
#opinion-form > label:first-child { font-weight: 650; }
#opinion-form textarea {
  display: block;
  width: 100%;
  margin: 10px 0 13px;
  padding: 12px;
  border: 1px solid #9baba8;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.opinion-consent { display: flex; align-items: start; gap: 9px; font-size: .84rem; margin-bottom: 15px; }
.opinion-consent input { margin-top: 5px; }
.opinion-next { margin-top: 10px; }
.opinion-next .button { margin-top: 9px; }
@media (max-width: 760px) {
  .opinion-card, .opinion-card:nth-child(n+4) { grid-column: span 3; }
  .opinion-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 100px; }
  .header nav {
    justify-content: space-between;
    width: calc(100% + 28px);
    padding-inline: 4px;
    column-gap: clamp(3px, 1vw, 6px);
    overflow-x: auto;
  }
  .header nav a {
    flex: 0 0 auto;
    font-size: clamp(.625rem, 2.8vw, .87rem);
    white-space: nowrap;
  }
  .header nav a:focus-visible { outline-offset: -2px; }
  .history, .opinion-form-layout { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: 1fr; }
  .opinion-card, .opinion-card:nth-child(n+4) { grid-column: auto; }
}

.philosophy-reflection {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3vw, 26px);
  max-width: 660px;
  margin: clamp(30px, 5vw, 58px) auto 0;
  text-align: center;
}
.philosophy-reflection img { width: clamp(150px, 22vw, 220px); border-radius: 4px; }
.philosophy-reflection .editorial-note { margin: 0; border: 0; padding: 0; }
.philosophy-reflection .editorial-note small { margin-top: 12px; font-weight: 600; }
.clinician > .clinician-profile { aspect-ratio: 4 / 3; object-position: center top; }
.prf {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.prf-gallery { grid-column: 2; grid-row: 1 / span 2; }
.prf-details { grid-column: 1; margin-top: 18px; }
.prf-mobile-intro, .prf-details p { color: var(--muted); }
.prf-mobile-intro { display: none; }
.prf-guide { padding-left: 14px; border-left: 1px solid #879c92; font-size: .9rem; }
.prf-controls:not([hidden]) { display: flex; justify-content: center; gap: 2px; }
.prf-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.prf-controls button::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--dark);
  border-radius: 50%;
}
.prf-controls button[aria-pressed="true"]::before { background: var(--dark); }
.prf-controls button:focus-visible { outline: 2px solid var(--dark); outline-offset: -4px; }
.prf-controls + figcaption { padding-top: 0; }
.prf-step { background: #eeeae2; border-radius: 6px; overflow: hidden; }
.prf-step + .prf-step:not([hidden]) { margin-top: 12px; }
.prf-step img { aspect-ratio: 16 / 10; object-fit: contain; touch-action: pan-y pinch-zoom; }
.prf-step figcaption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 5px; padding: 14px 18px 18px; font-size: .9rem; }
.prf-step figcaption span { grid-column: 1 / -1; }
.prf-count { display: block; font-size: .75rem; font-variant-numeric: tabular-nums; }
.contact-email { margin-top: 28px; padding-top: 18px; border-top: 1px solid #6a8184; }
.contact-email h3 { font-size: 1.45rem; }
.contact-email p { margin-top: 8px; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .prf { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 20px; padding-bottom: 32px; }
  .prf + .clinic { padding-top: 32px; }
  .prf-gallery { grid-column: auto; grid-row: auto; }
  .prf-details { margin-top: 0; }
  .prf-mobile-intro { display: block; margin-top: 12px; }
  .prf-desktop-intro { display: none; }
  .philosophy-reflection .editorial-note p { font-size: 1.06rem; }
}

.opinion-carousel.is-ready {
  width: min(100%, 650px);
  margin-inline: auto;
}
.opinion-carousel.is-ready .opinion-grid {
  grid-template-columns: minmax(0, 1fr);
  touch-action: pan-y pinch-zoom;
}
.opinion-carousel.is-ready .opinion-card {
  grid-column: 1;
  min-height: 170px;
  padding: clamp(20px, 4vw, 34px);
}
.opinion-card[hidden] { display: none; }
.opinion-carousel-controls:not([hidden]), .opinion-indicators:not([hidden]) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.opinion-carousel-controls { gap: clamp(4px, 3vw, 16px); margin-top: 10px; }
.opinion-carousel-controls button {
  color: var(--ink);
  cursor: pointer;
  background: transparent;
}
.opinion-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.opinion-arrow:hover { background: var(--pale); }
.opinion-indicators button {
  display: grid;
  place-items: center;
  width: clamp(30px, 9vw, 44px);
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
}
.opinion-indicators button::after {
  content: "";
  width: 60%;
  height: 3px;
  background: var(--muted);
  border-radius: 4px;
  opacity: .45;
}
.opinion-indicators button[aria-pressed="true"]::after {
  opacity: 1;
  height: 4px;
  background: var(--ink);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.opinion-count {
  min-width: 90px;
  text-align: center;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.opinion-toggle {
  appearance: none;
  color: var(--ink);
  background-color: transparent;
}
.opinion-toggle:hover { background-color: var(--pale); }
.opinion-toggle:not([hidden]) {
  display: flex;
  width: fit-content;
  margin: 14px auto 0;
}

@media (max-width: 680px) {
  .history-person figcaption strong { min-height: 2.4em; }
  .history-person figcaption strong .surname { display: block; }
}

/* Persistent direct contact, available from the first screen. */
.quick-contact { position: fixed; z-index: 8; right: max(18px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.quick-contact-link { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 17px; border: 1px solid #ffffff70; border-radius: 999px; background: var(--dark); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; box-shadow: 0 3px 14px #20343a24; }
.quick-contact-link svg { width: 23px; height: 23px; flex: none; }
.quick-whatsapp { background: #296452; }
.quick-contact-link:hover { filter: brightness(1.13); }
.footer { padding-bottom: 150px; }
@media (max-width: 680px) {
 .quick-contact { right: max(12px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
 .quick-contact-link { width: auto; height: 46px; min-height: 46px; padding: 10px 14px; font-size: 12px; gap: 8px; }
 .quick-contact-link span { white-space: nowrap; }
}
