/* ==========================================================================
   NextExterior — Redesign (v2) shared stylesheet
   Design system: DESIGN-SYSTEM.md in the parent directory.
   Palette: Deep Navy #0F2A44 + Safety Orange #F26B1D (KEPT from v1 —
   owner-approved, matches the V2-B "N" monogram logo).
   Refined supporting tokens: deeper navy, steel blue, pale orange tint,
   darker muted text. See DESIGN-SYSTEM.md §1 for contrast ratios.
   JS hooks (kept identical to v1 main.js): .nav-toggle, #main-nav (.open),
   .faq-item/.faq-q/.faq-a/.faq-icon, form.quote-form + .form-notice (.show),
   #footer-year.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/montserrat-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}

:root {
  /* --- Brand (kept from v1) --- */
  --navy: #0f2a44;            /* primary brand, headings, header, footer */
  --navy-deep: #081c31;       /* darkest band: final CTA, footer */
  --navy-hover: #0a2237;      /* navy button hover */
  --orange: #f26b1d;          /* CTA fill only — never body text on white */
  --orange-hover: #d9550f;    /* CTA fill hover only — never text (3.99:1) */

  /* --- Supporting (new in v2) --- */
  --steel: #33506e;           /* borders / dividers on navy */
  --steel-light: #8fa3b8;     /* secondary text on navy — 5.64:1 on navy */
  --mist: #f2f6fa;            /* alt section background */
  --line: #d8e0e9;            /* card / table borders on white */
  --orange-text: #c2410c;     /* orange TEXT on white — 5.18:1 */
  --orange-tint: #fdf0e7;     /* pale orange wash: callouts, icon chips */
  --ink: #1a1f2b;             /* body text — 16.47:1 on white */
  --muted: #4a5a6b;           /* secondary text — 7.08:1 on white */
  --faint: #d9e2ec;           /* body text on navy — 11.18:1 on navy */
  --green: #1e7d32;           /* check icons only — 5.20:1 on white */
  --white: #ffffff;

  /* --- Shape --- */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* --- Shadow --- */
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06), 0 2px 8px rgba(15, 42, 68, 0.06);
  --shadow-md: 0 2px 4px rgba(15, 42, 68, 0.08), 0 8px 24px rgba(15, 42, 68, 0.10);
  --shadow-lg: 0 4px 8px rgba(15, 42, 68, 0.10), 0 16px 40px rgba(15, 42, 68, 0.16);

  /* --- Layout --- */
  --maxw: 1280px;
  --maxw-narrow: 820px;
  --header-h: 76px;
  --stickybar-h: 60px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;               /* 17px desktop */
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--white);
  padding-bottom: 76px; /* room for the sticky call bar (60px bar + 16px clearance) */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
::selection { background-color: var(--orange); color: var(--navy); }

h1, h2, h3, h4 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; }   /* 36–56px */
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }                     /* 28–40px */
h3 { font-size: 1.375rem; font-weight: 700; }                         /* 22px */
h4 { font-size: 1.125rem; font-weight: 700; }                         /* 18px */
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }
strong { font-weight: 700; color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--maxw-narrow); margin: 0 auto; }

