/* D&M Home Services — shared styles */
:root {
  --navy: #14213d;
  --navy-2: #1f3160;
  --orange: #fca311;
  --orange-deep: #e08e00;
  --orange-text: #9a5b00;
  --paper: #f3f5f8;
  --surface: #ffffff;
  --text: #14213d;
  --text-soft: #4a5568;
  --line: rgba(20, 33, 61, 0.13);
  --hero-bg: #14213d;
  --radius: 14px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1528;
    --surface: #152039;
    --text: #eef1f6;
    --text-soft: #b7c0d0;
    --line: rgba(238, 241, 246, 0.13);
    --orange-text: #fcb542;
    --hero-bg: #0a1122;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1528;
  --surface: #152039;
  --text: #eef1f6;
  --text-soft: #b7c0d0;
  --line: rgba(238, 241, 246, 0.13);
  --orange-text: #fcb542;
  --hero-bg: #0a1122;
}

[hidden] { display: none !important; }
html { height: 100%; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-weight: 900; }
h2 { font-weight: 800; font-size: clamp(28px, 4.2vw, 40px); }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.overflow-x { overflow-x: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo-mark {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
}
.logo-mark .amp { color: var(--orange); }
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  color: var(--text);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-soft); }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--orange); }
.lang-link { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--text-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.lang-link:hover { color: var(--text); border-color: var(--text-soft); }
.call-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
:root[data-theme="dark"] .call-pill { background: var(--orange); color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .call-pill { background: var(--orange); color: var(--navy); } }
.call-pill svg { width: 16px; height: 16px; flex: none; }
.call-pill .cp-lbl { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 10px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-bg); color: #fff; padding: 64px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-area { font-weight: 600; font-size: 15px; color: rgba(255,255,255,0.78); margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 70px); max-width: 13ch; }
.swoosh { display: block; width: min(360px, 70%); height: 26px; margin-top: 10px; }
.hero .lede { margin-top: 18px; font-size: 18.5px; max-width: 46ch; color: rgba(255,255,255,0.86); }
.hero-text { margin-top: 14px; font-size: 15.5px; color: rgba(255,255,255,0.82); }
.hero-text a { color: #fff; font-weight: 700; }
.form-after { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--text-soft); }
.form-after a { color: var(--text); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.86); }
.trust svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 340px; height: auto; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { margin-top: 12px; color: var(--text-soft); }

/* ---------- Estimator (shared) ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.choice-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice {
  background: var(--paper); color: var(--text);
  border: 2px solid var(--line); border-radius: 12px;
  padding: 18px 16px; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 15px;
  display: flex; flex-direction: column; gap: 4px;
}
.choice:hover { border-color: var(--text-soft); }
.choice[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--surface); }
.choice .c-icon { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.choice .c-label { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; }
.choice .c-ex { font-size: 13.5px; color: var(--text-soft); }
.choice.compact { padding: 12px 14px; align-items: center; text-align: center; }
.choice.compact .c-label { font-size: 15px; }

.est-step { margin-top: 26px; }
.est-step[hidden] { display: none; }
.est-q { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.est-hint { font-size: 14px; color: var(--text-soft); margin: -6px 0 12px; }

.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--text); font-size: 24px; font-weight: 700; cursor: pointer; font-family: inherit; }
.stepper button:hover { background: var(--line); }
.stepper output { min-width: 56px; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; }

.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--text); cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600;
}
.toggle::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--text-soft); flex: none; }
.toggle[aria-pressed="true"] { border-color: var(--orange); }
.toggle[aria-pressed="true"]::before { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--surface); }
.door-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.door-row span { font-weight: 600; font-size: 15px; }

.result {
  margin-top: 26px; padding: 26px; border-radius: var(--radius);
  background: var(--navy); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
}
.result[hidden] { display: none; }
.result .r-label { font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 600; }
.result .r-price { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(36px, 6vw, 50px); line-height: 1.05; color: var(--orange); }
.result .r-sum { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,0.9); }
.result .r-deposit { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: #fff; padding-left: 12px; border-left: 3px solid var(--orange); max-width: 56ch; }
.result .r-fine { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,0.7); max-width: 56ch; }
.result .r-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.quote-side p { color: var(--text-soft); margin-top: 12px; }
.quote-side .alt { margin-top: 22px; padding: 18px; border-radius: 12px; border: 1px dashed var(--line); }
.quote-side .alt strong { display: block; margin-bottom: 4px; }
.quote-side .alt a { color: var(--text); font-weight: 700; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section-alt .form-card { background: var(--paper); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.section-alt .field input, .section-alt .field select, .section-alt .field textarea { background: var(--surface); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,163,17,0.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.est-chip { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(252,163,17,0.14); border: 1px solid rgba(252,163,17,0.45); font-size: 14.5px; }
.est-chip.show { display: block; }
.consent { font-size: 13px; color: var(--text-soft); margin: 4px 0 16px; }
.consent a { color: var(--text-soft); }
.hp { position: absolute; left: -9999px; }

/* ---------- Steps / lists ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { border-top: 4px solid var(--orange); padding-top: 18px; counter-increment: s; }
.steps li::before { content: counter(s); font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 34px; color: var(--text); display: block; line-height: 1; margin-bottom: 10px; }
.steps p { margin-top: 8px; color: var(--text-soft); font-size: 15.5px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.list-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .list-card { background: var(--paper); }
.list-card h3 { margin-bottom: 10px; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { display: flex; gap: 10px; padding: 6px 0; color: var(--text-soft); font-size: 15.5px; }
.list-card li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.yes svg { color: #1f8a4c; }
.no svg { color: #c2410c; }

.areas-counties { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.county { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
:root[data-theme="dark"] .county { background: var(--orange); color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .county { background: var(--orange); color: var(--navy); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.section-alt .chips li { background: var(--paper); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 600; color: var(--orange-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--text-soft); max-width: 68ch; }

/* ---------- Cross-sell ---------- */
.cross {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: var(--orange); color: var(--navy);
  border-radius: var(--radius); padding: 26px 28px; text-decoration: none;
}
.cross .x-icon { font-size: 40px; line-height: 1; }
.cross h2 { font-size: clamp(22px, 3vw, 30px); }
.cross p { margin-top: 4px; font-weight: 500; }
.cross .x-go { background: var(--navy); color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 10px; white-space: nowrap; }
.cross:hover .x-go { background: var(--navy-2); }

