/* Meadowridge Medical Clinic - site styles */
/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url(/fonts/oswald-latin-500-normal.woff2) format("woff2"); }
:root {
  --plum: #5F226F;
  --plum-deep: #3B1146;
  --plum-ink: #2A0D33;
  --lavender: #EBE1F0;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --oak: #C9A77C;
  --oak-light: #EAD9BF;
  --ink: #1D1822;
  --muted: #5D5663;
  --line: #E4DCE6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* type */
.eyebrow { font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 500; color: var(--plum); margin-bottom: 14px; }
.eyebrow.light { color: var(--oak-light); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.01em; color: var(--plum-ink); }
.display.sm { font-size: clamp(30px, 3.4vw, 42px); }
.h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--plum-ink); }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--plum-ink); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: #3A3340; }
.lede.small { font-size: 18px; margin-top: 24px; }
.muted { color: var(--muted); font-size: 15px; }
.label { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); margin: 0 0 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); font-weight: 500; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer; line-height: 1.2; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn.block { display: flex; width: 100%; margin-bottom: 10px; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--plum-ink); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn-light { background: #fff; color: var(--plum-ink); }
.btn-light:hover { background: var(--oak-light); color: var(--plum-ink); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.link-arrow, .text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }
.text-link { font-size: 15px; margin: 4px 0 18px; text-decoration: underline; }

/* announcement */
.announce { background: var(--plum-ink); color: #F1E8F4; font-size: 14px; text-align: center; }
.announce p { margin: 0; padding: 9px var(--gutter); }
.announce a { color: var(--oak-light); font-weight: 500; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { width: 210px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--plum); }
.site-nav > ul > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--oak); }
.sub-toggle { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; font-size: 12px; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 280px; background: var(--paper); border: 1px solid var(--line); list-style: none; margin: 10px 0 0; padding: 8px 0; box-shadow: 0 18px 40px -20px rgba(42,13,51,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.sub a { display: block; padding: 9px 18px; font-size: 14.5px; }
.sub a:hover { background: var(--cream); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 14.5px; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; }
.menu-toggle { display: none; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--plum-ink); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,13,51,.88) 0%, rgba(42,13,51,.62) 42%, rgba(42,13,51,.08) 78%), linear-gradient(0deg, rgba(42,13,51,.55), transparent 45%); }
.hero-content { position: relative; padding-top: 110px; padding-bottom: 120px; width: 100%; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.02em; max-width: 12ch; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--oak-light); }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; color: #EDE4F0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.hero-note { font-size: 14px; color: #D9CDE0; }

/* status rail */
.rail { position: relative; z-index: 2; margin-top: -58px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-top: 4px solid var(--plum); box-shadow: 0 24px 50px -30px rgba(42,13,51,.5); padding: 0; }
.rail-item { padding: 22px 26px; border-right: 1px solid var(--line); }
.rail-item:last-child { border-right: 0; }
.rail-item .label { display: block; }
.rail-item strong { font-weight: 500; font-size: 15.5px; }
.rail-item a { color: var(--ink); text-decoration: none; }
.rail-item a:hover { color: var(--plum); }
.js-today.open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; margin-right: 8px; vertical-align: middle; }
.js-today.closed::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #B4553F; margin-right: 8px; vertical-align: middle; }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .display { margin: 0; }

.intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.values { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.values h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--plum-ink); padding-top: 14px; border-top: 1px solid var(--oak); }
.values p { font-size: 15px; color: var(--muted); margin: 0; }

/* service rows */
.services-home { background: var(--paper); padding-top: clamp(64px, 9vw, 120px) !important; }
.doctors-home { padding-top: clamp(64px, 9vw, 120px) !important; }
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-rows li { border-bottom: 1px solid var(--line); }
.service-rows a { display: grid; grid-template-columns: 64px 1.2fr 1fr 32px; align-items: center; gap: 20px; padding: 24px 4px; text-decoration: none; color: var(--ink); transition: background .15s, padding .15s; }
.service-rows a:hover { background: var(--cream); padding-left: 14px; }
.service-rows .num { font-family: var(--cond); color: var(--oak); font-size: 15px; letter-spacing: .1em; }
.svc-name { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); color: var(--plum-ink); }
.svc-sum { color: var(--muted); font-size: 15px; }
.svc-go { color: var(--plum); }
.service-rows.compact a { grid-template-columns: 1.2fr 1fr 32px; padding: 18px 4px; }
.service-rows.compact .svc-name { font-size: 21px; }

