/* All About Home Care — styles
   Themes are set with <html data-theme="sage|delta|dusk|evening">. */

:root,
[data-theme="sage"] {
  --bg: #F5F7F2;
  --surface: #FFFFFF;
  --tint: #E8EEE6;
  --ink: #1E2B24;
  --muted: #55645B;
  --primary: #44695A;
  --primary-hover: #375749;
  --on-primary: #FFFFFF;
  --accent: #E3A53B;
  --line: #D3DDD1;
  --deep: #22392F;
  --on-deep: #EEF3EC;
  --shadow: 0 1px 2px rgba(30, 43, 36, .06), 0 12px 32px -12px rgba(30, 43, 36, .18);
  color-scheme: light;
}
[data-theme="delta"] {
  --bg: #F2F6F9; --surface: #FFFFFF; --tint: #E1EBF3; --ink: #172536; --muted: #4E5F71;
  --primary: #285A84; --primary-hover: #1F4A6E; --on-primary: #FFFFFF; --accent: #E9B949;
  --line: #CCD9E4; --deep: #16314A; --on-deep: #EAF1F7;
  --shadow: 0 1px 2px rgba(23, 37, 54, .06), 0 12px 32px -12px rgba(23, 37, 54, .2);
  color-scheme: light;
}
[data-theme="dusk"] {
  --bg: #F7F4F8; --surface: #FFFFFF; --tint: #EEE6F2; --ink: #2B2236; --muted: #625870;
  --primary: #6A4F8C; --primary-hover: #573F75; --on-primary: #FFFFFF; --accent: #D99AA2;
  --line: #DDD2E5; --deep: #35284A; --on-deep: #F3EEF7;
  --shadow: 0 1px 2px rgba(43, 34, 54, .06), 0 12px 32px -12px rgba(43, 34, 54, .2);
  color-scheme: light;
}
[data-theme="evening"] {
  --bg: #121A17; --surface: #1A2521; --tint: #18221E; --ink: #E9EFEA; --muted: #A5B4AB;
  --primary: #8DC3A2; --primary-hover: #A4D3B6; --on-primary: #0F1A14; --accent: #F0C36A;
  --line: #2D3B35; --deep: #0C1310; --on-deep: #E9EFEA;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html[data-size="large"] { font-size: 118.75%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { font-family: "Young Serif", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 56px; padding: .85rem 1.7rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: var(--on-deep); color: var(--deep); margin-top: .5rem; }
.btn--light:hover { background: var(--accent); color: #1a1a1a; }
.btn:active { transform: translateY(1px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--deep); color: var(--on-deep); font-size: .92rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.topbar p { margin: 0; }
.topbar a { color: var(--on-deep); font-weight: 700; margin-left: .5rem; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; color: var(--primary); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: "Young Serif", Georgia, serif; font-size: 1.28rem; }
.brand__sub { font-size: .82rem; color: var(--muted); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.nav__call { display: none; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.iconbtn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; display: grid; place-items: center;
}
.iconbtn:hover { border-color: var(--primary); }
.iconbtn[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.iconbtn sup { font-size: .65em; }
.menu { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .2s; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; } .menu__bars::after { top: 6px; }
.menu[aria-expanded="true"] .menu__bars { background: transparent; }
.menu[aria-expanded="true"] .menu__bars::before { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] .menu__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Arch motif ---------- */
.arch { border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--tint); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5; }
.arch--tall { aspect-ratio: 3 / 4; }
.arch--wide { aspect-ratio: 5 / 4; border-radius: 360px 360px 22px 22px; }
.arch--panel { aspect-ratio: 16 / 10; border-radius: 300px 300px 18px 18px; margin-bottom: 1.25rem; }
.arch--small { aspect-ratio: 1 / 1; max-width: 320px; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__kicker { color: var(--primary); font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 15ch; }
.hero .lead { margin: 1.25rem 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.75rem 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); }
.hero__facts li { flex: 1; padding: 1.1rem 1rem 0 0; display: flex; flex-direction: column; }
.hero__facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero__facts strong { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--primary); }
.hero__facts span { color: var(--muted); font-size: .95rem; }
.hero__art { position: relative; }
.arch--hero { box-shadow: var(--shadow); }
.arch--hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--surface) 55%, transparent); pointer-events: none; }
.hero__note {
  position: absolute; left: -2.5rem; bottom: 2.5rem; max-width: 280px;
  background: var(--surface); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--shadow);
  display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line);
}
.hero__note p { margin: 0; font-size: .97rem; color: var(--muted); }
.hero__note strong { color: var(--ink); display: block; }
.dot { flex: none; width: 12px; height: 12px; margin-top: .4rem; border-radius: 50%; background: #3BA55C; box-shadow: 0 0 0 4px color-mix(in srgb, #3BA55C 22%, transparent); }

/* single page-load moment: the arch opens */
@media (prefers-reduced-motion: no-preference) {
  .arch--hero { animation: archOpen 1.1s cubic-bezier(.2,.7,.1,1) both; }
  .arch--hero img { animation: settle 1.6s cubic-bezier(.2,.7,.1,1) both; }
  .hero__note { animation: rise .7s .75s cubic-bezier(.2,.7,.1,1) both; }
}
@keyframes archOpen { from { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--deep); color: var(--on-deep); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.split-head h2 { margin: 0; max-width: 14ch; }
.split-head p { margin: 0; color: var(--muted); max-width: 36em; }
.fineprint { color: var(--muted); font-size: .97rem; margin-top: 1.75rem; max-width: 52em; }

/* Compare */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; }
.compare__row > span { padding: 1.05rem 1.5rem; border-top: 1px solid var(--line); }
.compare__row--head > span { border-top: 0; font-weight: 700; padding-top: 1.3rem; padding-bottom: 1.1rem; color: var(--muted); }
.compare__row [role="rowheader"] { font-weight: 700; }
.compare__row > span:last-child { color: var(--muted); }
.compare .compare__us { background: color-mix(in srgb, var(--primary) 9%, var(--surface)); color: var(--ink); }
.compare__row--head .compare__us { color: var(--primary); font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 1.15rem; }

/* Feature (nurses) */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature__copy .lead { margin-bottom: 2rem; }
.points { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.25rem; }
.points dt { font-weight: 700; font-size: 1.08rem; margin-bottom: .35rem; padding-top: .9rem; border-top: 2px solid var(--accent); }
.points dd { margin: 0; color: var(--muted); }

/* Care */
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.care__group { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.8rem 1.6rem; }
.care__icon { width: 46px; height: 46px; color: var(--primary); margin-bottom: 1rem; }
.care__group ul { list-style: none; margin: 0; padding: 0; }
.care__group li { padding: .65rem 0 .65rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.care__group li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 9px; height: 9px; border-radius: 50% 50% 2px 2px; background: var(--accent); }

/* Floor plan */
.plan { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.plan__map { margin: 0; background: var(--surface); border-radius: 22px; border: 1px solid var(--line); padding: 1rem; }
.plan__map svg { width: 100%; height: auto; display: block; }
.plan__map figcaption { color: var(--muted); font-size: .88rem; padding: .5rem .25rem 0; }
.plan__shell { fill: none; stroke: var(--ink); stroke-width: 3; opacity: .85; }
.room { cursor: pointer; outline: none; }
.room rect { fill: var(--tint); stroke: var(--line); stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.room text { fill: var(--ink); font-family: "Atkinson Hyperlegible", sans-serif; font-size: 14px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.room--hall rect { fill: transparent; stroke-dasharray: 4 5; }
.room--hall text { fill: var(--muted); font-weight: 400; font-size: 13px; }
.room:hover rect { stroke: var(--primary); stroke-width: 2.5; }
.room:focus-visible rect { stroke: var(--accent); stroke-width: 4; }
.room.is-active rect { fill: var(--primary); stroke: var(--primary); }
.room.is-active text { fill: var(--on-primary); }
.plan__panel h3 { font-size: 1.7rem; }
.plan__panel p { color: var(--muted); }
.plan__panel img { transition: opacity .3s; }

/* Day */
.day { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.day__intro { position: sticky; top: 110px; }
.day__intro .arch { margin-top: 2rem; max-width: 460px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 4rem 1fr; gap: 2rem; padding: 0 0 1.9rem; position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(4.6rem - 6px); top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); }
.timeline time { font-family: "Young Serif", Georgia, serif; color: var(--primary); font-size: 1.15rem; text-align: right; padding-top: .1rem; }
.timeline h3 { font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 700; font-size: 1.12rem; margin: 0 0 .2rem; letter-spacing: 0; }
.timeline p { margin: 0; color: var(--muted); }

/* Cost */
.cost { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cost .lead { color: color-mix(in srgb, var(--on-deep) 78%, transparent); }
.cost__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cost h3 { font-size: 1.25rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { padding: .55rem 0 .55rem 1.9rem; position: relative; border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary);
  font-family: "Young Serif", Georgia, serif; font-size: 1.25rem; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3rem; right: -1.25rem; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.22rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro p { color: var(--muted); }
.faq__list details { border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq__list details:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-family: "Young Serif", Georgia, serif; font-size: 1.22rem; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(45deg); transition: transform .25s;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__list details p { color: var(--muted); padding-right: 2rem; max-width: 42em; }

/* Visit */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact { font-style: normal; display: flex; flex-direction: column; gap: .5rem; margin: 2rem 0; }
.contact span { color: var(--muted); }
.contact__phone { font-family: "Young Serif", Georgia, serif; font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--primary); text-decoration: none; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="evening"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); position: relative; }
.form h3 { font-size: 1.55rem; margin-bottom: 1.25rem; }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .98rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #C2413A; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { margin: 0; font-weight: 400; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; background: var(--bg); }
.chips input:checked + span { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form__error { color: #C2413A; font-weight: 700; }
[data-theme="evening"] .form__error { color: #FF9A92; }
.form__small { text-align: center; color: var(--muted); font-size: .92rem; margin: .9rem 0 0; }
.form__done { position: absolute; inset: 0; background: var(--surface); border-radius: inherit; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.form__done[hidden] { display: none; }
.form__done h3 { font-size: 2rem; }
.form__done p { color: var(--muted); font-size: 1.1rem; }

/* Footer */
.footer { background: var(--deep); color: color-mix(in srgb, var(--on-deep) 80%, transparent); padding: 4rem 0 6rem; font-size: .98rem; }
.footer a { color: var(--on-deep); }
.footer h4 { color: var(--on-deep); font-size: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .4rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.brand--footer { color: var(--on-deep); margin-bottom: 1rem; }
.brand--footer:hover { color: var(--on-deep); }
.brand--footer .brand__mark { color: var(--on-deep); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); margin-top: 3rem; padding-top: 1.5rem; font-size: .92rem; }
.footer__base p { margin: 0; }
.placeholder { background: var(--accent); color: #1a1a1a; padding: 0 .35rem; border-radius: 4px; }

/* Mobile action bar */
.mbar { display: none; }

/* Theme picker */
.themer { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60; }
.themer__toggle {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem 1.1rem .5rem .55rem; border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
}
.themer__swatch { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--primary) 0 50%, var(--accent) 50% 75%, var(--bg) 75%); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.themer__panel { position: absolute; left: 0; bottom: calc(100% + .6rem); width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); }
.themer__title { font-weight: 700; margin: 0 0 .6rem .3rem; }
.themer__opts { display: grid; gap: .3rem; }
.themer__opts button { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .5rem .6rem; border-radius: 12px; border: 1.5px solid transparent; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.themer__opts button:hover { background: var(--tint); }
.themer__opts button[aria-checked="true"] { border-color: var(--primary); background: var(--tint); font-weight: 700; }
.themer__opts i { width: 36px; height: 36px; border-radius: 50%; flex: none; background: conic-gradient(var(--a) 0 50%, var(--b) 50% 75%, var(--c) 75%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps li:nth-child(3)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu { display: grid; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 1rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__call { display: block; color: var(--primary) !important; }
  .hero__grid, .feature, .day, .cost, .faq, .visit__grid, .plan, .split-head { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__note { left: -.75rem; }
  .feature__art { max-width: 420px; }
  .day__intro { position: static; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--line); }
  .compare__row [role="rowheader"] + span, .compare__row [role="rowheader"] + span + span { border-top: 0; }
  .compare__row--head > span:first-child { display: none; }
  .care { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1.03rem; }
  .topbar__in > p:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .brand__sub { display: none; }
  .header__in { min-height: 68px; gap: .75rem; }
  .nav { inset: 68px 0 auto 0; }
  .hero__facts strong { font-size: 1.6rem; }
  .hero__note { position: relative; left: auto; bottom: auto; margin: -2.5rem auto 0; max-width: 92%; }
  .points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 2rem 4.25rem; }
  .steps li::after { display: block !important; top: 3rem !important; left: 1.45rem !important; right: auto !important; width: 2px !important; height: calc(100% - 3rem) !important; }
  .steps li:last-child::after { display: none !important; }
  .cost__cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .timeline::before { left: 3.6rem; }
  .timeline li { grid-template-columns: 3rem 1fr; gap: 1.6rem; }
  .timeline li::after { left: calc(3.6rem - 6px); }
  .compare__row > span { padding: .85rem 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
  }
  .mbar a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mbar__call { border: 2px solid var(--primary); color: var(--primary); }
  .mbar__visit { background: var(--primary); color: var(--on-primary); }
  .mbar__visit:hover { color: var(--on-primary); }
  .themer { left: .75rem; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .themer__toggle { padding: .4rem; font-size: 0; gap: 0; }
}

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

/* At a glance (fact summary for people and search engines) */
.glance { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.glance h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; }
@media (max-width: 1080px) { .glance dl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .glance dl { grid-template-columns: 1fr; } }
.glance dl > div { min-width: 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.glance dt { font-weight: 700; font-size: .95rem; color: var(--muted); }
.glance dd { margin: .15rem 0 0; }
.footer__base span { opacity: .85; }
