/* Birchlight Home Cleaning Services: shared stylesheet.
   Mobile first. Breakpoints: 600px, 768px, 1080px. */

@font-face {
  font-family: "Gelasio";
  src: url("/assets/fonts/Gelasio-Variable.v1.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3-Variable.v1.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --birch: #f7f4ee;
  --birch-deep: #efeae1;
  --paper: #ffffff;
  --line: #ddd6c9;
  --ink: #1f2522;
  --ink-muted: #56615b;
  --forest: #2f4a3d;
  --forest-deep: #22362d;
  --sage: #a9bcae;
  --sage-soft: #e5ebe6;
  --morning-light: #e3b04b;
  --morning-soft: #f5e6bf;
  --error: #9b2c1f;

  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-arch: 999px 999px 0 0;

  --header-h: 64px;
  --shadow: 0 1px 2px rgba(31, 37, 34, 0.06), 0 6px 20px rgba(31, 37, 34, 0.06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--birch);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  text-rendering: optimizeLegibility;
  padding-bottom: 68px; /* room for the mobile action bar */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--forest); margin: 0 0 var(--space-3); }
h1 { font-size: 32px; line-height: 38px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 30px; }
h3 { font-size: 20px; line-height: 26px; }
h4 { font-size: 17px; line-height: 24px; }
@media (min-width: 768px) {
  h1 { font-size: 36px; line-height: 42px; }
  h2 { font-size: 26px; line-height: 32px; }
}
p, ul, ol, dl, table { margin: 0 0 var(--space-4); }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--space-1); }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
small, .small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.lead { font-size: 18px; line-height: 28px; }
.label {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--space-2);
}
.num { font-variant-numeric: tabular-nums; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--morning-light); }

.visually-hidden {
  position: absolute !important; 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: 8px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--birch); padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; color: var(--birch); outline-color: var(--morning-light); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }
.section { padding: var(--space-12) 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
.section--alt { background: var(--birch-deep); }
.section--sage { background: var(--sage-soft); }
.section--forest { background: var(--forest); color: var(--birch); }
.section--forest h2, .section--forest h3 { color: var(--birch); }
.section--forest a:not(.btn) { color: var(--birch); }
.section-head { max-width: 680px; margin-bottom: var(--space-8); }
.section-head p:last-child { margin-bottom: 0; }
.stack > * + * { margin-top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 20px;
  border: 2px solid transparent; border-radius: var(--radius-md);
  font-family: var(--sans); font-size: 17px; line-height: 20px; font-weight: 650;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--forest); color: var(--birch); }