/* doctors */
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.doc-card:hover { border-color: var(--plum); transform: translateY(-3px); }
.doc-mono { width: 64px; height: 64px; display: grid; place-items: center; background: var(--lavender); color: var(--plum); font-family: var(--serif); font-size: 24px; margin-bottom: 22px; }
.doc-mono.big { width: 100%; aspect-ratio: 4 / 5; height: auto; font-size: 72px; margin: 0 0 24px; background: repeating-linear-gradient(90deg, var(--lavender) 0 22px, #E3D6EA 22px 24px); }
.doc-card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--plum-ink); }
.doc-cred { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.doc-lang { font-size: 14px; color: var(--plum); font-weight: 500; margin-bottom: 8px; }
.doc-int { font-size: 14px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

.doc-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.doc-profile { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; scroll-margin-top: 110px; }
.doc-facts { margin: 0; font-size: 15px; }
.doc-facts dt { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); margin-top: 14px; }
.doc-facts dd { margin: 2px 0 0; }
.doc-body p { max-width: 68ch; }

/* carousel */
.tour { overflow: hidden; }
.carousel { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) 12px; scroll-padding-inline: var(--edge); scrollbar-width: thin; }
.slide { flex: 0 0 min(62vw, 760px); margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.slide figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.carousel-btns { display: flex; gap: 8px; }
.carousel-btns button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; font-size: 18px; cursor: pointer; border-radius: 50%; color: var(--ink); }
.carousel-btns button:hover { background: var(--plum); border-color: var(--plum); color: #fff; }

/* reviews */
.reviews { background: var(--lavender); padding-top: clamp(64px, 9vw, 120px) !important; }
.rating-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.stars { color: #B7852E; letter-spacing: 2px; }
.js-rating { font-size: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { background: var(--paper); padding: 26px; margin: 0; }
.review blockquote { margin: 10px 0 16px; font-size: 15.5px; }
.review figcaption { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--plum); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28%; background: repeating-linear-gradient(90deg, rgba(234,217,191,.16) 0 14px, transparent 14px 26px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); max-width: 20ch; }
.cta-band p { color: #EADFF0; max-width: 56ch; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--lavender); border: 1px solid var(--line); }
.map-frame.tall { aspect-ratio: 4 / 5; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hours-table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 10px 0; }
.hours-table th { text-align: left; font-weight: 500; padding: 5px 16px 5px 0; }
.hours-table td { padding: 5px 0; text-align: right; white-space: nowrap; }
.hours-table tr + tr { border-top: 1px solid var(--line); }
.hours-table.big { font-size: 16px; max-width: 420px; margin-top: 18px; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--plum); font-weight: 600; }

/* page hero */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: repeating-linear-gradient(0deg, var(--oak) 0 3px, transparent 3px 6px); opacity: .6; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero-grid:has(.page-hero-photo) { grid-template-columns: 6fr 5fr; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.8vw, 62px); letter-spacing: -.015em; color: var(--plum-ink); max-width: 18ch; }
.page-hero-text .lede { max-width: 58ch; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }

/* detail */
.detail-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.check-list li { break-inside: avoid; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(-45deg); }
.notice { background: var(--lavender); border-left: 4px solid var(--plum); padding: 18px 22px; margin-top: 28px; }
.notice p { margin: 4px 0 0; }
.notice.subtle { background: var(--paper); border-left-color: var(--oak); }
.notice.wide { margin-top: 48px; }
.book-box { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--plum); padding: 28px; position: sticky; top: 104px; }
.book-box p { font-size: 15px; color: var(--muted); }
.related { background: var(--paper); padding-top: 64px !important; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.svc-card { padding: 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper); display: flex; flex-direction: column; transition: background .15s; }
.svc-card:hover { background: var(--lavender); }
.svc-card .num { font-family: var(--cond); color: var(--oak); letter-spacing: .1em; font-size: 14px; margin-bottom: 18px; }
.svc-card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--plum-ink); }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; }
.svc-card ul li { padding: 5px 0; border-top: 1px dashed var(--line); }
.svc-card .link-arrow { margin-top: auto; color: var(--plum); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 32px 32px 32px 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps .num { font-family: var(--serif); font-size: 48px; color: var(--oak); display: block; margin-bottom: 12px; }

.contact-list { display: grid; gap: 30px; }
.contact-list .big { font-size: 20px; font-family: var(--serif); margin: 0; }
.contact-list a { text-decoration: none; }
.two-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-photos img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 21px; color: var(--plum-ink); padding: 18px 40px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--plum); font-family: var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #3A3340; padding-bottom: 12px; max-width: 64ch; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--plum-ink); margin-top: 36px; }

