/* =========================================================
   Integrity Roofing — Proposal 1 "Trust & Authority"
   Brand-refactored: official palette + Oswald/Open Sans/Source Serif 4
   Custom styles layered on top of Tailwind CDN
   ========================================================= */

:root {
  /* Canonical brand */
  --brand-blue: #1B75BB;
  --brand-blue-dark: #155C92;
  --brand-green: #8DC73F;
  --brand-green-dark: #6FA228;
  --ink: #0A0A0A;
  --ink-soft: #3D434B;
  --gray: #BCBEC0;
  --gray-soft: #E5E7EB;
  --surface: #FFFFFF;
  --surface-soft: #F5F7F9;

  /* Proposal-1 supporting tints (use sparingly) */
  --accent-deep: #0D2540;   /* deep navy — hero scrim + final CTA only */
  --cream: #FDFAF3;         /* warm cream — narrative sections */

  /* Errors stay unambiguous */
  --error: #dc2626;

  /* Type tokens */
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

/* Anchor color reset — prevent purple visited links */
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }

/* Skip-to-content link — visually hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0 0 6px 0;
  box-shadow: 0 6px 18px rgba(10,10,10,0.25);
}
.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible { outline-offset: 3px; }

.font-display { font-family: var(--font-display); letter-spacing: -0.005em; }
.font-body { font-family: var(--font-body); }
.serif, blockquote, .testimonial-quote { font-family: var(--font-serif); }

h1, h2, h3, h4, h5, .display { font-family: var(--font-display); letter-spacing: -0.005em; }

/* ---------- Section rhythm ---------- */
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.container-x { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container-x { padding: 0 40px; } }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-green); color: #fff; }
.btn-primary:hover { background: var(--brand-green-dark); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(111,162,40,.55); }
.btn-secondary { background: #fff; color: var(--brand-blue); border: 1.5px solid rgba(27,117,187,.25); }
.btn-secondary:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ---------- Logo size (mobile compresses) ---------- */
@media (max-width: 767px) {
  .site-header nav img[alt="Integrity Roofing logo"] { height: 38px !important; }
}

/* ---------- Sticky Header (now white) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  background: #fff;
  border-bottom: 1px solid var(--gray-soft);
}
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 24px rgba(10,10,10,0.06);
  border-bottom-color: transparent;
}
.site-header .nav-link {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.site-header .nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--brand-green);
  transition: width .2s ease;
}
.site-header .nav-link:hover { color: var(--brand-blue); }
.site-header .nav-link:hover::after { width: 100%; }

.site-header .header-phone {
  color: var(--ink);
}

.announcement-bar {
  background: var(--brand-blue);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--brand-green);
}
.announcement-bar .ph-icon { color: var(--brand-green); }
@media (max-width: 480px) {
  .announcement-bar { font-size: 11.5px; padding: 6px 0; }
  .announcement-bar .container-x { gap: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 90px;
}
@media (max-width: 767px) {
  .hero { padding-top: 130px; padding-bottom: 64px; min-height: 0; }
  .hero-sub { font-size: 16.5px; }
  .hero-mini-badges { gap: 12px 20px; font-size: 12.5px; }
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../research/assets/images/gallery/Smith2-scaled.jpg') center/cover no-repeat;
  filter: saturate(0.9);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(13,37,64,.92) 0%, rgba(13,37,64,.78) 45%, rgba(13,37,64,.5) 100%),
    linear-gradient(180deg, transparent 55%, rgba(27,117,187,.25) 100%);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero h1 .accent {
  color: var(--brand-green);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 580px;
  font-weight: 400;
}
.hero-mini-badges {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: 13px; color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.hero-mini-badges .mb {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-mini-badges svg { color: var(--brand-green); flex-shrink: 0; }

.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 28px;
  color: #fff;
}
.hero-card h3,
.hero-card .hero-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hero-card .stat-val { color: var(--brand-green); }

.hero-since-stamp {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 138px; height: 138px;
  border: 3px solid var(--brand-blue);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(27,117,187,0.85);
  font-family: var(--font-display);
  transform: rotate(-8deg);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 0 0 4px rgba(141,199,63,0.55), 0 14px 30px -10px rgba(0,0,0,0.4);
}
.hero-since-stamp .big {
  font-size: 38px; letter-spacing: -.02em; line-height: 1; font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  margin: 4px 0;
}
@media (max-width: 1024px) { .hero-since-stamp { display: none; } }

/* ---------- Trust band ---------- */
.trust-band {
  background: var(--surface-soft);
  border-top: 1px solid var(--gray-soft);
  border-bottom: 1px solid var(--gray-soft);
  padding: 22px 0;
}
.trust-band-track {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 40px;
  font-family: var(--font-display);
  font-size: 14px; color: var(--ink); font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-band-track .tb-icon { color: var(--brand-blue); }
.trust-band-track .dot {
  width: 5px; height: 5px; background: var(--brand-green); border-radius: 50%;
  align-self: center;
}

/* ---------- Section headings ---------- */
.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-transform: uppercase;
}
.h-section .accent {
  color: var(--brand-blue);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
}
.section-lede {
  font-family: var(--font-serif);
  font-size: 18.5px; line-height: 1.65; color: var(--ink-soft);
  max-width: 620px;
}

/* ---------- Why Us icon grid ---------- */
.why-card {
  position: relative;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--gray-soft);
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: var(--brand-green); transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(10,10,10,.18); border-color: transparent; }
.why-card:hover::before { transform: scaleY(1); }
.why-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(27,117,187,0.08);
  color: var(--brand-blue);
  border-radius: 6px;
  margin-bottom: 22px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink); margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.why-card p { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-soft);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -25px rgba(10,10,10,.22); }
