/* 26 Checklist: Brightwork Home Cleaning (sample). theme-factory preset: Arctic Frost. No JavaScript. Breakpoints 760 / 1080. */

/* ---- Shared token layer (library-wide names: re-skin by changing these) ---- */
:root {
  --c-bg: #FAFAFA;          /* Arctic Frost "Crisp White": page */
  --c-surface: #FFFFFF;     /* the scope card, schedule, form */
  --c-ink: #17263B;         /* deep steel: text, footer (14.6:1 on bg) */
  --c-muted: #4C5A6D;       /* secondary text (6.7:1 on bg, 5.4:1 on ice) */
  --c-line: #D9DEE5;        /* hairlines (decorative) */
  --c-line-strong: #6B7686; /* form borders, unchecked boxes (4.6:1 on white) */
  --c-accent: #4A6FA5;      /* Arctic Frost "Steel Blue": buttons, checks, links (5.1:1 with white) */
  --c-on-accent: #FFFFFF;
  --c-accent-2: #2B4C7E;    /* deep steel: focus ring and pressed states only */
  --f-display: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, Menlo, monospace; /* unused: no data fields need it */
  --r-sm: 10px;             /* inputs, price tiles */
  --r-lg: 20px;             /* the scope card, photos, schedule */
  --r-pill: 999px;          /* buttons, size picker, chips */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 56px; --s-6: 104px;

  /* Theme names, mapped to the shared layer */
  --ice: #D4E4F7;           /* Arctic Frost "Ice Blue": hero field, picker track, active rows */
  --ice-soft: #EAF1FA;      /* price tiles */
  --silver: #C0C0C0;        /* Arctic Frost "Silver": pad perforation, "not included" dash (decorative only) */
  --steel: var(--c-accent);
  --focus: var(--c-accent-2);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --wrap: 1200px;
  --bar-h: 72px;            /* phone action bar incl. padding */
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p, li, dd, figcaption, blockquote, caption { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
small { font-size: 13px; }
[id] { scroll-margin-top: 16px; }
.sprite { display: none; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.stack, .price-num, .pv, .hours td, .facts dd { font-variant-numeric: tabular-nums; }

/* Touch polish (L7) */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--c-ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }

/* Demo bar: one line */
.demo {
  margin: 0; padding: 6px 16px; background: var(--c-ink); color: #fff;
  font-size: 13px; line-height: 1.3; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 2px solid transparent;
  font: 600 16px/1.1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease-out, border-color 160ms ease-out;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-solid { background: var(--steel); color: var(--c-on-accent); }
.btn-solid:active { background: var(--c-accent-2); }
.btn-line { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }

/* ---- Header ---- */
.site-head { background: var(--ice); }
.head-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; padding-top: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.brand-box {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--steel); color: #fff;
}
.brand-box .i { width: 20px; height: 20px; stroke-width: 2.5; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--c-muted); margin-top: 3px; }
.head-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.head-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--steel); color: #fff; font-weight: 600; text-decoration: none;
}
.head-tel .tel-num { display: none; }
.head-book { display: none; }
.site-nav {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 4px;
  margin: 6px -8px 0; overflow-x: auto; scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 -3px 0 transparent;
}