/* footer */
.site-footer { background: var(--plum-ink); color: #D9CDE0; font-size: 15px; position: relative; padding-bottom: 20px; }
.slats { height: 14px; background: repeating-linear-gradient(90deg, var(--oak) 0 10px, #B38F63 10px 12px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1.3fr .9fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--oak-light); }
.f-brand img { width: 220px; margin-bottom: 18px; }
.f-emergency { font-size: 14px; border-left: 3px solid var(--oak); padding-left: 12px; margin-top: 20px; }
.f-h { font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 500; color: var(--oak-light); margin-bottom: 16px; }
address { font-style: normal; margin-bottom: 12px; }
.site-footer .hours-table { font-size: 14px; }
.site-footer .hours-table tr.today th, .site-footer .hours-table tr.today td { color: var(--oak-light); }
.site-footer .hours-table tr + tr { border-top-color: rgba(255,255,255,.12); }
.f-small { font-size: 13.5px; margin: 12px 0 4px; }
.f-closures { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { padding: 4px 0; }
.f-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: 13px; color: #B7A8BF; }
.mobile-bar { display: none; }

/* responsive */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; position: relative; }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
  .menu-toggle span:first-child::before { position: absolute; top: -6px; }
  .menu-toggle span:first-child::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { padding: 14px 0; font-size: 17px; }
  .site-nav > ul > li > a[aria-current] { box-shadow: none; }
  .sub-toggle { padding: 14px; font-size: 16px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin: 0 0 10px; padding: 0 0 0 12px; width: 100%; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .nav-cta { margin-top: 18px; flex-direction: column; }
  .rail { grid-template-columns: 1fr 1fr; }
  .rail-item:nth-child(2) { border-right: 0; }
  .rail-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .brand img { width: 170px; }
  .header-inner { min-height: 66px; }
  .hero { min-height: 640px; }
  .hero-shade { background: linear-gradient(0deg, rgba(42,13,51,.95) 0%, rgba(42,13,51,.78) 55%, rgba(42,13,51,.5) 100%); }
  .hero-content { padding-bottom: 100px; }
  .hero-actions .btn { width: 100%; }
  .rail { margin-top: -40px; grid-template-columns: 1fr; }
  .rail-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 20px; }
  .rail-item:last-child { border-bottom: 0; }
  .intro-grid, .visit-grid, .detail-grid, .page-hero-grid, .page-hero-grid:has(.page-hero-photo), .doc-profile { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 22px; }
  .service-rows a { grid-template-columns: 40px 1fr 24px; gap: 12px; padding: 18px 2px; }
  .service-rows .svc-sum { grid-column: 2; grid-row: 2; font-size: 14px; }
  .service-rows .svc-go { grid-column: 3; grid-row: 1 / span 2; }
  .service-rows.compact a { grid-template-columns: 1fr 24px; }
  .service-rows.compact .svc-sum { grid-column: 1; }
  .service-rows.compact .svc-go { grid-column: 2; }
  .doc-cards, .steps, .two-photos { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .doc-profile .doc-side { max-width: 360px; }
  .check-list { columns: 1; }
  .book-box { position: static; }
  .slide { flex-basis: 86vw; }
  .carousel { --edge: var(--gutter); }
  .rating-summary { align-items: flex-start; }
  .cta-band::after { width: 18%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(42,13,51,.3); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 10px; font-size: 12.5px; font-weight: 500; color: var(--plum-ink); text-decoration: none; }
  .mobile-bar a:first-child { background: var(--plum); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