/* Section rhythm: 96px desktop, 64px mobile (v1: 56/40 — too tight). */
.section { padding: 96px 0; }
.section-alt { background-color: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro { color: var(--muted); font-size: 1.0625rem; max-width: 680px; }
.lead { font-size: 1.1875rem; line-height: 1.65; color: var(--muted); }
.small { font-size: 0.875rem; color: var(--muted); }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-text); margin: 0 0 12px;
}
.eyebrow.on-dark { color: var(--orange); } /* 4.81:1 on navy — passes */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background-color: var(--navy); color: var(--white); padding: 12px 18px; z-index: 300;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
/* Primary = orange fill + NAVY text (4.81:1). White text on orange is 3.05:1
   and is NEVER used. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  min-height: 52px; min-width: 52px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; text-align: center; line-height: 1.3;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }
.btn-primary {
  background-color: var(--orange); color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus { background-color: var(--orange-hover); color: var(--navy); box-shadow: var(--shadow-md); }
.btn-secondary {
  background-color: var(--white); color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover, .btn-secondary:focus { background-color: var(--mist); color: var(--navy); }
.btn-navy {
  background-color: var(--navy); color: var(--white);
}
.btn-navy:hover, .btn-navy:focus { background-color: var(--navy-hover); color: var(--white); box-shadow: var(--shadow-md); }
.btn-ghost-light {
  background-color: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost-light:hover, .btn-ghost-light:focus { background-color: rgba(255, 255, 255, 0.08); color: var(--white); border-color: var(--white); }
.btn-lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ----------
   Single row at every width ≥1080px. v1 wrapped to two rows at 1440px
   because it carried 9 nav items + phone + CTA. v2 nav is 7 items;
   Service Areas and FAQ live in the footer. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--navy); color: var(--white);
  box-shadow: 0 2px 12px rgba(8, 28, 49, 0.35);
}
.header-inner {
  display: flex; align-items: center; gap: 10px;
  min-height: var(--header-h);
}
.wordmark { text-decoration: none; flex-shrink: 0; line-height: 0; }
.wordmark:hover, .wordmark:focus { text-decoration: none; }
.site-logo-img { height: 47px; width: auto; display: block; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; flex-wrap: nowrap; gap: 2px; list-style: none;
  margin: 0; padding: 0; white-space: nowrap;
}
.main-nav a {
  display: block; padding: 12px 10px;
  color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] {
  color: var(--orange); text-decoration: underline;
  text-underline-offset: 5px;
}
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 4px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 700; text-decoration: none;
  font-size: 1.0625rem; white-space: nowrap; padding: 12px 4px;
  font-family: "Montserrat", sans-serif;
}
.header-phone:hover, .header-phone:focus { color: var(--orange); }
.header-phone svg { color: var(--orange); }
.header-cta { padding: 10px 14px; min-height: 46px; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--white);
  color: var(--white); border-radius: var(--radius-sm); min-width: 48px; min-height: 48px;
  font-size: 1.15rem; font-weight: 700; cursor: pointer; margin-left: auto;
}

/* ---------- Hero: split layout (v2) ----------
   v1 buried the photo under a 96%-opaque navy overlay and stacked a 12-word
   H1, a long sub-head, two CTAs, a trust line AND a 5-card picker on top of
   it. v2: white background, text left, the photo visible right in a rounded
   frame with one floating fact card. One message, one primary CTA. */
