@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --color-green-primary: #064E3B;
  --color-green-dark: #032F25;
  --color-green-accent: #2F8068;
  --color-sage-bg: #EEF3F0;
  --color-warm-bg: #F8F7F3;
  --color-text-primary: #101714;
  --color-text-secondary: #5C6863;
  --color-border: #CBD7D1;
  --color-white: #FFFFFF;
  --forest: var(--color-green-primary);
  --forest-deep: var(--color-green-dark);
  --mint: var(--color-sage-bg);
  --signal: var(--color-green-accent);
  --white: var(--color-white);
  --mist: var(--color-sage-bg);
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --line: var(--color-border);
  --sans: "Onest", "Inter", Arial, sans-serif;
  --shell: min(1440px, calc(100vw - 64px));
  --z-sticky: 20;
  --z-backdrop: 40;
  --z-modal: 50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--color-warm-bg); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: absolute; inset: 18px max(24px, calc((100vw - 1440px) / 2)) auto; z-index: var(--z-sticky); height: 72px; padding: 10px 12px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--white); background: var(--forest-deep); border-radius: 14px; }
.brand { min-width: 176px; height: 52px; display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 42px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 18px; letter-spacing: .035em; font-weight: 600; }
.brand-copy small { margin-top: 5px; color: var(--mint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 38px); margin-left: auto; }
.desktop-nav a, .phone-link { text-decoration: none; font-size: 14px; font-weight: 500; }
.desktop-nav a { position: relative; opacity: .72; transition: opacity .2s; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 20px; }