.btn--primary:hover { background: var(--forest-deep); color: var(--birch); }
.btn--secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--secondary:hover { background: var(--sage-soft); color: var(--forest-deep); }
.btn--accent { background: var(--morning-light); color: var(--ink); }
.btn--accent:hover { background: #d9a43c; color: var(--ink); }
.btn--light { background: transparent; color: var(--birch); border-color: var(--birch); }
.btn--light:hover { background: var(--forest-deep); color: var(--birch); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); margin-right: auto; }
.brand:hover { color: var(--forest); }
.brand-mark { width: 30px; height: 35px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 24px; color: var(--forest); }
.brand-tag {
  font-size: 9px; line-height: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); margin-top: 2px; white-space: nowrap;
}
@media (min-width: 420px) { .brand-tag { font-size: 10px; letter-spacing: 0.14em; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink-muted); border-radius: var(--radius-md);
  background: var(--paper); color: var(--forest); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-cta { padding: 8px 12px; min-height: 44px; font-size: 15px; }
@media (max-width: 359px) { .header-cta { display: none; } }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--birch); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: var(--space-2) 20px var(--space-4); }
.site-nav li + li { margin-top: 0; border-top: 1px solid var(--line); }
.site-nav a {
  display: block; padding: 14px 4px; font-size: 18px; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.site-nav a:hover { color: var(--forest); }
.site-nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: 2px; padding: 0; }
  .site-nav li + li { border: 0; }
  .site-nav a { padding: 8px 10px; font-size: 16px; border-radius: var(--radius-sm); }
  .site-nav a:hover { background: var(--sage-soft); }
  .header-cta { order: 3; margin-left: var(--space-3); }
  .brand-mark { width: 34px; height: 40px; }
  .brand-name { font-size: 25px; line-height: 26px; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--forest-deep); border-top: 1px solid var(--forest);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  gap: 6px;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; border-radius: var(--radius-md);
  color: var(--birch); text-decoration: none; font-weight: 650; font-size: 14px; line-height: 16px;
}
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar a:hover { background: var(--forest); color: var(--birch); }
.mobile-bar a.mobile-bar__price { background: var(--morning-light); color: var(--ink); }
.mobile-bar a.mobile-bar__price:hover { background: #d9a43c; color: var(--ink); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: var(--space-8) 0 var(--space-12); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-8); align-items: center; }
.hero h1 { font-size: 36px; line-height: 42px; }
.hero .lead { color: var(--ink); max-width: 560px; }
.hero-price { margin: var(--space-4) 0 0; color: var(--ink-muted); font-size: 15px; }
.hero-price strong { color: var(--ink); }
.hero-art { position: relative; display: none; max-width: 420px; margin: 0 auto; width: 100%; }
.hero-card {
  position: absolute; left: -8px; bottom: 36px;
  background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: 14px 18px; border: 1px solid var(--line);
}
.hero-card .label { margin-bottom: 4px; }
.hero-card__price { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 34px; color: var(--forest); }
.hero-card__note { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (min-width: 720px) { .hero-art { display: block; } }
@media (min-width: 1080px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero h1 { font-size: 56px; line-height: 60px; }
}

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; background: var(--birch-deep); padding: var(--space-8) 0; overflow: hidden; }
.page-head .lead { max-width: 640px; margin-bottom: 0; }
.page-head::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 220px;
  border-radius: var(--radius-arch); background: var(--sage-soft); opacity: .9;
}
.page-head::before {
  content: ""; position: absolute; right: 74px; bottom: 70px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--morning-light); z-index: 1; display: none;
}
.page-head .container { position: relative; z-index: 2; }
@media (min-width: 768px) {
  .page-head { padding: 56px 0; }
  .page-head::after { right: 6%; bottom: -60px; width: 220px; height: 280px; }
  .page-head::before { display: block; right: calc(6% + 120px); bottom: 120px; }
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--forest); color: var(--birch); padding: var(--space-6) 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-6); }
.trust li { margin: 0; display: flex; gap: var(--space-3); align-items: flex-start; }
.trust svg { width: 28px; height: 28px; flex: none; color: var(--morning-light); }
.trust strong { display: block; font-size: 16px; line-height: 20px; }
.trust span { display: block; font-size: 14px; line-height: 19px; color: var(--birch); opacity: .92; margin-top: 2px; }
@media (min-width: 1080px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Notice ---------- */
.notice {
  background: var(--morning-soft); color: var(--ink); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6); border-left: 6px solid var(--morning-light);
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--ink); }
.notice--sage { background: var(--sage-soft); border-left-color: var(--forest); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-6); }
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--space-2); }
.card .more { margin-top: auto; padding-top: var(--space-2); font-weight: 650; }
.service-card { padding: 0; overflow: hidden; }
.service-card__top {
  display: flex; align-items: flex-end; justify-content: center;
  height: 96px; background: var(--sage-soft); padding-top: 18px;
}
.service-card__arch {
  width: 76px; height: 78px; border-radius: var(--radius-arch); background: var(--forest);
  display: flex; align-items: center; justify-content: center; color: var(--birch);
}
.service-card__arch svg { width: 32px; height: 32px; }
.service-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.service-card__body > :last-child { margin-bottom: 0; }
.from { font-size: 15px; color: var(--ink-muted); margin-bottom: var(--space-3); }
.from strong { font-family: var(--serif); font-size: 24px; line-height: 28px; color: var(--forest); font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.steps li p:last-child { margin-bottom: 0; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 54px; border-radius: var(--radius-arch);
  background: var(--forest); color: var(--birch);
  font-family: var(--serif); font-weight: 600; font-size: 22px; padding-top: 6px; margin-bottom: var(--space-4);
}

/* Checklist preview columns */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li + li { margin-top: var(--space-2); }
.check-list li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--forest); }
.x-list li svg { color: var(--error); }

