/* ==========================================================================
   Bronx Roofing Pros  |  styles.css
   Mobile-first (360px base). Breakpoints: 640 / 768 / 1024 / 1280.
   Sections: 1 Tokens  2 Base  3 Layout  4 Header/Nav  5 Buttons  6 Hero
             7 Dividers  8 Section heads  9 Cards/Bento  10 Symptoms
             11 Split/Art  12 Process  13 Callouts  14 Table  15 Areas
             16 FAQ  17 CTA  18 Footer  19 Call bar  20 Inner pages
             21 Motion  22 Utilities
   ========================================================================== */

/* 1 TOKENS ---------------------------------------------------------------- */
:root {
  --p-50: #EEF3FA; --p-100: #D9E4F3; --p-200: #B3C7E4; --p-300: #86A3CE; --p-400: #5A7FB6;
  --p-500: #3A62A0; --p-600: #274B85; --p-700: #1B3968; --p-800: #122A4E; --p-900: #0B2545;
  --dark: #071528; --off: #F7F8FA; --white: #FFFFFF; --border: #E2E8F0;
  --accent: #F97316; --accent-600: #EA6A0A; --accent-soft: #FDBA74; --accent-tint: #FFF4EA;
  --glow: rgba(249, 115, 22, .38);
  --ink: #0F1B2D; --muted: #48586F; --on-dark: #D4E0F2;

  --font-head: "Manrope", "Segoe UI", Tahoma, Verdana, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, Verdana, sans-serif;

  --fs-body: clamp(1.0625rem, 1rem + .25vw, 1.125rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);

  --r-card: 14px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .04);
  --sh-2: 0 2px 4px rgba(11, 37, 69, .05), 0 8px 24px rgba(11, 37, 69, .08);
  --sh-3: 0 4px 8px rgba(11, 37, 69, .06), 0 16px 40px rgba(11, 37, 69, .14);

  --gutter: 1.25rem; --maxw: 1200px; --sec-pad: 56px; --header-h: 72px;
}
@media (min-width: 768px) { :root { --sec-pad: 76px; } }
@media (min-width: 1024px) { :root { --sec-pad: 96px; --header-h: 80px; } }

