/* BOSS Cleaning LLC — public site
   Onyx field, white Signature Rule masthead, purple #7C4CF9. */

:root {
  --brand: #7C4CF9;
  --brand-deep: #5B2EE0;
  --brand-bright: #C9B6FF;
  --ink: #14161c;
  --bg: #090a0d;
  --bg-elev: #13141b;
  --bg-subtle: #1b1d27;
  --text: #f6f7f8;
  --text-dim: #d5d9e2;
  --text-muted: #b7bdca;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-data: "Inter", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 20px;
  color-scheme: dark;
}

html.theme-light {
  --bg: #f3f4f7;
  --bg-elev: #ffffff;
  --bg-subtle: #e7e9ee;
  --text: #14161c;
  --text-dim: #2e3442;
  --text-muted: #4e5666;
  --line: rgba(20, 22, 28, 0.12);
  --shadow: 0 16px 40px rgba(20, 22, 28, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -10%, rgba(124, 76, 249, 0.16), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body, button, input, select, textarea { font-family: inherit; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  color: var(--text);
}

p { margin: 0 0 0.9rem; color: var(--text-dim); }

a { color: var(--brand-bright); }
html.theme-light a { color: var(--brand-deep); }

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--brand);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.section-head p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  color: var(--brand-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html.theme-light .kicker { color: var(--brand-deep); }
.kicker::before {
  content: "";
  width: 1.3rem;
  height: 2px;
  background: var(--brand);
}

.accent { color: var(--brand-bright); }
html.theme-light .accent { color: var(--brand-deep); }

.signature-rule {
  height: 2px;
  background: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, #5B2EE0, var(--brand));
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 76, 249, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-ghost {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--line);
}

/* Header — white masthead, Signature Rule line */
.hours-bar {
  background: var(--brand);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
.hours-bar p { margin: 0; }
.hours-bar a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 0.15em;
}
.hours-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.6rem;
  padding: 1.3rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.8rem 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-weight: 600;
}
.hours-table thead th {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hours-table tbody th { color: var(--text); font-size: 1rem; }
.hours-table tr.is-closed th, .hours-table tr.is-closed td { color: var(--text-muted); }
.service-jumps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.service-jumps a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-subtle);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 168px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.brand { display: inline-flex; line-height: 0; flex: 0 0 auto; }
.site-header .brand img { height: 152px; width: auto; max-width: none; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-left: auto;
}
.site-nav a {
  color: #243040;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a[aria-current="page"] { color: var(--brand-deep); }
.site-nav .btn { color: #fff; margin-left: 0.35rem; }
.nav-menu { position: relative; }
.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #243040;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-menu-toggle[aria-current="true"],
.nav-menu-panel a[aria-current="page"] { color: var(--brand-deep); }
.nav-caret { width: 12px; height: 12px; display: block; }
.nav-menu-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 5;
  min-width: 13.5rem;
  display: flex;
  flex-direction: column;
  padding: 0.35rem;
  border: 1px solid rgba(20, 22, 28, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 22, 28, 0.12);
}
.nav-menu-panel a {
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
}
.nav-menu-panel a:hover { background: rgba(124, 76, 249, 0.1); }
.header-tools { display: flex; align-items: center; gap: 0.45rem; }
.theme-toggle,
.nav-toggle {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(20, 22, 28, 0.16);
  background: #fff;
  color: #243040;
  font-weight: 700;
  cursor: pointer;
}
.theme-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.theme-icon { width: 24px; height: 24px; display: block; }
.theme-icon-moon { display: none; }
html.theme-light .theme-icon-sun { display: none; }
html.theme-light .theme-icon-moon { display: block; }
.nav-toggle {
  display: none;
  width: 46px;
  align-items: center;
  justify-content: center;
}
.bars,
.bars::before,
.bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: #243040;
  position: relative;
}
.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.bars::before { top: -5px; }
.bars::after { top: 5px; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 180px);
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 10, 13, 0.9) 0%, rgba(9, 10, 13, 0.62) 46%, rgba(9, 10, 13, 0.18) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  max-width: 1120px;
}
.hero-copy .kicker { color: #e4dcff; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
  color: #fff;
  margin-bottom: 0.8rem;
}
.hero .lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: #f4f6f8;
}
.hero .accent { color: var(--brand-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.3rem 0 1.2rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #f7f7f8;
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
  transform: translateY(-1px);
}

.trust-grid,
.card-grid,
.step-grid,
.area-grid,
.split,
.footer-grid {
  display: grid;
  gap: 1rem;
}
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.area-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; }

