:root {
  color-scheme: light dark;
  --bg: #f2f4ef;
  --surface: #e7ebe3;
  --surface-strong: #d9e1d6;
  --text: #17231d;
  --muted: #536158;
  --accent: #1f5a3d;
  --accent-hover: #17462f;
  --on-accent: #f7fbf7;
  --line: #cbd4cb;
  --danger: #a53d33;
  --success: #1d6b47;
  --radius: 18px;
  --font: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111813;
    --surface: #19231c;
    --surface-strong: #243128;
    --text: #edf3ed;
    --muted: #b0bdb3;
    --accent: #6eb98d;
    --accent-hover: #86c99f;
    --on-accent: #102017;
    --line: #344239;
    --danger: #f0978e;
    --success: #83d0a4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.site-header { min-height: 72px; max-width: 1440px; margin: 0 auto; padding: 12px clamp(20px, 4vw, 64px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; line-height: 1.05; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 21px; }
.site-header nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 30px); }
.site-header nav a, .header-phone { text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }
.site-header nav a:hover, .header-phone:hover, footer a:hover { color: var(--accent); }
.menu-button { display: none; }

.hero { max-width: 1440px; min-height: calc(100dvh - 72px); margin: 0 auto; padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 64px) 56px; display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: clamp(36px, 6vw, 90px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 650; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 10ch; font-size: clamp(52px, 6.2vw, 94px); }
h2 { font-size: clamp(36px, 4.5vw, 66px); }
.hero-copy > p:not(.eyebrow) { max-width: 430px; margin: 26px 0 30px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.4; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 750; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button:focus-visible, .text-link:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 3px; }
.button:disabled { opacity: .55; cursor: wait; }
.text-link { color: var(--accent); font-weight: 750; text-underline-offset: 5px; }
.hero-image { margin: 0; }
.hero-image img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 18%, transparent); }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

.facts { max-width: 1312px; margin: 0 auto; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 0 28px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: 24px; letter-spacing: -.03em; }
.facts span { margin-top: 4px; color: var(--muted); font-size: 14px; }

.section { max-width: 1312px; margin: 0 auto; padding: clamp(80px, 10vw, 150px) 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading p, .wellness p, .request-section > div p { max-width: 620px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-grid a { min-height: 0; padding: 28px; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.service-grid a:hover { transform: translateY(-3px); background: var(--surface-strong); }
.service-grid .service-large { grid-row: auto; min-height: 0; }
.service-grid img { aspect-ratio: 16 / 9; flex: none; min-height: 0; border-radius: calc(var(--radius) - 5px); object-fit: cover; }
.service-grid span { display: grid; gap: 5px; color: var(--muted); }
.service-grid b { color: var(--text); font-size: 25px; letter-spacing: -.025em; }
.service-grid .service-color { background: var(--accent); color: var(--on-accent); }
.service-grid .service-color b, .service-grid .service-color span { color: var(--on-accent); }
.service-grid .service-color:hover { background: var(--accent-hover); }
.service-line { border: 1px solid var(--line); background: transparent !important; }

.wellness { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(45px, 7vw, 110px); }
.wellness img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.wellness p { margin: 24px 0; font-size: 20px; }

.inner-hero { max-width: 1440px; min-height: 70dvh; margin: 0 auto; padding: clamp(55px, 8vw, 110px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(38px, 7vw, 110px); }
.inner-hero h1 { margin-top: 24px; font-size: clamp(48px, 5.5vw, 82px); }
.inner-hero p { max-width: 520px; color: var(--muted); font-size: 21px; }
.inner-hero figure { margin: 0; }
.inner-hero img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.back-link { color: var(--accent); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.content-section { display: grid; grid-template-columns: 1fr .65fr; gap: clamp(50px, 9vw, 140px); padding-top: 30px; }
.content-section > div p { max-width: 700px; color: var(--muted); font-size: 20px; }
.rich-content { max-width: 760px; color: var(--muted); font-size:20px; }
.rich-content h2,.rich-content h3 { margin:1.5em 0 .55em; color:var(--text); line-height:1.15; }
.rich-content h2 { font-size:clamp(30px,3vw,46px); }.rich-content h3 { font-size:clamp(24px,2.2vw,32px); }
.rich-content p { margin:0 0 1em; }.rich-content ul,.rich-content ol { padding-left:1.35em; }
.rich-content a { color:var(--accent); text-underline-offset:4px; }
.rich-content img { margin:28px 0 10px; border-radius:var(--radius); }
.rich-content figure { margin:30px 0; }.rich-content figcaption { font-size:12px; }
.content-section aside { padding: 30px; border-radius: var(--radius); background: var(--surface); align-self: start; }
.content-section aside p { color: var(--muted); }

.request-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 140px); }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.request-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 650; }
.request-form input:not([type="checkbox"]), .request-form textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.request-form textarea { resize: vertical; }
.request-form input::placeholder, .request-form textarea::placeholder { color: var(--muted); opacity: .8; }
.wide { grid-column: 1 / -1; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.consent input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-status { min-height: 1.5em; margin: 0; font-weight: 650; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.form-status.loading { color: var(--muted); }

footer { max-width: 1440px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
footer p { color: var(--muted); font-size: 14px; }
footer a { text-decoration-color: var(--line); text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { justify-content: flex-end; }
  .facts, .section { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header { position: relative; min-height: 64px; padding: 10px 16px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 40px; height: 40px; }
  .menu-button { display: block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); }
  .site-header nav { display: none; position: absolute; top: 62px; left: 12px; right: 12px; z-index: 10; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: 0 20px 45px color-mix(in srgb, var(--text) 16%, transparent); flex-direction: column; align-items: stretch; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 8px; }
  .hero { min-height: auto; padding: 54px 16px 50px; grid-template-columns: 1fr; gap: 38px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero-copy > p:not(.eyebrow) { font-size: 19px; }
  .facts { margin: 0 16px; grid-template-columns: 1fr 1fr; }
  .facts div { padding: 18px 14px; border-bottom: 1px solid var(--line); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(n+3) { border-bottom: 0; }
  .section { margin: 0; padding: 78px 16px; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service-grid .service-large { grid-row: auto; min-height: 430px; }
  .service-grid a { min-height: 230px; }
  .wellness, .request-section, .content-section { grid-template-columns: 1fr; gap: 38px; }
  .inner-hero { min-height: auto; padding: 56px 16px 72px; grid-template-columns: 1fr; }
  .inner-hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .request-form { grid-template-columns: 1fr; }
  .request-form label, .request-form .wide { grid-column: 1; }
  footer { padding: 50px 16px; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  footer > div:first-child { grid-column: 1 / -1; }
}

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