/* CleanDEX · Direction A "Calm premium".
   Pine (brand green) + one Leaf accent on Linen. Source Serif 4 for headlines, Onest for everything else.
   Motifs from the logo: the roof (gable frames, roof-topped closing band) and the 2×2 window pane.
   Rules: serif = content titles and big figures; sans = interface labels. Steps are always "01 02 03". */

:root {
  --pine: #14573a;
  --pine-deep: #0c3324;
  --ink: #14241b;
  --linen: #f2f6ef;
  --mist: #e1eadf;
  --leaf: #7cb342;
  --stone: #405146;
  --line: #d6e1d3;
  --field: #93a598;
  --white: #fff;
  --amber: #b7791f;
  --brick: #8f2f22;
  --brick-soft: #fbece8;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --roof: clamp(26px, 4vw, 56px);
  --header-h: 96px;
  --shadow: 0 1px 2px rgb(20 36 27 / 6%), 0 18px 40px -18px rgb(20 36 27 / 22%);
  --ring: 0 0 0 4px rgb(20 87 58 / 16%);
  --frame: 1px solid rgb(20 36 27 / 12%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  timeline-scope: --t-pricing, --t-enquiry, --t-closing, --t-hero, --t-foot;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--pine); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 430;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.35rem, 3.9vw, 3.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.95rem, 3.3vw, 2.85rem); margin-bottom: 20px; }
@media (min-width: 961px) { h1, h2 { font-weight: 500; } }
.cta-short { display: none; }
h3 { font-family: var(--sans); font-size: 1.1875rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
p { margin-bottom: 20px; }

:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--pine); color: var(--white); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 7vw, 112px); align-items: start; }
.narrow > .section-heading { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.narrow > :not(.section-heading) { grid-column: 2; }
.page-view[hidden] { display: none !important; }
#main { min-height: 65vh; outline: none; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tinted { background: var(--linen); }
.section-heading { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading > p:not(.eyebrow) { color: var(--stone); font-size: 1.1875rem; }

.muted, .small-note { color: var(--stone); }
.muted { color: var(--stone); }
.small-note { color: #394a40; font-size: 1rem; line-height: 1.55; margin-bottom: 14px; }

/* Small label with the window-pane mark (logo window, 2×2) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; color: var(--pine);
}
.eyebrow::before {
  content: ''; flex: none; width: 5px; height: 5px; margin: 0 7px 7px 0;
  background: var(--leaf); box-shadow: 7px 0 var(--leaf), 0 7px var(--leaf), 7px 7px var(--leaf);
}

/* ───────── Buttons ───────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--pine); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.button:hover { background: #0f4a31; }
.button:active { transform: translateY(1px); }
.button-light { background: var(--white); color: var(--pine); }
.button-light:hover { background: var(--mist); }
.button-quiet { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--pine); }
.button-quiet:hover { background: var(--mist); }
.button:focus-visible { outline-color: var(--leaf); outline-offset: 3px; }

.text-link, button.text-link {
  padding: 8px 0; border: 0; background: none; color: var(--pine); font-weight: 600; font-size: 1rem;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: var(--leaf);
}
.text-link:hover { text-decoration-color: var(--pine); }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgb(255 255 255 / 97%); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-content {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(16px, 2.4vw, 40px); min-height: var(--header-h);
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
}
/* logo: whole mark, tiny tagline strip cropped so the wordmark can be bigger */
.brand, button.brand {
  display: block; width: 90px; aspect-ratio: 720 / 601; overflow: hidden; padding: 0; border: 0; background: none; line-height: 0;
}
.brand img { width: 100%; height: auto; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.site-nav button, .menu-links button, .footer-content nav button {
  border: 0; background: none; font-family: var(--sans);
}
.site-nav button {
  padding: 10px 16px; border-radius: 999px; font-size: 1rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.site-nav button:hover { background: var(--linen); color: var(--pine); }
.site-nav button[aria-current='page'] { background: var(--linen); color: var(--pine); font-weight: 650; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap; padding: 8px 4px;
}
.header-phone svg { width: 22px; height: 22px; color: var(--pine); flex: none; }
.header-phone:hover { color: var(--pine); }
.header-actions .button { min-height: 46px; padding: 0 22px; font-size: 0.9375rem; white-space: nowrap; }

.language-picker { position: relative; display: block; }
.language-picker::before, .language-picker::after {
  content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none;
  background: var(--stone); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.language-picker::before { left: 14px; -webkit-mask-image: url(assets/icons/globe.svg); mask-image: url(assets/icons/globe.svg); background: var(--pine); }
.language-picker::after { right: 12px; width: 16px; height: 16px; margin-top: -8px; -webkit-mask-image: url(assets/icons/chevron.svg); mask-image: url(assets/icons/chevron.svg); }
.language-picker select {
  appearance: none; -webkit-appearance: none; height: 46px; min-width: 92px; padding: 0 34px 0 40px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
}
.language-picker select:hover { border-color: var(--pine); }

/* Mobile menu (details) */
.site-menu { display: none; position: relative; }
.menu-toggle {
  display: grid; place-items: center; width: 46px; height: 46px; list-style: none;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer;
}
.menu-toggle::-webkit-details-marker { display: none; }
.menu-toggle:hover { border-color: var(--pine); }
.menu-icon { position: relative; display: block; width: 18px; height: 12px; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 5px; }
.menu-icon span:nth-child(3) { top: 10px; }
.site-menu[open] .menu-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-menu[open] .menu-icon span:nth-child(2) { opacity: 0; }
.site-menu[open] .menu-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 29;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(20 36 27 / 30%);
}
.menu-panel::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgb(20 50 35 / 52%); pointer-events: none; }
.menu-links { display: grid; gap: 4px; padding: 14px var(--gutter) 64px; }
.menu-links button {
  display: flex; align-items: center; min-height: 54px; padding: 0 18px; border-radius: 16px;
  font-size: 1.125rem; font-weight: 600; text-align: left; color: var(--ink);
}
.menu-links button:hover { background: var(--linen); }
.menu-links button[aria-current='page'] { background: var(--mist); color: var(--pine); }
.menu-phone {
  display: flex; align-items: center; gap: 12px; min-height: 58px; margin-top: 10px; padding: 0 18px;
  border-radius: 16px; background: var(--linen); color: var(--pine); text-decoration: none; font-size: 1.125rem; font-weight: 650;
}
.menu-phone svg { width: 22px; height: 22px; flex: none; }

/* ───────── Hero (home, business, hotels) ───────── */
.hero { padding: clamp(24px, 3vw, 40px) 0 clamp(36px, 4vw, 44px); background: var(--white); overflow-x: clip; view-timeline: --t-hero block; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
/* Home: wider text column so the intro sets in three lines */
#view-home .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hero-trust { font-size: 1.0625rem; margin-top: -4px; }
#view-home .hero h1 { font-size: clamp(2.9rem, 5.8vw, 4.9rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero-description { font-size: 1.1875rem; line-height: 1.7; color: var(--stone); max-width: 34em; }
.hero-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-checks li { position: relative; padding-left: 34px; font-weight: 500; }
.hero-checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pine) center / 13px no-repeat url(assets/icons/check-white.svg);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 32px 0 20px; }
.hero-note { margin: 0; font-size: 0.9375rem; color: var(--stone); }
.hero-proof { margin-bottom: 4px; font-weight: 600; color: var(--pine); }

.hero-image {
  position: relative; --gable: clamp(40px, 5vw, 72px);
  /* house outline with rounded apex and shoulders (quadratic curves sampled as polygon points) */
  --gable-shape: polygon(0 calc(var(--gable) * 1.3), 0.4% calc(var(--gable) * 1.16), 1.5% calc(var(--gable) * 1.045), 3.4% calc(var(--gable) * 0.95), 6% calc(var(--gable) * 0.88),
    45% calc(var(--gable) * 0.1), 47.5% calc(var(--gable) * 0.0625), 50% calc(var(--gable) * 0.05), 52.5% calc(var(--gable) * 0.0625), 55% calc(var(--gable) * 0.1),
    94% calc(var(--gable) * 0.88), 96.6% calc(var(--gable) * 0.95), 98.5% calc(var(--gable) * 1.045), 99.6% calc(var(--gable) * 1.16), 100% calc(var(--gable) * 1.3), 100% 100%, 0 100%);
}
.hero-image::before {
  content: ''; position: absolute; inset: 0; transform: translate(20px, 20px); background: var(--mist); border-radius: 0 0 32px 32px;
  clip-path: var(--gable-shape);
}
/* the 1px pine drop-shadows trace the gable so the roofline stays visible even on a white photo top */
.hero-photo {
  position: relative; z-index: 1;
  filter: drop-shadow(1px 0 0 rgb(20 87 58 / 38%)) drop-shadow(-1px 0 0 rgb(20 87 58 / 38%)) drop-shadow(0 -1px 0 rgb(20 87 58 / 38%)) drop-shadow(0 1px 0 rgb(20 87 58 / 38%));
}
.hero-photo img {
  width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 0 0 32px 32px; background: var(--mist);
  clip-path: var(--gable-shape);
}
/* the hero asset is team.jpg pre-cropped to the woman (face, apron, glove, spray); plain cover + position works in every browser */
#view-home .hero-photo img { aspect-ratio: 1 / 1.18; object-position: 50% 30%; filter: sepia(0.08) saturate(1.04); }
/* linen veil: clear behind the cleaner's shoulder, ~38% at the right and top edges, so the open-plan office recedes (same gable shape as the photo) */
#view-home .hero-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; clip-path: var(--gable-shape); border-radius: 0 0 32px 32px;
  background: radial-gradient(ellipse 62% 58% at 34% 56%, rgb(242 246 239 / 0%) 0%, rgb(242 246 239 / 0%) 45%, rgb(242 246 239 / 52%) 100%);
}
.business-hero-image .hero-photo img { object-position: 72% 50%; }
.hotel-hero-image .hero-photo img { object-position: 40% 50%; }
.hero-price-badge, .image-caption, .hotel-partners-card { z-index: 2; }

.hero-price-badge {
  position: absolute; left: clamp(-40px, -2.8vw, -12px); bottom: 40px;
  display: grid; grid-template-columns: 52px auto; column-gap: 16px; align-items: center;
  padding: 18px 26px 18px 18px; background: var(--white); border-radius: 22px; box-shadow: var(--shadow);
  color: var(--ink); text-align: left;
}
.hero-price-badge .price-leaf {
  grid-row: 1 / 4; width: 52px; height: 52px; padding: 13px; border-radius: 50%;
  background: var(--mist); color: var(--pine);
}
.hero-price-badge .price-from { font-size: 0.875rem; font-weight: 600; color: var(--stone); line-height: 1.2; }
.hero-price-badge strong { font-family: var(--serif); font-weight: 450; font-size: 2.5rem; line-height: 1.05; color: var(--pine); letter-spacing: -0.02em; white-space: nowrap; }
.hero-price-badge > span:last-child { font-size: 0.875rem; color: var(--stone); line-height: 1.3; }

.image-caption {
  position: absolute; left: clamp(-40px, -2.8vw, -12px); bottom: 40px; max-width: 280px;
  padding: 16px 22px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--pine);
}

.information-card.hotel-partners-card {
  position: absolute; left: clamp(-40px, -2.8vw, -12px); bottom: 40px; max-width: 280px;
  padding: 16px 22px; background: var(--white); border: 0; color: var(--pine); border-radius: 18px; box-shadow: var(--shadow);
}
.information-card.hotel-partners-card h2 { margin: 0; font-family: var(--serif); font-weight: 450; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--pine); text-wrap: pretty; }

