/* ==========================================================================
   RGS Crawl Space Insulation LLC — shared site styles
   Black + brand-red contractor theme: solid black chrome, light content bands,
   white cards, uppercase display headings with a red accent rule.
   Loaded by every page; there is no per-page stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --navy-950: #000000;
  --navy-900: #0a0a0a;
  --navy-850: #111111;
  --navy-800: #171717;
  --navy-700: #262626;
  --navy-600: #3a3a3a;

  --red: #db0000;
  --red-bright: #f01414;
  --red-dark: #a80000;

  --bg-light: #f3f6fa;
  --bg-white: #ffffff;
  --ink: #0a0a0a;
  --ink-mid: #4b586a;
  --ink-soft: #6d7a8a;
  --border-light: #e1e7ef;

  --line-dark: rgba(255, 255, 255, 0.11);
  --shell: 1240px;
  --radius: 10px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.20);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep #anchor targets clear of the sticky header (42px topbar + 108px nav) */
  scroll-padding-top: 168px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(219, 0, 0, 0.14);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

/* Zero-specificity floor for inline icons: any SVG that a component rule
   doesn't size explicitly falls back to text size instead of filling its box. */
:where(svg) { width: 1.1em; height: 1.1em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.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: 9px;
  min-height: 50px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
              color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(219, 0, 0, 0.28);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(219, 0, 0, 0.36);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  border-color: #c9d2de;
  color: var(--navy-800);
}
.btn-outline-navy:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
}

.btn-lg { min-height: 58px; padding: 0 32px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header — utility strip + main navy bar with oversized logo and phone button
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: #a9b6c6;
}

.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
/* Hours, email and the social icons stay on one line; the location text on
   the left is what gives way if space runs short. */
.topbar-list:last-child { flex-wrap: nowrap; flex: none; }
/* Just above the tablet breakpoint there isn't room for everything; the hours
   are the one item repeated in the footer, so they give way. */
