/* ==========================================================================
   Spotless: cleaning company website template
   --------------------------------------------------------------------------
   Palettes  data-palette on <html>: fresh | sky | citrus
   Theme     light by default; dark follows the visitor's system setting
             unless they choose one with the toggle
   Prices    edit PRICING at the top of estimator.js
   ========================================================================== */

/* Palettes --------------------------------------------------------------- */
:root,
:root[data-palette="fresh"] {
  --accent-light: #0f766e; --soft-light: #a7f3e4; --tint-light: #e4f5f1;
  --accent-dark: #5eead4;  --soft-dark: rgba(94, 234, 212, 0.32); --tint-dark: #10302b;
  --on-accent-light: #ffffff; --on-accent-dark: #03201b;
}
:root[data-palette="sky"] {
  --accent-light: #1d4ed8; --soft-light: #bfdbfe; --tint-light: #e9f0fe;
  --accent-dark: #93c5fd;  --soft-dark: rgba(147, 197, 253, 0.3); --tint-dark: #132441;
  --on-accent-light: #ffffff; --on-accent-dark: #0a1a33;
}
:root[data-palette="citrus"] {
  --accent-light: #b45309; --soft-light: #fde68a; --tint-light: #fdf3df;
  --accent-dark: #fbbf24;  --soft-dark: rgba(251, 191, 36, 0.3); --tint-dark: #2e230f;
  --on-accent-light: #ffffff; --on-accent-dark: #241503;
}

/* Theme tokens ----------------------------------------------------------- */
:root {
  color-scheme: light;
  --bg: #f7faf9; --surface: #ffffff; --surface-2: #eef4f2;
  --ink: #0c1f1b; --muted: #4a5c58; --line: rgba(12, 31, 27, 0.12);
  --accent: var(--accent-light); --soft: var(--soft-light); --tint: var(--tint-light); --on-accent: var(--on-accent-light);
  --shadow: 0 1px 2px rgba(12, 31, 27, 0.06), 0 18px 40px -22px rgba(12, 31, 27, 0.28);
  --error: #b42318;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1513; --surface: #11201c; --surface-2: #172a26;
    --ink: #e7f2ef; --muted: #9fb4af; --line: rgba(231, 242, 239, 0.12);
    --accent: var(--accent-dark); --soft: var(--soft-dark); --tint: var(--tint-dark); --on-accent: var(--on-accent-dark);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 44px -22px rgba(0, 0, 0, 0.75);
    --error: #ffb4a8;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1513; --surface: #11201c; --surface-2: #172a26;
  --ink: #e7f2ef; --muted: #9fb4af; --line: rgba(231, 242, 239, 0.12);
  --accent: var(--accent-dark); --soft: var(--soft-dark); --tint: var(--tint-dark); --on-accent: var(--on-accent-dark);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 44px -22px rgba(0, 0, 0, 0.75);
  --error: #ffb4a8;
}
:root {
  --font-display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 20px; --radius-sm: 12px;
  --space: clamp(4.5rem, 9vw, 7rem);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 4.9rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); text-wrap: balance; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
.section { padding-block: var(--space); }
.section-head { max-width: 660px; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.9rem; color: var(--accent); margin-bottom: 0.9rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--tint); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.2rem; padding: 0.8rem 1.5rem;
  border-radius: 14px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent);
  font: 600 1.02rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--accent) 55%, black);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px color-mix(in srgb, var(--accent) 55%, black); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 -2px color-mix(in srgb, var(--accent) 55%, black); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: var(--ink); }
