: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; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.4; }
.topbar-inner { max-width: 1440px; margin: 0 auto; padding: 7px clamp(20px, 4vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; }
.topbar a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.topbar a:hover { color: var(--accent); }

.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 { width: 44px; height: 44px; padding: 4px; border-radius: 12px; background: #fff; object-fit: contain; }
.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-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--accent); }
.button-outline:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.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); }
.photo-strip { max-width: 1312px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.photo-strip.photo-strip-thirds { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.photo-strip figure { margin: 0; }
.photo-strip.photo-strip-fives { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photo-strip-fives figure { grid-column: span 2; }
.photo-strip-fives figure:nth-child(n+4) { grid-column: span 3; }
.photo-strip img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-strip img.photo-doc { aspect-ratio: 3 / 4; object-fit: contain; background: #f4efe4; }
.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 table { width:100%; margin:0 0 1.2em; border-collapse:collapse; font-size:18px; }
.rich-content th,.rich-content td { padding:14px 16px; border-bottom:1px solid color-mix(in srgb,var(--text) 18%,transparent); text-align:left; vertical-align:top; }
.rich-content th { color:var(--text); font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.rich-content td:last-child,.rich-content th:last-child { text-align:right; white-space:nowrap; }
.rich-content td:nth-child(2) { white-space:nowrap; }
.rich-content td:last-child { color:var(--text); font-weight:700; }
.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); }
.content-section.content-split { padding-bottom: 0; }
.content-section.content-continued { padding-top: 0; }
.menu-photo { margin: calc(1.5 * clamp(30px, 3vw, 46px)) 0 0; align-self: start; }
.menu-photo img { max-width: 460px; border-radius: var(--radius); }
.content-section h2, .section-heading h2, .request-section > div h2 { margin-bottom: clamp(22px, 3vw, 36px); }
.content-section aside .actions { gap: 12px; }

.seo-text h2 { max-width: 900px; margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; }
.seo-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.seo-text h3 { margin: 30px 0 10px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.seo-columns > div > h3:first-child { margin-top: 0; }
.seo-text p { margin: 0; color: var(--muted); font-size: 18px; }
.seo-text a { color: var(--accent); text-underline-offset: 4px; }

.document { max-width: 880px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 64px) clamp(64px, 8vw, 120px); }
.document h1 { margin: 22px 0 10px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.document-date { margin: 0 0 clamp(28px, 4vw, 44px); color: var(--muted); font-size: 16px; }
.document .rich-content { max-width: none; color: var(--text); font-size: 18px; }
.document .rich-content h2 { margin-top: 1.7em; font-size: clamp(22px, 2.4vw, 30px); }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; padding: 16px 18px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: 0 20px 45px color-mix(in srgb, var(--text) 18%, transparent); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cookie-banner a { color: var(--accent); text-underline-offset: 3px; }
.cookie-banner .button { min-height: 44px; flex: none; }

.zoomable { cursor: zoom-in; transition: filter .2s; }
.zoomable:hover { filter: brightness(1.07); }
.zoomable:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; }
.lightbox-open { overflow: hidden; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 84px minmax(0, 1fr) 84px; align-items: center; justify-items: center; }
.lightbox.single[open] { grid-template-columns: 24px minmax(0, 1fr) 24px; }
.lightbox::backdrop { background: rgba(6, 10, 8, .95); }
.lightbox img { grid-column: 2; grid-row: 1; width: auto; max-width: 100%; max-height: calc(100dvh - 56px); object-fit: contain; border-radius: 12px; background: #0b100d; }
.lightbox-close, .lightbox-step { width: 48px; height: 48px; padding: 0 0 4px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-step:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close:focus-visible, .lightbox-step:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox.single .lightbox-step { display: none; }

.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); }
.consent a { color: var(--accent); text-underline-offset: 3px; }
.consent a:hover { color: var(--accent-hover); }
.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.3fr 1fr 1.7fr; gap: 50px; }
footer p { color: var(--muted); font-size: 14px; }
footer a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.footer-menu p { columns: 2; column-gap: 28px; }
.footer-menu a { display: inline-block; padding: 2px 0; }
.footer-legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0 0 6px; font-size: 13px; }

@media (max-width: 1440px) {
  .facts, .section { margin-left: clamp(20px, 4vw, 64px); margin-right: clamp(20px, 4vw, 64px); }
}

@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; }
  .topbar-inner { padding: 6px 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; }
  .seo-columns { grid-template-columns: 1fr; gap: 0; }
  .photo-strip.photo-strip-fives { grid-template-columns: 1fr; }
  .photo-strip-fives figure, .photo-strip-fives figure:nth-child(n+4) { grid-column: auto; }
  .menu-photo { margin-top: 0; }
  .lightbox[open], .lightbox.single[open] { grid-template-columns: minmax(0, 1fr); padding: 0 10px; }
  .lightbox img { grid-column: 1; max-height: calc(100dvh - 150px); }
  .lightbox-step { position: absolute; bottom: 24px; z-index: 2; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { left: calc(50% + 16px); }
  .seo-columns > div + div > h3:first-child { margin-top: 30px; }
  .seo-text p { font-size: 17px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 12px; }
  .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); }
  .photo-strip { padding: 0 16px; }
  .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; }
  footer > div:nth-child(2), .footer-menu { grid-column: 1 / -1; }
  .footer-menu p { columns: 1; }
}

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