.hero-split {
  background-color: var(--white);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero-split-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center;
}
.hero-split h1 { margin-bottom: 0.5em; }
.hero-copy { min-width: 0; } /* grid child: allows text to wrap instead of overflowing */
.hero-split h1 .accent { color: var(--orange-text); }
.hero-sub { color: var(--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  list-style: none; margin: 0; padding: 0;
  color: var(--muted); font-size: 0.9375rem; font-weight: 600;
}
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-chips svg { color: var(--green); flex-shrink: 0; }
.hero-chips a { color: var(--navy); font-weight: 700; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-photo-card {
  position: absolute; left: -20px; bottom: 28px;
  background-color: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 18px 22px; max-width: 300px;
}
.hero-photo-card strong {
  display: block; font-family: "Montserrat", sans-serif; color: var(--navy);
  font-size: 1.0625rem; margin-bottom: 2px;
}
.hero-photo-card p { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.hero-photo-card a { color: var(--navy); font-weight: 700; }

/* ---------- Service picker band ----------
   The picker is no longer stacked on the hero photo (v1). It is its own
   clean band on white, directly under the hero — the Champion / Andersen
   pattern: "What project do you want to start?" as a separate decision. */
.picker-band { padding: 0 0 96px; background-color: var(--white); }
.picker-band .section-head { margin-bottom: 32px; }
.picker-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.picker-grid a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 22px 20px; min-height: 52px;
  background-color: var(--mist); color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.0625rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.picker-grid a span {
  display: block; font-family: "Inter", sans-serif; font-weight: 500;
  font-size: 0.875rem; color: var(--muted); line-height: 1.45;
}
.picker-grid a:hover, .picker-grid a:focus {
  border-color: var(--orange); box-shadow: var(--shadow-md);
  transform: translateY(-2px); color: var(--navy);
}
.picker-grid a .picker-arrow { color: var(--orange-text); font-weight: 700; }

/* ---------- Trust strip ----------
   v1: four white cards on grey, three of them headed by a placeholder
   (a licence-number placeholder as the headline). v2: a single navy strip, one line,
   icon + claim only — placeholders never headline a trust element. */
.trust-strip { background-color: var(--navy); color: var(--white); }
.trust-strip ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  list-style: none; margin: 0; padding: 24px;
}
.trust-strip li {
  display: flex; align-items: flex-start; gap: 12px; margin: 0;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.5; color: var(--white);
}
.trust-strip li svg { color: var(--orange); flex-shrink: 0; }
.trust-strip a { color: var(--white); font-weight: 700; }

/* ---------- Page hero (hubs, guides, policy pages) ----------
   Navy band, breadcrumb, H1, sub-head, CTAs. Hubs add a right-side photo
   card; guides/policy pages use the text-only variant. */
.page-hero { background-color: var(--navy); color: var(--white); padding: 56px 0 60px; }
.page-hero h1 { color: var(--white); }
.page-hero .hero-sub { color: var(--faint); }
.page-hero .hero-chips { color: var(--faint); }
.page-hero .hero-chips a { color: var(--white); }
.page-hero .btn-secondary { background-color: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.page-hero .btn-secondary:hover, .page-hero .btn-secondary:focus { background-color: rgba(255, 255, 255, 0.08); color: var(--white); border-color: var(--white); }
.breadcrumbs { color: var(--steel-light); font-size: 0.9375rem; margin: 0 0 16px; }
.breadcrumbs a { color: var(--white); }
.breadcrumbs [aria-current="page"] { color: var(--orange); font-weight: 600; }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.page-hero-inner.text-only { grid-template-columns: 1fr; max-width: var(--maxw-narrow); }
.page-hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero .updated { color: var(--steel-light); font-size: 0.9375rem; margin: 20px 0 0; }
.page-hero .updated strong { color: var(--white); }

/* ---------- Service cards ----------
   v1: 3+2 grid — the last row of two orphan cards reads unfinished.
   v2: 3×2 grid where the sixth cell is a navy "not sure?" call card,
   so the grid is always complete and adds a call point. Cards: 16px
   radius, image zoom on hover, material cues as pills, not a sentence. */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.service-card {
  background-color: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin: 0;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover, .service-card:focus-within { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-img { overflow: hidden; }
.service-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover img { transform: scale(1.04); }
.service-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 0.45em; font-size: 1.375rem; }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a:hover { color: var(--orange-text); text-decoration: underline; }
.service-card p { color: var(--muted); }
.material-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 4px 0 20px; padding: 0;
}
.material-pills li {
  margin: 0; padding: 5px 12px;
  background-color: var(--mist); color: var(--navy);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
}
.service-card .card-link {
  margin-top: auto; font-weight: 700; color: var(--orange-text);
  text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; gap: 6px;
}
.service-card .card-link:hover { text-decoration: underline; }
/* Sixth cell: navy call card that completes the grid. */
.service-card-call {
  background-color: var(--navy); color: var(--white);
  border: 1px solid var(--navy);
  padding: 28px; display: flex; flex-direction: column; justify-content: center;
}
.service-card-call h3 { color: var(--white); }
.service-card-call p { color: var(--faint); }
.service-card-call .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Steps ----------
   v1: numbered circles inside white cards. v2: editorial steps — large
   numerals, a connecting rule, no card chrome. (RbA / Champion pattern.) */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  list-style: none; margin: 0; padding: 0; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%;
  border-top: 2px dashed var(--line); z-index: 0;
}
.steps li { margin: 0; position: relative; z-index: 1; padding-top: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background-color: var(--white); color: var(--navy);
  border: 2px solid var(--orange);
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.5rem;
  margin-bottom: 20px;
}
.steps h3 { margin-bottom: 0.45em; }
.steps p { color: var(--muted); margin-bottom: 0; }
.steps a { font-weight: 700; }

/* ---------- Cost preview (homepage) ----------
   v1: a data table. v2: editorial rows — service, large range, source,
   guide link — the Angi cost-guide-card pattern, scannable, not tabular. */
.cost-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cost-list li {
  display: grid; grid-template-columns: 200px 1fr 260px auto; gap: 24px; align-items: center;
  padding: 24px 4px; margin: 0; border-bottom: 1px solid var(--line);
}
.cost-service { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--navy); text-decoration: none; }
.cost-service:hover { color: var(--orange-text); text-decoration: underline; }
.cost-range { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--navy); line-height: 1.35; }
.cost-source { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.cost-guide-link { font-weight: 700; color: var(--orange-text); text-decoration: none; white-space: nowrap; }
.cost-guide-link:hover { text-decoration: underline; }
.cost-note { font-size: 0.9375rem; color: var(--muted); margin-top: 20px; }

/* ---------- Why choose us (editorial split) ----------
   v1: six identical white cards — card fatigue after services + steps.
   v2: sticky heading + call on the left; borderless checklist on the
   right. (Andersen "Why Trust Andersen" / Precision checklist pattern.) */
.why-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.why-sticky .btn { margin-top: 12px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 24px 0; margin: 0; border-bottom: 1px solid var(--line);
}
.why-list li:first-child { padding-top: 4px; }
.why-list li:last-child { border-bottom: 0; }
.why-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background-color: var(--orange-tint); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-list h3 { margin-bottom: 0.3em; font-size: 1.1875rem; }
.why-list p { color: var(--muted); margin-bottom: 0; }

/* ---------- Service areas ---------- */
.areas-panel {
  background-color: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start;
  box-shadow: var(--shadow-sm);
}
.areas-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background-color: var(--orange-tint); color: var(--orange-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.areas-panel p { color: var(--muted); }
.areas-panel p:last-child { margin-bottom: 0; }
.areas-panel .btn { margin-top: 8px; }

/* ---------- FAQ ----------
   v1: full-width accordion. v2: two-column — heading + navy "still have
   questions?" call card on the left, accordion on the right. */
.faq-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-call-card {
  background-color: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: 28px; margin-top: 28px;
}
.faq-call-card h3 { color: var(--white); margin-bottom: 0.4em; }
.faq-call-card p { color: var(--faint); margin-bottom: 16px; }
.faq-list { margin: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; min-height: 52px; text-align: left;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.0625rem;
  color: var(--navy); line-height: 1.4;
}
.faq-q:hover { color: var(--orange-text); }
.faq-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--orange-tint); color: var(--orange-text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 700; line-height: 1;
}
.faq-a { padding: 0 4px 24px; color: var(--muted); max-width: 640px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--orange-text); font-weight: 700; }

