/* Lake Forest Dental Health Care: site styles.
   Palette from the original site: crimson (logo + headings), slate blue, sage green, charcoal. */
:root {
  --brand: #4c7a6d;      /* sage green from the old site (#6e9a8d), darkened for readable buttons */
  --brand-2: #3d6559;
  --brand-50: #eef4f1;
  --brand-100: #d3e4dd;
  --sage: #6e9a8d;
  --sage-50: #eef4f1;
  --slate: #99b2b7;      /* old site background */
  --slate-50: #f1f5f6;
  --cream: #efefec;      /* old site panels */
  --cream-50: #f7f7f4;
  --accent: #ed8137;     /* old site orange links / phone */
  --accent-text: #a8531a;
  --deep: #333638;       /* old site charcoal menu bar */
  --deep-2: #3f4447;
  --ink: #1c2629;
  --text: #33413f;
  --muted: #5d6b6e;
  --line: #e2e8e9;
  --star: #f5a623;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 40, .06), 0 2px 8px rgba(20, 35, 40, .05);
  --shadow: 0 10px 30px rgba(20, 35, 40, .09);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 500; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon.big { width: 40px; height: 40px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.3em; border-radius: 999px; font: 600 .95rem/1.2 var(--sans);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(76, 122, 109, .28); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); color: var(--brand); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn.wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.text-link .icon { transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--deep); color: #d9e5e7; font-size: .85rem; }
.topbar-in { display: flex; gap: 24px; align-items: center; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.tb-item .icon { color: var(--accent); }
.tb-phone { margin-left: auto; font-weight: 600; color: #fff; }
.tb-phone:hover { color: #fff; text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 35, 40, .07); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sage); flex: none; }
.brand:hover { color: var(--brand); }
.brand-logo { width: 160px; height: auto; display: block; }
.brand-light { background: #fff; padding: 10px 14px; border-radius: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-top { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; }
.logo-bottom { font-family: var(--serif); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }
.brand-light .logo-top { color: #fff; }
.brand-light .logo-bottom { color: #b9d3cb; }
.brand-light { color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 10px; font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--brand); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.has-sub > a { padding-right: 2px !important; }
.sub-toggle { background: none; border: 0; padding: 6px 4px; margin: 0; cursor: pointer; color: var(--muted); display: inline-flex; border-radius: 6px; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .15s; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; max-height: 70vh; overflow-y: auto; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; }
.sub a:hover { background: var(--brand-50); color: var(--brand); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.sub-open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .icon, .has-sub.sub-open .sub-toggle .icon { transform: rotate(180deg); }
.nav-cta { padding: .65em 1.15em; }
.menu-btn, .header-call { display: none; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 480px at 88% 0%, rgba(153, 178, 183, .38), transparent 62%), radial-gradient(700px 400px at 0% 100%, var(--brand-50), transparent 60%), linear-gradient(180deg, var(--slate-50), #fff 88%); padding: 56px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.eyebrow.light { color: #f6b98b; }
.hero h1 { margin-bottom: .4em; }
.hero-text { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--sage); font-weight: 500; font-size: .95rem; margin: 0; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(29, 52, 56, .18); }
.hero-media { isolation: isolate; }
.hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sage), var(--slate)); opacity: .45; z-index: -1; }
.hero-badge { position: absolute; left: -24px; bottom: -22px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); font-size: .88rem; line-height: 1.35; color: var(--muted); }
.hero-badge b { color: var(--ink); }
.hb-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.facts { list-style: none; margin: 56px 0 0; padding: 22px 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.facts li { padding: 4px 20px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.fact-v { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--brand); }
.fact-l { font-size: .9rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.tint { background: var(--cream-50); }
.section.dark { background: linear-gradient(160deg, var(--deep), var(--deep-2)); color: #cfdcdf; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.row > div { max-width: 720px; }
.section-title { margin-top: 48px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.points { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.points .icon { color: var(--sage); margin-top: 3px; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon .icon { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: .35em; }
.svc-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--brand); }
.svc-card:hover .more .icon { transform: translateX(3px); }
.more .icon { transition: transform .15s; }
.extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra-card { background: #fff; border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--sage); box-shadow: var(--shadow-sm); }
.extra-card p { margin: 0; color: var(--muted); }

/* features (dark) */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.feature-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(153, 178, 183, .18); color: #cfe0e3; display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { margin: 0; font-size: .95rem; }

/* emergency strip */
.emergency { background: #fdf3ea; border-top: 1px solid #f6dcc6; border-bottom: 1px solid #f6dcc6; padding: 36px 0; }
.emergency-in { display: flex; align-items: center; gap: 24px; }
.em-icon { width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.em-icon .icon { width: 28px; height: 28px; }
.emergency h2 { font-size: 1.5rem; margin-bottom: .2em; }
.emergency p { margin: 0; color: var(--muted); }
.em-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; flex: none; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 12px 0 18px; font-size: 1rem; flex: 1; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.review figcaption b { color: var(--ink); }
.review-masonry { columns: 2 380px; column-gap: 20px; }
.review.long { break-inside: avoid; margin-bottom: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-50); color: var(--sage); display: grid; place-items: center; font: 600 1.1rem var(--serif); flex: none; }
.center-row { text-align: center; margin-top: 16px; }

/* pillars */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pillar { min-width: 0; }
.pillar { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pillar-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sage-50); color: var(--sage); display: grid; place-items: center; margin-bottom: 18px; }
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar h2 { font-size: 1.45rem; }
.pillar p { color: var(--muted); }
.pillar .btn-row { margin: 0; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.visit-line { display: flex; gap: 10px; align-items: flex-start; }
.visit-line .icon { color: var(--brand); margin-top: 4px; }
.visit .btn-row { margin-top: 22px; }
.map { width: 100%; min-height: 380px; height: 100%; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--slate-50); }
.wide-map { height: 420px; margin-top: 48px; }

/* hours table */
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0 0; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink); width: 34%; padding-right: 10px; }
.hours td { color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours-dark th { color: #fff; }
.hours-dark td { color: #b6c7ca; }
.hours-dark th, .hours-dark td { border-color: rgba(255, 255, 255, .12); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand), #2f5248); color: #e3efeb; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- inner pages ---------- */
.page-hero { background: radial-gradient(700px 300px at 92% 0%, rgba(153, 178, 183, .35), transparent 65%), linear-gradient(180deg, var(--slate-50), #fff); padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 18px; }
.page-hero h1 { max-width: 860px; margin-bottom: .3em; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.3em; font-family: var(--sans); font-weight: 600; font-size: 1.08rem; color: var(--ink); letter-spacing: 0; }
.prose > :first-child { margin-top: 0; }
.prose ul.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul.ticks li { position: relative; padding-left: 30px; margin: 0 0 .55em; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.prose ul.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.prose ul.plans li { background: var(--slate-50); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 10px 38px; margin: 0; font-weight: 500; color: var(--ink); }
.prose ul.plans li::before { left: 15px; top: 1.05em; }
.prose ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.2em; }
.prose ol.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 46px; margin-bottom: .9em; }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 600; display: grid; place-items: center; font-size: .9rem; }
.prose blockquote.callout { margin: 1.6em 0; padding: 20px 24px; background: var(--sage-50); border-left: 4px solid var(--sage); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose blockquote.callout p { margin: 0; }
.article-figure { margin: 0 0 28px; }
.article-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.files { display: grid; gap: 12px; margin-top: 8px; }
.file-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); }
.file-card:hover { border-color: var(--brand); color: var(--text); }
.file-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.file-card small { color: var(--muted); }
.file-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.file-card > .icon { color: var(--brand); }
.callout-box { display: flex; gap: 20px; margin-top: 28px; padding: 28px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.callout-box > .icon { color: var(--brand); }
.callout-box h2 { margin-top: 0 !important; font-size: 1.4rem; }

.sidebar { position: sticky; top: 104px; display: grid; gap: 18px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.side-box h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.side-box h2 .icon { color: var(--brand); }
.side-box p { font-size: .93rem; color: var(--muted); }
.side-box.accent { background: linear-gradient(150deg, var(--sage), var(--brand-2)); border: 0; color: #e3efeb; }
.side-box.accent h2 { color: #fff; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.side-box.accent p { color: #e1eee9; }
.side-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.3rem; font-weight: 600; text-decoration: none; margin: 4px 0 16px; }
.side-phone:hover { color: #fff; text-decoration: underline; }
.side-box.soft { background: var(--sage-50); border-color: transparent; }
.side-box.soft h2 .icon { color: var(--sage); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .93rem; }
.side-links a:hover { background: var(--brand-50); color: var(--brand); }
.side-links .icon { color: var(--sage); }

/* gallery & tour */
.gal-cat + .gal-cat { margin-top: 56px; }
.gal-cat h2 { font-size: 1.6rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.ba { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-imgs span { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.ba-imgs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transform: scale(1.22); }
.ba-imgs i { position: absolute; left: 8px; top: 8px; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: rgba(28, 38, 41, .78); color: #fff; padding: 5px 8px; border-radius: 999px; }
.ba-imgs span:last-child i { background: var(--brand); }
/* hover / tap to enlarge, like the old gallery */
.ba { position: relative; }
.ba-imgs span { transition: transform .3s ease, box-shadow .3s ease; transform-origin: left center; cursor: zoom-in; z-index: 1; }
.ba-imgs span:last-child { transform-origin: right center; }
.ba-imgs span:hover, .ba-imgs span:focus { transform: scale(1.9); z-index: 20; box-shadow: 0 18px 48px rgba(20, 35, 40, .35); outline: none; }
.ba:has(span:hover), .ba:has(span:focus) { z-index: 20; }
@media (max-width: 640px) { .ba-imgs span:hover, .ba-imgs span:focus { transform: scale(1.5); } }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour-photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tour-photo.wide { grid-column: span 2; grid-row: span 2; }
.tour-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.tour-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-panel { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.c-card > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.c-card > div { flex: 1; min-width: 0; }
.c-card h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 4px; letter-spacing: 0; }
.c-card p { margin: 0 0 4px; }
.c-card a { word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sage); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .2em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin-top: 16px; }
.fld label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cdd6d8; border-radius: 10px; background: #fff; color: var(--ink); }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--brand); outline: 3px solid var(--brand-100); outline-offset: 0; }
.fld [aria-invalid="true"] { border-color: #b3261e; }
.hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { margin-top: 22px; }
.form-msg { margin: 14px 0 0; font-weight: 500; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: #b3261e; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: #b6c7ca; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.15fr .85fr; gap: 40px; }
.footer-text { margin: 18px 0; }
.footer-h { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer a { color: #e3ecee; }
.footer a:hover { color: #fff; }
.footer-list, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-list .icon { color: var(--slate); margin-top: 4px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social:hover { background: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.mobile-bar { display: none; }

/* ===== design upgrade 2 ===== */
h1, h2 { letter-spacing: -.02em; }
.hero { padding: 64px 0 72px; position: relative; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.7rem); }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #f6b98b); margin-top: 20px; }
.hero-media img { aspect-ratio: 16 / 10; border-radius: 28px; }
.hero-media::before { inset: 26px -24px -24px 48px; border-radius: 36px; background: linear-gradient(140deg, var(--sage) 0%, var(--slate) 100%); opacity: .55; }
.hero-media::after { content: ""; position: absolute; width: 120px; height: 120px; right: -34px; bottom: -34px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 129, 55, .35) 2px, transparent 2.5px) 0 0 / 14px 14px; z-index: -1; }
.hero-badge { left: -30px; bottom: 28px; }
.hero-open { position: absolute; right: -18px; top: 26px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow); font-size: .86rem; line-height: 1.35; color: var(--muted); }
.hero-open b { color: var(--ink); }
.open-dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa5a8; box-shadow: 0 0 0 5px rgba(154, 165, 168, .18); flex: none; }
.hero-open.is-open .open-dot { background: #2f9e64; box-shadow: 0 0 0 5px rgba(47, 158, 100, .18); }

.stats { background: var(--deep); color: #cfd8da; padding: 30px 0; position: relative; }
.stats .facts { margin: 0; background: none; border: 0; box-shadow: none; padding: 0; }
.stats .facts li { border-color: rgba(255, 255, 255, .12); }
.stats .fact-v { color: #fff; font-size: 1.55rem; }
.stats .fact-l { color: #b9c6c9; }

.svc-card { position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, var(--brand), var(--brand-2)); opacity: 0; transition: opacity .25s; }
.svc-card > * { position: relative; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover, .svc-card:hover h3, .svc-card:hover p, .svc-card:hover .more { color: #fff; }
.svc-card:hover .svc-icon { background: rgba(255, 255, 255, .16); color: #fff; }

.steps-section { background: linear-gradient(180deg, #fff, var(--slate-50)); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; position: relative; }
.steps-grid::before { content: ""; position: absolute; left: 16%; right: 16%; top: 34px; border-top: 2px dashed var(--brand-100); }
.step { position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 68px; height: 68px; margin: -64px auto 16px; border-radius: 50%; background: var(--brand); color: #fff;
  font: 500 1.6rem var(--serif); box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(76, 122, 109, .3); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.steps-section .center-row { margin-top: 38px; }

.results .ba-grid { grid-template-columns: repeat(3, 1fr); }

.marquee { overflow: hidden; display: flex; max-width: 100%; gap: 0; margin: 4px 0 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; flex: none; animation: marquee 38s linear infinite; }
.marquee li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: var(--sage-50); color: var(--brand-2); font-size: .88rem; font-weight: 500; }
.marquee li .icon { width: 14px; height: 14px; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.review-grid .review blockquote { position: relative; }
.review-grid .review blockquote::before { content: "\201C"; position: absolute; right: -4px; bottom: -34px; font: 400 5rem/1 var(--serif); color: var(--brand-50); z-index: 0; }
.review-grid .review blockquote p { position: relative; }

.page-hero { position: relative; padding-bottom: 72px; border-bottom: 0; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; color: #fff; display: block; }
.section.dark { position: relative; }
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-open { right: 8px; top: -14px; }
  .hero-badge { left: 8px; bottom: -18px; }
  .steps-grid { grid-template-columns: 1fr; gap: 56px; margin-top: 30px; }
  .steps-grid::before { display: none; }
  .results .ba-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-media::before { inset: -14px -10px 30px 30px; }
  .results .ba-grid { grid-template-columns: 1fr; }
  .stats .facts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .stats .facts li { border-top: 0; border-left: 0; padding: 4px 10px; }
  .stats .fact-v { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee ul { animation: none; }
  .marquee { flex-wrap: wrap; mask-image: none; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; }
}

/* Google reviews */
.g-logo { width: 22px; height: 22px; flex: none; }
.g-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); font-size: .92rem; transition: border-color .15s, box-shadow .15s; }
.g-chip:hover { border-color: var(--sage); box-shadow: var(--shadow); color: var(--ink); }
.g-chip .stars { font-size: .95rem; letter-spacing: 1px; }
.g-score { font-weight: 700; font-size: 1rem; }
.g-count { color: var(--muted); }
.g-chip.big { padding: 10px 18px 10px 12px; font-size: 1rem; }
.g-chip.big .g-logo { width: 26px; height: 26px; }
.g-chip.big .g-score { font-size: 1.2rem; }
.g-summary { margin: 14px 0 0; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.g-review .g-top { display: flex; align-items: center; gap: 12px; }
.g-review .g-top .g-logo { margin-left: auto; width: 20px; height: 20px; }
.g-who { display: flex; flex-direction: column; line-height: 1.3; }
.g-who b { color: var(--ink); }
.g-who .stars { font-size: .9rem; }
.g-review figcaption { font-size: .82rem; color: var(--muted); }
.g-review[hidden] { display: none; }
.g-reviews:not([data-rotate]) { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.g-actions { margin-top: 28px; }
.section-title.first { margin-top: 0; }
.review { transition: transform .18s, box-shadow .18s; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.avatar { background: var(--brand-50); color: var(--brand); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-list > li > a { padding: 10px 7px; font-size: .9rem; }
  .nav-cta { display: none; }
}
@media (max-width: 1000px) {
  .menu-btn, .header-call { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
  .header-call { margin-left: auto; color: var(--brand); }
  .menu-btn .icon, .header-call .icon { width: 22px; height: 22px; }
  .header { backdrop-filter: none; background: #fff; }
  .header-in { min-height: 72px; gap: 10px; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 84px 20px 28px;
    transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); overflow-y: auto; z-index: 40; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(20, 30, 33, .45); z-index: 35; }
  .menu-btn { position: relative; z-index: 45; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 14px 6px; font-size: 1.02rem; }
  .nav-list > li > a[aria-current="page"] { box-shadow: none; }
  .sub-toggle { padding: 12px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; display: none; width: 100%; min-width: 0; max-height: none; }
  .has-sub.sub-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.sub-open:hover > .sub { display: block; }
  .nav-cta { display: inline-flex; margin-top: 22px; }
  .hero-in, .split, .visit, .contact-grid, .with-side { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero { padding-top: 36px; }
  .hero-media { margin: 0 12px 0 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .facts li:nth-child(3) { border-left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .tb-hours { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .brand-logo { width: 130px; }
  .logo-top { font-size: 1.2rem; }
  .logo-bottom { font-size: .68rem; letter-spacing: .12em; }
  .hero-badge { left: 8px; bottom: -18px; padding: 10px 14px; font-size: .8rem; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; margin-top: 44px; }
  .facts li { border-left: 0; border-top: 1px solid var(--line); padding: 10px 16px; }
  .facts li:first-child { border-top: 0; }
  .feature-grid, .pillars, .extra-grid, .row2, .points, .footer-grid { grid-template-columns: 1fr; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .emergency-in, .cta-in { flex-direction: column; align-items: flex-start; }
  .em-actions { margin-left: 0; flex-wrap: wrap; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-photo.wide { grid-column: auto; grid-row: auto; }
  .ba-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .pillar { padding: 24px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: center; gap: 8px; height: 58px;
    background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
  .mobile-bar:hover { color: #fff; }
  html body #vw-a11y { bottom: 70px !important; left: auto !important; right: 12px !important; }
  html body #vw-a11y-panel { left: auto !important; right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .header, .footer, .cta-band, .sidebar, .mobile-bar, #vw-a11y { display: none !important; }
}

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate-50); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card h2 { font-size: 1.3rem; margin: .35em 0 .4em; }
.post-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.post-card:hover .more .icon { transform: translateX(3px); }
.post-meta { font-size: .85rem; color: var(--muted); }
.prose .post-meta { margin-bottom: 18px; }
.post-note { margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .post-card, .post-img img { transition: none; } .post-card:hover, .post-card:hover .post-img img { transform: none; } }
.post-card { border-top: 4px solid var(--sage); }
.post-card h2 { margin-top: .5em; }