.service-card .thumb {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  position: relative;
}
.service-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(13,37,64,.45) 100%);
}
.service-card .body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink); margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.service-card p { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.service-card .more {
  margin-top: 16px; color: var(--brand-blue); font-weight: 700; font-size: 13px;
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.service-card .more:hover { color: var(--brand-blue-dark); }
.service-card .more svg { transition: transform .2s ease; }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card .ribbon {
  position: absolute; top: 14px; right: -36px;
  background: var(--brand-green); color: #fff;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(35deg);
  box-shadow: 0 4px 10px -2px rgba(0,0,0,.25);
  z-index: 2;
}

/* ---------- Before / After slider ---------- */
.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  border: 1px solid var(--gray-soft);
  box-shadow: 0 30px 60px -32px rgba(10,10,10,.35);
}
.ba-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path .15s ease-out;
  will-change: clip-path;
}
.ba-handle { transition: left .15s ease-out; will-change: left; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 30px rgba(0,0,0,.5);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
}
.ba-handle-arrows {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 4px;
  color: var(--brand-blue);
  font-size: 18px;
  z-index: 3;
  pointer-events: none;
}
.ba-label {
  position: absolute;
  top: 16px;
  background: rgba(13,37,64,.85);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 2;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; background: var(--brand-green-dark); }

.ba-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border: 2px solid transparent;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ba-thumb:hover { border-color: var(--brand-green); transform: translateY(-2px); }
.ba-thumb:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.ba-thumb.is-active {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(27,117,187,0.25);
}
.ba-thumb.is-active::after {
  content: "Showing";
  position: absolute; top: 8px; right: 8px;
  background: var(--brand-blue); color: #fff;
  font-family: var(--font-display);
  font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
  z-index: 2;
}
.ba-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
  color: #fff; padding: 16px 10px 8px;
  font-family: var(--font-display);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}