/* Areas */
.area-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .area-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .area-tiles { grid-template-columns: repeat(5, 1fr); } }
.area-tiles li { margin: 0; }
.area-tile {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 80px 80px var(--radius-md) var(--radius-md);
  padding: 32px var(--space-4) var(--space-4); text-align: center;
}
.area-tile:hover { border-color: var(--forest); color: var(--ink); }
.area-tile strong { font-family: var(--serif); font-size: 20px; line-height: 26px; color: var(--forest); font-weight: 600; }
.area-tile span { font-size: 14px; line-height: 19px; color: var(--ink-muted); margin-top: 4px; }

/* CTA panel */
.cta-panel {
  background: var(--forest); color: var(--birch); text-align: center;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 120px 120px var(--radius-lg) var(--radius-lg);
  padding: 72px var(--space-6) var(--space-8);
}
.cta-panel h2 { color: var(--birch); }
.cta-panel p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-panel .btn-row { justify-content: center; }
.cta-panel .sun { width: 44px; height: 44px; border-radius: 50%; background: var(--morning-light); margin: 0 auto var(--space-4); }
@media (min-width: 768px) { .cta-panel { padding: 96px var(--space-12) var(--space-12); border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 180px 180px var(--radius-lg) var(--radius-lg); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); margin-bottom: var(--space-3); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; }
.data-table { margin: 0; font-size: 15px; line-height: 21px; }
.data-table caption { text-align: left; padding: var(--space-3) var(--space-4) 0; font-weight: 650; color: var(--forest); font-family: var(--serif); font-size: 18px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--sage-soft); color: var(--ink); font-weight: 650; font-size: 14px; line-height: 18px; white-space: nowrap; vertical-align: bottom; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 600; }
.data-table .num, .data-table td.c, .data-table th.c { text-align: center; }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table thead th.num { text-align: right; }
.data-table .hl { background: #f4f7f4; }
.price-grid th[scope="row"] { white-space: nowrap; position: sticky; left: 0; background: var(--paper); z-index: 1; }
.price-grid thead th:first-child { position: sticky; left: 0; z-index: 2; }
.table-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.checklist-table td.c { width: 92px; }
.checklist-table tr.group th { background: var(--birch-deep); font-family: var(--serif); color: var(--forest); font-size: 17px; }
.cell-yes svg, .cell-no svg { width: 20px; height: 20px; margin: 0 auto; }
.cell-yes svg { color: var(--forest); }
.cell-no svg { color: var(--ink-muted); }
.cell-addon { font-size: 13px; line-height: 16px; color: var(--ink-muted); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 26px; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 var(--space-4); max-width: 720px; }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- Policies / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-6); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); margin-bottom: var(--space-8); }
.toc ul { columns: 2; column-gap: var(--space-6); margin: 0; padding-left: 1.1em; }
.toc li { break-inside: avoid; }
@media (max-width: 599px) { .toc ul { columns: 1; } }
.updated { display: inline-block; background: var(--sage-soft); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; }
.key-facts { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin-bottom: var(--space-6); }
@media (min-width: 600px) { .key-facts { grid-template-columns: 1fr 1fr; } }
.key-fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.key-fact strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 18px; line-height: 24px; }
.key-fact span { font-size: 15px; line-height: 21px; }