/* 2 BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400;
  line-height: 1.7; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (max-width: 767px) { body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
img, svg, video { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--p-900); letter-spacing: -.02em; margin: 0 0 .55em; }
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.1; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .4em; max-width: 68ch; }
a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--p-900); text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--p-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--p-900); color: #fff;
  padding: 12px 20px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--accent-soft); }

/* dark surfaces flip type + links */
.sec--dark, .hero, .cta, .footer, .on-dark { color: var(--on-dark); }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .hero h1, .hero h2, .hero h3,
.cta h2, .footer h2, .footer h3, .footer h4, .on-dark h2, .on-dark h3 { color: #fff; }
.sec--dark a, .hero a:not(.btn), .cta a:not(.btn), .footer a, .on-dark a:not(.btn) { color: var(--accent-soft); }
.sec--dark a:hover, .footer a:hover, .on-dark a:not(.btn):hover { color: #fff; }
.sec--dark :focus-visible, .hero :focus-visible, .cta :focus-visible, .footer :focus-visible, .callbar :focus-visible, .nav :focus-visible {
  outline-color: var(--accent-soft);
}

/* 3 LAYOUT ---------------------------------------------------------------- */
.container { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.sec { padding-block: var(--sec-pad); position: relative; }
.sec--white { background: var(--white); }
.sec--off { background: var(--off); }
.sec--tint { background: var(--p-50); }
.sec--dark {
  background: linear-gradient(180deg, var(--p-900), var(--dark));
}
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; }
  .split--rev { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--rev > .split__art { order: -1; }
  .split--center { align-items: center; }
}
.split__art { max-width: 460px; width: 100%; margin-inline: auto; }
@media (min-width: 1024px) { .split__art--sticky { position: sticky; top: calc(var(--header-h) + 28px); } }

/* 4 HEADER + NAV ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid var(--border); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 37, 69, .08); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--p-900); min-height: 44px; }
.brand:hover { color: var(--p-900); }
.brand__logo { display: block; height: 40px; width: auto; }
@media (min-width: 1024px) { .brand__logo { height: 44px; } }
.nav-toggle {
  position: relative; z-index: 120; width: 48px; height: 48px; border: 1px solid var(--border); background: #fff;
  border-radius: 14px; display: grid; place-items: center; cursor: pointer; color: var(--p-900);
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--p-900); border-color: var(--p-700); color: #fff; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* mobile: full-screen panel */
.nav {
  position: fixed; inset: 0; z-index: 110; background: var(--dark); color: #fff;
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { margin: 0; max-width: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav__link, .nav__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px;
  padding: 12px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  color: #fff; background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left;
}
.nav__link:hover { color: var(--accent-soft); }
.nav__btn .ico { width: 22px; height: 22px; transition: transform .2s ease; }
.nav__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mega { display: none; padding: 4px 0 20px; }
.has-mega.is-open > .mega { display: block; }
.mega__in { display: grid; gap: 22px; }
.mega__title { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; margin: 0 0 6px; }
.mega__title a { color: var(--accent-soft); text-decoration: none; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin: 0; }
.mega li a {
  display: flex; align-items: center; min-height: 44px; color: #DCE6F5; text-decoration: none; font-size: 1.0625rem;
}
.mega li a:hover { color: #fff; text-decoration: underline; }
.nav__cta { margin-top: 24px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; z-index: auto; background: none; color: inherit; padding: 0; overflow: visible;
    visibility: visible; opacity: 1; transform: none; display: flex; align-items: center; gap: 12px;
    transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: 4px; }
  .nav__item { border: 0; position: static; }
  .nav__item.has-mega--sm { position: relative; }
  .nav__link, .nav__btn {
    width: auto; min-height: 48px; padding: 8px 14px; font-size: 1rem; color: var(--p-900);
    border-radius: var(--r-pill); justify-content: center; gap: 6px;
  }
  .nav__link:hover, .nav__btn:hover, .has-mega.is-open > .nav__btn { background: var(--p-50); color: var(--p-900); }
  .nav__btn .ico { width: 18px; height: 18px; }
  .nav__cta { margin: 0; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%; padding: 0; background: #fff; color: var(--ink);
    border-top: 1px solid var(--border); box-shadow: 0 30px 60px rgba(11, 37, 69, .18);
  }
  .mega__in {
    width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; padding: 32px 0 36px;
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
  }
  .mega__title a { color: var(--p-900); }
  .mega__title { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--p-100); }
  .mega li a { min-height: 40px; color: var(--muted); font-size: 1rem; }
  .mega li a:hover { color: var(--p-900); }
  .mega--sm { left: 0; right: auto; min-width: 260px; border: 1px solid var(--border); border-radius: 16px; top: calc(100% + 8px); }
  .mega--sm .mega__in { width: auto; grid-template-columns: 1fr; padding: 14px 18px; gap: 0; }
}

/* 5 BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px;
  padding: 12px 28px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
@media (min-width: 640px) { .btn { width: auto; } }
.btn--accent {
  background: var(--accent); color: var(--p-900);
  box-shadow: 0 4px 14px rgba(249, 115, 22, .32);
}
.btn--accent:hover { background: var(--accent-600); color: var(--p-900); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249, 115, 22, .36); }
.btn--outline { background: transparent; border-color: var(--p-700); color: var(--p-800); }
.page-hero .btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.page-hero .btn--outline:hover { background: #fff; color: var(--p-900); }
.btn--outline:hover { background: var(--p-900); color: #fff; }
.hero .btn--outline, .cta .btn--outline, .sec--dark .btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn--outline:hover, .cta .btn--outline:hover, .sec--dark .btn--outline:hover { background: #fff; color: var(--p-900); }
.btn--sm { min-height: 48px; padding: 8px 20px; font-size: 1rem; border-radius: 10px; }
.hero .btn--accent, .cta .btn--accent, .callbar .btn--accent, .nav .btn--accent { color: var(--p-900); }

/* 6 HERO ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate; padding-block: 44px 56px;
  background:
    radial-gradient(50% 60% at 90% 30%, rgba(58, 98, 160, .45), transparent 65%),
    linear-gradient(165deg, var(--p-900) 0%, var(--dark) 100%);
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .hero { padding-block: 72px 80px; } .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--font-head); font-weight: 700;
  font-size: .8125rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .12em; color: var(--p-600);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }
.eyebrow--light, .sec--dark .eyebrow, .cta .eyebrow { color: var(--p-200); }
.hero h1 { color: #fff; margin-bottom: .45em; max-width: 16ch; }
.hl { color: var(--accent-soft); }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: #E6EEFA; max-width: 54ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }
.fineprint { font-size: .875rem; color: #B9C9E0; max-width: 60ch; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__art { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
@media (min-width: 1024px) { .hero__art { max-width: 600px; margin-inline: 0 0; justify-self: end; } }
.hero__photo {
  display: block; width: 100%; height: auto; aspect-ratio: 1200 / 675; object-fit: cover;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 48px rgba(2, 10, 24, .45), 0 4px 12px rgba(2, 10, 24, .3);
}

/* trust strip under hero */
.trust { background: #fff; border-bottom: 1px solid var(--border); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; margin: 0; max-width: none; padding: 18px 0; border-bottom: 1px solid var(--border); }
.trust__item:last-child { border-bottom: 0; }
.trust .icon-box { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--p-50); color: var(--p-700); }
.trust b { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; color: var(--p-900); }
.trust span:not(.icon-box) { display: block; font-size: .9375rem; line-height: 1.35; color: var(--muted); }
@media (min-width: 640px) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .trust__item:nth-last-child(2) { border-bottom: 0; } }
@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .trust__item { padding: 26px 20px; border-bottom: 0; border-left: 1px solid var(--border); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* 7 DIVIDERS -------------------------------------------------------------- */
.dv { display: none; line-height: 0; height: clamp(28px, 4.4vw, 64px); background: var(--from, transparent); margin-top: -1px; }
.dv svg { display: block; width: 100%; height: 100%; fill: var(--to, #fff); }
.dv[data-from="white"] { --from: var(--white); } .dv[data-from="off"] { --from: var(--off); }
.dv[data-from="tint"] { --from: var(--p-50); } .dv[data-from="dark"] { --from: var(--dark); }
.dv[data-to="white"] { --to: var(--white); } .dv[data-to="off"] { --to: var(--off); }
.dv[data-to="tint"] { --to: var(--p-50); } .dv[data-to="dark"] { --to: var(--dark); }
.dv--hero { position: absolute; left: 0; right: 0; bottom: -1px; margin: 0; background: transparent; }

/* 8 SECTION HEADS --------------------------------------------------------- */
.sec__head { max-width: 760px; margin-bottom: 36px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.sec__head--center p { margin-inline: auto; }
.lede { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.25rem); color: var(--muted); }
.sec--dark .lede { color: var(--on-dark); }
.prose p, .prose li { max-width: 68ch; }
.prose h3 { margin-top: 1.6em; }
@media (min-width: 1024px) {
  #intro .container, #faq .container, #ready .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  #intro .sec__head, #faq .sec__head, #ready .sec__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 28px); }
  #faq .faq-list { max-width: none; }
}
.prose h3:first-child { margin-top: 0; }

/* 9 CARDS + BENTO --------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--p-300); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 1.2em; }
.icon-box {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--p-50); color: var(--p-700); margin-bottom: 20px;
}
.sec--tint .icon-box { background: #fff; }
.ico {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.ico--sm { width: 18px; height: 18px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 44px; font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; color: var(--p-700); text-decoration: none;
}
.arrow-link .ico { transition: transform .2s ease; }
.arrow-link:hover { color: var(--p-900); }
.arrow-link:hover .ico { transform: translateX(5px); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }

.bento { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.bento > .card { height: 100%; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bento .card { padding: 30px; }
.bento .card p { font-size: 1.0625rem; }
.card--feature { border-top: 3px solid var(--p-700); }
.bento__d { border-top: 3px solid var(--accent); }
.bento__d .icon-box { background: var(--accent-tint); color: #B54708; }
.card:hover .icon-box { background: var(--p-900); color: #fff; }
.bento__d:hover .icon-box { background: var(--accent); color: var(--p-900); }

/* 10 SYMPTOM CHECKER ------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--p-200); background: #fff;
  color: var(--p-800); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter-btn:hover { border-color: var(--p-500); }
.filter-btn[aria-pressed="true"] { background: var(--p-900); border-color: var(--p-900); color: #fff; }
.sym-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sym-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sym-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sym { padding: 24px; }
.sym h3 { font-size: 1.1875rem; }
.sym p { font-size: 1.0625rem; margin-bottom: 1em; }
.sym .icon-box { width: 46px; height: 46px; margin-bottom: 16px; }

/* 11 SPLIT + ART ---------------------------------------------------------- */
.art-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--sh-2); }
.art-card--glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.art-card svg { display: block; width: 100%; height: auto; }
.svg-lbl { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--p-900); }
.svg-sub { font-family: var(--font-body); font-size: 13px; fill: var(--muted); }
.art-card--glass .svg-lbl { fill: #fff; } .art-card--glass .svg-sub { fill: #C4D3EA; }

/* 12 PROCESS -------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px solid var(--p-200); }
.step { position: relative; margin: 0; max-width: none; padding-left: 64px; min-height: 44px; }
.step__num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--p-900); color: #fff; box-shadow: 0 0 0 6px var(--off);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; line-height: 1;
}
.step h3 { font-size: 1.1875rem; margin-bottom: .3em; padding-top: 8px; }
.step p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .steps::before { left: 22px; right: 0; top: 22px; bottom: auto; border-left: 0; border-top: 2px solid var(--p-200); }
  .step { padding: 64px 0 0; }
  .step h3 { padding-top: 0; }
}

/* steps--flow: for processes with more than 5 stages (no horizontal timeline, just a responsive card grid) */
.steps--flow { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 24px; }
.steps--flow::before { display: none; }
.steps--flow .step { padding: 0 0 0 64px; min-height: 44px; }
@media (min-width: 640px) { .steps--flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps--flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps--flow .step { padding: 0 0 0 64px; } .steps--flow .step h3 { padding-top: 0; } }


/* 13 CALLOUTS ------------------------------------------------------------- */
.callout {
  position: relative; margin: 28px 0; padding: 20px 24px 20px 72px; border-left: 6px solid var(--p-500);
  border-radius: 0 10px 10px 0; background: var(--p-50); color: var(--ink); max-width: 72ch;
}
.callout p { margin: 0; max-width: none; }
.callout__icon {
  position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--p-600);
}
.callout__icon .ico { width: 20px; height: 20px; }
.callout__title { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 800; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--p-700); }
.callout--warn { border-left-color: var(--accent); background: var(--accent-tint); }
.callout--warn .callout__icon { color: #B54708; }
.callout--warn .callout__title { color: #9A3B05; }
.sec--dark .callout { background: rgba(255, 255, 255, .07); color: #EAF1FB; }
.sec--dark .callout .callout__icon { background: rgba(255, 255, 255, .12); color: var(--accent-soft); }
.sec--dark .callout--warn .callout__title { color: var(--accent-soft); }

/* 14 TABLE ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-1); }
.table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.table th, .table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--p-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--p-900); width: 26%; }
.table tbody tr:nth-child(even) { background: var(--off); }
@media (max-width: 639px) {
  .table, .table thead, .table tbody, .table tr, .table th, .table td { display: block; }
  .table thead { position: absolute; left: -9999px; }
  .table tr { padding: 16px 18px; border-bottom: 1px solid var(--border); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table th, .table td { padding: 2px 0; border: 0; width: auto !important; }
  .table td::before { content: attr(data-label); display: block; margin-top: 8px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--p-600); }
}

/* 15 AREAS ---------------------------------------------------------------- */
.area-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .area-grid .card { grid-column: span 2; } .area-grid .card:nth-child(4) { grid-column: 2 / span 2; } .area-grid .card:nth-child(5) { grid-column: 4 / span 2; } }
.area-grid .card p { font-size: 1.0625rem; }
.area-grid .icon-box { margin-bottom: 16px; }

/* 16 FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--sh-1); transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: var(--p-300); box-shadow: var(--sh-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; cursor: pointer;
  list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.35; color: var(--p-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--p-50); transition: transform .3s ease, background-color .2s ease; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--p-700); }
.faq .plus::after { transform: rotate(90deg); }
.faq[open] .plus { transform: rotate(135deg); background: var(--p-900); }
.faq[open] .plus::before, .faq[open] .plus::after { background: #fff; }
.faq__a { padding: 0 22px 20px; }
.faq__a p { margin: 0; color: var(--muted); }

/* 17 CTA BAND ------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: var(--sec-pad);
  background:
    radial-gradient(50% 80% at 50% 120%, rgba(249, 115, 22, .28), transparent 70%),
    linear-gradient(180deg, var(--p-900), var(--dark));
}
.cta .eyebrow { justify-content: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin-inline: auto; color: var(--on-dark); }
.cta__phone {
  display: inline-block; margin: 8px 0 28px; font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  font-size: clamp(2rem, 8vw, 4.25rem); color: #fff !important; text-decoration: none;
}
.cta__phone:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.cta__addr { margin: 26px auto 0; font-size: .9375rem; color: #B9C9E0; }

/* 18 FOOTER --------------------------------------------------------------- */
.footer { background: #050F1D; padding-block: 64px 32px; font-size: 1rem; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.15fr 1fr 1fr .8fr; gap: 48px; } }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand:hover { color: #fff; }
.footer .brand__logo { height: 48px; }
.footer h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--p-200); margin-bottom: 14px; }
.footer h4 { font-size: 1rem; margin: 18px 0 6px; color: #fff; }
.footer h4 a { color: #fff; text-decoration: none; }
.footer ul { list-style: none; margin: 0 0 6px; padding: 0; }
.footer li { margin: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: #C4D3EA; font-size: 1rem; }
.footer li a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; color: #C4D3EA; margin-bottom: 12px; }
.footer .phone-link { font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; color: #fff; text-decoration: none; }
.footer .phone-link:hover { color: var(--accent-soft); }
.footer__legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; color: #A9BAD3; }
.footer__legal p { max-width: 96ch; }
.footer__policy-links { margin-bottom: 12px; }
.footer__policy-links a { color: #C4D3EA; text-decoration: underline; text-underline-offset: 2px; }
.footer__policy-links a:hover { color: #fff; }

/* 19 CALL BAR (mobile only) ---------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 21, 40, .96); border-top: 1px solid rgba(255, 255, 255, .14);
}
.callbar .btn { width: 100%; }
@media (min-width: 768px) { .callbar { display: none; } }

/* 20 INNER PAGES (service / location / about / contact) ------------------- */
.crumbs { font-size: .9375rem; margin: 0 0 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; max-width: none; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--p-300); border-right: 2px solid var(--p-300); transform: rotate(45deg); }
.crumbs a { color: var(--p-600); }
.crumbs [aria-current] { color: var(--muted); }
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; padding-block: 36px 52px;
  background:
    radial-gradient(50% 70% at 92% 20%, rgba(58, 98, 160, .4), transparent 65%),
    linear-gradient(165deg, var(--p-900), var(--dark));
  color: var(--on-dark);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); max-width: 24ch; }
.page-hero .crumbs a { color: var(--accent-soft); }
.page-hero .crumbs [aria-current] { color: #C4D3EA; }
.page-hero .crumbs li + li::before { border-color: var(--p-300); }
.page-hero .hero__lede { margin-bottom: 1.4em; }
@media (min-width: 1024px) { .page-hero { padding-block: 48px 64px; } }
/* Photo variant: a handful of service pages pair the hero copy with a real jobsite photo. */
.page-hero--photo .container { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .page-hero--photo .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; }
}
.page-hero__art { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
@media (min-width: 1024px) { .page-hero__art { max-width: 100%; } }
.page-hero__photo {
  display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 48px rgba(2, 10, 24, .45), 0 4px 12px rgba(2, 10, 24, .3);
}
.svc-layout { display: grid; gap: 32px; }
.svc-main { min-width: 0; }
.svc-aside { display: grid; gap: 20px; align-content: start; order: -1; }
@media (min-width: 1024px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
  .svc-aside { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
}
.toc { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--sh-1); }
.toc__title { font-family: var(--font-head); font-weight: 800; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--p-600); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { margin: 0; max-width: none; counter-increment: t; }
.toc a { display: flex; gap: 10px; min-height: 34px; align-items: center; padding: 2px 0; text-decoration: none; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.toc a::before { content: counter(t); flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--p-50); color: var(--p-700); font-family: var(--font-head); font-weight: 800; font-size: .8125rem; display: grid; place-items: center; }
.toc a:hover { color: var(--p-600); }
.toc a[aria-current="true"] { font-weight: 600; color: var(--p-700); }
@media (max-width: 1023px) { .toc ol { columns: 1; } }
.callcard {
  border-radius: var(--r-card); padding: 26px; color: var(--on-dark); position: relative; overflow: hidden;
  background: radial-gradient(80% 60% at 100% 0%, rgba(249, 115, 22, .32), transparent 60%), linear-gradient(160deg, var(--p-800), var(--dark));
  box-shadow: var(--sh-2);
}
.callcard h2, .callcard h3 { color: #fff; font-size: 1.375rem; margin-bottom: .3em; }
.callcard p { font-size: 1.0625rem; color: var(--on-dark); margin-bottom: 1em; }
.callcard .btn { width: 100%; }
.callcard__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; color: #fff; text-decoration: none; margin-bottom: 14px; }
.svc-main section { margin-bottom: 56px; }
.svc-main h2 { margin-top: 0; }
.related { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related .card { padding: 22px; }
.related .card h3 { font-size: 1.125rem; margin-bottom: .3em; }
.related .card p { margin-bottom: .8em; font-size: 1rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 7px; background: var(--p-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23274B85' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.warn-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.warn-list li { position: relative; margin: 0; padding: 14px 18px 14px 20px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; max-width: none; }
.warn-list li h3 { font-size: 1.0625rem; margin-bottom: .2em; }
.warn-list li p { margin: 0; }
.sec--dark .warn-list li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.sec--dark .warn-list li p { color: var(--on-dark); }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }

/* Media card: a .card variant with a real photo above the usual icon + copy. */
.card--media { padding: 0; overflow: hidden; }
.card--media .card__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card--media .card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 28px 28px; }
.card--media .card__body p { color: var(--muted); margin-bottom: 1.2em; }

/* 21 MOTION --------------------------------------------------------------- */
.reveal { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal-pending { opacity: 0; transform: translateY(22px); }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; } .d5 { --d: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* 22 UTILITIES ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
/* Lock scroll on <html> only while the mobile nav is open: locking it on <body>
   too would give body a non-"visible" overflow, which per spec forces its other
   axis to "auto" and turns it into a scroll/clip container -- breaking
   position:sticky on .site-header (a direct child of body), so the header (and
   its close button) would jump back to its unscrolled position and disappear
   off-screen the moment the menu opens. */
html.nav-open { overflow: hidden; }
@media (min-width: 1024px) { html.nav-open { overflow: visible; } }

/* 23 PILL LINKS (light backgrounds; added phase 3) ------------------------ */
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 1.2em; padding: 0; }
.pill-links li { margin: 0; max-width: none; }
.pill-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--p-200); background: #fff; color: var(--p-800); font-family: var(--font-head); font-weight: 700;
  font-size: .9375rem; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.pill-links a:hover { background: var(--p-900); border-color: var(--p-900); color: #fff; }
.pill-links .ico { width: 18px; height: 18px; }

/* 24 UTILITY ADDITIONS (phase 3: replaces inline styles so CSP can forbid them) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mt-lg { margin-top: 1.6em; }
.footer .mt-28 { margin-top: 28px; }

/* 25 STICKY ASIDE SAFETY (phase 8): long TOCs scroll inside the aside instead of hiding the call card */
@media (min-width: 1024px) {
  .svc-aside { max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px 4px 24px; margin: -4px; }
}