/* ---------- Final CTA + quote form ---------- */
.final-cta { background-color: var(--navy-deep); color: var(--white); }
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--faint); }
.final-cta .eyebrow { color: var(--orange); }
.final-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.final-copy a { color: var(--white); font-weight: 700; }
.final-phone {
  display: block; margin: 20px 0 8px;
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -0.01em;
  color: var(--white); text-decoration: none; line-height: 1.15;
}
.final-phone:hover { color: var(--orange); }
.final-copy .btn { margin-top: 8px; }
.quote-form {
  background-color: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { color: var(--navy); margin-bottom: 0.3em; }
.quote-form .form-intro { color: var(--muted); font-size: 0.9375rem; }
.quote-form label { display: block; font-weight: 600; color: var(--ink); margin: 16px 0 6px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif; font-size: 1rem; color: var(--ink);
  background-color: var(--white);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy);
}
.quote-form textarea { min-height: 96px; resize: vertical; }
.tcpa { font-size: 0.85rem; color: var(--muted); margin: 18px 0 14px; line-height: 1.55; }
.form-notice {
  display: none; margin-top: 16px; padding: 14px 16px;
  background-color: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); font-weight: 600;
}
.form-notice.show { display: block; }

/* ---------- Callout / note (hubs, guides) ---------- */
.callout {
  background-color: var(--orange-tint); border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px; margin: 32px 0; color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }
.callout a { font-weight: 700; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

/* ---------- Other services strip (hubs) ---------- */
.other-services { background-color: var(--mist); }
.other-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; margin: 32px 0 0; padding: 0;
}
.other-grid a {
  display: block; padding: 22px; min-height: 52px;
  background-color: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none;
  font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.other-grid a:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--navy); }