.btn-small { min-height: 2.6rem; padding: 0.5rem 1rem; font-size: 0.95rem; box-shadow: none; }
.btn-small:hover { box-shadow: none; }
.btn-block { width: 100%; }
.icon-btn { width: 2.6rem; height: 2.6rem; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Top bar & header ------------------------------------------------------- */
.topbar { background: var(--ink); color: var(--bg); font-size: 0.875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.4rem; }
.topbar p { margin: 0; opacity: 0.85; }
.topbar a { color: inherit; font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .topbar p { display: none; } .topbar-inner { justify-content: center; } }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 4.4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 2.3rem; height: 2.3rem; fill: var(--accent); }
.brand-mark .mini { fill: var(--soft); }
:root[data-theme="dark"] .brand-mark .mini { fill: var(--accent); opacity: 0.6; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; line-height: 1; display: grid; }
.brand-name span { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.site-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 0.55rem; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="light"]) .brand-mark .mini { fill: var(--accent); opacity: 0.6; }
}
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .header-actions .btn-small { display: none; }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 0.5rem 1.25rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden;
  background:
    radial-gradient(50% 60% at 85% 10%, var(--tint), transparent 70%),
    radial-gradient(45% 45% at 0% 70%, var(--tint), transparent 70%);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 420px; gap: 4.5rem; } }
.chip { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.875rem; margin-bottom: 1.6rem; }
.swash { position: relative; white-space: nowrap; z-index: 0; }
.swash::before {
  content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.08em; bottom: 0.06em; height: 0.36em;
  background: var(--soft); border-radius: 0.2em 0.5em 0.3em 0.6em; transform: rotate(-1.5deg);
}
.swash::after {
  content: ""; position: absolute; top: -0.32em; right: -0.42em; width: 0.5em; height: 0.5em;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.4 3.6 9.2 10 10-6.4.8-9.2 3.6-10 10-.8-6.4-3.6-9.2-10-10 6.4-.8 9.2-3.6 10-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.4 3.6 9.2 10 10-6.4.8-9.2 3.6-10 10-.8-6.4-3.6-9.2-10-10 6.4-.8 9.2-3.6 10-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: glint 3.2s ease-in-out infinite;
}
@keyframes glint { 0%, 70%, 100% { transform: scale(1) rotate(0); opacity: 1; } 80% { transform: scale(1.35) rotate(20deg); opacity: 0.7; } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-copy .promises { display: grid; gap: 0.55rem; margin-top: 2rem; }
.promises li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.promises svg { width: 1.35rem; height: 1.35rem; padding: 0.2rem; border-radius: 50%; background: var(--accent); stroke: var(--on-accent); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Estimator receipt ------------------------------------------------------ */
.estimator { margin: 0; }
.receipt {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow), 0 40px 60px -40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.receipt-head h2 { font-size: 1.45rem; margin: 0; letter-spacing: -0.02em; }
.receipt-tag { font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--tint); color: var(--accent); }
.receipt fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.receipt legend, .stepper label { display: block; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; padding: 0; }
.seg-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; padding: 0.3rem; border-radius: 14px; background: var(--surface-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; text-align: center; min-height: 2.6rem; padding: 0.3rem 0.4rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem; line-height: 1.15; transition: background 0.15s ease, color 0.15s ease; }
.seg input:checked + span { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.seg.is-disabled { opacity: 0.45; }
.seg.is-disabled span { cursor: not-allowed; }
.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.1rem; }
.stepper-ctrl { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 0.25rem; }
.stepper-ctrl button { width: 2.4rem; height: 2.4rem; border-radius: 9px; border: 0; background: var(--surface-2); color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.stepper-ctrl button:hover { background: var(--tint); color: var(--accent); }
.stepper-ctrl input { width: 2.5rem; text-align: center; border: 0; background: transparent; color: var(--ink); font: 700 1.2rem var(--font-display); -moz-appearance: textfield; appearance: textfield; }
.stepper-ctrl input::-webkit-inner-spin-button, .stepper-ctrl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 0.75rem; }
.extras legend { grid-column: 1 / -1; }
.extras label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex: none; }
.total { position: relative; margin: 1.25rem -1.5rem 1rem; padding: 1.2rem 1.5rem 0.2rem; border-top: 2px dashed var(--line); }
.total::before, .total::after { content: ""; position: absolute; top: -0.85rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.total::before { left: -0.8rem; clip-path: inset(0 0 0 50%); }
.total::after { right: -0.8rem; clip-path: inset(0 50% 0 0); }
.total-label { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.total-price { margin: 0.1rem 0 0.1rem; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.total-note { margin: 0; color: var(--muted); font-size: 0.92rem; }
.fine { margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* Services --------------------------------------------------------------- */
.service-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform 0.2s ease, border-color 0.2s ease; }
.service:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.service p { color: var(--muted); }
.service-icon { width: 3rem; height: 3rem; padding: 0.6rem; border-radius: 14px; background: var(--tint); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.2rem; }
.from { margin: auto 0 0 !important; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink) !important; }
.from strong { font-family: var(--font-display); font-size: 1.4rem; }

/* Included tabs ---------------------------------------------------------- */
.included { background: var(--surface); border-block: 1px solid var(--line); }
.included-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .included-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.tab-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tab-list [role="tab"] { font: 600 0.97rem var(--font-body); padding: 0.65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.tab-list [role="tab"][aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab-panel { border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); padding: 1.5rem; }
.checklist { display: grid; gap: 0.75rem 1.75rem; }
@media (min-width: 620px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 0.65rem; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 0.85rem no-repeat; }
:root[data-theme="dark"] .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303201b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303201b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); } }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; gap: 1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--soft); color: var(--ink); font: 800 1.25rem var(--font-display); margin-bottom: 1rem; }