/* ---------- Final CTA ---------- */
.final { background: var(--hero-bg); color: #fff; text-align: center; padding: 64px 0; }
.final h2 { font-size: clamp(30px, 5vw, 46px); }
.final p { margin: 12px auto 0; max-width: 52ch; color: rgba(255,255,255,0.84); }
.final .cta-row { justify-content: center; }
.review-link { display: inline-block; margin-top: 22px; color: rgba(255,255,255,0.84); font-weight: 600; font-size: 15px; }
.review-link[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 30px 0 34px; font-size: 14px; color: var(--text-soft); border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--text-soft); }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(20,33,61,0.12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 6px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .mobile-bar svg { width: 17px; height: 17px; flex: none; }
  .mb-call { background: var(--navy); color: #fff; }
  .mb-text { background: var(--paper); color: var(--text); border: 1.5px solid var(--line); }
  .mb-quote { background: var(--orange); color: var(--navy); }
  body { padding-bottom: 76px; }
  body.typing .mobile-bar { display: none; }
  .site-header { position: static; }
  html { scroll-padding-top: 12px; }
}

/* ---------- Simple pages (privacy / thanks) ---------- */
.simple { max-width: 760px; margin: 0 auto; padding: 48px 22px 64px; }
.simple h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.simple h2 { font-size: 22px; margin: 30px 0 6px; }
.simple p, .simple li { color: var(--text-soft); }
.simple a { color: var(--text); font-weight: 600; }
.thanks-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 24px; }
.thanks-box .cta-row { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid.three { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .cols { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
  .cross { grid-template-columns: 1fr; text-align: left; }
  .cross .x-go { justify-self: start; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; }
  .nav { order: 5; width: 100%; gap: 8px; }
  .nav a { flex: 1; text-align: center; padding: 8px 6px; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; }
  .nav a[aria-current="page"] { box-shadow: none; background: var(--navy); color: #fff; border-color: var(--navy); }
  .call-pill .cp-num { display: none; }
  .call-pill .cp-lbl { display: inline; }
  .logo-mark { font-size: 26px; }
  .hero { padding: 44px 0 46px; }
  .section { padding: 50px 0; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
}
@media (max-width: 420px) {
  .choice-grid, .choice-grid.two { grid-template-columns: 1fr 1fr; }
  .choice { padding: 14px 12px; }
}


/* ---- FAQ photo band (faded real-estate photo behind the questions) ---- */
.faq-band { position: relative; isolation: isolate; background: var(--paper); overflow: hidden; }
.faq-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: 0.2; }
.faq-band-junk::before { background-image: url("/assets/faq-junk.jpg"); background-position: 70% 50%; }
.faq-band-painting::before { background-image: url("/assets/faq-painting.jpg"); background-position: 93% 50%; }
.faq-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--paper) 0%, transparent 45%, transparent 100%); opacity: 0.9; }

/* ---- Financing note inside the estimate result ---- */
.result .r-finance { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: #fff; padding-left: 12px; border-left: 3px solid var(--orange); max-width: 56ch; }
.result .r-finance a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* ---- "Still have a question?" block ---- */
.faq-help { max-width: 780px; margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.faq-help p { color: var(--text); }
.faq-help-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.faq details p a { color: var(--orange-text); font-weight: 600; }