.panel,
.card,
.step,
.area-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel { padding: 1.3rem 1.25rem 1.15rem; }
.card { padding: 1.15rem 1.1rem 1.2rem; display: flex; flex-direction: column; min-height: 100%; }
.card h3 { font-size: 1.35rem; }
.card p { flex: 1; }
.card .from { margin-top: auto; }
.card.is-featured { border-color: rgba(124, 76, 249, 0.7); }
.badge {
  align-self: flex-start;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 76, 249, 0.14);
  color: var(--brand-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html.theme-light .badge { color: var(--brand-deep); }
.from { font-family: var(--font-data); }
.js-from, .price-figure {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.from-note, .fine { color: var(--text-muted); font-size: 0.92rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.8rem; }
.card-actions a { font-weight: 700; }

.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.pill, .choice-chip, .choice-card, .check-row {
  position: relative;
}
.pill {
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.pill input, .choice-chip input, .choice-card input, .check-row input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pill:has(input:checked),
.choice-chip:has(input:checked),
.choice-card:has(input:checked),
.check-row:has(input:checked) {
  border-color: var(--brand);
  background: rgba(124, 76, 249, 0.14);
}
.pill:has(input:focus-visible),
.choice-chip:has(input:focus-visible),
.choice-card:has(input:focus-visible),
.check-row:has(input:focus-visible) {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 6px var(--brand);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  height: 2rem;
}
.calc-result {
  background: var(--bg-subtle);
  border-radius: 18px;
  padding: 1.2rem;
  border: 1px solid var(--line);
}
.price-figure { font-size: clamp(2.6rem, 5vw, 3.6rem); display: block; margin: 0.2rem 0; }

.step { padding: 1.1rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-bright);
}
html.theme-light .step-num { color: var(--brand-deep); }

.area-card { padding: 1rem 1.05rem; }
.area-card h3 { margin-bottom: 0.3rem; font-size: 1.2rem; }

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(124, 76, 249, 0.2), transparent 55%),
    var(--bg-elev);
  border: 1px solid var(--line);
}