/* ---------- Two-column layouts ---------- */
.split { display: grid; gap: var(--space-8); }
@media (min-width: 1080px) { .split { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-12); align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } }
.service-block { padding: var(--space-12) 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.price-tag {
  display: inline-block; background: var(--sage-soft); color: var(--forest); border-radius: var(--radius-sm);
  padding: 4px 10px; font-weight: 650; margin-bottom: var(--space-4);
}
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.aside-card > :last-child { margin-bottom: 0; }
.aside-card--arch { border-radius: 120px 120px var(--radius-md) var(--radius-md); padding-top: 56px; text-align: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-4) var(--space-6); }
@media (min-width: 768px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .fieldset-legend, legend { font-weight: 650; color: var(--ink); font-size: 16px; line-height: 22px; }
.hint { font-size: 14px; line-height: 19px; color: var(--ink-muted); margin: 0; }
.req { color: var(--ink-muted); font-weight: 400; font-size: 14px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--ink-muted); border-radius: var(--radius-sm);
}
textarea { min-height: 110px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%232f4a3d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
[aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px !important; }
.field-error { color: var(--error); font-size: 15px; line-height: 20px; font-weight: 600; margin: 0; }
.field-error::before { content: "! "; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 8px; }
.form-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); margin-bottom: var(--space-6); }
.form-section > h2 { font-size: 21px; line-height: 28px; }

/* Choice pills (radio and checkbox groups) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 48px; padding: 8px 14px;
  background: var(--paper); border: 1px solid var(--ink-muted); border-radius: var(--radius-md);
  cursor: pointer; font-weight: 600; line-height: 20px; user-select: none;
}
.choice label:hover { border-color: var(--forest); background: var(--sage-soft); }
.choice input:checked + label { background: var(--forest); border-color: var(--forest); color: var(--birch); }
.choice input:focus-visible + label { outline: 3px solid var(--forest); outline-offset: 2px; }
.choice input:disabled + label { opacity: .5; cursor: not-allowed; }
.choices--cards { display: grid; grid-template-columns: 1fr 1fr; }
.choices--cards .choice label { flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; height: 100%; text-align: left; padding: 12px 14px; }
.choices--cards .choice label small { font-weight: 400; font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.choices--cards .choice input:checked + label small { color: var(--birch); }

.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--forest); flex: none; }
.check label { font-weight: 400; }
.addon-list { display: grid; gap: 10px; }
.addon-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.addon-row .check label { font-weight: 600; }
.addon-row .addon-price { color: var(--ink-muted); white-space: nowrap; font-size: 15px; }
.addon-row.is-included { background: var(--sage-soft); }
.addon-row select { width: auto; min-height: 40px; padding: 6px 36px 6px 10px; }
.honeypot { display: none !important; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1080px) { .calc { grid-template-columns: 1fr 400px; gap: var(--space-8); } .calc-result { position: sticky; top: calc(var(--header-h) + 16px); } }
.calc-inputs { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.calc-inputs fieldset + fieldset, .calc-inputs .calc-row + .calc-row { margin-top: var(--space-6); }
.estimate { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.estimate__head { background: var(--forest); color: var(--birch); padding: var(--space-4) var(--space-6); }
.estimate__head .label { color: var(--birch); opacity: .9; margin: 0; }
.estimate__head p.estimate__title { margin: 2px 0 0; font-family: var(--serif); font-size: 19px; line-height: 25px; font-weight: 600; }
.estimate__body { padding: var(--space-4) var(--space-6) var(--space-6); }
.est-lines { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.est-lines li { display: flex; justify-content: space-between; gap: var(--space-3); padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.est-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-lines li.est-main { font-weight: 650; font-size: 17px; }
.est-lines li.est-total { border-bottom: 0; font-weight: 700; font-size: 19px; color: var(--forest); padding-top: 12px; }
.est-big { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 34px; color: var(--forest); margin: var(--space-2) 0; }
.est-then { background: var(--sage-soft); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: var(--space-3); }
.est-then strong { color: var(--forest); font-size: 18px; }
.est-then p { margin: 0; }
.est-then p + p { margin-top: 4px; font-size: 14px; line-height: 19px; color: var(--ink-muted); }
.est-save { background: var(--morning-soft); border-radius: var(--radius-sm); padding: 6px 10px; font-weight: 650; font-size: 15px; display: inline-block; margin-bottom: var(--space-3); }
.est-note { font-size: 14px; line-height: 19px; color: var(--ink-muted); margin: var(--space-3) 0 0; }
.estimate .btn-row { margin-top: var(--space-4); }
.estimate .btn-row .btn { flex: 1 1 auto; }

/* ---------- Booking ---------- */
.book-layout { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1080px) { .book-layout { grid-template-columns: 1fr 380px; gap: var(--space-8); } .book-summary { position: sticky; top: calc(var(--header-h) + 16px); order: 2; } }
.form-status { border-radius: var(--radius-md); padding: var(--space-6); margin-bottom: var(--space-6); }
.form-status:focus { outline: 3px solid var(--forest); outline-offset: 2px; }
.form-status--ok { background: var(--sage-soft); border-left: 6px solid var(--forest); }
.form-status--warn { background: var(--morning-soft); border-left: 6px solid var(--morning-light); }
.form-status h2 { font-size: 22px; line-height: 28px; }
.form-status > :last-child { margin-bottom: 0; }
.error-summary { background: #fbeeec; border-left: 6px solid var(--error); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); margin-bottom: var(--space-6); }
.error-summary h2 { color: var(--error); font-size: 19px; line-height: 25px; margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .contact-list { grid-template-columns: repeat(2, 1fr); } }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); margin: 0; }
.contact-item .icon-arch { flex: none; width: 48px; height: 52px; border-radius: var(--radius-arch); background: var(--forest); color: var(--birch); display: flex; align-items: center; justify-content: center; padding-top: 4px; }
.contact-item .icon-arch svg { width: 24px; height: 24px; }
.contact-item h2, .contact-item h3 { font-size: 19px; line-height: 25px; margin-bottom: 4px; }
.contact-item p { margin: 0; }
.contact-item a.big { font-size: 19px; font-weight: 650; }