/* ---- Hero + scope card ---- */
.hero { background: var(--ice); padding: 24px 0 var(--s-5); }
.hero-in { display: grid; gap: var(--s-4); grid-template-areas: "copy" "photo" "scope"; }
.hero-copy { grid-area: copy; }
.hero h1 { font-size: clamp(36px, 9.6vw, 60px); max-width: 13ch; }
.hero-sub { margin-top: 14px; font-size: 18px; color: var(--c-muted); max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-ctas .btn { flex: 1 1 220px; }
.hero-photo { grid-area: photo; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; border-radius: var(--r-lg); }

.scope {
  grid-area: scope; position: relative; background: var(--c-surface); border-radius: var(--r-lg);
  padding: 34px 16px 20px; box-shadow: 0 30px 60px -36px rgba(23, 38, 59, .45), 0 0 0 1px rgba(23, 38, 59, .06);
}
/* Tear-off pad perforation along the top edge */
.scope::before {
  content: ""; position: absolute; inset: 12px 20px auto; height: 8px;
  background: radial-gradient(circle, var(--silver) 0 3px, transparent 3.5px) 0 0 / 16px 8px repeat-x;
}
.scope-head { display: grid; gap: 14px; }
.scope-head h2 { font-size: 26px; }

/* Home size: a segmented control */
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font-size: 14px; font-weight: 600; color: var(--c-muted); padding: 0; margin-bottom: 8px; }
.seg-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--ice); border-radius: var(--r-pill); }
.seg label { display: block; cursor: pointer; }
.seg label span {
  display: grid; place-items: center; min-height: 44px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.seg input:checked + span { background: var(--steel); color: #fff; }
.seg input:focus-visible + span, .rooms input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.price { background: var(--ice-soft); border-radius: var(--r-sm); padding: 14px 14px 12px; }
.price-name { font-size: 15px; font-weight: 600; }
.price-num { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; }
.price-note { font-size: 13px; color: var(--c-muted); line-height: 1.35; margin-top: 2px; }

/* Stacked alternatives: one grid cell, only the chosen one visible (no layout shift) */
.stack { display: inline-grid; }
.stack > * { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 180ms ease-out, visibility 0s linear 180ms; }
:root:has(#hs-1:checked) .stack > .z1,
:root:has(#hs-2:checked) .stack > .z2,
:root:has(#hs-3:checked) .stack > .z3,
:root:has(#hs-4:checked) .stack > .z4 { visibility: visible; opacity: 1; transition-delay: 0s; }

/* Room tabs with a sliding underline */
.rooms { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border: 0; margin: 18px 0 0; padding: 0; min-width: 0; border-bottom: 1px solid var(--c-line); }
.rooms label { display: block; cursor: pointer; }
.rooms label span { display: grid; place-items: center; min-height: 48px; font-size: 15px; font-weight: 600; color: var(--c-muted); transition: color 160ms ease-out; }
.rooms input:checked + span { color: var(--c-ink); }
.rooms-bar {
  position: absolute; left: 0; bottom: -1px; width: 25%; height: 3px; border-radius: 3px; background: var(--steel);
  transform: translateX(calc(var(--room, 0) * 100%)); transition: transform 240ms var(--ease-out);
}
:root:has(#rm-2:checked) { --room: 1; }
:root:has(#rm-3:checked) { --room: 2; }
:root:has(#rm-4:checked) { --room: 3; }

.panels { display: grid; }
.panels > .list { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 180ms ease-out, visibility 0s linear 180ms; }
:root:has(#rm-1:checked) .list.r1,
:root:has(#rm-2:checked) .list.r2,
:root:has(#rm-3:checked) .list.r3,
:root:has(#rm-4:checked) .list.r4 { visibility: visible; opacity: 1; transition-delay: 0s; }

.list { width: 100%; border-collapse: collapse; align-self: start; }
.list thead th { font-size: 13px; font-weight: 600; color: var(--c-muted); padding: 10px 0 6px; text-align: center; width: 72px; }
.list thead th:first-child { width: auto; }
.list tbody th { text-align: left; font-weight: 500; font-size: 16px; line-height: 1.3; padding: 10px 8px 10px 0; }
.list tbody td { text-align: center; padding: 6px 0; }
.list tbody tr + tr { border-top: 1px solid var(--c-line); }
.ck {
  display: inline-block; vertical-align: middle; width: 26px; height: 26px; padding: 3px; border-radius: 7px;
  background: var(--steel); color: #fff; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 22; stroke-dashoffset: 0;
}
.no { display: inline-block; vertical-align: middle; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--silver); }
.scope-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--silver); font-size: 14px; color: var(--c-muted); }

/* Signature moment: the open room's boxes tick themselves, row by row */
@media (prefers-reduced-motion: no-preference) {
  @keyframes tick { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
  :root:has(#rm-1:checked) .r1 .ck,
  :root:has(#rm-2:checked) .r2 .ck,
  :root:has(#rm-3:checked) .r3 .ck,
  :root:has(#rm-4:checked) .r4 .ck { animation: tick 360ms var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
  :root:has(:is(#rm-1, #rm-2, #rm-3, #rm-4):checked) td + td .ck { animation-delay: calc(160ms + var(--i, 0) * 55ms); }
}

/* ---- Trust band ---- */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.trust-in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-block: 24px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.trust b { display: block; font-size: 16px; }
.trust .i { color: var(--steel); margin-top: 1px; }

/* ---- Plans: the recurring schedule ---- */
.plans { padding: var(--s-5) 0; }
.plans-in { display: grid; gap: var(--s-4); }
.plans-copy p { margin-top: 12px; color: var(--c-muted); max-width: 52ch; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--steel); margin-top: 2px; }
.sched { margin: 0; background: var(--c-surface); border-radius: var(--r-lg); padding: 8px 16px 6px; box-shadow: 0 0 0 1px var(--c-line); }
.sched table { width: 100%; border-collapse: collapse; }
.sched caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--c-muted); padding: 12px 0 2px; border-top: 1px dashed var(--silver); }
.cap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap-row > span { font-weight: 600; color: var(--c-ink); }
.sched caption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-accent-2); font-weight: 600; }
.sched thead th { font-size: 13px; font-weight: 600; color: var(--c-muted); text-align: left; padding: 10px 0 8px; }
.sched thead th:last-child { text-align: right; }
.sched tbody th { text-align: left; font-size: 16px; font-weight: 600; line-height: 1.25; padding: 12px 8px 12px 0; width: 34%; }
.sched tbody th small { display: block; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.sched tbody tr + tr { border-top: 1px solid var(--c-line); }
.sched .fav th small { color: var(--c-accent-2); font-weight: 600; }
.wk { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.wk span { font-size: 12px; text-align: center; color: var(--c-muted); }
.wk i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--ice-soft); }
.wk i.on { background: var(--steel); }
.pv { text-align: right; font-weight: 700; font-size: 18px; padding-left: 10px; white-space: nowrap; }

/* ---- Process ---- */
.process { padding: 0 0 var(--s-5); }
.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--ice); font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps p { color: var(--c-muted); }
/* Phones: the numeral sits on the heading line and the step's text runs the full width below */
@media (max-width: 759.98px) {
  .steps li { align-items: center; row-gap: 8px; }
  .steps li::before { grid-row: auto; }
  .steps p { grid-column: 1 / -1; }
}

/* ---- Work rail ---- */
.work { padding: var(--s-5) 0; background: var(--c-surface); border-block: 1px solid var(--c-line); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin: 24px -16px 0; padding: 0 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
}
.shot { margin: 0; scroll-snap-align: start; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.shot figcaption { margin-top: 10px; font-size: 15px; color: var(--c-muted); line-height: 1.45; }
.shot figcaption b { color: var(--c-ink); font-weight: 600; }

/* ---- Reviews ---- */
.reviews { padding: var(--s-5) 0; }
.lede { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--c-muted); }
.lede .i { color: var(--steel); }
.rev-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin: 22px -16px 0; padding: 0 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
}
.rev { margin: 0; scroll-snap-align: start; background: var(--c-surface); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: 0 0 0 1px var(--c-line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.rev blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.rev figcaption { font-weight: 600; font-size: 15px; }
.rev figcaption small { display: block; font-weight: 400; color: var(--c-muted); }
.rail:focus-visible, .rev-rail:focus-visible { outline-offset: -3px; }

/* ---- About ---- */
.about { padding: var(--s-5) 0; background: var(--ice); }
.about-in { display: grid; gap: var(--s-4); }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; border-radius: var(--r-lg); }
.about-copy p { margin-top: 12px; max-width: 58ch; }
.about-copy h2 + p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.facts div { background: var(--c-surface); border-radius: var(--r-sm); padding: 12px; }
.facts dt { font-size: 13px; color: var(--c-muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; line-height: 1.3; }

/* ---- Contact ---- */
.contact { padding: var(--s-5) 0; }
.contact-in { display: grid; gap: var(--s-5); }
.hours { border-collapse: collapse; margin-top: 20px; width: 100%; max-width: 460px; }
.hours th, .hours td { text-align: left; padding: 10px 0; font-size: 16px; }
.hours th { font-weight: 600; padding-right: 16px; }
.hours tr + tr { border-top: 1px solid var(--c-line); }
.note { margin-top: 14px; font-size: 15px; color: var(--c-muted); max-width: 46ch; }
.links { font-style: normal; display: grid; gap: 8px; margin-top: 18px; }
.links .row {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px;
  border-radius: var(--r-sm); background: var(--c-surface); box-shadow: 0 0 0 1px var(--c-line); text-decoration: none; font-weight: 600;
}
.links .row .i { color: var(--steel); }
.links .row small { display: block; font-weight: 400; color: var(--c-muted); }

.form { background: var(--c-surface); border-radius: var(--r-lg); padding: 24px 16px; box-shadow: 0 0 0 1px var(--c-line); display: grid; gap: 18px; align-content: start; }
.form h3 { font-size: 24px; }
.form-note { font-size: 14px; color: var(--c-muted); margin-top: -10px; }
.field { display: grid; gap: 6px; }
.field label, .chips legend { font-size: 15px; font-weight: 600; }
.req { font-weight: 400; color: var(--c-muted); font-size: 13px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--c-ink); font: 400 16px/1.2 var(--f-body);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--c-accent-2); }
.hint { font-size: 14px; color: var(--c-muted); }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line-strong); font-size: 15px; font-weight: 500;
}
.chips input:checked + span { background: var(--ice); border-color: var(--steel); box-shadow: inset 0 0 0 1px var(--steel); font-weight: 600; }
.form .btn { width: 100%; }
/* The confirmation takes the place of the note in one grid cell: no shift when it appears */
.form-end { display: grid; }
.form-end > * { grid-area: 1 / 1; }
.after { font-size: 14px; color: var(--c-muted); }
.sent { visibility: hidden; display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 15px; color: var(--c-accent-2); }
.sent .i { color: var(--c-accent-2); }
.sent:target { visibility: visible; }
.form-end:has(.sent:target) .after { visibility: hidden; }

/* ---- Footer ---- */
.site-foot { background: var(--c-ink); color: #E6EDF6; padding: var(--s-5) 0 calc(var(--bar-h) + 32px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 22px; }
.site-foot .brand-name small { color: #B7C4D6; }
.foot-brand p:last-child { margin-top: 10px; color: #B7C4D6; max-width: 40ch; }
.foot-col { font-style: normal; display: grid; gap: 2px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-fine { font-size: 13px; color: #B7C4D6; border-top: 1px solid #33445C; padding-top: 18px; }

/* ---- C1 Action Bar (phones) ---- */
.action-bar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--c-surface);
  box-shadow: 0 -1px 0 var(--c-line), 0 -10px 24px -18px rgba(23, 38, 59, .5);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: var(--r-pill);
  background: var(--ice-soft); color: var(--c-ink); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 120ms var(--ease-out);
}
.action-bar a:first-child { background: var(--steel); color: #fff; }
.action-bar a:active { transform: scale(.97); }
.action-bar a:focus-visible { outline-offset: -4px; }
body:has(:is(input:not([type="radio"]), select):focus) .action-bar { visibility: hidden; }

/* ---- Hover (pointer devices only) ---- */
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--c-accent-2); }
  .btn-line:hover { background: rgba(255, 255, 255, .55); }
  .site-nav a:hover { box-shadow: inset 0 -3px 0 var(--silver); }
  .seg label:hover span { background: rgba(255, 255, 255, .6); }
  .seg input:checked + span:hover { background: var(--steel); }
  .rooms label:hover span { color: var(--c-ink); }
  .links .row:hover { box-shadow: 0 0 0 1.5px var(--steel); }
  .chips label:hover span { border-color: var(--steel); }
  .foot-col a:hover { text-decoration: underline; }
}

/* ---- Tablet: 760 ---- */
@media (min-width: 760px) {
  .wrap { padding-inline: 32px; }
  .action-bar { display: none; }
  html { scroll-padding-bottom: 0; }
  .site-foot { padding-bottom: var(--s-5); }
  .head-tel .tel-num { display: inline; }
  .head-tel .tel-short { display: none; }
  .head-tel { background: transparent; color: var(--c-ink); padding: 0 8px; }
  .head-book { display: inline-flex; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .scope { padding: 40px 28px 24px; }
  .scope-head { grid-template-columns: auto 1fr; align-items: end; gap: 20px; }
  .seg { justify-self: end; width: min(100%, 420px); }
  .trust-in { grid-template-columns: repeat(4, 1fr); }
  .rail, .rev-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin-inline: 0; padding: 0; overflow: visible; }
  .about-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .about img { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .form { padding: 32px; }
  .facts dd { font-size: 16px; }
}

/* ---- Desktop: 1080 ---- */
@media (min-width: 1080px) {
  :root { --s-5: 88px; }
  .head-in { grid-template-columns: auto 1fr auto; gap: 32px; padding-block: 12px; }
  .head-actions { grid-column: 3; }
  .site-nav { grid-column: 2; grid-row: 1; margin: 0; justify-content: center; gap: 12px; overflow: visible; }
  .site-nav a { padding: 0 6px; }
  .hero { padding: 40px 0 72px; }
  .hero-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: 64px; row-gap: 32px;
    grid-template-areas: "copy scope" "photo scope"; align-items: start;
  }
  .hero-copy { padding-top: 24px; }
  .hero h1 { font-size: 58px; }
  .hero-photo img { aspect-ratio: 3 / 2; }
  .plans-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .sched { padding: 12px 28px 8px; }
  .pv { font-size: 20px; }
  .contact-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; gap: 32px; }
  .foot-fine { grid-column: 1 / -1; }
}

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

/* One Call on the entry screen (Ethan, Oct 7 2026): on phones the action bar's Call is the one; the header number shows
   from 760px, where the bar is hidden. */
@media (max-width: 759.98px) { .head-tel { display: none; } }