.founder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.75fr);
  gap: 2rem;
  align-items: start;
}
.founder-hero .checklist { margin: 0.4rem 0 1rem; }
.founder-hero figure { margin: 0; }
.founder-hero img {
  width: min(100%, 380px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 22px;
  display: block;
  margin-left: auto;
  border: 1px solid var(--line);
}
.founder-hero figcaption {
  margin-top: 0.65rem;
  text-align: right;
  color: var(--text-muted);
  font-weight: 700;
}
.founder-hero img.portrait-top { object-position: center 12%; }
.founder-band { padding-top: 0.5rem; }
.founder-name {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 12ch;
}
.page-hero { padding: 3.2rem 0 0.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero .lede { max-width: 40rem; font-size: 1.12rem; }

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.service-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.checklist { margin: 0; padding-left: 1.1rem; }
.checklist li { margin: 0.25rem 0; color: var(--text-dim); }
.addon-table, .freq-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-data);
}
.addon-table th, .addon-table td, .freq-table th, .freq-table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}
.addon-table th, .freq-table th { color: var(--text); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.gallery figure {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.gallery figcaption { padding: 1rem 1.05rem 1.15rem; }
.gallery h2 { font-size: 1.45rem; }

.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}
.seal-plate {
  background: #fff;
  border-radius: 18px;
  padding: 0.7rem;
  display: inline-flex;
}
.seal-plate img { width: 120px; height: auto; display: block; }
video {
  width: 100%;
  border-radius: 18px;
  background: #000;
  display: block;
}

.site-footer {
  margin-top: 2rem;
  background: #090a0d;
  color: #f4f6f8;
}
.site-footer .footer-grid { padding: 2rem 0 1rem; }
.site-footer h2 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer p, .site-footer a { color: #d5d9e2; }
.site-footer a { text-underline-offset: 0.15em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.8rem;
  line-height: 0;
}
.footer-logo img { height: 42px; width: auto; }
.legal {
  color: #b7bdca;
  font-size: 0.92rem;
  padding-bottom: 1.5rem;
}

/* Estimate */
.wizard-progress { scroll-margin-top: 188px; padding-top: 1.4rem; }
.progress-track {
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.8rem 0 0.7rem;
}
.progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--brand), #C9B6FF);
}
.step-inds {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.step-ind.is-current { color: var(--text); }
.step-ind.is-done { color: var(--brand-bright); }
html.theme-light .step-ind.is-done { color: var(--brand-deep); }

.wizard-step { padding-bottom: 7.5rem; }
.wizard-step h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.estimate-hero { padding-top: 2rem; padding-bottom: 0; }
.wizard-step h2:focus { outline: none; }
.choice-grid, .tier-grid, .counter-grid, .time-grid, .date-row {
  display: grid;
  gap: 0.7rem;
}
.choice-grid { grid-template-columns: repeat(3, 1fr); }
.tier-grid { grid-template-columns: 1fr 1fr; }
.counter-grid { grid-template-columns: 1fr 1fr; }
.time-grid { grid-template-columns: 1fr; }
.date-row { grid-template-columns: repeat(6, 1fr); }
.field-label, legend {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.45rem;
  padding: 0;
}
fieldset {
  border: 0;
  margin: 0 0 1.1rem;
  padding: 0;
}
.choice-chip, .choice-card, .check-row, .counter, .field input, .field select, .field textarea {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 16px;
}
.choice-chip, .choice-card, .check-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
}
.choice-card small, .check-row small, .choice-chip small { font-weight: 500; color: var(--text-muted); }
.choice-card { min-height: 132px; }
.chip-dow, .chip-mon { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.chip-num { font-family: var(--font-display); font-size: 1.4rem; }
.check-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 0.8rem; }
.check-row span { display: block; }
.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.8rem;
}
.counter button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}
.counter output {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}
.field { margin-bottom: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 0.75rem; }
.step-error {
  background: rgba(124, 76, 249, 0.12);
  border: 1px solid rgba(124, 76, 249, 0.5);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}
.note {
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--brand);
  background: var(--bg-subtle);
  border-radius: 0 12px 12px 0;
}
.wizard-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.live-price { margin: 0; display: flex; flex-direction: column; }
.live-price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.live-price span { color: var(--text-muted); font-size: 0.85rem; font-weight: 700; }