/* ───────── Benefit strips ───────── */
.benefits { border-block: 1px solid var(--line); background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-item, .benefits-grid > p {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 26px 16px;
  font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.benefit-item span { text-wrap: balance; }
.benefit-item + .benefit-item, .benefits-grid > p + p { border-left: 1px solid var(--line); }
.benefit-item:first-child, .benefits-grid > p:first-child { padding-left: 0; }
.benefit-item svg {
  flex: none; width: 28px; height: 28px; fill: none; stroke: var(--pine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.benefits-grid > p::before {
  content: ''; flex: none; width: 5px; height: 5px; margin: 0 7px 7px 0;
  background: var(--leaf); box-shadow: 7px 0 var(--leaf), 0 7px var(--leaf), 7px 7px var(--leaf);
}

/* ───────── Pricing / booking ───────── */
#pricing { background: var(--linen); counter-reset: step; view-timeline: --t-pricing block; padding-bottom: clamp(40px, 5vw, 64px); }
.pricing-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px);
  align-items: center; margin-bottom: clamp(36px, 5vw, 56px);
}
.pricing-intro h2 { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 14px; }
.pricing-intro > p { grid-column: 1; grid-row: 2; align-self: start; margin: 0; color: var(--stone); font-size: 1.1875rem; max-width: 30em; }
.pricing-promise {
  grid-column: 2; grid-row: 1 / span 2; padding: 28px 32px 28px 36px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--leaf);
}
.pricing-promise h3 { font-family: var(--serif); font-weight: 450; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; text-wrap: balance; }
.pricing-promise p { margin: 0; color: var(--stone); font-size: 1rem; line-height: 1.65; }

/* left card = steps 1 date · 2 time · 3 hours; right card = what you pay */
.pricing-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px; align-items: stretch;
}
.booking-card {
  padding: clamp(22px, 3vw, 36px); border: 1.5px solid var(--line); border-radius: 28px; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
/* steps 1–2 (date, time) are the part an error points at: a 2px brick frame around just those */
.date-steps { padding: 12px; margin: -14px -14px -10px; border: 2px solid transparent; border-radius: 20px; transition: border-color 0.2s, background-color 0.2s; }
.pricing-grid:has(#checkout-selection-error:not(:empty)):not(:has(.calendar-time)) .date-steps { border-color: var(--brick); background: rgb(143 47 34 / 4%); }
.pricing-grid:has(#checkout-selection-error:not(:empty)):not(:has(.calendar-time)) :is(#cleaning-calendar h3, .time-step-label)::before { background: var(--brick); color: var(--white); }

#cleaning-calendar h3, .calendar-time label, .hours-label, .time-step-label {
  display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
#cleaning-calendar h3::before, .calendar-time label::before, .hours-label::before, .time-step-label::before {
  counter-increment: step; content: counter(step);
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pine); color: var(--white); font-size: 0.9375rem; font-weight: 600;
}
#cleaning-calendar h3 { margin-bottom: 22px; }

.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.calendar-header strong { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; letter-spacing: -0.01em; }
.calendar-header strong::first-letter { text-transform: uppercase; }
.cleaning-calendar button { border: 0; font-weight: 500; }
.calendar-header button {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0 0 3px; border-radius: 50%;
  background: var(--pine); color: var(--white); font-size: 1.6rem; line-height: 1;
  transition: background-color 0.15s;
}
.calendar-header button:hover:not(:disabled) { background: var(--pine-deep); }
.calendar-header button:disabled { background: var(--mist); color: #7f8f85; cursor: default; }
/* few bookable days left this month (fewer than three enabled): spotlight the next-month arrow */
.cleaning-calendar:has(.calendar-grid:not(:has(button:not(:disabled) ~ button:not(:disabled) ~ button:not(:disabled)))) .calendar-next {
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px rgb(124 179 66 / 70%);
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekday { padding: 8px 0; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--stone); }
.calendar-grid button {
  position: relative; min-height: 50px; padding: 0; border-radius: 14px;
  background: var(--white); border: 1.5px solid #9db8a6; color: var(--ink); font-size: 1rem; font-weight: 600;
  transition: border-color 0.15s, background-color 0.15s;
}
.calendar-grid button:not(:disabled):hover { border-color: var(--leaf); background: var(--mist); }
/* unavailable days are quiet dots, so the few open days read as the only choices */
.calendar-grid button:disabled { border-color: transparent; background: transparent; color: transparent; cursor: default; }
.calendar-grid button:disabled::before { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #c3cfc6; }
.calendar-grid button[aria-current='date']::after {
  content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--leaf);
}
.calendar-grid button[aria-pressed='true'] { background: var(--pine); border-color: var(--pine); color: var(--white); font-weight: 650; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--leaf); }
.calendar-grid button[aria-pressed='true']:hover { background: #0f4a31; }
/* the generated hint ("date availability is confirmed by the team") is read first: pulled up under the step title */
.cleaning-calendar { display: flex; flex-direction: column; }
#cleaning-calendar h3 { order: -3; margin-bottom: 8px; }
.cleaning-calendar > .small-note { order: -2; margin: 0 0 18px 42px; }
.calendar-legend { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--pine-deep); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.calendar-legend::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

.calendar-time, .time-step, .hours-step { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.pricing-grid:has(#checkout-selection-error:not(:empty)):not(:has(.calendar-time)) .hours-step { border-top-color: transparent; }
.calendar-time label { margin-bottom: 12px; }
.calendar-time select, .b2b-form select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: 0 44px 0 18px;
  border: 1.5px solid var(--field); border-radius: 14px; font-size: 1rem; color: var(--ink);
  background: var(--white) url(assets/icons/chevron-stone.svg) right 14px center / 20px no-repeat;
}
.calendar-summary {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 14px 18px; border-radius: 14px;
  background: var(--mist); color: var(--pine-deep); font-size: 1rem; font-weight: 600; line-height: 1.4;
}
.calendar-summary::before {
  content: ''; flex: none; width: 20px; height: 20px; background: var(--pine);
  -webkit-mask: url(assets/icons/check.svg) center / contain no-repeat; mask: url(assets/icons/check.svg) center / contain no-repeat;
}
.calendar-time p:not(.calendar-summary) { margin: 12px 0 0; font-size: 0.9375rem; color: var(--stone); }

/* step 2 before a date exists: a real, disabled step row (no fake select) */
.time-step-label { color: var(--stone); }
.time-step-label::before { background: var(--mist); color: var(--stone); }
.time-step-hint { margin: 6px 0 0 42px; font-size: 0.9375rem; color: var(--stone); }
.pricing-grid:has(#checkout-selection-error:not(:empty)):not(:has(.calendar-time)) .time-step-hint { color: var(--brick); font-weight: 500; }
.booking-card:has(.calendar-time) .time-step { display: none; }

.hours-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 14px; }
.hours-row .small-note { flex: 1 1 200px; margin: 0; }
.hours-control {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px; border: 1.5px solid var(--field); border-radius: 999px; background: var(--white);
}
.hours-control button {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0 0 3px; border: 0; border-radius: 50%;
  background: var(--pine); color: var(--white); font-size: 1.6rem; line-height: 1; transition: background-color 0.15s;
}
.hours-control button:hover:not(:disabled) { background: var(--pine-deep); }
.hours-control button:disabled { background: var(--mist); color: #7f8f85; cursor: default; }
.hours-control input {
  width: 84px; height: 52px; border: 0; background: transparent; text-align: center;
  font-family: var(--serif); font-size: 2rem; font-weight: 450; color: var(--ink); -moz-appearance: textfield;
}
.hours-control input::-webkit-outer-spin-button, .hours-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hours-control input:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 12px; }
.calculator-error { margin: 12px 0 0; font-size: 0.9375rem; color: var(--brick); }
#hours-error:not([hidden]) { font-weight: 600; }

.price-card {
  display: flex; flex-direction: column; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 40px); border-radius: 28px;
  background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.price-card .eyebrow { margin-bottom: 8px; }
.hourly-price {
  display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: var(--serif); font-weight: 450;
  font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--pine);
}
.hourly-price span { font-family: var(--sans); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--stone); }
.price-card .muted { margin: 6px 0 26px; font-size: 0.9375rem; }

.price-breakdown { border-top: 1px solid var(--line); }
.price-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--stone); font-size: 1rem; }
.price-breakdown strong { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-breakdown .price-total { padding: 18px 20px; margin-top: 14px; border: 0; border-radius: 18px; background: var(--mist); color: var(--pine-deep); font-weight: 600; font-size: 1.0625rem; }
.price-breakdown .price-total strong { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; line-height: 1; color: var(--pine); letter-spacing: -0.02em; }
/* notes and error share one grid cell: the error replaces the notes in place, so the card never changes height */
.price-feedback { display: grid; margin-top: 14px; }
.price-feedback > * { grid-area: 1 / 1; }
.price-notes .small-note { margin: 0; }
.price-notes .small-note + .small-note { margin-top: 4px; }
#checkout-selection-error {
  display: flex; gap: 12px; align-items: center; align-self: start; margin: 0; padding: 10px 16px; border-radius: 14px;
  border: 1px solid transparent; font-size: 0.9375rem; font-weight: 500; line-height: 1.45;
}
#checkout-selection-error:empty,
.pricing-grid:has(#cleaning-start-time option:checked:not([value=''])) #checkout-selection-error { visibility: hidden; }
.pricing-grid:not(:has(#cleaning-start-time option:checked:not([value='']))) .price-feedback:has(#checkout-selection-error:not(:empty)) .price-notes { visibility: hidden; }
#checkout-selection-error:not(:empty) { background: var(--brick-soft); border-color: #e8b9b0; color: var(--brick); }
#checkout-selection-error:not(:empty)::before {
  content: ''; flex: none; width: 22px; height: 22px; background: var(--brick);
  -webkit-mask: url(assets/icons/alert.svg) center / contain no-repeat; mask: url(assets/icons/alert.svg) center / contain no-repeat;
}
.calculator-book { width: 100%; min-height: 60px; margin-top: 18px; font-size: 1.0625rem; }

/* ───────── About (home) ───────── */
.about-section { background: var(--white); }
.about-section > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.about-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about-photo { width: 100%; aspect-ratio: 5 / 4; margin-top: 32px; object-fit: cover; object-position: 50% 40%; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; }
.about-benefits { display: grid; }
.about-benefit {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; padding: 26px 0;
  border-top: 1px solid var(--line);
}
.about-benefit:last-child { border-bottom: 1px solid var(--line); }
.about-benefit::before {
  content: ''; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%;
  background: var(--mist) center / 26px no-repeat;
}
.about-benefit:nth-child(1)::before { background-image: url(assets/icons/sparkle-pine.svg); }
.about-benefit:nth-child(2)::before { background-image: url(assets/icons/people-pine.svg); }
.about-benefit:nth-child(3)::before { background-image: url(assets/icons/shield-pine.svg); }
.about-benefit:nth-child(4)::before { background-image: url(assets/icons/leaf-pine.svg); }
.about-benefit:nth-child(5)::before { background-image: url(assets/icons/clock-pine.svg); }
.about-benefit h3, .b2b-three:not(.b2b-steps) h3 { font-family: var(--serif); font-weight: 450; font-size: 1.4rem; letter-spacing: -0.01em; }
.about-benefit h3 { margin: 2px 0 4px; }
.about-benefit p { margin: 0; color: var(--stone); font-size: 1rem; line-height: 1.6; }

/* ───────── Before / after ───────── */
.review-section { background: var(--linen); padding-bottom: clamp(40px, 5vw, 64px); }
.reviews-section { padding-top: clamp(40px, 5vw, 64px); }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: last baseline; }
.review-layout h2 { grid-column: 1; grid-row: 1; margin: 0 0 clamp(28px, 4vw, 44px); }
.compare-hint { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; margin: 0 0 clamp(28px, 4vw, 44px); color: var(--stone); font-size: 1.1875rem; max-width: 24em; }
.comparison-figure { grid-column: 1 / -1; grid-row: 2; position: relative; margin: 0; }
.comparison { position: relative; aspect-ratio: 16 / 7; width: 100%; overflow: hidden; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; box-shadow: 0 0 0 6px var(--linen); }
.comparison-after, .comparison-before { position: absolute; inset: 0; background-image: url(assets/cleaning-comparison.png); background-size: 200% auto; background-repeat: no-repeat; filter: sepia(0.2) saturate(0.85) brightness(1.03); }
.comparison-after { background-position: right center; }
.comparison-before { background-position: left center; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.comparison-divider { position: absolute; left: var(--reveal); top: 0; bottom: 0; width: 3px; background: var(--white); color: transparent; transform: translateX(-50%); font-size: 0; }
.comparison-divider::after {
  content: '‹ ›'; font-size: 1rem; letter-spacing: 2px; color: var(--pine); display: grid; place-items: center; position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px; transform: translate(-50%, -50%); background: var(--white); border-radius: 50%; font-weight: 700; box-shadow: var(--shadow);
}
.comparison-label {
  position: absolute; top: 18px; padding: 6px 16px; border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: 0.9375rem; font-weight: 600; box-shadow: 0 2px 8px rgb(20 36 27 / 14%);
}
.before-label { left: 18px; }
.after-label { right: 18px; }
/* the range is the real control: stretched invisibly over the image so the picture itself drags */
#comparison-range {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 7; height: auto; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.comparison-figure:has(#comparison-range:focus-visible) .comparison { outline: 3px solid var(--pine); outline-offset: 4px; }
.comparison-figure figcaption { margin-top: 14px; color: var(--stone); font-size: 0.9375rem; }

/* ───────── Reviews ───────── */
.reviews-section { background: var(--white); }
.reviews-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 7vw, 112px); align-content: start; }
.reviews-card > h2, .reviews-card > p, .reviews-card > .button, .reviews-card > .small-note { grid-column: 1; }
.reviews-card > p:not(.small-note) { color: var(--stone); font-size: 1.125rem; }
.reviews-card > .button { justify-self: start; }
.reviews-card > .small-note { margin: 14px 0 0; }
#public-reviews { grid-column: 2; grid-row: 1 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
#public-reviews > p {
  margin: 0; padding: 36px 32px; border: 1.5px dashed var(--field); border-radius: 24px; background: var(--linen);
  color: var(--stone); text-align: center;
}
.published-review {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px;
  padding: 24px 28px; border: 1.5px solid var(--line); border-radius: 24px; background: var(--white);
}
.published-review > :not(h4):not(.published-stars) { grid-column: 1 / -1; }
.published-review h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.published-review p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 1rem; line-height: 1.6; }
.published-review img { max-height: 220px; width: auto; margin-top: 14px; border-radius: 14px; }
.published-stars { margin: 0 0 8px !important; color: var(--amber); letter-spacing: 3px; font-size: 1.05rem; grid-column: 2; grid-row: 1; }
.published-review h4 { grid-row: 1; margin-bottom: 8px; }