/* ---------- Process timeline ---------- */
.process-step {
  position: relative;
  text-align: center;
}
.process-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.process-step:hover .process-num { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 20px; color: var(--ink); margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.process-step p { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.process-step::after {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 0;
  border-top: 2px dashed rgba(141,199,63,0.55);
  z-index: 1;
  pointer-events: none;
}
.process-step:last-child::after { display: none; }
.process-connector { display: none; }
@media (max-width: 1023px) {
  .process-step::after { display: none; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--gray-soft);
  border-radius: 6px;
  padding: 30px 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(10,10,10,.2); }
.testimonial .stars {
  color: var(--brand-green); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px;
  font-weight: 700;
}
.testimonial .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px; line-height: 1.7; color: var(--ink); flex: 1;
  font-weight: 400;
}
.testimonial .quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 80px; line-height: 0;
  color: var(--brand-blue);
  position: absolute; top: 50px; right: 24px;
  opacity: 0.16;
  font-style: normal;
}
.testimonial-meta {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--gray-soft);
  display: flex; align-items: center; gap: 14px;
}
.avatar-init {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.avatar-init.alt { background: var(--brand-green); color: #fff; }
.testimonial-meta .name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.testimonial-meta .loc { font-family: var(--font-body); font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Partners strip ---------- */
.partners-strip {
  background: var(--surface-soft);
  padding: 36px 0;
  border-top: 1px solid var(--gray-soft);
  border-bottom: 1px solid var(--gray-soft);
}
.partners-strip .partners-label {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
.partner-logo {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  font-family: var(--font-display);
  color: var(--ink);
  opacity: 0.55;
  transition: opacity .2s ease, filter .25s ease, color .2s ease;
  filter: grayscale(1);
  text-align: center;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0) saturate(1.2);
  color: var(--brand-blue);
}
.partner-logo .lg { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.partner-logo .sm { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); }
/* Real review badges recovered from the client's live site (Google, Houzz, BBB) */
.partner-badge-img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.partner-badge-img:hover { transform: translateY(-2px); }

/* ---------- Service area ---------- */
.area-pill {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--brand-blue);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--brand-blue);
  margin: 4px 4px 4px 0;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.area-pill:hover {
  background: rgba(141,199,63,0.15);
  color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
}

.area-subhead {
  font-family: var(--font-display);
  font-size: 18px; color: var(--brand-blue); font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.office-card {
  background: var(--cream);
  border-left: 4px solid var(--brand-green);
  border-radius: 4px;
  padding: 20px;
}
.office-card .office-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--gray-soft);
  border-left: 3px solid transparent;
  padding-left: 16px;
  transition: border-left-color .25s ease, background .25s ease;
}
.faq-item.open { border-left-color: var(--brand-green); background: rgba(141,199,63,0.04); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.faq-q:hover { color: var(--brand-blue); }
.faq-q .ico {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); color: var(--brand-green-dark); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 0 24px; max-width: 80ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent-deep);
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  right: -40px; top: -40px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(27,117,187,.45), transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: ""; position: absolute;
  left: -60px; bottom: -60px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(141,199,63,.28), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cta-band .cta-accent {
  color: var(--brand-green);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.005em;
}

/* ---------- Footer (light) ---------- */
.footer {
  background: var(--surface-soft);
  color: var(--ink-soft);
  padding: 72px 0 28px;
  border-top: 1px solid var(--gray-soft);
}
.footer h4,
.footer .footer-col-title {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.footer a { color: var(--ink-soft); transition: color .15s ease; font-size: 14.5px; }
.footer a:hover { color: var(--brand-blue); }
.footer ul li { margin-bottom: 9px; }
.footer .brand-name {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.footer .brand-tagline {
  font-family: var(--font-display);
  color: var(--brand-green-dark);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer .footer-hours-label {
  font-family: var(--font-display);
  color: var(--brand-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer .nc-license {
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-soft);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
}
.footer-bottom a { font-size: 13px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(27,117,187,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
  margin-right: 8px;
  transition: background .2s ease, color .2s ease;
}
.social-link:hover { background: var(--brand-green); color: #fff; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(13,37,64,.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: 10px;
  width: 100%; max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  animation: slideUp .25s ease;
  border-top: 4px solid var(--brand-blue);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
  padding: 28px 32px 18px;
  border-bottom: 1px solid var(--gray-soft);
  position: relative;
}
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 28px; color: var(--ink); margin-bottom: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.modal-header p { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
  z-index: 10;
}
.modal-close:hover { background: var(--brand-blue); color: #fff; }
.modal-close > * { pointer-events: none; }
.modal-body { padding: 24px 32px 32px; }
.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-soft);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(27,117,187,.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.valid input, .field.valid select { border-color: var(--brand-green); }
.field .err {
  display: none;
  color: var(--error); font-size: 12.5px; margin-top: 6px;
  font-family: var(--font-body);
}
.field.invalid .err { display: block; }
.field .check {
  display: none;
  position: absolute; right: 12px; top: 38px;
  color: var(--brand-green);
}
.field.valid .check { display: inline-flex; }
.submit-row { margin-top: 8px; }
.modal .btn-primary { width: 100%; padding: 16px; }
.modal .btn-primary[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.modal-confirm {
  padding: 56px 32px;
  text-align: center;
}
.modal-confirm .check-big {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--brand-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.modal-confirm h3 {
  font-family: var(--font-display);
  font-size: 28px; color: var(--brand-blue); margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.modal-confirm p { font-family: var(--font-body); color: var(--ink-soft); font-size: 15.5px; max-width: 380px; margin: 0 auto; }

/* ---------- Mobile sticky bottom bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none;
  z-index: 40;
  background: #fff;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 20px -10px rgba(10,10,10,.18);
  gap: 8px;
  border-top: 1px solid var(--gray-soft);
}
.mobile-cta .btn { flex: 1; padding: 13px 12px; font-size: 14px; }
.mobile-cta .btn-call { background: var(--brand-blue); color: #fff; }
.mobile-cta .btn-call:hover { background: var(--brand-blue-dark); }
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Mobile nav ---------- */
.mobile-menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 4px;
  background: rgba(27,117,187,0.08);
  color: var(--brand-blue);
  border: 1px solid var(--gray-soft);
  align-items: center; justify-content: center;
}
.mobile-menu-btn:hover { background: rgba(27,117,187,0.16); }
@media (max-width: 1023px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: inline-flex; }
}
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 90vw;
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: transform .28s ease;
  padding: 90px 28px 28px;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 36px -16px rgba(10,10,10,.25);
  border-left: 4px solid var(--brand-green);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--brand-blue); }
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(13,37,64,.45);
  z-index: 55;
  display: none;
}
.mobile-nav-overlay.open { display: block; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.divider-rule {
  width: 60px; height: 3px; background: var(--brand-green);
  display: inline-block;
}
.kicker-line {
  display: inline-flex; align-items: center; gap: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.kicker-line::before, .kicker-line::after { content: ""; width: 28px; height: 2px; background: var(--brand-green); }

.shadow-soft { box-shadow: 0 20px 50px -28px rgba(10,10,10,.32); }

/* Responsive map iframe */
iframe { max-width: 100%; }
@media (max-width: 767px) {
  iframe[title="Integrity Roofing Hickory NC location"] { height: 360px; }
}

/* Equal-height testimonial rows on desktop */
@media (min-width: 768px) {
  #reviews .grid.md\:grid-cols-2.lg\:grid-cols-3 { grid-auto-rows: 1fr; }
}

/* Trust band dots vertical alignment */
.trust-band-track { align-items: center; }

/* Safety net for any oversized embedded media */
img, video { max-width: 100%; height: auto; }

/* Rating widget (testimonials section header) */
.rating-big {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-weight: 700;
}
.rating-stars {
  color: var(--brand-green);
  letter-spacing: 0.18em;
  font-weight: 700;
  filter: drop-shadow(0 0 4px rgba(141,199,63,0.4));
}
.rating-meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 500;
}

/* =========================================================
   CREATIVE POLISH LAYER
   ========================================================= */

/* ---------- Page entrance fade-in ---------- */
body { opacity: 0; transition: opacity 400ms ease; }
body.is-loaded { opacity: 1; }
body.no-fade { transition: none; }

/* ---------- "Established 2017" seal — official-document upgrade ---------- */
.hero-since-stamp::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--brand-green);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-since-stamp {
    animation: sealSway 2.4s ease-in-out infinite alternate;
    transform-origin: center;
  }
  @keyframes sealSway {
    from { transform: rotate(-11deg); }
    to   { transform: rotate(-5deg); }
  }
}

/* ---------- Trust band — refined icons + hairline separators ---------- */
.trust-band-track .tb-icon {
  width: 12px; height: 12px;
  stroke: var(--brand-blue);
  color: var(--brand-blue);
}
.trust-band-track > span:not(.dot) {
  display: inline-flex;
  align-items: center;
}
.trust-band-track .dot {
  width: 1px; height: 16px;
  background: var(--gray-soft);
  border-radius: 0;
  opacity: 0.9;
}
@media (max-width: 640px) {
  .trust-band-track .dot { display: none; }
}

/* ---------- Testimonial stars — premium glow ---------- */
.testimonial .stars {
  filter: drop-shadow(0 0 4px rgba(141,199,63,0.4));
}

/* ---------- Staggered scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Children of reveal grids/sections inherit a stagger when their parent enters */
  .reveal.in > *:nth-child(1) { --stagger: 0; }
  .reveal.in > *:nth-child(2) { --stagger: 1; }
  .reveal.in > *:nth-child(3) { --stagger: 2; }
  .reveal.in > *:nth-child(4) { --stagger: 3; }
  .reveal.in > *:nth-child(5) { --stagger: 4; }
  .reveal.in > *:nth-child(6) { --stagger: 5; }

  /* When the parent grid is itself a reveal target, animate direct children */
  .stagger-children > *,
  .grid.reveal.in > *,
  .testimonial.reveal.in,
  .service-card.reveal.in,
  .why-card.reveal.in,
  .process-step.reveal.in,
  .ba-thumb.reveal.in {
    animation: cardRise 600ms cubic-bezier(.2,.7,.2,1) both;
    animation-delay: calc(var(--stagger, 0) * 60ms);
  }
  @keyframes cardRise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* Apply explicit stagger to sibling cards within their grid containers */
@media (prefers-reduced-motion: no-preference) {
  .grid > .reveal:nth-child(1) { transition-delay: 0ms; }
  .grid > .reveal:nth-child(2) { transition-delay: 60ms; }
  .grid > .reveal:nth-child(3) { transition-delay: 120ms; }
  .grid > .reveal:nth-child(4) { transition-delay: 180ms; }
  .grid > .reveal:nth-child(5) { transition-delay: 240ms; }
  .grid > .reveal:nth-child(6) { transition-delay: 300ms; }
}

/* ---------- Service card hover states (upgraded) ---------- */
.service-card { border-left: 1px solid var(--gray-soft); transition: transform .2s ease-out, box-shadow .25s ease-out, border-left-color .2s ease-out; }
.service-card .thumb { transition: transform .35s cubic-bezier(.2,.7,.2,1); transform-origin: center; }
.service-card:hover { border-left-color: var(--brand-green); border-left-width: 1px; box-shadow: -1px 0 0 0 var(--brand-green), 0 24px 50px -25px rgba(10,10,10,.22); }
.service-card:hover .thumb { transform: scale(1.04); }

/* ---------- Before/After slider — handle hover + drag glow ---------- */
.ba-handle::after { transition: transform .2s ease, box-shadow .2s ease; }
.ba-wrap:hover .ba-handle::after {
  transform: translate(-50%, -50%) scale(1.08);
}
.ba-wrap.is-dragging .ba-handle::after {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 6px 14px rgba(0,0,0,.3),
    inset 0 0 0 2px rgba(27,117,187,.35),
    0 0 0 6px rgba(27,117,187,.12);
}
@media (prefers-reduced-motion: reduce) {
  .ba-wrap:hover .ba-handle::after,
  .ba-wrap.is-dragging .ba-handle::after { transform: translate(-50%,-50%); }
}

/* ---------- Pull-quote band ---------- */
.pull-quote-band {
  background: var(--cream);
  padding: 88px 0;
  position: relative;
  border-top: 1px solid rgba(141,199,63,0.18);
  border-bottom: 1px solid rgba(141,199,63,0.18);
  text-align: center;
}
.pull-quote-band .container-x { position: relative; max-width: 880px; }
.pull-quote-band .pq-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 140px;
  line-height: 0.6;
  color: var(--brand-green);
  opacity: 0.18;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.pull-quote-band .pq-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.36;
  color: var(--ink);
  margin: 0 auto 26px;
  max-width: 780px;
  letter-spacing: -0.005em;
  position: relative;
}
.pull-quote-band .pq-quote em {
  color: var(--brand-blue);
  font-style: italic;
  font-weight: 600;
}
.pull-quote-band .pq-attrib {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.pull-quote-band .pq-rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--brand-green);
}
@media (max-width: 640px) {
  .pull-quote-band { padding: 64px 0; }
  .pull-quote-band .pq-mark { font-size: 92px; }
}

/* ---------- Process step numbers — gradient + depth ---------- */
.process-num {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  border: 2px solid var(--brand-green-dark);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.22),
    inset 0 -3px 6px rgba(0,0,0,0.08),
    0 6px 14px -6px rgba(111,162,40,0.55);
}
.process-step:hover .process-num {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-color: var(--brand-blue-dark);
}

/* ---------- Recent jobs grid (above map) ---------- */
.recent-jobs { margin-bottom: 22px; }
.recent-jobs-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.recent-jobs-label svg { color: var(--brand-green); }
.recent-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 767px) {
  .recent-jobs-grid { grid-template-columns: 1fr; }
}
.rj-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--brand-blue);
  border-radius: 4px;
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}
.rj-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(27,117,187,0.35);
  border-color: var(--brand-blue-dark);
}
.rj-card .rj-ico {
  width: 16px; height: 16px;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.rj-card .rj-line {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
  text-transform: uppercase;
  line-height: 1.15;
}
.rj-card .rj-meta {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* ---------- Footer trust strip (above columns) ---------- */
.footer-trust-strip {
  background: #fff;
  border-top: 1px solid var(--gray-soft);
  border-bottom: 1px solid var(--gray-soft);
  padding: 14px 0;
  margin-bottom: 56px;
}
.footer .footer-trust-strip { margin-left: 0; margin-right: 0; }
.footer-trust-strip .fts-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 18px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 600;
}
.footer-trust-strip .fts-dot {
  width: 3px; height: 3px;
  background: var(--brand-green);
  border-radius: 50%;
  display: inline-block;
}
@media (max-width: 640px) {
  .footer-trust-strip .fts-dot { display: none; }
  .footer-trust-strip .fts-row { gap: 4px 14px; font-size: 10.5px; }
}
.footer { padding-top: 0; }
.footer > .container-x:first-of-type,
.footer > .container-x { padding-top: 0; }
.footer > .container-x { /* keep existing rhythm */ }

/* The first .container-x in footer was previously the columns; we inserted strip above it.
   Adjust so columns get their original top spacing back. */
.footer > .container-x:not(.footer-trust-strip .container-x) {
  padding-top: 0;
}
.footer .grid { padding-top: 0; }

/* Reduced motion: kill non-essential animations */
@media (prefers-reduced-motion: reduce) {
  .hero-since-stamp { animation: none; }
  body { opacity: 1; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card:hover .thumb { transform: none; }
}

/* =========================================================
   INTERACTIVE ROOF INSPECTION DIAGRAM (section #inspection)
   ========================================================= */
.inspect { background: linear-gradient(180deg, #FDFAF3, #F5F7F9); }

.inspect-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .inspect-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---- Left: SVG stage ---- */
.inspect-stage {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--gray-soft);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 24px 50px -32px rgba(10,10,10,.22);
  overflow: hidden;
}
.inspect-stage-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--gray-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.inspect-stage-tag svg { color: var(--brand-green); }
.roof-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---- Hotspot markers (positioned HTML buttons over the SVG) ---- */
.hotspots {
  position: absolute;
  /* match the SVG content box: stage padding is 22px on all sides */
  inset: 22px;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  box-shadow: 0 4px 10px -2px rgba(13,37,64,.5);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  z-index: 2;
}
.hotspot .hs-num { pointer-events: none; }
.hotspot:hover { background: var(--brand-blue-dark); transform: translate(-50%, -50%) scale(1.08); }
.hotspot.is-active {
  background: var(--brand-green);
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 6px 16px -3px rgba(111,162,40,.6), 0 0 0 4px rgba(141,199,63,.28);
  z-index: 4;
}
.hotspot:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
/* pulse ring on the active marker */
.hotspot.is-active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand-green);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hotspot.is-active::after { animation: hsPulse 1.8s ease-out infinite; }
  @keyframes hsPulse {
    0%   { transform: scale(1);   opacity: .85; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
  }
}

/* ---- Right: detail panel ---- */
.inspect-detail {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-soft);
  border-left: 4px solid var(--brand-green);
  border-radius: 10px;
  padding: 30px 30px 30px 28px;
  box-shadow: 0 20px 44px -28px rgba(10,10,10,.2);
}
.inspect-detail-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.inspect-count {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.inspect-count svg { color: var(--brand-green); }
.inspect-detail-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.8;
  color: rgba(27,117,187,0.14);
  letter-spacing: -0.02em;
}
.inspect-live { flex: 1; min-height: 132px; }
.inspect-detail-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.1;
}
.inspect-detail-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.inspect-progress {
  height: 4px;
  background: var(--gray-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: 22px 0 24px;
}
.inspect-progress-bar {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--brand-green);
  border-radius: 999px;
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .inspect-progress-bar { transition: none; }
}
.inspect-cta { width: 100%; }