/* ---------- Founder ---------- */
.founder-art { max-width: 300px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--birch); padding: var(--space-12) 0 var(--space-6); margin-top: 0; }
.site-footer a { color: var(--birch); }
.site-footer a:hover { color: var(--birch); }
.footer-grid { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-4); text-decoration: none; }
.footer-brand img { width: 40px; height: 48px; }
.footer-brand .brand-name { color: var(--birch); }
.footer-brand .brand-tag { color: var(--birch); }
.site-footer h2 { color: var(--birch); font-family: var(--sans); font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid var(--forest); margin-top: var(--space-8); padding-top: var(--space-4); font-size: 14px; line-height: 20px; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-trust { font-size: 15px; line-height: 21px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.center { text-align: center; }
.icon-inline { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }
[hidden] { display: none !important; }

@media print {
  .site-header, .mobile-bar, .site-footer, .cta-panel, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* ---------- Additions ---------- */
.h3 { font-size: 20px; line-height: 26px; }
.h4 { font-size: 17px; line-height: 24px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.btn-row--center { justify-content: center; }
.center-block { margin-left: auto; margin-right: auto; }
.check-list.left { text-align: left; }
.card--sage { background: var(--sage-soft); }
.calc-inputs .calc-row { margin-top: var(--space-6); }
.calc-inputs .calc-row + fieldset { margin-top: var(--space-6); }
.calc-inputs .calc-row select { max-width: 320px; }
.est-custom { margin: var(--space-2) 0; }
.est-custom .est-big { display: inline; margin: 0; }
.choice input[aria-invalid="true"] + label { border-color: var(--error); border-width: 2px; }
.addon-row > label { font-weight: 400; }
.referral {
  display: grid; gap: var(--space-6); align-items: start;
  background: var(--morning-soft); border-radius: var(--radius-lg); padding: var(--space-6);
}
.referral > div:last-child > :last-child { margin-bottom: 0; }
.referral__icon {
  width: 64px; height: 70px; border-radius: var(--radius-arch); background: var(--forest); color: var(--morning-light);
  display: flex; align-items: center; justify-content: center; padding-top: 6px;
}
.referral__icon svg { width: 30px; height: 30px; }
.referral h2 { margin-bottom: var(--space-2); }
.referral ol { padding-left: 1.3em; }
@media (min-width: 768px) { .referral { grid-template-columns: 64px 1fr; padding: var(--space-8); } }
.split > *, .grid > *, .calc > *, .book-layout > *, .contact-list > *, .footer-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.contact-item > div { min-width: 0; }
.contact-item a.big, .site-footer a { overflow-wrap: anywhere; }
.table-wrap { position: relative; }
.header-cta { white-space: nowrap; }
@media (max-width: 419px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 30px; }
  .brand-name { font-size: 21px; line-height: 22px; }
  .brand-tag { font-size: 8px; letter-spacing: 0.1em; }
  .header-cta { padding: 8px 10px; font-size: 14px; min-height: 40px; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* ---------- QA pass: navigation without JavaScript ---------- */
.site-nav:target {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--birch); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 1080px) { .site-nav:target { position: static; background: none; border: 0; box-shadow: none; } }
a.nav-toggle { text-decoration: none; }

/* ---------- Tap targets (44px minimum) ---------- */
.header-cta { min-height: 44px; }
.nav-toggle { min-width: 44px; min-height: 44px; }
@media (max-width: 419px) { .header-cta { min-height: 44px; } .nav-toggle { width: 44px; height: 44px; } }
.addon-row select { min-height: 44px; }
@media (max-width: 1079px) {
  .site-footer li a, .breadcrumb a, .toc a, .card .more {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-footer li + li { margin-top: 0; }
}
.card .more { display: inline-flex; align-items: center; min-height: 44px; }

/* Whole add-on row is the label */
label.addon-row { cursor: pointer; min-height: 52px; font-weight: 400; }
label.addon-row:hover { border-color: var(--forest); }
label.addon-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--forest); flex: none; }
label.addon-row .addon-name { flex: 1; font-weight: 600; }
label.addon-row:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); }
label.addon-row:has(input:focus-visible) { outline: 3px solid var(--forest); outline-offset: 2px; }
label.addon-row:has(input:disabled) { cursor: not-allowed; }
.addon-row { min-height: 52px; }
.addon-row--select label { display: flex; flex-direction: column; font-weight: 400; }
.addon-row--select .addon-name { font-weight: 600; }
.addon-sub, .addon-note { font-size: 14px; line-height: 19px; color: var(--ink-muted); }
.addon-row.is-included .addon-price { color: var(--forest); font-weight: 650; }

/* ---------- Sticky estimate bar (small screens) ---------- */
.est-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--forest-deep); color: var(--birch);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(31, 37, 34, 0.18);
}
.est-bar__text { font-weight: 650; font-size: 15px; line-height: 20px; }
.est-bar .btn { flex: none; min-height: 44px; }
body.est-bar-on .mobile-bar { display: none; }
@media (min-width: 1080px) { .est-bar { display: none !important; } }
.estimate:focus { outline: 3px solid var(--forest); outline-offset: 3px; }