/* ───────── Closing band (roof-topped) ───────── */
.closing-section {
  position: relative; z-index: 1; margin-top: calc(-1 * var(--roof));
  padding: calc(var(--roof) + clamp(56px, 7vw, 88px)) 0 clamp(64px, 8vw, 104px);
  background: var(--pine); color: var(--white); view-timeline: --t-closing block;
  /* roof: one smooth symmetric crest, y = 0.08 + 0.92·|2x−1|^1.7 (in units of --roof), centred on the band */
  clip-path: polygon(0 var(--roof), 4% calc(var(--roof) * 0.878), 8% calc(var(--roof) * 0.764), 12% calc(var(--roof) * 0.657), 16% calc(var(--roof) * 0.558), 20% calc(var(--roof) * 0.466), 24% calc(var(--roof) * 0.383), 28% calc(var(--roof) * 0.308), 32% calc(var(--roof) * 0.242), 36% calc(var(--roof) * 0.186), 40% calc(var(--roof) * 0.14), 44% calc(var(--roof) * 0.105), 48% calc(var(--roof) * 0.084), 50% calc(var(--roof) * 0.08), 52% calc(var(--roof) * 0.084), 56% calc(var(--roof) * 0.105), 60% calc(var(--roof) * 0.14), 64% calc(var(--roof) * 0.186), 68% calc(var(--roof) * 0.242), 72% calc(var(--roof) * 0.308), 76% calc(var(--roof) * 0.383), 80% calc(var(--roof) * 0.466), 84% calc(var(--roof) * 0.558), 88% calc(var(--roof) * 0.657), 92% calc(var(--roof) * 0.764), 96% calc(var(--roof) * 0.878), 100% var(--roof), 100% 100%, 0 100%);
}
.closing-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-content > div { max-width: 760px; }
.closing-content h2 { margin-bottom: 14px; color: var(--white); }
.closing-content p { margin: 0; font-size: 1.125rem; color: rgb(255 255 255 / 88%); }
.closing-content .eyebrow { color: #cfe6b4; margin-bottom: 18px; }
.closing-content p.eyebrow, .b2b-enquiry-grid > div > p.eyebrow { font-size: 0.9375rem; }
/* on Home the band is calm sage (the Business invitation is not the loudest thing a home visitor sees); Business and Hotels keep the pine band */
#view-home .closing-section { background: var(--mist); color: var(--ink); }
#view-home .closing-content h2 { color: var(--ink); }
#view-home .closing-content p { color: var(--stone); }
#view-home .closing-content .eyebrow { color: var(--pine); }
#view-home .closing-content .button { background: var(--pine); color: var(--white); }
#view-home .closing-content .button:hover { background: #0f4a31; }
.closing-content .button { flex: none; min-height: 58px; padding: 0 36px; }
.closing-content .button:focus-visible { outline-color: var(--white); }
.page-view > section:has(+ .closing-section) { padding-bottom: calc(var(--roof) + clamp(40px, 5vw, 72px)); }
/* the first eyebrow sits at the same height on every view */
#services, .contact-section { padding-top: 51px; }
.contact-section { padding-top: 44px; }
#view-business .hero { padding-bottom: 86px; }

/* ───────── Services ───────── */
#services .section-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
#services .section-heading .eyebrow { grid-column: 1 / -1; justify-self: start; }
#services .section-heading h1 { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
#services .section-heading > p:not(.eyebrow) { grid-column: 2; grid-row: 2; margin: 0 0 24px; }
#services .section-heading .button { grid-column: 2; grid-row: 3; justify-self: start; }
#services .cards-grid { --img-h: clamp(280px, 32vw, 430px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.service-card { display: grid; gap: 22px; }
.service-card > img { width: 100%; height: var(--img-h); object-fit: cover; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; }
.service-card:nth-child(1) > img { object-position: 42% 50%; }
/* the Services row uses interior crops: living room, bedside, detail of a cleaner's hand on a wooden table */
.service-card:nth-child(2) > img { margin-top: 28px; height: calc(var(--img-h) - 28px); object-position: 60% 50%; }
.service-card:nth-child(3) > img { object-position: 50% 50%; }
/* one warm sage-linen grade for the whole row */
#services .service-card > img { filter: saturate(0.8) sepia(0.12) brightness(1.02) contrast(0.97); }
.card-content h3 { font-family: var(--serif); font-weight: 450; font-size: 1.6rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.card-content p { margin: 0; color: var(--stone); }
#services { padding-bottom: clamp(48px, 6vw, 88px); }
#view-services > section:last-of-type { padding-bottom: clamp(32px, 4vw, 56px); }

.service-scope { background: var(--linen); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary, .service-scope-list summary {
  position: relative; display: flex; align-items: center; min-height: 68px; padding: 14px 64px 14px 4px; list-style: none;
  font-size: 1.1875rem; font-weight: 600; line-height: 1.35; cursor: pointer; transition: color 0.15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--pine); }
.faq-list summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  background: var(--mist) url(assets/icons/plus-pine.svg) center / 18px no-repeat; transition: transform 0.2s, background-color 0.2s;
}
.faq-list details[open] > summary::after { transform: rotate(45deg); background-color: var(--pine); background-image: url(assets/icons/plus-white.svg); }
.faq-list details > p { margin: 0 64px 22px 4px; color: var(--stone); max-width: 40em; }
.service-scope-list ul { margin: 0 0 22px; padding: 0 4px; list-style: none; columns: 2; column-gap: 40px; }
.service-scope-list li { position: relative; break-inside: avoid; padding: 5px 0 5px 28px; color: var(--stone); font-size: 1rem; line-height: 1.5; }
.service-scope-list li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; background: var(--pine);
  -webkit-mask: url(assets/icons/check.svg) center / contain no-repeat; mask: url(assets/icons/check.svg) center / contain no-repeat;
}
.service-scope .section-heading strong { color: var(--ink); font-weight: 600; }
.service-scope-note { margin-top: 36px; padding: 28px 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.service-scope-note p { margin-bottom: 12px; color: var(--stone); }
.service-scope-note p strong { color: var(--pine); font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.01em; }
.service-scope-note .button { margin-top: 12px; }

/* steps: same node (01 02 03) on Services and B2B */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.step, .b2b-steps article { position: relative; padding-top: 38px; border-top: 1.5px solid var(--line); }
.step { counter-increment: s; }
.step::before, .b2b-step-number {
  position: absolute; top: -22px; left: 0; display: grid; place-items: center; width: 44px; height: 44px; margin: 0;
  border-radius: 50%; background: var(--white); border: 1.5px solid var(--pine); color: var(--pine); font-weight: 600; font-size: 0.9375rem;
}
.step::before { content: counter(s, decimal-leading-zero); }
.step h3, .b2b-steps h3 { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--stone); max-width: 28em; }