.other-grid a span { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 0.875rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- Long-form prose (hubs, guides, policy) ---------- */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--ink); }
.prose ul li::marker { color: var(--orange-text); }
.prose p { color: var(--ink); }
.prose .lead { color: var(--muted); }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { color: var(--muted); font-size: 0.875rem; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; background-color: var(--white); font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.prose thead th { background-color: var(--navy); color: var(--white); font-family: "Montserrat", sans-serif; font-size: 0.9375rem; }
.prose tbody th { font-weight: 700; color: var(--navy); }
.prose tbody tr:nth-child(even) td { background-color: var(--mist); }

/* Guide: range-at-a-glance stat cards (Angi cost-guide pattern). */
.range-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  list-style: none; margin: 32px 0; padding: 0;
}
.range-cards li {
  background-color: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; margin: 0;
}
.range-cards .range-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 8px; }
.range-cards .range-value { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.375rem; color: var(--navy); line-height: 1.25; margin-bottom: 6px; }
.range-cards p { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* Guide: on-this-page contents list. */
.toc {
  background-color: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; margin: 32px 0;
}
.toc h2 { font-size: 1.0625rem; margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 6px; }
.toc a { font-weight: 600; }

/* Policy pages: dated header + section numbering. */
.policy-meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 8px; }
.policy-meta strong { color: var(--ink); }
.legal-note {
  background-color: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
  font-size: 0.9375rem; color: var(--muted);
}
.legal-note p:last-child { margin-bottom: 0; }

/* ---------- Footer ----------
   v1: 3 columns. v2: 4 columns — Cost Guides gets its own column, and the
   legal column carries the full policy set (the guide footer pattern). */
.site-footer { background-color: var(--navy-deep); color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 24px 40px;
}
.footer-brand p { color: var(--faint); }
.footer-brand .footer-phone { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--white); }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: var(--faint); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--steel);
  padding: 22px 24px 28px; color: var(--steel-light); font-size: 0.875rem;
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
}
.footer-bottom p { margin: 0; color: var(--steel-light); }
.footer-bottom a { color: var(--steel-light); }

/* ---------- Sticky mobile call bar ----------
   60% Call / 40% Free Estimate, 64px tall, safe-area aware. Desktop: hidden. */