/* Areas ------------------------------------------------------------------ */
.areas-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
.postcode label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.postcode-row { display: flex; gap: 0.6rem; max-width: 28rem; }
.postcode-row input { flex: 1; min-width: 0; }
.postcode-result { margin: 0.75rem 0 0; min-height: 1.5em; font-weight: 500; }
.postcode-result.is-yes { color: var(--accent); }
.postcode-result.is-no { color: var(--muted); }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-chips li { padding: 0.75rem 1.15rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 700 1.1rem var(--font-display); letter-spacing: 0.01em; box-shadow: var(--shadow); }

/* Reviews ---------------------------------------------------------------- */
.reviews { padding-top: 0; }
.sample-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: #e6a700; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.08rem; }
.review figcaption { margin-top: auto; font-weight: 600; color: var(--muted); font-size: 0.95rem; }

/* Guarantee band --------------------------------------------------------- */
.guarantee { padding-bottom: var(--space); }
.guarantee-inner { display: flex; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: calc(var(--radius) * 1.3); background: var(--accent); color: var(--on-accent); }
.guarantee-inner svg { width: 4rem; height: 4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.3rem; }
.guarantee-inner p { margin: 0; }
@media (max-width: 560px) { .guarantee-inner { flex-direction: column; align-items: flex-start; } }

/* FAQ -------------------------------------------------------------------- */
.faq { padding-top: 0; }
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.4rem; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -0.1rem; }
.faq-list p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* Quote form ------------------------------------------------------------- */
.quote { background: var(--surface); border-top: 1px solid var(--line); }
.quote-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .quote-grid { grid-template-columns: 0.85fr 1.15fr; } }
.big-phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; margin: 1.25rem 0 0.25rem; }
.big-phone a { color: var(--ink); text-decoration: none; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form { display: grid; gap: 1rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 12px; padding: 0.75rem 0.9rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[readonly] { background: var(--tint); border-style: dashed; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.consent input { margin-top: 0.25rem; }
.form-status { margin: 0; min-height: 1.2em; font-size: 0.95rem; }
.form-status.is-error { color: var(--error); }

/* Footer ----------------------------------------------------------------- */
.site-footer { padding-block: 3rem 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1fr auto; } }
.footer-grid .brand { margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Simple pages ----------------------------------------------------------- */
.page { padding-block: clamp(3rem, 8vw, 6rem); }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
.page h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.template-note { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--tint); margin-bottom: 2rem; }

/* Motion ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(n + 4) { animation-delay: 0.15s; }
.estimator { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .estimator, .swash::after { animation: none; }
  .btn, .service { transition: none; }
}