/* ---- Checkpoint chips ---- */
.inspect-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  justify-content: center;
}
.inspect-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--gray-soft);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.inspect-chip .chip-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(27,117,187,0.1);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.inspect-chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.inspect-chip.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.inspect-chip.is-active .chip-n { background: rgba(255,255,255,0.22); color: #fff; }
.inspect-chip:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* =========================================================
   OPEN / CLOSED STATUS WIDGET (nav)
   ========================================================= */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--gray-soft);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
  white-space: nowrap;
}
.open-status .open-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray);
  flex-shrink: 0;
  display: inline-block;
}
.open-status.is-open {
  color: var(--brand-green-dark);
  border-color: rgba(141,199,63,0.45);
  background: rgba(141,199,63,0.08);
}
.open-status.is-open .open-status-dot {
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(141,199,63,0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .open-status.is-open .open-status-dot {
    animation: openStatusPulse 2s ease-in-out infinite;
  }
  @keyframes openStatusPulse {
    0%, 100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0   rgba(141,199,63,0.55); }
    50%      { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 0 6px rgba(141,199,63,0); }
  }
}
@media (max-width: 1280px) {
  .open-status { display: none; }
}

/* =========================================================
   LIVE NAV SCROLLSPY — current section indicator
   ========================================================= */