@media (max-width: 1099px) {
  .topbar-list:last-child > .topbar-item:first-child { display: none; }
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar-item svg {
  width: 15px; height: 15px;
  flex: none;
  color: var(--red-bright);
}

.topbar a { color: #a9b6c6; }
.topbar a:hover { color: #fff; }

.topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease;
}
.topbar-social a:hover { background: var(--red); }
.topbar-social img { width: 15px; height: 15px; object-fit: contain; }

.navbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Logo — the wide lockup, sized so it reads considerably larger than the
   64px stacked mark it replaced (~255px wide against the old ~116px). */
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 78px;
  width: auto;
  transition: height 180ms ease;
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.mainnav > a,
.navdrop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border: 0;
  background: none;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #dbe3ec;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.mainnav > a:hover,
.navdrop > button:hover,
.navdrop:hover > button,
.navdrop:focus-within > button { color: #fff; background: rgba(255, 255, 255, 0.07); }

.mainnav > a[aria-current="page"],
.navdrop.is-current > button { color: #fff; }

.mainnav > a[aria-current="page"]::after,
.navdrop.is-current > button::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
}

.mainnav > a,
.navdrop > button { position: relative; }

/* Services dropdown */
.navdrop { position: relative; }

.navdrop > button svg { width: 11px; height: 11px; opacity: 0.75; }

.navdrop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 262px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.navdrop:hover .navdrop-menu,
.navdrop:focus-within .navdrop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navdrop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
}
.navdrop-menu a:hover { background: var(--bg-light); color: var(--red); }

/* Phone + estimate cluster */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

/* The phone number is the primary conversion element: large, red, unmissable */
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px 9px 14px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(219, 0, 0, 0.30);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.phone-btn:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(219, 0, 0, 0.4);
}

.phone-btn .phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.phone-btn .phone-icon svg { width: 19px; height: 19px; }

.phone-btn .phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.phone-btn .phone-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.85;
}
.phone-btn .phone-number {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobilenav {
  display: none;
  border-top: 1px solid var(--line-dark);
  background: var(--navy-850);
  padding: 12px 0 20px;
}
.mobilenav.is-open { display: block; }
/* The menu sits inside .navbar, so its .shell would otherwise pick up the
   header row's flex layout and min-height and lay the links out sideways. */
.navbar .mobilenav .shell {
  display: block;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.mobilenav a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #dbe3ec;
}
.mobilenav a:hover,
.mobilenav a[aria-current="page"] { color: var(--red-bright); }
.mobilenav a.is-sub { padding-left: 18px; font-size: 0.82rem; opacity: 0.9; }
/* `.mobilenav a` outranks the button classes; restore the button's own
   layout, colour and border. */
.mobilenav a.btn {
  display: flex;
  margin-top: 16px;
  padding: 0 26px;
  border: 2px solid var(--red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-tight { padding: clamp(40px, 5vw, 60px) 0; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }

.section-navy {
  background: var(--navy-900);
  color: #cfd8e3;
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

/* Components that keep a light surface inside a navy band need their headings
   back — otherwise the rule above renders them white on white. */
.section-navy .step-card h3,
.section-navy .info-card h3,
.section-navy .review-card h3,
.section-navy .faq-item summary,
.cta-band .step-card h3,
.cta-band .info-card h3 { color: var(--ink); }

.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 52px); text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
}
.section-navy .eyebrow { color: var(--red-bright); }
.section-navy .eyebrow::before { background: var(--red-bright); }

h2.section-title,
h1.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.section-title .accent { color: var(--red); }
.section-navy .section-title .accent { color: var(--red-bright); }

.section-rule {
  width: 62px; height: 3px;
  margin: 18px auto 0;
  background: var(--red);
  border-radius: 3px;
}
.section-head.is-left .section-rule { margin-left: 0; }

.section-lead {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  color: var(--ink-mid);
}
.section-navy .section-lead { color: #a9b8c9; }

/* --------------------------------------------------------------------------
   Hero — crossfading slideshow, light overlay, quick-quote form
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1400ms ease, transform 9000ms linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Deliberately light so the photography stays visible; the copy column keeps
   a stronger scrim on the left where the text actually sits. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.72) 32%,
      rgba(0, 0, 0, 0.40) 58%,
      rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.35) 100%);
}

.hero .shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(52px, 6vw, 78px);
  min-height: clamp(560px, 74vh, 720px);
}

.hero-copy { color: #e7edf4; }

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.05rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero-copy h1 .accent { color: var(--red-bright); }

.hero-copy .hero-sub {
  max-width: 40rem;
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: #d3dde8;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e7edf4;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero-points svg { width: 19px; height: 19px; color: var(--red-bright); flex: none; }

/* Slideshow controls */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}
.hero-dots button {
  width: 32px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease;
}
.hero-dots button.is-active { background: var(--red-bright); width: 46px; }

/* Quick-quote card */
.quote-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.quote-card-head {
  padding: 20px 26px 18px;
  background: var(--navy-900);
  border-bottom: 4px solid var(--red);
  text-align: center;
}
.quote-card-head h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
}
.quote-card-head p {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: #a9b8c9;
}

.quote-form { padding: 22px 26px 26px; }

.field { margin-bottom: 13px; }
.field:last-of-type { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  /* 16px exactly: anything smaller makes iOS Safari zoom the page on focus. */
  font-size: 1rem;
  min-height: 48px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.field textarea { min-height: 104px; resize: vertical; }

.field input[type="file"] { padding: 9px 10px; font-size: 0.875rem; color: var(--ink-mid); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 12px;
  font: inherit;
  font-weight: 600;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  cursor: pointer;
}
.field-hint { margin: 6px 0 0; font-size: 0.78rem; line-height: 1.45; color: var(--ink-soft); }
.field-hint.is-error { color: var(--red); font-weight: 600; }

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #14532d;
  background: #dcf5e3;
  border-left: 4px solid #2f9e55;
  border-radius: 6px;
}
.form-status.is-error { color: var(--ink); background: rgba(219, 0, 0, 0.06); border-left-color: var(--red); }
.form-status a { font-weight: 700; white-space: nowrap; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(219, 0, 0, 0.14);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.form-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}
.form-note a { font-weight: 600; }
.form-note .travel-note { display: block; margin-top: 6px; font-style: italic; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Service strip — the row of cards that overlaps the hero
   -------------------------------------------------------------------------- */
.service-strip {
  position: relative;
  z-index: 5;
  margin-top: -62px;
  padding-bottom: clamp(44px, 5vw, 74px);
  background: linear-gradient(180deg, transparent 0 62px, var(--bg-white) 62px);
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 24px;
  border-right: 1px solid var(--border-light);
  color: var(--ink);
  transition: background 180ms ease;
}
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: var(--bg-light); color: var(--ink); }

.strip-item .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 10px;
  background: rgba(219, 0, 0, 0.09);
  color: var(--red);
}
.strip-item .ico svg { width: 25px; height: 25px; }