/* ───────── Business / hotels ───────── */
.business-services { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.business-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; }
.business-service-list article { padding: 26px 0; border-top: 1px solid var(--line); }
.business-service-list article:first-child { padding-top: 0; border-top: 0; }
.business-service-list article:last-child { padding-bottom: 0; }
.business-service-list h3 { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; letter-spacing: -0.01em; }
.business-service-list p { margin: 0; color: var(--stone); }

.b2b-gallery-section { padding-top: 0; }
.b2b-gallery { --img-h: clamp(260px, 30vw, 400px); display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.b2b-gallery figure { margin: 0; }
.b2b-gallery img { width: 100%; height: var(--img-h); object-fit: cover; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; }
.b2b-gallery figure:nth-child(2) img { margin-top: 40px; height: calc(var(--img-h) - 40px); }
#view-hotels .b2b-gallery figure:nth-child(2) img { margin-top: 0; height: var(--img-h); }
.b2b-gallery figcaption { padding: 16px 0 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.b2b-gallery-section .small-note { margin: 28px 0 0; }

.b2b-perks { background: var(--linen); }
.b2b-perks .eyebrow { display: none; }
.b2b-perks h2, .b2b-centered { max-width: 16em; margin-bottom: clamp(32px, 4vw, 52px); text-align: left; }
.b2b-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.b2b-three article { padding: 0; }
.b2b-three.b2b-steps article { padding-top: 38px; }
.b2b-three h3 { margin-bottom: 8px; }
.b2b-three p { margin: 0; color: var(--stone); }
.b2b-symbol {
  display: block; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; font-size: 0; color: transparent;
  background: var(--white) center / 26px no-repeat;
}
.b2b-three article:nth-child(1) .b2b-symbol { background-image: url(assets/icons/people-pine.svg); }
.b2b-three article:nth-child(2) .b2b-symbol { background-image: url(assets/icons/clock-pine.svg); }
.b2b-three article:nth-child(3) .b2b-symbol { background-image: url(assets/icons/sparkle-pine.svg); }

.b2b-enquiry { background: var(--linen); view-timeline: --t-enquiry block; }
.b2b-enquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.b2b-enquiry-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.b2b-enquiry-grid > div > p { color: var(--stone); font-size: 1.125rem; }
.b2b-enquiry-grid > div > p.eyebrow { color: var(--pine); margin-bottom: 20px; }
.b2b-enquiry-grid > div > strong { display: block; margin-top: 32px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--pine); }
.b2b-enquiry-grid > div > strong + p { margin-bottom: 8px; }
.b2b-enquiry-grid > div > a {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 2rem; letter-spacing: -0.01em; color: var(--pine); text-decoration: none;
}
.b2b-enquiry-grid > div > a::before {
  content: ''; width: 26px; height: 26px; background: var(--pine);
  -webkit-mask: url(assets/icons/phone.svg) center / contain no-repeat; mask: url(assets/icons/phone.svg) center / contain no-repeat;
}
.b2b-enquiry-grid > div > a:hover { text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.b2b-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-items: end; min-width: 0;
  padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.b2b-form > h3 { grid-column: 1 / -1; margin: 0 0 4px; font-family: var(--serif); font-weight: 450; font-size: 1.7rem; letter-spacing: -0.01em; }
.b2b-form label { display: grid; align-content: start; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.b2b-form label:has(textarea:not(.b2b-copy-output)), .b2b-form label:has(select[name='frequency']) { grid-column: 1 / -1; }
.b2b-form input, .b2b-form textarea {
  width: 100%; min-width: 0; min-height: 54px; padding: 0 18px; border: 1.5px solid var(--field); border-radius: 14px; background: var(--white);
  font-size: 1rem; font-weight: 400; color: var(--ink);
}
.b2b-form textarea { padding: 14px 18px; resize: vertical; min-height: 120px; }
.b2b-form select { font-weight: 400; }
.b2b-form input:hover, .b2b-form select:hover, .b2b-form textarea:hover { border-color: var(--stone); }
.b2b-form .button { grid-column: 1 / -1; min-height: 58px; }
.b2b-form .small-note { grid-column: 1 / -1; margin: 0; }
.b2b-status { grid-column: 1 / -1; margin: 0; }
.b2b-status:not(:empty) {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--mist); color: var(--pine-deep); font-weight: 600; font-size: 0.9375rem; line-height: 1.45;
}
.b2b-status:not(:empty)::before {
  content: ''; flex: none; width: 24px; height: 24px; background: var(--pine);
  -webkit-mask: url(assets/icons/check.svg) center / contain no-repeat; mask: url(assets/icons/check.svg) center / contain no-repeat;
}
.b2b-form .b2b-copy-output {
  grid-column: 1 / -1; width: 100%; min-height: 0; max-height: 280px; padding: 18px 20px; resize: none; border: 1.5px dashed var(--field); border-radius: 16px; background: var(--linen);
  field-sizing: content; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.875rem; line-height: 1.6; color: var(--ink);
}

/* one rule for optional fields everywhere: no asterisks; optional ones carry the tag */
.opt { font-style: normal; font-weight: 500; font-size: 0.875rem; letter-spacing: 0.01em; color: var(--stone); }
.b2b-form label:has(> .opt), #review-form label:has(> .opt), #checkout-form label:has(> .opt) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 8px;
}
.b2b-form label:has(> .opt) > :is(input, select, textarea, .file-drop-box),
#review-form label:has(> .opt) > :is(input, select, textarea, .file-drop-box),
#checkout-form label:has(> .opt) > :is(input, select, textarea, .file-drop-box) { grid-column: 1 / -1; }

/* ───────── Contact ───────── */
.contact-section { background: var(--linen); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.contact-intro { display: flex; flex-direction: column; }
.contact-intro .section-heading { margin-bottom: 36px; }
/* the photo fills the rest of the column, so it ends on the same line as the contact card */
.contact-photo { flex: 1 1 0; min-height: 260px; width: 100%; object-fit: cover; border-radius: 28px; background: var(--mist); outline: var(--frame); outline-offset: -1px; }
@media (max-width: 960px) { .contact-photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; } }
.information-card { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.information-card > h2 { font-size: 1.1875rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; color: var(--stone); }
.contact-phone {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--pine); text-decoration: none;
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap;
}
.contact-phone::before {
  content: ''; flex: none; width: 0.8em; height: 0.8em; background: var(--pine);
  -webkit-mask: url(assets/icons/phone.svg) center / contain no-repeat; mask: url(assets/icons/phone.svg) center / contain no-repeat;
}
.contact-phone:hover { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.company-details { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.company-details h3 { margin: 0 0 10px; font-size: 1rem; color: var(--stone); font-weight: 600; }
.company-details p { margin-bottom: 6px; }
.company-details address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.company-identifiers { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; color: var(--stone); font-size: 0.9375rem; }
.company-identifiers span { white-space: nowrap; }
.information-card > .small-note { margin: 24px 0 0; font-size: 0.875rem; color: #54655a; }

/* ───────── Footer ───────── */
.site-footer { background: var(--linen); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 112px; font-size: 1rem; }
.site-footer .footer-content { display: grid; grid-template-columns: 1.1fr 0.8fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.site-footer .footer-content > * { min-width: 0; }
.footer-brand, button.footer-brand { display: block; width: 132px; aspect-ratio: 720 / 601; overflow: hidden; padding: 0; border: 0; background: none; line-height: 0; }
.footer-brand img { width: 100%; height: auto; }
.footer-content p { margin: 8px 0 0; color: var(--stone); }
.footer-content nav { display: grid; justify-items: start; gap: 2px; }
.footer-content nav button { padding: 6px 0; font-size: 1rem; font-weight: 500; color: var(--ink); text-align: left; }
.footer-content nav button:hover { color: var(--pine); text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.footer-contact p { margin: 0 0 6px; font-weight: 600; color: var(--stone); }
.footer-contact a { display: inline-block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; text-decoration: none; color: var(--pine); white-space: nowrap; }
.footer-company { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.footer-company h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; color: var(--stone); }
.footer-company p { margin: 0 0 4px; color: var(--ink); }
.footer-company address { margin: 0 0 10px; line-height: 1.65; color: var(--ink); }
.footer-company .company-identifiers { flex-direction: column; gap: 2px; }

/* ───────── Dialogs ───────── */
dialog { padding: 0; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -20px rgb(12 51 36 / 45%); }
dialog::backdrop { background: rgb(12 51 36 / 48%); backdrop-filter: blur(3px); }
#review-dialog, #checkout-dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: hidden; }
#review-dialog[open], #checkout-dialog[open] { display: flex; flex-direction: column; }
.dialog-close {
  position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 2px;
  border: 0; border-radius: 50%; background: var(--linen); color: var(--ink); font-size: 1.6rem; line-height: 1; transition: background-color 0.15s;
}
.dialog-close:hover { background: var(--mist); }
#review-dialog h2, #checkout-title { flex: none; margin: 0; padding: 26px 76px 6px 32px; font-size: 2rem; }
.checkout-summary {
  flex: none; margin: 12px 32px 4px; padding: 16px 18px 16px 20px; border-radius: 16px; background: var(--linen); border-left: 5px solid var(--pine);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.45; color: var(--pine-deep); white-space: pre-line;
}
.checkout-summary:empty { display: none; }
#review-form, #checkout-form { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 32px 0; }
#review-form > label, .review-name-grid label, #checkout-form > label, .checkout-name-grid label {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 0.9375rem; font-weight: 600;
}
#review-form input:not([type='radio']):not([type='checkbox']):not([type='file']), #review-form textarea,
#checkout-form input:not([type='checkbox']), #checkout-form textarea {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 14px; background: var(--white);
  font-size: 1rem; font-weight: 400; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
#review-form textarea, #checkout-form textarea { padding: 14px 16px; resize: vertical; min-height: 84px; }
#review-form textarea { height: 92px; }
#checkout-form textarea { height: 64px; min-height: 64px; }
#checkout-form > label, .checkout-name-grid label { margin-bottom: 12px; }
#review-form input:focus, #review-form textarea:focus, #checkout-form input:focus, #checkout-form textarea:focus,
.b2b-form input:focus, .b2b-form select:focus, .b2b-form textarea:focus, .calendar-time select:focus {
  outline: none; border-color: var(--pine); box-shadow: var(--ring);
}
.review-name-grid, .checkout-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
#review-form .small-note, #checkout-form .small-note { margin: 0 0 16px; }

.rating-field { border: 0; margin: 0 0 20px; padding: 0; }
.rating-field legend { padding: 0; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; }
.rating-stars { display: flex; gap: 2px; margin-left: -4px; }
.rating-stars label { position: relative; display: block; margin: 0; cursor: pointer; }
.rating-stars input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating-stars span { display: grid; place-items: center; width: 46px; height: 46px; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px #5f7266; transition: color 0.12s, -webkit-text-stroke-color 0.12s; }
.rating-stars:hover span, .rating-stars .star-selected span { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.rating-stars label:hover ~ label span { color: transparent; -webkit-text-stroke-color: #5f7266; }
.rating-stars:not(:hover) .star-selected span { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.rating-stars label:has(input:focus-visible) { outline: 3px solid var(--pine); outline-offset: 0; border-radius: 12px; }
/* one-word rating next to the stars: selected, hovered or focused (words per language, no extra markup) */
:root { --r1: 'Погано'; --r2: 'Так собі'; --r3: 'Нормально'; --r4: 'Добре'; --r5: 'Чудово'; }
html[lang='sk'] { --r1: 'Zlé'; --r2: 'Slabé'; --r3: 'Priemerné'; --r4: 'Dobré'; --r5: 'Výborné'; }
html[lang='ru'] { --r1: 'Плохо'; --r2: 'Так себе'; --r3: 'Нормально'; --r4: 'Хорошо'; --r5: 'Отлично'; }
html[lang='en'] { --r1: 'Poor'; --r2: 'Fair'; --r3: 'Okay'; --r4: 'Good'; --r5: 'Excellent'; }
.rating-stars { flex-wrap: wrap; align-items: center; }
.rating-stars::after { content: ''; margin-left: 8px; font-size: 0.9375rem; font-weight: 650; color: #7a5416; }
.rating-stars:has(input[value='1']:checked)::after { content: var(--r1); }
.rating-stars:has(input[value='2']:checked)::after { content: var(--r2); }
.rating-stars:has(input[value='3']:checked)::after { content: var(--r3); }
.rating-stars:has(input[value='4']:checked)::after { content: var(--r4); }
.rating-stars:has(input[value='5']:checked)::after { content: var(--r5); }
.rating-stars:has(label:nth-child(1):is(:hover, :focus-within))::after { content: var(--r1); }
.rating-stars:has(label:nth-child(2):is(:hover, :focus-within))::after { content: var(--r2); }
.rating-stars:has(label:nth-child(3):is(:hover, :focus-within))::after { content: var(--r3); }
.rating-stars:has(label:nth-child(4):is(:hover, :focus-within))::after { content: var(--r4); }
.rating-stars:has(label:nth-child(5):is(:hover, :focus-within))::after { content: var(--r5); }

.file-drop { position: relative; }
.file-drop input[type='file'] { position: absolute; left: 0; bottom: 0; width: 100%; height: 64px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.file-drop-box {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; border: 2px dashed var(--field); border-radius: 16px;
  background: var(--linen); color: var(--pine); font-weight: 600; transition: background-color 0.15s, border-color 0.15s;
}
.file-drop-box i { width: 24px; height: 24px; background: var(--pine); -webkit-mask: url(assets/icons/photo.svg) center / contain no-repeat; mask: url(assets/icons/photo.svg) center / contain no-repeat; }
.file-drop:hover .file-drop-box { background: var(--mist); border-color: var(--pine); }
.file-drop:has(input:focus-visible) .file-drop-box { outline: 3px solid var(--pine); outline-offset: 3px; }
#review-photo-preview { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
#review-photo-preview img { max-height: 120px; width: auto; border-radius: 12px; }
#remove-review-photo { padding: 8px 0; border: 0; background: none; color: var(--pine); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; }

.dialog-footer {
  position: sticky; bottom: 0; z-index: 2; margin: 20px -32px 0; padding: 16px 32px 24px;
  background: var(--white); border-top: 1px solid var(--line);
}
.dialog-footer { box-shadow: 0 -10px 18px -8px rgb(20 36 27 / 16%); }
.dialog-footer .button { width: 100%; min-height: 58px; }
#review-form .review-consent, #checkout-form .checkout-consent {
  display: flex; flex-direction: row; align-items: flex-start; gap: 12px; margin: 0 0 14px; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: var(--stone);
}
.review-consent input, .checkout-consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--pine); }
#submit-review:disabled, #submit-checkout:disabled { opacity: 0.6; cursor: wait; }
#review-status, #checkout-status { margin: 10px 0 0; color: var(--pine); font-weight: 600; font-size: 0.9375rem; }
#review-status:empty, #checkout-status:empty { display: none; }

#checkout-success { flex: 1 1 auto; overflow-y: auto; padding: 24px 40px 44px; text-align: center; }
.success-check {
  display: grid; place-items: center; width: 88px; height: 88px; margin: 8px auto 28px; border-radius: 50%; font-size: 0;
  background: var(--pine) center / 40px no-repeat url(assets/icons/check-white.svg); box-shadow: 0 0 0 10px rgb(124 179 66 / 22%);
  animation: pop 0.35s ease-out;
}
#checkout-success h3 { font-family: var(--serif); font-weight: 450; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
#checkout-success p { color: var(--stone); line-height: 1.65; margin-bottom: 28px; }
#checkout-success .button { min-width: 200px; }
@keyframes pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ───────── Floating contact ───────── */
.floating-contact { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.floating-contact-toggle {
  display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 3px solid var(--white); border-radius: 50%;
  background: var(--pine); color: var(--white); box-shadow: 0 10px 26px -6px rgb(12 51 36 / 55%); transition: transform 0.18s, background-color 0.18s;
}
.floating-contact-toggle svg { width: 24px; height: 24px; }
.floating-contact-toggle:hover { background: var(--pine-deep); transform: translateY(-2px); }
.floating-contact-toggle:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.floating-contact-panel {
  width: min(280px, calc(100vw - 40px)); padding: 20px; border: 1px solid #cfd8cc; border-radius: 22px; background: var(--white); box-shadow: 0 18px 48px rgb(20 50 35 / 24%), 0 1px 2px rgb(20 36 27 / 8%);
}
.floating-contact-panel p { margin: 0 0 14px; font-size: 1rem; line-height: 1.45; color: #43544a; }
.floating-contact-panel a {
  display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--pine); color: var(--white);
  font-weight: 600; font-size: 1.125rem; text-decoration: none; white-space: nowrap;
}
.floating-contact-panel a:hover { background: var(--pine-deep); }

/* keep the contact button off the booking card, the enquiry form and the closing band where content sits at the right edge (tablet and small desktop only;
   on phones the toggle lives in the header and covers no content) */
@keyframes fab-hide { from, to { visibility: hidden; } }
@media (min-width: 701px) and (max-width: 1359px) {
  .floating-contact {
    animation: fab-hide linear, fab-hide linear, fab-hide linear;
    animation-timeline: --t-pricing, --t-enquiry, --t-closing;
  }
}

/* ───────── Responsive ───────── */
@media (max-width: 1359px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0; width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .header-phone:hover { border-color: var(--pine); }
}
@media (max-width: 1199px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .header-content { grid-template-columns: auto auto minmax(0, 1fr); column-gap: 14px; }
  .header-actions { justify-self: end; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .narrow { grid-template-columns: 1fr; }
  .narrow > .section-heading { position: static; grid-row: auto; margin-bottom: 28px; }
  .narrow > :not(.section-heading) { grid-column: 1; }
  .hero-image { max-width: 560px; }
  .pricing-intro { grid-template-columns: 1fr; }
  .pricing-intro h2, .pricing-intro > p, .pricing-promise { grid-column: 1; grid-row: auto; }
  .pricing-intro > p { margin-bottom: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .about-section > .container { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  .about-photo { aspect-ratio: 16 / 9; }
  .review-layout, .reviews-card { grid-template-columns: 1fr; }
  .review-layout h2 { grid-column: 1; grid-row: auto; margin-bottom: 8px; }
  .compare-hint { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; margin-bottom: 20px; }
  .comparison-figure { grid-column: 1; grid-row: auto; }
  .comparison, #comparison-range { aspect-ratio: 16 / 9; }
  #public-reviews { grid-column: 1; grid-row: auto; margin: 8px 0 24px; }
  .reviews-card > h2, .reviews-card > p, .reviews-card > .button, .reviews-card > .small-note { grid-column: 1; }
  #services .section-heading { display: block; }
  #services .section-heading h1 { margin-bottom: 20px; }
  #services .section-heading > p:not(.eyebrow) { margin-bottom: 24px; }
  #services .cards-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2) > img { margin-top: 0; height: var(--img-h); }
  .service-card:nth-child(3) { grid-column: 1 / -1; }
  .service-card:nth-child(3) > img { height: auto; aspect-ratio: 16 / 9; }
  @media (min-width: 701px) {
    .service-card:nth-child(3) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; align-items: center; }
    .service-card:nth-child(3) > img { aspect-ratio: 335 / 390; }
  }
  .steps-grid, .b2b-three { grid-template-columns: 1fr; gap: 44px; }
  .business-services, .b2b-enquiry-grid, .contact-grid { grid-template-columns: 1fr; }
  .business-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .b2b-enquiry-grid > div:first-child { position: static; }
  .site-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-item:nth-child(3), .benefits-grid > p:nth-child(3) { border-left: 0; padding-left: 0; }
  .benefit-item:nth-child(n + 3), .benefits-grid > p:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .b2b-gallery figure:nth-child(2) img { margin-top: 0; height: var(--img-h); }
  .closing-content { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; --roof: 24px; --logo-w: 70px; }
  body { font-size: 1rem; }
  .header-content { grid-template-columns: auto auto minmax(0, 1fr); column-gap: 8px; width: min(100% - 20px, var(--wrap)); }
  .brand, button.brand { width: var(--logo-w); }
  /* one phone control: the floating toggle is pinned into the slot the header tel link used to occupy (52px reserved at the start of the actions row) */
  .header-phone { display: none; }
  .header-actions { gap: 8px; min-width: 0; justify-self: stretch; padding-left: 52px; }
  .header-actions .button { min-height: 44px; min-width: 0; flex: 1 1 auto; padding: 0 12px; font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 44px; }
  .language-picker select { height: 44px; min-width: 0; padding: 0 22px 0 10px; font-size: 0.8125rem; }
  .language-picker::before { display: none; }
  .language-picker::after { right: 7px; width: 13px; height: 13px; margin-top: -6.5px; }
  .menu-toggle { width: 44px; height: 44px; }

  /* hero: headline → promise → action → photo → checks */
  .hero { padding-top: 24px; padding-bottom: 40px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-text { display: contents; }
  .hero-text > * { order: 0; }
  .hero-text > .hero-description { order: 1; }
  .hero-text > .hero-actions { order: 2; margin: 8px 0 14px; }
  .hero-image { order: 4; max-width: none; margin: 14px 12px 28px 0; }
  .hero-text > .hero-checks { order: 5; margin: 0 0 24px; }
  .hero-text > .hero-note { order: 3; margin: 0 0 14px; }
  #view-home .hero-note { display: none; }
  .hero-text > button.button { order: 2; align-self: flex-start; margin-bottom: 28px; }
  .hero-photo img { aspect-ratio: 1 / 0.95; }
  #view-home .hero-photo img { aspect-ratio: 1 / 1.05; }
  .hero-image::before { transform: translate(12px, 12px); }
  #view-home .hero h1 { font-size: 2.75rem; }
  h1, .hero h1 { font-size: 2.25rem; }
  .hero-description { font-size: 1.0625rem; }
  .hero-actions .button { width: 100%; }
  .hero-price-badge, .image-caption, .hotel-partners-card { left: 12px; bottom: 16px; right: auto; padding: 12px 18px 12px 12px; border-radius: 18px; }
  .hero-price-badge { grid-template-columns: 40px auto; column-gap: 12px; }
  .hero-price-badge .price-leaf { width: 40px; height: 40px; padding: 10px; }
  .hero-price-badge strong { font-size: 1.9rem; }
  .information-card.hotel-partners-card { right: 12px; padding: 16px 18px; max-width: none; }
  .information-card.hotel-partners-card h2 { font-size: 1.1rem; }
  .hotel-partners-card p { display: none; }
  .image-caption { font-size: 1.05rem; max-width: 220px; }

  .section { padding: 56px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item, .benefits-grid > p { padding: 16px 0 !important; border-left: 0 !important; }
  .benefit-item + .benefit-item, .benefits-grid > p + p { border-top: 1px solid var(--line); }
  .booking-card { padding: 20px 16px; border-radius: 24px; }
  .calendar-grid { gap: 4px; }
  .calendar-grid button { min-height: 44px; border-radius: 12px; }
  .time-step-hint { margin-left: 42px; }
  .hours-control { align-self: stretch; justify-content: space-between; width: 100%; }
  .hours-control input { flex: 1; width: auto; min-width: 0; }
  .hours-row .small-note { flex-basis: 100%; }
  .price-card { padding: 24px 20px; border-radius: 24px; }
  .pricing-promise { padding: 22px 22px 22px 24px; }
  .calculator-book { min-height: 58px; }

  .comparison { aspect-ratio: 4 / 3; }
  #comparison-range { height: auto; aspect-ratio: 4 / 3; }
  #services .cards-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .service-card { gap: 16px; }
  #services .section-heading .button { width: 100%; }
  .service-card:nth-child(3) { grid-column: auto; }
  .service-card > img, .service-card:nth-child(3) > img { height: auto; aspect-ratio: 4 / 3.4; }
  .service-scope-list ul { columns: 1; }
  .faq-list summary, .service-scope-list summary { font-size: 1.0625rem; padding-right: 56px; min-height: 64px; }
  .faq-list details > p { margin-right: 8px; }
  .service-scope-note { padding: 24px 22px; }
  .b2b-gallery { grid-template-columns: 1fr; }
  .b2b-gallery img, #view-hotels .b2b-gallery img { height: auto; aspect-ratio: 4 / 3; }
  .b2b-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .b2b-enquiry-grid > div > a { font-size: 1.6rem; }
  .contact-phone { font-size: 1.85rem; }
  .contact-actions .button { flex: 1 1 100%; }
  .information-card { padding: 28px 22px; }
  .published-review { padding: 20px; }
  .closing-content .button { width: 100%; }
  .site-footer .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 64px; }

  /* dialogs: near full-screen sheets, submit pinned */
  #review-dialog, #checkout-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 24px); border-radius: 24px; }
  #review-dialog h2, #checkout-title { padding: 24px 68px 6px 20px; font-size: 1.45rem; }
  .checkout-summary { margin: 10px 20px 2px; }
  #review-form, #checkout-form { padding: 14px 20px 0; }
  .dialog-footer { margin: 16px -20px 0; padding: 14px 20px 18px; }
  .review-name-grid, .checkout-name-grid { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  /* the review form is compact enough on a phone that its last note is not cut by the pinned footer */
  #review-form textarea { height: 64px; min-height: 64px; }
  #review-form > label, #review-form .review-name-grid label { margin-bottom: 10px; gap: 6px; }
  #review-form input:not([type='radio']):not([type='checkbox']):not([type='file']) { min-height: 48px; }
  #review-form .rating-stars span { width: 44px; height: 44px; font-size: 2.3rem; }
  #review-form .rating-field { margin-bottom: 12px; }
  #checkout-form textarea { height: 64px; min-height: 64px; }
  #checkout-form > label, #checkout-form .checkout-name-grid label { margin-bottom: 10px; gap: 6px; }
  #checkout-form input:not([type='checkbox']) { min-height: 48px; }
  .dialog-close { top: 14px; right: 14px; }
  #services, .contact-section { padding-top: 21px; }
  /* the call toggle sits in the sticky header, in the slot of the old tel link; its panel drops down under the header */
  .floating-contact { top: calc((var(--header-h) - 44px) / 2); bottom: auto; right: auto; left: calc(10px + 44px + 8px + var(--logo-w) + 8px); align-items: flex-start; gap: 0; }
  .floating-contact-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--pine); box-shadow: none; }
  .floating-contact-toggle svg { width: 20px; height: 20px; }
  .floating-contact-toggle:hover { background: var(--mist); transform: none; }
  .floating-contact-toggle[aria-expanded='true'] { background: var(--pine); border-color: var(--pine); color: var(--white); }
  .floating-contact-toggle[aria-expanded='true'] svg { display: none; }
  .floating-contact-toggle[aria-expanded='true']::before { content: '×'; font-size: 1.9rem; line-height: 1; margin-top: -3px; }
  .floating-contact-panel { position: fixed; top: calc(var(--header-h) + 1px); left: 0; right: 0; width: auto; padding: 18px 16px 20px; border-width: 0 0 1px; border-radius: 0 0 24px 24px; }
  .floating-contact-panel::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgb(20 50 35 / 52%); pointer-events: none; }
  .floating-contact-panel p { font-size: 1.0625rem; }
}

/* phones: the header action is the short label so it can be set at 14px with real padding */
@media (max-width: 460px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .header-actions .button { padding: 0 10px; font-size: 0.875rem; }
}
@media (max-width: 380px) {
  :root { --logo-w: 66px; }
  .language-picker::after { display: none; }
  .language-picker select { padding: 0 8px; }
}
@media (max-width: 340px) {
  :root { --logo-w: 58px; }
  .header-actions .button { padding: 0 4px; font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
  .page-view:not([hidden]) .hero-text > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .page-view:not([hidden]) .hero-text > :nth-child(2) { animation-delay: 0.07s; }
  .page-view:not([hidden]) .hero-text > :nth-child(3) { animation-delay: 0.14s; }
  .page-view:not([hidden]) .hero-text > :nth-child(4) { animation-delay: 0.21s; }
  .page-view:not([hidden]) .hero-text > :nth-child(n + 5) { animation-delay: 0.28s; }
  .page-view:not([hidden]) .hero-image { animation: settle 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  dialog[open] { animation: rise 0.3s ease-out; }
  dialog[open]::backdrop { animation: fade 0.3s ease-out; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* the contact button's scroll-linked fade is not motion, so it keeps its animation */
  *:not(.floating-contact), *::before, *::after { animation: none !important; transition: none !important; }
}