.site-header .nav-link.is-current {
  color: var(--brand-blue);
}
.site-header .nav-link.is-current::after {
  width: 100%;
  background: var(--brand-blue);
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-link.is-current::after { transition: none; }
}

/* =========================================================
   PRINT-ONLY CONTACT CARD (screen-hidden)
   ========================================================= */
.print-only { display: none; }

/* =========================================================
   PRINT STYLESHEET
   ========================================================= */
@media print {
  /* Base reset to clean black-on-white */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.4;
    padding-bottom: 0 !important;
  }
  body { opacity: 1 !important; }

  /* Hide interactive chrome and dynamic UI */
  .site-header,
  .announcement-bar,
  .mobile-cta,
  .mobile-nav,
  .mobile-nav-overlay,
  .modal-backdrop,
  .modal,
  .hero-scrim,
  .hero-bg,
  .hero-since-stamp,
  .hero-card,
  .ba-handle,
  .ba-label,
  .partners-strip,
  .open-status,
  [data-print-hide],
  iframe,
  video,
  .recent-jobs {
    display: none !important;
  }

  /* Force scroll-reveal items visible */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Lucide SVG icons often render as outlined boxes when printed — hide them */
  [data-lucide],
  i[data-lucide],
  .why-icon svg,
  .tb-icon,
  .ph-icon,
  .rj-ico,
  .fts-dot,
  .ba-handle-arrows {
    display: none !important;
  }

  /* Strip dark scrims/gradients — make hero a plain photo-less band */
  .hero {
    min-height: 0 !important;
    padding: 24pt 0 !important;
    color: #000 !important;
  }
  .hero h1, .hero h1 .accent, .hero-sub,
  .h-section, .h-section .accent,
  .cta-band, .cta-band h2, .cta-band .cta-accent {
    color: #000 !important;
    background: transparent !important;
  }
  .cta-band::before, .cta-band::after { display: none !important; }

  /* Underline links so they're legible on paper */
  a, a:visited {
    color: #000 !important;
    text-decoration: underline;
  }

  /* Keep cards together across page breaks */
  .testimonial,
  .service-card,
  .why-card,
  .faq-item,
  .process-step,
  .rj-card,
  .pull-quote-band {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ccc !important;
    padding: 10pt !important;
    margin-bottom: 8pt !important;
  }

  /* Force-expand FAQ answers */
  .faq-a { max-height: none !important; overflow: visible !important; }
  .faq-item .faq-q .ico { display: none !important; }

  /* Section rhythm tighter for print */
  .section { padding: 18pt 0 !important; }

  /* Show the printable contact card */
  .print-only {
    display: block !important;
    page-break-before: always;
    padding: 24pt 0 0 !important;
  }
  .print-only .po-name {
    font-family: var(--font-display);
    font-size: 22pt;
    font-weight: 700;
    margin-bottom: 4pt;
    text-transform: uppercase;
  }
  .print-only .po-tagline {
    font-size: 11pt;
    margin-bottom: 12pt;
    font-style: italic;
  }
  .print-only .po-nap {
    margin-bottom: 14pt;
    font-size: 11pt;
    line-height: 1.6;
  }
  .print-only .po-nap div { margin-bottom: 2pt; }
  .print-only .po-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18pt;
    margin-bottom: 14pt;
  }
  .print-only .po-cols h3 {
    font-family: var(--font-display);
    font-size: 12pt;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6pt;
    border-bottom: 1px solid #000;
    padding-bottom: 2pt;
  }
  .print-only .po-cols ul {
    list-style: disc;
    padding-left: 14pt;
    font-size: 10.5pt;
    line-height: 1.5;
  }
  .print-only .po-cols li { margin-bottom: 2pt; }
  .print-only .po-footer {
    font-size: 9.5pt;
    margin-top: 10pt;
    padding-top: 6pt;
    border-top: 1px solid #000;
  }

  /* Make sure footer NAP prints clearly */
  .footer { padding: 12pt 0 !important; }
  .footer h4 { font-size: 11pt; }

  @page { margin: 0.6in; }
}