/* ---------- Booking fallback (final step) ---------- */
.form-status--step { background: var(--paper); border: 2px solid var(--forest); box-shadow: var(--shadow); }
.form-status--step h2 { font-size: 24px; line-height: 30px; }
.btn-stack { display: grid; gap: 12px; margin-top: var(--space-4); }
@media (min-width: 600px) { .btn-stack { grid-template-columns: 1fr 1fr; } }
.btn--lg { min-height: 56px; font-size: 18px; padding: 14px 24px; }
.link-btn {
  background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--forest);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Tables and hints ---------- */
.scroll-hint { display: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0 0 var(--space-2); }
@media (max-width: 767px) { .scroll-hint { display: block; } }
.data-table thead th { white-space: normal; min-width: 84px; }
.data-table thead th:first-child { min-width: 0; }
.head-price {
  display: inline-block; margin: var(--space-4) 0 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 10px 14px; font-size: 16px; line-height: 22px;
}
.head-price strong { font-family: var(--serif); font-size: 20px; color: var(--forest); }

/* ---------- Polish ---------- */
h1, h2, h3, .estimate__title, .faq summary { text-wrap: balance; }
p, li { text-wrap: pretty; }
.hero { background:
  radial-gradient(ellipse 60% 70% at 85% 40%, rgba(229, 235, 230, 0.9), rgba(229, 235, 230, 0) 70%), var(--birch); }
