/* ============================================================
   Patriot Insulation & Gutters, Inc. — www.patriotinsulationinc.com
   Insulation + seamless gutters, North Providence, RI.
   Old Glory navy / cloud white / flag red — a certified New England
   trade contractor: squared corners, structural rules, no ornament.
   ============================================================ */

:root {
  --ink:      #0e1c33;   /* darkest navy — topbar, footer, dark panels */
  --ink-2:    #16294a;   /* nav text, headings on light */
  --ink-3:    #203a63;   /* hover / secondary dark */
  --red:      #c8102e;   /* accent — flag red */
  --red-d:    #a50d26;   /* accent hover */
  --red-l:    #e33049;   /* accent gradient end */
  --blue:     #1e56a0;   /* secondary — steel blue */
  --blue-d:   #17447f;

  --paper:    #ffffff;
  --mist:     #f5f7fb;   /* alt section bg */
  --cloud:    #eaeff7;   /* field bg, chips */
  --body:     #4d5a6e;   /* body copy on light */
  --heading:  #0e1c33;
  --line:     #dbe3ef;
  --line-dk:  #2a4066;

  --good:     #1c7a4c;
  --bad:      #c0392b;

  --shadow:    0 18px 44px rgba(14, 28, 51, .14);
  --shadow-sm: 0 8px 22px rgba(14, 28, 51, .09);
  --radius:    6px;
  --radius-sm: 3px;

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--paper);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head); color: var(--heading);
  line-height: 1.14; letter-spacing: -.015em; font-weight: 700;
}
section { scroll-margin-top: 86px; }
.container { width: min(1220px, 92%); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  padding: .85rem 1.7rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent;
  transition: background .16s ease, transform .14s ease, color .16s ease,
              border-color .16s ease, box-shadow .16s ease;
}
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-d); }
.btn-ghost-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-navy:hover { background: #fff; color: var(--ink); }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: .78rem; letter-spacing: .02em;
}
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: .5rem 0; }
.topbar-cred { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar-cred span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-cred b { color: #fff; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--red-l); }
.tb-star { color: var(--red-l); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 3px solid var(--red); box-shadow: 0 2px 14px rgba(14,28,51,.07);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
/* Approved company wordmark, taken from patriotinsulationinc.com. Navy/red on
   white — it is only ever placed on white here (header, and a white plate in
   the dark footer). Source PNG is 300x71; do not render it wider than that. */
.brand-logo { width: 200px; height: auto; flex: none; }
/* report-page qualifier beside the logo */
.brand-tag {
  font-family: var(--font-head); font-weight: 700; font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-d);
  padding-left: .8rem; border-left: 1px solid var(--line); line-height: 1.3;
  max-width: 7.5rem;
}
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  position: relative; text-decoration: none; font-family: var(--font-head);
  font-weight: 600; font-size: .93rem; color: var(--ink-2); padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--red); transition: right .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--red-d); }
.header-btns { display: flex; align-items: center; gap: 1rem; }
.header-call { text-decoration: none; text-align: right; line-height: 1.15; }
.header-call small {
  display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--body); font-weight: 700;
}
.header-call b { font-family: var(--font-head); font-size: 1.06rem; color: var(--ink); }
.header-call:hover b { color: var(--red-d); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  font-size: 1.5rem; line-height: 1; color: var(--ink);
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(102deg, rgba(14,28,51,.95) 0%, rgba(14,28,51,.86) 44%, rgba(14,28,51,.46) 100%);
}
.hero-inner { padding: 92px 0 100px; max-width: 745px; color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--red);
  color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  text-shadow: 0 2px 24px rgba(0,0,0,.45); margin-bottom: 1.1rem;
}
.hero h1 .hl { color: #ff5c72; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 1.7rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.9rem; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: .42rem 1rem; font-size: .81rem; color: #fff;
}
.hero-badges .hot { background: rgba(200,16,46,.34); border-color: rgba(255,120,140,.55); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* compact page hero (interior pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.page-hero .hero-bg img { object-position: center 45%; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14,28,51,.94) 0%, rgba(14,28,51,.86) 50%, rgba(14,28,51,.58) 100%);
}
.page-hero-in { padding: 64px 0 68px; max-width: 720px; color: #fff; }
.page-hero h1 {
  color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,.4); margin-bottom: .9rem;
}
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.03rem; max-width: 580px; }
.crumbs { font-size: .78rem; color: rgba(255,255,255,.68); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 .45rem; opacity: .55; }