.strip-item h3 {
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.strip-item p { margin: 0; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(232px, 100%), 1fr)); }

/* Service card with photo */
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 0, 0, 0.35);
  box-shadow: var(--shadow-md);
}

.svc-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.svc-card:hover .svc-card-media img { transform: scale(1.06); }

.svc-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.svc-card-body h3 {
  font-size: 1.1875rem;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 10px;
}
.svc-card-body p { font-size: 0.9375rem; color: var(--ink-mid); line-height: 1.6; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.card-link svg { width: 15px; height: 15px; transition: transform 180ms ease; }
.card-link:hover svg { transform: translateX(4px); }

/* Feature card (icon + copy) */
.feature-card {
  padding: 30px 26px;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 20, 20, 0.5);
  background: var(--navy-700);
}
.feature-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(240, 20, 20, 0.14);
  color: var(--red-bright);
}
.feature-card .ico svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 9px;
  color: #fff;
}
.feature-card p { font-size: 0.9375rem; color: #a9b8c9; line-height: 1.6; }

/* Light variant of the feature card, for use on light bands */
.feature-card.is-light {
  background: #fff;
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.feature-card.is-light:hover { background: #fff; border-color: rgba(219, 0, 0, 0.35); box-shadow: var(--shadow-md); }
.feature-card.is-light .ico { background: rgba(219, 0, 0, 0.09); color: var(--red); }
.feature-card.is-light h3 { color: var(--ink); }
.feature-card.is-light p { color: var(--ink-mid); }

/* Numbered process steps */
.step-card {
  position: relative;
  padding: 32px 26px 28px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.step-card .step-num {
  position: absolute;
  top: -18px; left: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(219, 0, 0, 0.3);
}
.step-card h3 {
  margin: 14px 0 9px;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.step-card p { font-size: 0.9375rem; color: var(--ink-mid); }

/* --------------------------------------------------------------------------
   Checklists and prose
   -------------------------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.prose + .checklist { margin-top: 20px; }
.checklist + .prose { margin-top: 20px; }
.checklist.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 11px 26px; }

/* Block + absolute marker rather than flex: a flex li would turn each inline
   run (<strong>, following text) into its own flex item and break the copy
   into columns. */
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 0.9688rem;
  line-height: 1.55;
  color: var(--ink-mid);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(219, 0, 0, 0.10)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23db0000" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>')
    center / 13px no-repeat;
}
.checklist li strong { color: var(--ink); font-weight: 600; }

.section-navy .checklist li { color: #b7c4d3; }
.section-navy .checklist li strong { color: #fff; }
.section-navy .checklist li::before {
  background: rgba(240, 20, 20, 0.16)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f01414" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>')
    center / 13px no-repeat;
}

.prose { max-width: 72ch; }
.prose p { color: var(--ink-mid); }
.prose h3 {
  margin: 30px 0 12px;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.prose h3:first-child { margin-top: 0; }
.section-navy .prose p { color: #a9b8c9; }

/* Split media + copy */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
/* Fixed aspect on the frame, cover on the photo: source images are a mix of
   portrait and landscape, and letting the natural ratio drive the block makes
   portrait sources tower over the copy beside them. */
.split-media {
  position: relative;
  align-self: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.is-tall { aspect-ratio: 1 / 1; }

.split-media-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}
.split-media-badge .n {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.split-media-badge .t {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
}
.stat { padding: 30px 22px; text-align: center; background: var(--navy-800); }
.stat .n {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--red-bright);
}
.stat .t {
  display: block;
  margin-top: 9px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a9b8c9;
}

/* --------------------------------------------------------------------------
   Logo rails (badges / manufacturers)
   -------------------------------------------------------------------------- */
.logo-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 30px;
}
.logo-rail img {
  height: 84px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.9);
  transition: transform 200ms ease, filter 200ms ease;
}
.logo-rail img:hover { transform: translateY(-3px); filter: none; }

/* Manufacturer marks arrive as small logos on white; tile them so they read
   as a deliberate row rather than stray thumbnails. */
.logo-rail.is-tiles img {
  height: 84px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.rail-label {
  margin: 0 0 22px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-navy .rail-label { color: #8fa0b3; }

/* --------------------------------------------------------------------------
   Project gallery
   -------------------------------------------------------------------------- */
/* Masonry columns rather than a grid: the project photos are a mix of
   portrait and landscape, and a fixed-ratio grid either crops them badly or
   leaves ragged holes wherever a tall tile stretches its row. */
.gallery-grid {
  columns: 4 260px;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-800);
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 600ms ease, filter 300ms ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

.gallery-item .gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 240ms ease, transform 240ms ease;
}
.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap { opacity: 1; transform: translateY(0); }

.gallery-item:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

/* Filter chips */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.gallery-filters button {
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 180ms ease;
}
.gallery-filters button:hover { border-color: var(--navy-700); color: var(--navy-800); }
.gallery-filters button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(219, 0, 0, 0.28);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 82vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  text-align: center;
  font-size: 0.9rem;
  color: #cfd8e3;
  padding: 0 24px;
}

.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.lightbox-btn:hover { background: var(--red); border-color: var(--red); }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close { right: 20px; top: 20px; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }

.review-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(219, 0, 0, 0.3); box-shadow: var(--shadow-md); }

.stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f5a623; }
.stars svg { width: 17px; height: 17px; }

.review-card blockquote { margin: 0 0 18px; font-size: 0.9688rem; line-height: 1.65; color: var(--ink-mid); }
.review-card blockquote::before { content: "\201C"; }
.review-card blockquote::after { content: "\201D"; }

.review-card cite {
  margin-top: auto;
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}
.review-card .src { font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }

/* --------------------------------------------------------------------------
   Areas we serve
   -------------------------------------------------------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.map-frame {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.map-frame img { width: 100%; height: auto; border-radius: 6px; }
.map-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.county-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.county-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.county-list svg { width: 17px; height: 17px; color: var(--red); flex: none; }

.town-list {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: #cfd8e3;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--cta-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.80) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #cfd8e3; }
.cta-band .section-lead { color: #b7c4d3; }
.cta-band .eyebrow { color: var(--red-bright); }
.cta-band .eyebrow::before { background: var(--red-bright); }
/* The quote card inside the band is a light surface — keep its own colours. */
.cta-band .quote-card p { color: inherit; }
.cta-band .quote-card .form-note { color: var(--ink-soft); }

.cta-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 26px 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.cta-phone:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cta-phone .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.cta-phone .ico svg { width: 22px; height: 22px; }
.cta-phone .lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a9b8c9;
}
.cta-phone .num {
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.15;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  padding: clamp(58px, 7vw, 96px) 0 clamp(52px, 6vw, 84px);
  color: #cfd8e3;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.74) 45%, rgba(0, 0, 0, 0.46) 100%);
}
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.2vw, 3.05rem);
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}
.page-hero h1 .accent { color: var(--red-bright); }
.page-hero p { max-width: 56rem; font-size: 1.0625rem; color: #d3dde8; }
.page-hero .hero-actions { margin: 26px 0 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 0.8125rem;
  color: #8fa0b3;
}
.crumbs a { color: #b7c4d3; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--red-bright); font-weight: 600; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(219, 0, 0, 0.10);
  color: var(--red);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transition: transform 200ms ease, background 200ms ease;
}
.faq-item[open] summary::after { content: "\2013"; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--red); }
.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

/* --------------------------------------------------------------------------
   Contact page pieces
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.info-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.info-card h3 svg {
  width: 21px; height: 21px;
  margin-right: 7px;
  vertical-align: -3px;
  color: var(--red);
}
.info-card + .info-card { margin-top: 24px; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-list .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 9px;
  background: rgba(219, 0, 0, 0.09);
  color: var(--red);
}
.info-list .ico svg { width: 19px; height: 19px; }
.info-list .k {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.info-list .v { font-size: 1rem; font-weight: 600; color: var(--ink); }
.info-list a.v { color: var(--ink); }
.info-list a.v:hover { color: var(--red); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hours-table th,
.hours-table td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--border-light); }
.hours-table th { font-weight: 600; color: var(--ink-mid); }
.hours-table td { text-align: right; font-weight: 600; color: var(--ink); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }

.form-card {
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Footer — full site footer, present on every page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9b8c9; font-size: 0.9375rem; }

.footer-top { padding: clamp(48px, 6vw, 72px) 0 clamp(34px, 4vw, 48px); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 3.4vw, 46px);
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col h3::after {
  content: "";
  display: block;
  width: 38px; height: 3px;
  margin-top: 10px;
  background: var(--red);
  border-radius: 3px;
}

.footer-logo { height: 78px; width: auto; margin-bottom: 20px; }

.footer-col p { line-height: 1.7; color: #a9b8c9; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a9b8c9;
  transition: color 160ms ease, transform 160ms ease;
}
.footer-links a::before { content: "\203A"; color: var(--red-bright); font-size: 1.1rem; line-height: 1; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--red-bright);
}
.footer-contact .ico svg { width: 16px; height: 16px; }
.footer-contact .k {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7f8fa2;
}
.footer-contact a, .footer-contact span.v { color: #dbe3ec; font-weight: 600; }
.footer-contact a:hover { color: var(--red-bright); }

.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 22px 12px 14px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(219, 0, 0, 0.3);
  transition: background 180ms ease, transform 180ms ease;
}
.footer-phone-btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.footer-phone-btn .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.footer-phone-btn .ico svg { width: 18px; height: 18px; }
.footer-phone-btn .lbl {
  display: block;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; opacity: 0.9;
}
.footer-phone-btn .num {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; line-height: 1.2;
}

.footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours .d { color: #a9b8c9; }
.footer-hours .h { color: #fff; font-weight: 600; }
.footer-hours .h.is-closed { color: #8fa0b3; font-weight: 500; }

.footer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(240, 20, 20, 0.10);
  border: 1px solid rgba(240, 20, 20, 0.24);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #dbe3ec;
}
.footer-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--red-bright); }

.footer-map {
  margin-top: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}
.footer-map img { width: 100%; border-radius: 6px; }

.footer-areas {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #93a2b5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.footer-badges img {
  height: 52px; width: auto;
  object-fit: contain;
  background: #fff;
  padding: 5px 8px;
  border-radius: 6px;
}

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  transition: background 180ms ease, transform 180ms ease;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social img { width: 19px; height: 19px; object-fit: contain; }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--navy-950);
}
.footer-bottom .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: #7f8fa2;
}
.footer-bottom a { color: #a9b8c9; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Touch devices: give the small text links a comfortable target without
   loosening the desktop layout. */
@media (hover: none), (max-width: 767px) {
  .footer-links { gap: 2px; }
  .footer-links a { padding: 10px 0; }
  .crumbs { gap: 8px 10px; }
  .crumbs a { padding: 8px 0; }
  .card-link { padding-top: 18px; padding-bottom: 6px; }
  .navdrop-menu a { padding: 13px 14px; }
  .footer-bottom .shell { gap: 6px 18px; }
  .footer-legal a { padding: 9px 0; }
  .info-list a.v,
  .footer-contact a,
  .form-note a { display: inline-block; padding: 8px 0; }
  .gallery-filters button { min-height: 44px; }
  .lightbox-btn { width: 46px; height: 46px; }

  /* The logo link was only as tall as the mark itself. */
  .brand { padding: 7px 0; }
  .phone-btn { min-height: 44px; }

  /* Slideshow dots were a 4px-tall target. Keep the bar thin but pad the
     button out to a tappable size, clipping the paint to the content box. */
  .hero-dots { gap: 4px; }
  .hero-dots button {
    box-sizing: content-box;
    height: 5px;
    width: 30px;
    padding: 15px 5px;
    background-clip: content-box;
  }
  /* .hero-dots button.is-active sets `background` as a shorthand, which resets
     background-clip — restate it so the padded hit area stays unpainted. */
  .hero-dots button.is-active { width: 42px; background-clip: content-box; }
}

/* --------------------------------------------------------------------------
   Sticky mobile call bar + back to top
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  display: none;
  background: var(--red);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.24);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-cta a + a { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.mobile-cta a:active { background: var(--red-dark); }
.mobile-cta svg { width: 18px; height: 18px; flex: none; }

.to-top {
  position: fixed;
  right: 20px; bottom: 22px;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--navy-800);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 180ms ease, transform 180ms ease;
}
.to-top.is-visible { display: flex; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }

/* Background-image heroes can't carry a srcset, so swap to the 900px variant
   on small screens rather than pushing a 1800px JPEG down a phone connection. */
@media (max-width: 900px) {
  .page-hero::before { background-image: var(--hero-image-sm, var(--hero-image)); }
  .cta-band::before { background-image: var(--cta-image-sm, var(--cta-image)); }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity 300ms ease; transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .brand img { height: 70px; }
  .mainnav > a, .navdrop > button { padding: 10px 9px; font-size: 0.76rem; }
  .phone-btn .phone-number { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  html { scroll-padding-top: 96px; }

  .topbar { display: none; }
  .mainnav { display: none; }
  .nav-toggle { display: inline-flex; }
  /* The header is sticky, so a menu taller than the screen would have its
     bottom links out of reach; let it scroll inside the space below the bar. */
  .mobilenav.is-open {
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .navbar .shell { min-height: 88px; gap: 14px; }
  .brand img { height: 46px; }

  .phone-btn { padding: 7px 15px 7px 10px; }
  .phone-btn .phone-icon { width: 32px; height: 32px; }
  .phone-btn .phone-icon svg { width: 16px; height: 16px; }
  .phone-btn .phone-label { display: none; }
  .phone-btn .phone-number { font-size: 1.0625rem; }

  .hero .shell { grid-template-columns: 1fr; gap: 34px; min-height: 0; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.86) 100%);
  }
  .hero-dots { bottom: auto; top: 12px; }

  .service-strip { margin-top: 0; }
  .service-strip-grid { border-radius: 0; box-shadow: none; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .strip-item:last-child { border-bottom: 0; }

  .split-media { aspect-ratio: 3 / 2; }
  .split-media.is-tall { aspect-ratio: 4 / 3; }

}

@media (max-width: 767px) {
  body { padding-bottom: 66px; }
  .mobile-cta { display: flex; }
  /* Leave room for the header row and the fixed call bar at the bottom. */
  .mobilenav.is-open {
    max-height: calc(100vh - 144px);
    max-height: calc(100dvh - 144px);
  }
  .to-top { bottom: 84px; }

  .shell { padding: 0 18px; }
  .section { padding: 48px 0; }

  .brand img { height: 40px; }
  .navbar .shell { min-height: 78px; }

  .phone-btn { padding: 7px 13px 7px 8px; gap: 8px; }
  .phone-btn .phone-number { font-size: 1rem; }

  .hero .shell { padding-top: 40px; padding-bottom: 44px; }
  .hero-copy h1 { font-size: clamp(1.75rem, 7.4vw, 2.35rem); }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 18px; }
  .hero-points li { font-size: 0.85rem; }

  .field-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .shell { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }

  .gallery-grid { columns: 2 140px; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .gallery-item .gallery-cap { opacity: 1; transform: none; font-size: 0.68rem; padding: 10px; }
  .gallery-item::after { opacity: 1; }

  .lightbox { padding: 14px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-btn { width: 42px; height: 42px; font-size: 20px; }

  .stat { padding: 22px 14px; }
}

/* Small phones: the header row (logo + phone button + menu) is what sets the
   page's minimum width, so it has to shrink here or the whole layout overflows
   and gets clipped by body{overflow-x:hidden}. */
@media (max-width: 479px) {
  .shell { padding: 0 14px; }

  .navbar .shell { gap: 8px; min-height: 68px; }
  .brand img { height: 30px; }

  .phone-btn { padding: 6px 11px 6px 6px; gap: 7px; }
  .phone-btn .phone-icon { width: 28px; height: 28px; }
  .phone-btn .phone-icon svg { width: 14px; height: 14px; }
  .phone-btn .phone-number { font-size: 0.9375rem; letter-spacing: 0; }

  .nav-toggle { min-height: 42px; padding: 0 10px; }
  .nav-toggle span { display: none; }

  .hero-copy h1 { font-size: 1.7rem; }
  .quote-card-head { padding: 16px 18px 14px; }
  .quote-form { padding: 18px 18px 22px; }
  .btn { padding: 0 18px; font-size: 0.8rem; }
  .btn-lg { padding: 0 20px; font-size: 0.85rem; }
}

/* 320px (iPhone SE and similar): the header row — logo, phone button, menu —
   is what sets the page's minimum width, and at this size it needs one more
   step down or the whole document overflows. */
@media (max-width: 360px) {
  .shell { padding: 0 12px; }

  .navbar .shell { gap: 6px; min-height: 62px; }
  .brand img { height: 26px; }
  .brand { padding: 6px 0; }

  .phone-btn { padding: 5px 9px 5px 5px; gap: 6px; }
  .phone-btn .phone-icon { width: 24px; height: 24px; }
  .phone-btn .phone-icon svg { width: 12px; height: 12px; }
  .phone-btn .phone-number { font-size: 0.8125rem; }

  .nav-toggle { min-height: 40px; padding: 0 8px; }
  .nav-toggle svg { width: 18px; height: 18px; }

  .hero-copy h1 { font-size: 1.55rem; }
  .btn, .btn-lg { padding: 0 14px; font-size: 0.75rem; letter-spacing: 0.04em; }
  .mobile-cta a { font-size: 0.8rem; padding: 14px 4px; }
}

@media print {
  .site-header, .mobile-cta, .to-top, .hero-dots, .lightbox { display: none !important; }
  body { color: #000; }
}

/* --------------------------------------------------------------------------
   Photo brightness — bright project photos are dimmed to a common level.
   --dim is set per photo below; brightness() reads as a black overlay.
   -------------------------------------------------------------------------- */
img[src^="photos/"],
.lightbox img { filter: brightness(var(--dim, 1)); }

/* PHOTO-DIM:START (generated by tools/photo-dim.py, do not edit) */
img[src="photos/attic-01.jpg"] { --dim: 0.62; }
img[src="photos/attic-02.jpg"] { --dim: 0.61; }
img[src="photos/attic-03.jpg"] { --dim: 0.89; }
img[src="photos/attic-04.jpg"] { --dim: 0.62; }
img[src="photos/attic-05.jpg"] { --dim: 0.71; }
img[src="photos/attic-06.jpg"] { --dim: 0.60; }
img[src="photos/attic-07.jpg"] { --dim: 0.58; }
img[src="photos/attic-08.jpg"] { --dim: 0.64; }
img[src="photos/crawl-01.jpg"] { --dim: 0.91; }
img[src="photos/crawl-02.jpg"] { --dim: 0.60; }
img[src="photos/crawl-03.jpg"] { --dim: 0.78; }
img[src="photos/crawl-04.jpg"] { --dim: 0.60; }
img[src="photos/crawl-05.jpg"] { --dim: 0.59; }
img[src="photos/crawl-06.jpg"] { --dim: 0.72; }
img[src="photos/crawl-07.jpg"] { --dim: 0.61; }
img[src="photos/crawl-08.jpg"] { --dim: 0.61; }
img[src="photos/crawl-09.jpg"] { --dim: 0.61; }
img[src="photos/crawl-10.jpg"] { --dim: 0.59; }
img[src="photos/crawl-11.jpg"] { --dim: 0.82; }
img[src="photos/crawl-12.jpg"] { --dim: 0.61; }
img[src="photos/crawl-13.jpg"] { --dim: 0.77; }
img[src="photos/image0.jpg"] { --dim: 0.59; }
img[src="photos/image1.jpg"] { --dim: 0.59; }
img[src="photos/image10.jpg"] { --dim: 0.60; }
img[src="photos/image11.jpg"] { --dim: 0.62; }
img[src="photos/image12.jpg"] { --dim: 0.60; }
img[src="photos/image13.jpg"] { --dim: 0.61; }
img[src="photos/image14.jpg"] { --dim: 0.60; }
img[src="photos/image15.jpg"] { --dim: 0.62; }
img[src="photos/image16.jpg"] { --dim: 0.63; }
img[src="photos/image17.jpg"] { --dim: 0.63; }
img[src="photos/image18.jpg"] { --dim: 0.64; }
img[src="photos/image2.jpg"] { --dim: 0.67; }
img[src="photos/image20.jpg"] { --dim: 0.64; }
img[src="photos/image21.jpg"] { --dim: 0.61; }
img[src="photos/image22.jpg"] { --dim: 0.62; }
img[src="photos/image24.jpg"] { --dim: 0.64; }
img[src="photos/image25.jpg"] { --dim: 0.62; }
img[src="photos/image26.jpg"] { --dim: 0.60; }
img[src="photos/image27.jpg"] { --dim: 0.62; }
img[src="photos/image28.jpg"] { --dim: 0.62; }
img[src="photos/image29.jpg"] { --dim: 0.64; }
img[src="photos/image3.jpg"] { --dim: 0.65; }
img[src="photos/image30.jpg"] { --dim: 0.61; }
img[src="photos/image31.jpg"] { --dim: 0.61; }
img[src="photos/image32.jpg"] { --dim: 0.60; }
img[src="photos/image33.jpg"] { --dim: 0.69; }
img[src="photos/image34.jpg"] { --dim: 0.60; }
img[src="photos/image35.jpg"] { --dim: 0.57; }
img[src="photos/image36.jpg"] { --dim: 0.59; }
img[src="photos/image37.jpg"] { --dim: 0.58; }
img[src="photos/image38.jpg"] { --dim: 0.54; }
img[src="photos/image40.jpg"] { --dim: 0.71; }
img[src="photos/image41.jpg"] { --dim: 0.58; }
img[src="photos/image42.jpg"] { --dim: 0.59; }
img[src="photos/image43.jpg"] { --dim: 0.63; }
img[src="photos/image44.jpg"] { --dim: 0.63; }
img[src="photos/image45.jpg"] { --dim: 0.81; }
img[src="photos/image46.jpg"] { --dim: 0.59; }
img[src="photos/image47.jpg"] { --dim: 0.62; }
img[src="photos/image48.jpg"] { --dim: 0.71; }
img[src="photos/image49.jpg"] { --dim: 0.61; }
img[src="photos/image5.jpg"] { --dim: 0.63; }
img[src="photos/image50.jpg"] { --dim: 0.61; }
img[src="photos/image51.jpg"] { --dim: 0.56; }
img[src="photos/image52.jpg"] { --dim: 0.47; }
img[src="photos/image53.jpg"] { --dim: 0.54; }
img[src="photos/image54.jpg"] { --dim: 0.53; }
img[src="photos/image55.jpg"] { --dim: 0.52; }
img[src="photos/image56.jpg"] { --dim: 0.55; }
img[src="photos/image57.jpg"] { --dim: 0.58; }
img[src="photos/image58.jpg"] { --dim: 0.63; }
img[src="photos/image6.jpg"] { --dim: 0.62; }
img[src="photos/image60.jpg"] { --dim: 0.59; }
img[src="photos/image61.jpg"] { --dim: 0.60; }
img[src="photos/image62.jpg"] { --dim: 0.61; }
img[src="photos/image7.jpg"] { --dim: 0.61; }
img[src="photos/image8.jpg"] { --dim: 0.61; }
img[src="photos/image9.jpg"] { --dim: 0.62; }
img[src="photos/military-discount.jpg"] { --dim: 0.96; }
img[src="photos/prep-01.jpg"] { --dim: 0.82; }
img[src="photos/walls-01.jpg"] { --dim: 0.63; }
img[src="photos/walls-02.jpg"] { --dim: 0.62; }
img[src="photos/walls-03.jpg"] { --dim: 0.61; }
img[src="photos/walls-04.jpg"] { --dim: 0.63; }
img[src="photos/walls-05.jpg"] { --dim: 0.61; }
img[src="photos/walls-06.jpg"] { --dim: 0.79; }
/* PHOTO-DIM:END */