.hero .label { color: var(--forest); }
.hero-card { box-shadow: 0 2px 4px rgba(31, 37, 34, .06), 0 16px 32px rgba(31, 37, 34, .12); }
.trust li strong { letter-spacing: .01em; }
.service-card__body h3 { min-height: 26px; }
.grid--4 .service-card .service-card__body p:not(.from) { flex: 1; }
.steps li { display: flex; flex-direction: column; }
.section-head h2 { margin-bottom: var(--space-2); }
.btn--secondary { background: var(--paper); }
.btn--secondary:hover { background: var(--sage-soft); }
.on-dark .btn--light, .cta-panel .btn--light { background: transparent; }
@media (max-width: 599px) {
  .hero .btn-row .btn, .cta-panel .btn-row .btn { width: 100%; }
  .section { padding: 40px 0; }
  .cta-panel { padding: 64px 20px 28px; }
}
.brand { min-height: 44px; }
.nw { white-space: nowrap; }
.price-grid th, .price-grid td { white-space: nowrap; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li > span { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1080px) { .breadcrumb li > span { min-height: 0; } }
/* inline-block (not flex) so text with spans keeps its spaces */
.card .more { display: inline-block; padding: 10px 0; line-height: 24px; min-height: 44px; }
@media (max-width: 1079px) {
  .site-footer li a, .breadcrumb a, .toc a {
    display: inline-block; padding: 10px 0; line-height: 24px; min-height: 44px;
  }
}

/* ---------- Second QA pass ---------- */
/* Standalone links: 44px targets. Links inside sentences stay inline (WCAG 2.5.8 exception). */
.referral a:not(.btn), .more-link, .section > .container > p.mt-6 > a:only-child:not(.btn), .container--narrow > p.mt-6 > a:only-child:not(.btn) {
  display: inline-block; padding: 10px 0; line-height: 24px; min-height: 44px;
}
.svc { display: inline; }
.choices--cards .choice label .svc { display: block; }

/* Programmatic focus and anchor targets clear the sticky header */
.form-status, .error-summary, .estimate, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus:not(:focus-visible) { outline: none; }

/* The estimate bar never covers content */
body.est-bar-on { padding-bottom: 84px; }

/* No-JS menu close link (only shown when the menu was opened without JavaScript) */
.nav-close-nojs { display: none; }
.site-nav:target .nav-close-nojs { display: block; }
@media (min-width: 1080px) { .site-nav:target .nav-close-nojs { display: none; } }

/* Desktop nav links 44px */
@media (min-width: 1080px) { .site-nav a { padding: 10px 10px; line-height: 24px; } }

/* Stacked tables on small screens: no sideways scrolling */
@media (max-width: 599px) {
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stack-table, .stack-table tbody { display: block; width: 100%; }
  .stack-table caption { display: block; }
  .stack-table tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .stack-table--2 tr { grid-template-columns: 1fr 1fr; }
  .stack-table tbody tr:last-child { border-bottom: 0; }
  .stack-table tr > th[scope="row"] { grid-column: 1 / -1; padding: 0; border: 0; white-space: normal; position: static; }
  .stack-table td, .stack-table td.num, .stack-table td.c { display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 0; border: 0; text-align: left; white-space: normal; width: auto; }
  .stack-table td::before { content: attr(data-label); font-size: 12px; line-height: 15px; font-weight: 600; color: var(--ink-muted); }
  .stack-table td svg { margin: 0; }
  .stack-table tr.group { display: block; padding: 0; }
  .stack-table tr.group th { display: block; padding: 10px 14px; }
}
.price-grid thead th { white-space: nowrap; }
@media (max-width: 599px) {
  .checklist-table tr { grid-template-columns: 1fr 1fr 1.35fr; }
  .stack-table--addon tr { grid-template-columns: 1fr auto; }
  .stack-table--addon td.num { align-items: flex-end; text-align: right; }
}
@media (max-width: 599px) {
  .stack-table td, .stack-table td.num, .stack-table td.c { display: block; }
  .stack-table td::before { display: block; margin-bottom: 2px; }
  .stack-table--addon td.num { text-align: right; }
}
@media (max-width: 767px) { .area-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; } .area-tiles li:last-child:nth-child(odd) .area-tile { max-width: 50%; margin: 0 auto; } }