/* ---------- stats strip ---------- */
.stats { background: var(--red); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.22); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.stat small { font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }

/* ---------- section shell ---------- */
.sec { padding: 78px 0 84px; }
.sec.alt { background: var(--mist); }
.sec.tight { padding: 58px 0 62px; }
.sec-head { max-width: 800px; margin: 0 auto 46px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--red-d); margin-bottom: .7rem;
}
.sec-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.55rem); margin-bottom: .85rem; }
.sec-head p { color: var(--body); font-size: 1.03rem; }
.lede { color: var(--body); font-size: 1.05rem; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-grid.two { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6e8; }
.svc-fig { position: relative; overflow: hidden; }
.svc-fig img { width: 100%; aspect-ratio: 5/3; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-fig img { transform: scale(1.05); }
.svc-tag {
  position: absolute; left: 14px; bottom: 14px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--radius-sm);
}
.svc-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.svc-body p { color: var(--body); font-size: .94rem; flex: 1; }
.svc-go {
  margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .87rem;
  color: var(--red-d); letter-spacing: .01em;
}
.svc-card:hover .svc-go { color: var(--red); }

/* feature pair (two big cards) */
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.pair-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; text-decoration: none; isolation: isolate;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.pair-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pair-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.pair-card:hover img { transform: scale(1.04); }
.pair-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,28,51,.12) 30%, rgba(14,28,51,.9) 100%);
}
.pair-body { padding: 30px 32px 32px; color: #fff; }
.pair-body h3 { color: #fff; font-size: 1.6rem; margin-bottom: .5rem; }
.pair-body p { color: rgba(255,255,255,.88); font-size: .96rem; max-width: 40ch; }
.pair-body .svc-go { color: #ff8a9c; }

/* ---------- audience / icon cards ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: var(--radius); padding: 28px 26px 30px; box-shadow: var(--shadow-sm);
}
.aud-card .num {
  font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: .6rem;
}
.aud-card h3 { font-size: 1.16rem; margin-bottom: .55rem; }
.aud-card p { color: var(--body); font-size: .93rem; }
.aud-card ul { list-style: none; margin-top: .9rem; }
.aud-card li { color: var(--body); font-size: .9rem; padding-left: 1.25rem; position: relative; margin-bottom: .3rem; }
.aud-card li::before { content: "▪"; position: absolute; left: 0; color: var(--red); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; }
.split-media { position: relative; min-height: 520px; background: var(--ink-2); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { background: var(--ink); color: rgba(255,255,255,.86); padding: 74px 7% 74px 6%; }
.split-body h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 1rem; }
.split-body > p { margin-bottom: 1.5rem; }
.ticks { list-style: none; display: grid; gap: .95rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.ticks li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; margin-top: 3px;
}
.ticks b { color: #fff; font-family: var(--font-head); font-weight: 600; }
.ticks span { display: block; font-size: .93rem; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
}
.step .num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: var(--cloud); display: block; margin-bottom: .4rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { color: var(--body); font-size: .92rem; }

/* ---------- R-VALUE TOOL ---------- */
.rvalue { background: var(--ink); color: rgba(255,255,255,.85); }
.rvalue .sec-head h2 { color: #fff; }
.rvalue .sec-head p { color: rgba(255,255,255,.78); }
.rv-panel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dk);
  border-radius: var(--radius); overflow: hidden;
}
.rv-choose { padding: 30px 30px 34px; border-right: 1px solid var(--line-dk); }
.rv-choose h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.rv-opts { list-style: none; display: grid; gap: .5rem; }
.rv-opts button {
  width: 100%; text-align: left; cursor: pointer; font-family: var(--font-body);
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.86);
  border: 1px solid var(--line-dk); border-radius: var(--radius-sm);
  padding: .8rem 1rem; font-size: .93rem; line-height: 1.35;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rv-opts button:hover { background: rgba(255,255,255,.09); border-color: #3d5a86; color: #fff; }
.rv-opts button[aria-pressed="true"] {
  background: var(--red); border-color: var(--red); color: #fff; font-weight: 600;
}
.rv-opts small { display: block; font-size: .76rem; opacity: .72; margin-top: 2px; }
.rv-out { padding: 30px 32px 34px; display: grid; align-content: start; gap: 1rem; }
.rv-badge {
  display: inline-flex; align-items: baseline; gap: .6rem;
  font-family: var(--font-head); font-weight: 800; color: #fff;
}
.rv-badge b { font-size: 3.1rem; line-height: 1; color: #ff5c72; }
.rv-badge span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.rv-out h3 { color: #fff; font-size: 1.15rem; }
.rv-out p { font-size: .95rem; }
.rv-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--radius-sm); overflow: hidden; }
.rv-meta div { background: #12233d; padding: 14px 16px; }
.rv-meta small { display: block; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; opacity: .68; margin-bottom: 3px; }
.rv-meta b { font-family: var(--font-head); font-size: 1rem; color: #fff; font-weight: 600; }
.rv-note { font-size: .8rem; color: rgba(255,255,255,.62); border-top: 1px solid var(--line-dk); padding-top: .9rem; }
.rv-note a { color: #9dc0f0; }

/* ---------- rebates band ---------- */
.rebate { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rebate-in { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 50px; align-items: center; padding: 60px 0 64px; }
.rebate h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: .8rem; }
.rebate p { color: var(--body); }
.rebate-steps { display: grid; gap: 14px; }
.rebate-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.rebate-step i {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  font-style: normal; font-size: .95rem;
}
.rebate-step h3 { font-size: 1rem; margin-bottom: .25rem; }
.rebate-step p { font-size: .9rem; }

/* ---------- reviews ---------- */
.rev-head {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.rev-score { display: flex; align-items: center; gap: 1.1rem; }
.rev-score .big { font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ink); }
.rev-stars { color: #f5a623; letter-spacing: .12em; font-size: 1.05rem; }
.star-empty { color: #cdd6e4; }
.rev-score small { display: block; color: var(--body); font-size: .86rem; margin-top: .2rem; }
.rev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 24px 24px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.rev-tag {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: .22rem .55rem; border-radius: var(--radius-sm);
  background: var(--cloud); color: var(--ink-3); margin-bottom: .9rem; align-self: flex-start;
}
.rev-tag.real { background: #e3f2e9; color: var(--good); }
.rev-card blockquote { font-size: .98rem; color: var(--ink-2); flex: 1; }
.rev-user { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.rev-user i {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-style: normal; font-family: var(--font-head); font-weight: 700;
}
.rev-user b { display: block; font-size: .9rem; }
.rev-user small { color: var(--body); font-size: .78rem; }
.rev-card-cta { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.82); }
.rev-card-cta h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.rev-card-cta p { font-size: .93rem; flex: 1; }
.rev-note {
  margin-top: 26px; font-size: .84rem; color: var(--body); background: var(--mist);
  border-left: 3px solid var(--red); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- coverage grid ---------- */
.coverage { background: var(--ink); color: rgba(255,255,255,.8); }
.coverage .sec-head h2 { color: #fff; }
.coverage .sec-head p { color: rgba(255,255,255,.78); }
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cov-col {
  background: rgba(255,255,255,.045); border: 1px solid var(--line-dk);
  border-radius: var(--radius); padding: 26px 26px 28px;
}
.cov-col.hq { border-color: var(--red); background: rgba(200,16,46,.1); }
.cov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.cov-col h3 { color: #fff; font-size: 1.22rem; }
.cov-col .abbr {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ff8a9c;
}
.cov-col > p { font-size: .89rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.cov-towns { list-style: none; columns: 2; column-gap: 18px; font-size: .87rem; }
.cov-towns li { padding: .16rem 0; break-inside: avoid; color: rgba(255,255,255,.82); }
.cov-towns li.mark { color: #fff; font-weight: 600; }
.cov-towns li.mark::after {
  content: "HQ"; font-size: .55rem; letter-spacing: .1em; background: var(--red); color: #fff;
  padding: .1rem .3rem; border-radius: 2px; margin-left: .4rem; vertical-align: middle;
}
.cov-foot { margin-top: 26px; text-align: center; font-size: .9rem; color: rgba(255,255,255,.72); }
.cov-foot a { color: #fff; font-weight: 600; }

/* ---------- specs table ---------- */
.spec-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
}
.spec-scroll { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; }
table.spec th, table.spec td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
table.spec thead th {
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}
table.spec tbody th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 26%; }
table.spec td { color: var(--body); }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:nth-child(even) { background: var(--mist); }

/* ---------- gallery ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
}
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; color: #fff;
  font-size: .82rem; background: linear-gradient(transparent, rgba(14,28,51,.9));
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--red); line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-body { padding: 16px 22px 20px; color: var(--body); font-size: .96rem; }
.faq-item .faq-body p + p { margin-top: .7rem; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(112deg, var(--red) 0%, var(--red-l) 100%); color: #fff; }
.cta-in { padding: 62px 0 66px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.85rem); margin-bottom: .8rem; }
.cta p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 1.8rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.cta .fine { margin-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.86); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.info-row { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-bottom: 20px; align-items: start; }
.info-row i {
  width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--ink); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 1rem;
}
.info-row b { display: block; font-family: var(--font-head); font-size: .95rem; }
.info-row span, .info-row a { color: var(--body); font-size: .95rem; text-decoration: none; }
.info-row a:hover { color: var(--red-d); }
.hours-table { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 22px 0; }
.hours-table li { display: flex; justify-content: space-between; padding: 11px 16px; font-size: .92rem; }
.hours-table li:nth-child(odd) { background: var(--mist); }
.hours-table li b { font-family: var(--font-head); font-weight: 600; }
.hours-table li.closed span { color: var(--bad); }
.socials { display: flex; gap: .6rem; margin-bottom: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--ink); color: #fff;
  display: grid; place-items: center; text-decoration: none; font-family: var(--font-head);
  font-weight: 700; transition: background .16s ease, transform .14s ease;
}
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 30px 30px 34px; box-shadow: var(--shadow);
}
.quote-form h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.quote-form > p { color: var(--body); font-size: .93rem; margin-bottom: 1.4rem; }
.fld { margin-bottom: 15px; }
.fld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.fld label {
  display: block; font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .35rem;
}
.fld input, .fld select, .fld textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .72rem .85rem; outline: none; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.fld textarea { min-height: 118px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.13);
}
.form-status { margin-top: .9rem; font-size: .9rem; color: var(--good); font-weight: 500; }
.form-status.err { color: var(--bad); }
/* honeypot — hidden from sighted users, screen readers and the tab order */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.quote-form button[disabled] { opacity: .65; cursor: progress; }
.form-fine { margin-top: 1rem; font-size: .78rem; color: var(--body); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; }
.footer-grid h4 {
  color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1rem; font-weight: 700;
}
.footer-grid p, .footer-grid li { font-size: .9rem; }
.footer-grid ul { list-style: none; display: grid; gap: .5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
/* The approved wordmark is navy on transparent, so it is illegible straight on
   the navy footer. It sits on a white plate instead — the logo itself is not
   recoloured or altered. */
.foot-brand .foot-logo {
  display: inline-flex; background: #fff; border-radius: var(--radius-sm);
  padding: 11px 16px; margin-bottom: 1.1rem;
}
.foot-brand .foot-logo .brand-logo { width: 186px; }
.foot-nap { margin-top: 1rem; font-style: normal; font-size: .9rem; line-height: 1.75; }
.foot-nap b { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dk); padding: 20px 0 24px; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .aud-grid, .rev-cards, .cov-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .foot-explore { display: none; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: .87rem; }
  .brand-logo { width: 172px; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 330px; order: -1; }
  .split-body { padding: 54px 7%; }
  .contact-grid { grid-template-columns: 1fr; }
  .rebate-in { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 54px; }
  .rv-panel { grid-template-columns: 1fr; }
  .rv-choose { border-right: 0; border-bottom: 1px solid var(--line-dk); }
  .pair { grid-template-columns: 1fr; }
  .header-call { display: none; }
  .cov-grid { grid-template-columns: 1fr; }
  .rev-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Header fit bands. Between the phone menu (≤760) and a wide desktop, the logo +
   six nav items + phone + CTA do not fit on one line at full sizing, and
   "Service Areas" and "Get a Quote" break mid-label. Two graduated steps keep
   the row intact instead of dropping the nav. These must stay after the 1024 and
   900 blocks so they win on equal specificity. */
@media (min-width: 761px) and (max-width: 1000px) {
  .header-in { gap: .9rem; }
  .brand-logo { width: 150px; }
  .nav { gap: .75rem; }
  .nav a { font-size: .8rem; white-space: nowrap; }
  .header-call b { font-size: .92rem; white-space: nowrap; }
  .header-call small { font-size: .55rem; }
  .header-btns { gap: .6rem; }
  .header-btns .btn { padding: .7rem 1rem; font-size: .85rem; white-space: nowrap; }
}
@media (min-width: 1001px) and (max-width: 1160px) {
  .header-in { gap: 1.1rem; }
  .brand-logo { width: 176px; }
  .nav { gap: 1rem; }
  .nav a { font-size: .86rem; white-space: nowrap; }
  .header-call b { font-size: 1rem; white-space: nowrap; }
  .header-btns { gap: .8rem; }
  .header-btns .btn { padding: .78rem 1.25rem; font-size: .9rem; white-space: nowrap; }
}
/* The report page's "SEO & Speed Report" qualifier adds ~120px to the same row.
   Only wide viewports have the room; below that the topbar still says it. */
@media (max-width: 1320px) {
  .brand-tag { display: none; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; flex-direction: column; align-items: flex-start; gap: 2px;
    background: #fff; padding: 80px 7vw 26px; display: none;
    box-shadow: 0 20px 40px rgba(14,28,51,.22); border-bottom: 3px solid var(--red);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 80; }
  .header-btns .btn { display: none; }
  /* The open nav is a fixed white panel over the whole header, which otherwise
     swallows the logo and leaves the drawer branded by nothing but an ✕. */
  .brand { position: relative; z-index: 80; }
  .brand-logo { width: 164px; }
  .foot-brand .foot-logo .brand-logo { width: 172px; }
  /* The Owens Corning credential wraps to three lines at phone widths and turns
     a one-line bar into a block. Phones keep only the short credential. */
  .topbar-cred span { display: none; }
  .topbar-cred span.tb-short { display: inline-flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
  .svc-grid, .svc-grid.two, .aud-grid, .steps, .footer-grid, .fld-2 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 62px 0 70px; }
  .page-hero-in { padding: 48px 0 52px; }
  .rev-head { flex-direction: column; align-items: flex-start; }
  .rv-meta { grid-template-columns: 1fr; }
  .cov-towns { columns: 1; }
  .sec { padding: 60px 0 64px; }
  .quote-form { padding: 24px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