.paper {
  background: #fff;
  color: #1f2937;
  border-radius: 18px;
  padding: 1.3rem 1.2rem 1.1rem;
  box-shadow: var(--shadow);
}
.paper p, .paper strong { color: #1f2937; }
.paper-top, .paper-parties {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: start;
}
.paper-parties { grid-template-columns: 1fr 1fr 0.8fr; margin: 0.9rem 0; }
.paper img { height: 42px; width: auto; }
.paper-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin: 0; }
.paper-id { text-align: right; }
.paper-doc {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.paper-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.paper .signature-rule { margin: 0.35rem 0 0.2rem; }
.paper-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-family: var(--font-data);
  font-size: 0.95rem;
}
.paper-line div { display: flex; flex-direction: column; }
.paper-line span { color: #4b5563; }
.paper-amt { font-weight: 700; color: #111827; white-space: nowrap; }
.paper-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.8rem;
  font-family: var(--font-display);
}
.paper-total strong { font-size: 1.7rem; color: var(--brand-deep); }
.paper-foot, .paper-notes, .paper-extra { font-size: 0.85rem; color: #4b5563; }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0 1.2rem; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(12px);
  background: #111218;
  color: #fff;
  border: 1px solid rgba(124, 76, 249, 0.55);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .trust-grid, .card-grid, .step-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-layout, .service-block, .about-grid, .contact-grid, .area-grid, .hours-panel { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .date-row { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.check-summary { display: flex; flex-direction: column; gap: 0.7rem; position: sticky; top: 188px; }
.check-summary h2 { margin: 0; font-size: 1.35rem; }
.check-summary .btn { width: 100%; }
.ring-wrap { position: relative; width: 92px; height: 92px; }
.progress-ring { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring-bg, .ring-fill { fill: none; stroke-width: 8; }
.ring-bg { stroke: var(--line); }
.ring-fill { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 0.25s ease; }
.ring-wrap span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
}
.tag-legend, .filter-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag-legend button, button.pill {
  font-family: inherit;
  cursor: pointer;
}
.tag-legend button {
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
}
.phone-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.phone-lines a {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
.phone-lines span { display: block; color: var(--text-muted); font-size: 0.92rem; }
.phone-lines-inline { flex-direction: row; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 1rem; }
.saved-estimates { padding-top: 1.6rem; }
.saved-estimates h2 { font-size: 1.45rem; }
button.pill.is-on, .tag-legend button:hover, .tag-legend button:focus-visible {
  border-color: var(--brand);
  background: rgba(124, 76, 249, 0.14);
  color: var(--text);
}
.task-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.task-row {
  width: 100%;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  text-align: left;
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  font: inherit;
}
.task-row.is-marked { border-color: var(--brand); }
.task-box {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.task-row.is-marked .task-box { background: var(--brand); border-color: var(--brand); color: #fff; }
.task-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.task-label { font-weight: 700; }
.task-meta { color: var(--text-muted); font-size: 0.88rem; }
.saved-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.saved-list li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0.4rem 1.25rem 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 2px solid var(--brand);
  }
  .site-nav.is-open {
    display: flex;
    max-height: calc(100dvh - 15rem);
    overflow-y: auto;
  }
  .site-nav .btn { margin: 0.4rem 0 0; }
  .nav-menu { width: 100%; }
  .nav-menu-toggle { width: 100%; justify-content: space-between; }
  .nav-menu-panel {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.15rem 0.85rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header { position: sticky; }
}

@media (max-width: 800px) {
  .check-layout, .founder-hero { grid-template-columns: 1fr; }
  .founder-hero img { margin-left: 0; }
  .founder-hero figcaption { text-align: left; }
  .check-summary { position: static; }
}

@media (max-width: 640px) {
  .wrap, .header-inner, .hero-copy { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .trust-grid, .card-grid, .step-grid, .footer-grid, .choice-grid, .counter-grid, .form-row, .gallery, .paper-top, .paper-parties {
    grid-template-columns: 1fr;
  }
  .date-row { grid-template-columns: repeat(3, 1fr); }
  .hero-shade {
    background: linear-gradient(180deg, rgba(9, 10, 13, 0.2) 0%, rgba(9, 10, 13, 0.78) 48%, rgba(9, 10, 13, 0.94) 100%);
  }
  .site-header .brand img { height: 108px; }
  .header-inner { min-height: 0; }
  .hero { min-height: 0; }
  .hero-copy { padding: 13rem 0 2.2rem; }
  .hero h1 { max-width: 10ch; }
  .section { padding: 3rem 0; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-chip { min-height: 64px; padding: 0.5rem 0.35rem; font-size: 0.84rem; text-align: center; }
  .wizard-step { padding-bottom: 7.5rem; }
  .estimate-hero { padding-top: 1.4rem; }
  .wizard-bar { flex-wrap: nowrap; gap: 0.5rem; }
  .live-price { width: auto; min-width: 0; }
  .live-price strong { font-size: 1.35rem; }
  .wizard-bar .btn { flex: 0 1 auto; min-width: 0; padding-inline: 0.85rem; }
  .paper-id { text-align: left; }
  .gallery img { height: 220px; }
}

.freq-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 720px) {
  .freq-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}

.wizard-bar:has(.bar-error:not([hidden])) { flex-wrap: wrap; }
.bar-error:not([hidden]) {
  flex: 1 0 100%;
  order: -1;
  margin: 0 0 0.45rem;
  background: #5B2EE0;
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
}
#estimate-summary,
#contact-summary { min-height: 180px; }

@media print {
  .site-header, .site-footer, .wizard-bar, .confirm-actions, .no-print, .theme-toggle { display: none !important; }
  body { background: #fff; color: #111; }
  .paper { box-shadow: none; }
  #confirmation { display: block !important; }
}