.sticky-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex;
  background-color: var(--navy);
  box-shadow: 0 -2px 16px rgba(8, 28, 49, 0.45);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--stickybar-h); text-decoration: none;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.0625rem;
}
.sticky-callbar .call-now {
  flex: 0 0 60%; background-color: var(--orange); color: var(--navy);
}
.sticky-callbar .call-now:hover { background-color: var(--orange-hover); color: var(--navy); }
.sticky-callbar .free-estimate {
  flex: 0 0 40%; background-color: var(--navy); color: var(--white);
}
.sticky-callbar .free-estimate:hover { background-color: var(--navy-hover); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  /* Header collapses one breakpoint earlier than v1 (960px) because the
     7-item nav + phone + CTA cannot hold a single row below ~1080px. */
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background-color: var(--navy); padding: 8px 24px 20px;
    border-top: 1px solid var(--steel);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 13px 4px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions { display: none; }
  .hero-split-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-card { left: 16px; }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }
  .picker-grid li:last-child { grid-column: 1 / -1; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .cost-list li { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .cost-source { grid-column: 1 / -1; }
  .why-split { grid-template-columns: 1fr; gap: 40px; }
  .why-sticky { position: static; }
  .faq-split { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { position: static; }
  .final-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
  .range-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  h1 { font-size: 2.125rem; }                 /* 34px */
  .hero-split h1 { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }                 /* 26px */
  h3 { font-size: 1.25rem; }                  /* 20px */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .hero-split { padding: 48px 0 56px; }
  .picker-band { padding-bottom: 64px; }
  .picker-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: 1fr; gap: 12px; padding: 18px 24px; }
  .cost-list li { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  .cost-range { font-size: 1.125rem; }
  .areas-panel { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .why-list li { grid-template-columns: 32px 1fr; gap: 12px; padding: 20px 0; }
  .why-icon { width: 32px; height: 32px; }
  .quote-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .other-grid { grid-template-columns: 1fr; }
  .hero-photo-card { position: static; margin-top: 16px; max-width: none; }
  .site-logo-img { height: 46px; }
  /* Tables become stacked cards (same technique as v1). */
  .prose table, .prose thead, .prose tbody, .prose th, .prose td, .prose tr { display: block; }
  .prose thead { position: absolute; left: -9999px; }
  .prose tr { margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .prose td, .prose tbody th { border: 0; border-bottom: 1px solid var(--line); }
  .prose td:last-child, .prose tbody th:last-child { border-bottom: 0; }
}
@media (min-width: 1081px) {
  .sticky-callbar { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- v2 additions (CRO components + new page elements) ----------
   Every rule carries an explicit colour (visibility rule). */
.hero-next { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0 0 10px; }
.hero-next a { color: var(--navy); font-weight: 700; }
.hero-disclosure { color: var(--muted); font-size: 0.95rem; line-height: 1.55; border-left: 4px solid var(--orange); padding-left: 14px; margin: 0 0 20px; }
.page-hero .hero-next { color: var(--faint); }
.page-hero .hero-next a { color: var(--white); }
.page-hero .hero-disclosure { color: var(--faint); }
.page-hero .hero-line { color: var(--faint); margin: 0 0 8px; }
.page-hero .hero-line a { color: var(--white); font-weight: 700; }
.page-hero .hero-line strong { color: var(--white); }
.card-call { color: var(--ink); font-size: 0.95rem; margin: 8px 0 0; }
.card-call a { color: var(--navy); font-weight: 700; }
.section-call { color: var(--ink); font-size: 1rem; line-height: 1.6; margin: 20px 0 0; }
.section-call a { color: var(--navy); font-weight: 700; }
.form-disclosure { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 16px; }
.trust-strip li strong { color: var(--white); }
.trust-strip li svg { margin-top: 2px; }
/* Sticky call bar: hidden at first load (it covered the hero "Get a Free
   Quote" button at 390px), slides in once the user scrolls. main.js toggles
   .show. Body padding-bottom 76px (above) keeps page-end content clear. */
.sticky-callbar { transform: translateY(110%); transition: transform 0.3s ease; }
.sticky-callbar.show { transform: translateY(0); }
/* Header: at 1081–1279px the 7-item nav + both header buttons cannot hold
   one row, so the "Get a Free Quote" button hides there (Call stays; the
   quote CTA is in the hero and the sticky bar). At >=1280px both show. */
@media (min-width: 1081px) and (max-width: 1279px) {
  .header-actions .btn-ghost-light { display: none; }
}
/* ---------- Homepage call service picker (modal) ---------- */
.call-picker { display: none; position: fixed; inset: 0; z-index: 200; background-color: rgba(8, 28, 49, 0.72); align-items: center; justify-content: center; padding: 20px; }
.call-picker.open { display: flex; }
.picker-panel { position: relative; width: 100%; max-width: 440px; background-color: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px 24px 24px; }
.picker-panel h2 { color: var(--navy); margin: 0 0 6px; font-size: 1.5rem; }
.picker-sub { color: var(--muted); margin: 0 0 18px; }
.picker-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--navy); background-color: var(--white); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.picker-close:hover, .picker-close:focus { background-color: var(--navy); color: var(--white); }
.picker-list { list-style: none; margin: 0; padding: 0; }
.picker-list li { margin: 0 0 10px; }
.picker-list li:last-child { margin-bottom: 0; }
.picker-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); color: var(--navy); text-decoration: none; font-weight: 700; }
.picker-row:hover, .picker-row:focus { border-color: var(--orange); background-color: var(--orange-tint); color: var(--navy); text-decoration: none; }
.picker-number { color: var(--orange-text); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .picker-panel { padding: 24px 18px 18px; }
  .picker-panel h2 { font-size: 1.375rem; }
}
.final-band { background-color: var(--navy-deep); color: var(--white); padding: 64px 0; text-align: center; }
.final-band h2 { color: var(--white); }
.final-band p { color: var(--faint); max-width: 680px; margin: 0 auto 16px; }
.final-band p a { color: var(--white); font-weight: 700; }
.final-band .final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 8px 0 20px; }
.final-band .final-ctas .btn { min-height: 56px; }
@media (max-width: 640px) {
  .final-band .final-ctas { flex-direction: column; }
  .final-band .final-ctas .btn { width: 100%; }
}