.button { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--forest); color: var(--white); cursor: pointer; font-size: 14px; font-weight: 600; transition: transform .18s cubic-bezier(.22,1,.36,1), background .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { background: #DDE3E0; color: #7B8681; cursor: not-allowed; transform: none; }
.button:focus-visible, .text-button:focus-visible, .icon-button:focus-visible, .back-button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, .choice:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.button--small { min-height: 48px; padding-inline: 22px; background: var(--white); color: var(--forest-deep); }
.button--light { background: var(--white); color: var(--forest-deep); }
.button--outline { background: transparent; color: var(--forest-deep); box-shadow: inset 0 0 0 1px var(--forest); }

.hero { min-height: min(900px, 100svh); background: var(--color-green-primary); color: var(--white); display: grid; grid-template-columns: minmax(470px, .95fr) minmax(520px, 1.05fr); position: relative; overflow: hidden; }
.hero-copy { padding: clamp(124px, 14vh, 154px) clamp(32px, 4.6vw, 84px) clamp(50px, 7vh, 72px) max(32px, calc((100vw - 1440px) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-label { max-width: 42ch; margin-bottom: clamp(20px, 3vh, 30px); font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hero h1 { max-width: 13.5ch; margin-bottom: 24px; font-size: clamp(52px, 4.05vw, 68px); line-height: .98; letter-spacing: -.04em; font-weight: 400; }
.hero h1 span { color: var(--mint); }
.hero-lead { max-width: 51ch; margin-bottom: 28px; font-size: clamp(16px, 1.12vw, 19px); color: rgb(255 255 255 / .82); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.text-link { text-underline-offset: 5px; font-size: 15px; }
.text-link span { margin-left: 6px; }
.hero-note { margin: 12px 0 0; font-size: 12px; opacity: .64; }
.hero-image { min-width: 0; min-height: 100%; margin: 0; position: relative; overflow: hidden; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 78 59 / .3), transparent 30%); pointer-events: none; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; filter: saturate(.88) contrast(1.02); transform: scale(1.01); animation: hero-settle .8s cubic-bezier(.22,1,.36,1) both; }
.hero-image figcaption { position: absolute; z-index: 1; inset: auto 32px 30px; display: flex; justify-content: space-between; font-size: 12px; color: var(--white); }
.hero-index { position: absolute; z-index: 2; left: max(32px, calc((100vw - 1440px) / 2)); bottom: 24px; font-size: 11px; letter-spacing: .1em; opacity: .52; }

.statement { padding-block: clamp(100px, 13vw, 190px); display: grid; grid-template-columns: 2.2fr 7fr 2fr; gap: 6vw; align-items: start; }
.statement > p { color: var(--forest); font-weight: 650; }
.statement h2 { margin: 0; font-size: clamp(38px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.statement-aside { padding-top: 9px; color: var(--muted); font-size: 13px; }

.directions { padding-bottom: clamp(100px, 13vw, 180px); display: grid; grid-template-columns: 1fr 2fr; gap: 9vw; }
.section-intro h2 { margin-bottom: 20px; font-size: clamp(38px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.section-intro p { max-width: 43ch; color: var(--muted); }
.direction-list { border-top: 1px solid var(--ink); }
.direction-list details { border-bottom: 1px solid var(--line); }
.direction-list summary { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 30px; cursor: pointer; list-style: none; font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; }
.direction-list summary::-webkit-details-marker { display: none; }
.direction-list summary b { font-size: 12px; font-weight: 500; color: var(--muted); }
.direction-list details > div { padding: 0 18% 34px 0; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.direction-list details p { max-width: 54ch; margin: 0; color: var(--muted); }
.text-button { padding: 0; border: 0; background: none; color: var(--forest); cursor: pointer; white-space: nowrap; font-size: 14px; font-weight: 600; }

.doctors { padding-block: clamp(90px, 10vw, 150px); background: var(--color-sage-bg); }
.doctors-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.doctor-strip { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.doctor { min-width: 0; }
.doctor--offset { margin-top: 88px; }
.doctor img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; filter: saturate(.72); }
.doctor--tall img { aspect-ratio: 4 / 5.7; }
.doctor div { padding-top: 20px; }
.doctor h3 { margin-bottom: 6px; font-size: 21px; font-weight: 600; }
.doctor p { color: var(--muted); font-size: 14px; }

.approach { padding-block: clamp(110px, 14vw, 200px); display: grid; grid-template-columns: 1fr 1.45fr; gap: 10vw; }
.approach-title > p { color: var(--forest); font-weight: 650; }
.approach-title h2 { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.approach-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.approach-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.approach-steps span { color: var(--forest); font-size: 12px; }
.approach-steps h3 { margin-bottom: 8px; font-size: 21px; font-weight: 500; }
.approach-steps p { max-width: 55ch; margin: 0; color: var(--muted); }

.contact { background: var(--forest-deep); color: var(--white); }
.contact-grid { padding-block: clamp(90px, 12vw, 160px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 10vw; align-items: end; }
.contact-grid > div > p { color: var(--mint); }
.contact h2 { max-width: 15ch; margin-bottom: 40px; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.contact address { display: flex; flex-direction: column; gap: 24px; font-style: normal; font-size: 17px; }
.contact address a { text-underline-offset: 5px; }
.site-footer { background: var(--forest-deep); color: rgb(255 255 255 / .64); font-size: 12px; }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(255 255 255 / .12); }
.footer-inner img { width: 38px; max-height: 42px; object-fit: contain; }
.footer-inner p { margin: 0; }

.booking { width: min(780px, calc(100vw - 32px)); height: min(720px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgb(3 47 37 / .18); overflow: hidden; }
.booking::backdrop { background: rgb(3 47 37 / .72); backdrop-filter: blur(5px); }
.booking[open] { animation: modal-in .2s cubic-bezier(.22,1,.36,1); }
.booking-shell { height: 100%; display: flex; flex-direction: column; }
.booking-header { flex: 0 0 auto; padding: 24px 32px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.booking-kicker { display: block; margin-bottom: 4px; font-size: 12px; color: var(--forest); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.booking-header h2 { margin: 0; font-size: 22px; font-weight: 500; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-sage-bg); color: var(--ink); cursor: pointer; font-size: 26px; font-weight: 400; transition: background .18s, color .18s, transform .18s; }
.icon-button:hover { background: #DDE9E3; color: var(--forest); }
.icon-button:active { transform: scale(.96); }
.booking-progress { flex: 0 0 4px; height: 4px; background: #E3EAE6; overflow: hidden; }
.booking-progress span { display: block; width: 100%; height: 100%; background: var(--color-green-accent); transform: scaleX(.2); transform-origin: left; transition: transform .2s cubic-bezier(.22,1,.36,1); }
.booking form { min-height: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.booking-step { display: none; padding: 34px 32px 18px; overflow-y: auto; flex: 1; }
.booking-step.is-active { display: block; animation: step-in .2s cubic-bezier(.22,1,.36,1); }
.booking-step h3 { margin-bottom: 10px; font-size: clamp(36px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.04em; font-weight: 400; }
.step-count { margin-bottom: 14px; color: var(--forest); font-size: 13px; font-weight: 600; }
.step-help { max-width: 58ch; color: var(--muted); }
.date-context { margin: 24px 0 -10px; color: var(--forest); font-size: 14px; font-weight: 600; text-transform: capitalize; }
.option-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { min-height: 68px; padding: 15px 17px; border: 1px solid #D7E1DC; border-radius: 10px; background: #F3F6F4; color: var(--ink); text-align: left; cursor: pointer; font-size: 15px; font-weight: 500; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.choice:hover { border-color: #7EA999; background: #EAF2EE; transform: translateY(-1px); }
.choice:active { transform: translateY(0); }
.choice.is-selected { border-color: var(--color-green-primary); background: #E3F0EA; color: var(--color-green-dark); }
.choice:disabled { border-color: #E1E6E3; background: #F0F2F1; color: #929B97; cursor: not-allowed; transform: none; opacity: .78; }
.doctor-options { margin-top: 25px; display: grid; gap: 10px; }
.doctor-choice { display: grid; grid-template-columns: 64px 1fr 24px; gap: 15px; align-items: center; }
.doctor-choice img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.doctor-placeholder { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--color-sage-bg); color: var(--forest); font-size: 22px; }
.doctor-choice small { display: block; margin-top: 3px; color: var(--muted); }
.doctor-choice.is-selected small { color: var(--color-text-secondary); }
.choice-arrow { color: var(--color-green-accent); font-size: 20px; text-align: right; }
.date-options, .time-options { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.date-options .choice { min-width: 92px; min-height: 64px; }
.date-options small { display: block; opacity: .72; }
.time-options { padding-top: 20px; border-top: 1px solid var(--line); }
.time-options .choice { min-height: 46px; min-width: 76px; text-align: center; }
.field-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid label { font-size: 14px; font-weight: 500; }
.field-grid input { width: 100%; height: 54px; margin-top: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); transition: border-color .18s, box-shadow .18s; }
.field-grid input::placeholder { color: var(--color-text-secondary); }
.field-grid input:focus { border-color: var(--color-green-accent); box-shadow: 0 0 0 3px rgb(47 128 104 / .14); outline: 0; }
.consent { margin-top: 24px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 14px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--forest); }
.consent a { color: var(--forest); font-weight: 500; text-underline-offset: 3px; }
.summary { margin-top: 24px; padding: 18px; border-radius: 10px; background: var(--color-sage-bg); font-size: 13px; }
.summary b { display: block; color: var(--forest); margin-bottom: 12px; font-size: 14px; }
.summary dl { margin: 0; display: grid; gap: 7px; }
.summary dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); font-weight: 500; }
.form-error { min-height: 22px; margin: 0; padding: 0 32px; color: #A33A32; font-size: 13px; }
.booking-footer { flex: 0 0 auto; padding: 18px 32px 22px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); background: var(--white); }
.booking-footer[hidden] { display: none !important; }
.back-button { min-height: 44px; padding: 10px 4px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 500; }
.back-button:hover { color: var(--forest); }
.booking-success { padding-top: 80px; text-align: center; }
.booking-success p { max-width: 48ch; margin-inline: auto; }
.booking-success .button { margin-top: 20px; }
.success-mark { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--forest-deep); font-size: 30px; }

@keyframes hero-settle { from { opacity: .25; transform: scale(1.07); } to { opacity: 1; transform: scale(1.01); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.99); } }
@keyframes step-in { from { opacity: 0; transform: translateX(8px); } }

@media (max-width: 1050px) {
  :root { --shell: calc(100vw - 40px); }
  .site-header { inset: 12px 12px auto; height: 64px; padding: 8px 8px 8px 14px; }
  .brand { min-width: 158px; height: 48px; }
  .brand img { width: 38px; height: 44px; }
  .desktop-nav, .phone-link { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding: 116px 20px 64px; }
  .hero h1 { max-width: 13.5ch; }
  .hero-image { height: 58vw; min-height: 430px; }
  .hero-image::after { background: linear-gradient(180deg, rgb(6 78 59 / .26), transparent 25%); }
  .hero-index { display: none; }
  .statement { grid-template-columns: 1fr 3fr; }
  .statement-aside { grid-column: 2; }
  .directions { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }
  .brand { min-width: 0; width: 44px; height: 48px; }
  .brand img { width: 38px; height: 44px; }
  .brand-copy { display: none; }
  .button--small { min-height: 42px; }
  .hero-copy { min-height: 610px; padding: 108px 16px 54px; }
  .hero-label { margin-bottom: 24px; }
  .hero h1 { max-width: 12.5ch; font-size: clamp(43px, 12.5vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-image { min-height: 390px; height: 76vw; }
  .hero-image img { object-position: 55% center; }
  .hero-image figcaption { inset-inline: 16px; }
  .statement { padding-block: 92px; grid-template-columns: 1fr; gap: 30px; }
  .statement-aside { grid-column: auto; }
  .directions { padding-bottom: 100px; }
  .direction-list summary { min-height: 78px; font-size: 20px; }
  .direction-list details > div { padding-right: 0; grid-template-columns: 1fr; }
  .doctors { padding-block: 90px; }
  .doctors-head { align-items: flex-start; flex-direction: column; margin-bottom: 48px; }
  .doctor-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-right: 0; width: 100%; }
  .doctor { flex: 0 0 min(82vw, 350px); scroll-snap-align: start; }
  .doctor--offset { margin-top: 0; }
  .doctor img, .doctor--tall img { aspect-ratio: 4 / 5; }
  .approach { padding-block: 100px; grid-template-columns: 1fr; gap: 52px; }
  .contact-grid { padding-block: 94px; grid-template-columns: 1fr; gap: 70px; }
  .contact h2 { font-size: 48px; }
  .footer-inner { min-height: 68px; gap: 16px; }
  .footer-inner img { width: 32px; max-height: 36px; }
  .footer-inner p { font-size: 11px; text-align: right; }
  .booking { width: calc(100vw - 16px); max-width: none; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .booking-header { padding: 18px 16px; }
  .booking-step { padding: 28px 16px 16px; }
  .booking-step h3 { font-size: clamp(30px, 9vw, 36px); }
  .option-list, .field-grid { grid-template-columns: 1fr; }
  .option-list { margin-top: 22px; }
  .choice { min-height: 60px; }
  .doctor-choice { grid-template-columns: 54px minmax(0, 1fr) 20px; gap: 12px; }
  .doctor-choice img, .doctor-placeholder { width: 54px; height: 54px; }
  .doctor-choice strong, .doctor-choice small { overflow-wrap: anywhere; }
  .date-options { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .date-options .choice { flex: 0 0 88px; }
  .form-error { padding-inline: 16px; }
  .booking-footer { padding: 16px; }
  .booking-footer .button { min-height: 48px; }
  .summary dl div { grid-template-columns: 1fr; gap: 1px; }
}

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