/* ============================================================
   LEFT COAST EXTERIORS — Layout Fixes
   Loaded after styles.css on every page.

   Purpose: bridge the two HTML naming conventions produced by
   separate generation passes against the shared design system.

   Group A (index / about / contact):
     .header-inner, .main-nav, .nav-list, .has-dropdown,
     .dropdown-menu, .dropdown-item, .hamburger, .header-actions,
     .btn--gold, .btn--outline-light, .hero-inner, .eyebrow,
     .hero-ctas, .hero-trust-strip, .trust-bar-list, .trust-bar-item

   Group B (services/):
     .site-nav (full-width wrapper), .site-nav-logo, .site-nav-links,
     .mobile-nav-toggle, .mobile-nav-panel
   ============================================================ */

/* ── 1. Global overflow containment ────────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }

/* Prevent any fixed-width child from breaking the viewport */
img, video, svg, iframe { max-width: 100%; }

/* ── 2. Header inner layout ─────────────────────────────────── */
/* Group A uses .header-inner.container as the flex row */
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  width: 100%;
}

/* Group B: .site-nav sits inside .container; make it a flex row */
.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  width: 100%;
}

/* ── 3. Primary nav (Group A) ──────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list .nav-link,
.nav-list .nav-link--dropdown {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1.4;
}
.nav-list .nav-link:hover,
.nav-list .nav-link--dropdown:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-list .nav-link.active { color: var(--white); }

/* Dropdown caret */
.dropdown-caret { font-size: 0.6em; opacity: 0.7; }

/* ── 4. Primary nav (Group B) ──────────────────────────────── */
.site-nav-logo img {
  height: 48px;
  width: auto;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-links .nav-link,
.site-nav-links > li > a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.site-nav-links .nav-link:hover,
.site-nav-links > li > a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav-links .has-dropdown { position: relative; }

/* ── 5. Dropdown menus (both groups) ───────────────────────── */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  border: 1px solid var(--border);
  list-style: none;
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item,
.site-nav-links .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-item:hover,
.site-nav-links .dropdown-menu a:hover { background: var(--gray-50); color: var(--navy); }
.dropdown-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.dropdown-icon svg { width: 16px; height: 16px; }

/* ── 6. Header actions / CTA area ──────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* ── 7. Button aliases ─────────────────────────────────────── */
/* .btn--gold = .btn--primary */
.btn.btn--gold,
a.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn.btn--gold:hover,
a.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,196,25,0.35);
}

/* .btn--outline-light = .btn--outline */
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* .btn--full = width 100% */
.btn--full { width: 100%; justify-content: center; }

/* btn--lg sizing adjustment (harmonise with existing) */
.btn--lg.btn--gold,
.btn--lg.btn--outline-light {
  font-size: var(--text-base);
  padding: 14px 32px;
}

/* ── 8. Hamburger / mobile nav toggle ──────────────────────── */
.hamburger,
.mobile-nav-toggle {
  display: none; /* hidden by default; shown at mobile breakpoint */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.hamburger span,
.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Active / open states */
.hamburger.is-open span:nth-child(1),
.mobile-nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2),
.mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3),
.mobile-nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 9. Hero inner grid (Group A) ──────────────────────────── */
/* .hero-inner mirrors .hero .container rule in styles.css */
.hero .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-12);
  align-items: center;
}

/* ── 10. Eyebrow aliases ────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245,196,25,0.15);
  border: 1px solid rgba(245,196,25,0.3);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.eyebrow--light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}

/* ── 11. Hero CTA group ─────────────────────────────────────── */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}
.btn-icon { display: flex; align-items: center; }
.btn-icon svg { width: 16px; height: 16px; }

/* ── 12. Hero trust strip (Group A) ─────────────────────────── */
.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-trust-strip .trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}
.trust-number svg { width: 22px; height: 22px; }
.trust-icon { display: flex; align-items: center; color: var(--gold); }
.trust-icon svg { width: 22px; height: 22px; }
.stars { display: flex; align-items: center; gap: 4px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.trust-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── 13. Trust bar items (Group A page format) ─────────────── */
.trust-bar-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}
.trust-bar-icon {
  display: flex;
  align-items: center;
  color: var(--navy);
}
.trust-bar-icon svg { width: 18px; height: 18px; }

/* Trust bar items used directly in .container (Group B) */
.trust-bar .container > .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}
.trust-bar .container > .trust-item svg { width: 18px; height: 18px; color: var(--navy); }

/* ── 14. Service card icon / body / brand (Group A) ────────── */
/* .service-card-icon → .service-icon */
.service-card .service-card-icon {
  width: 50px;
  height: 50px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.service-card .service-card-icon svg { width: 24px; height: 24px; }

/* .service-card-body: stack title/desc/brand */
.service-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

/* .brand-badge → .service-card-brand */
.brand-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

/* service-card-link alignment */
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  transition: gap var(--ease);
  margin-top: auto;
  padding-top: var(--sp-3);
}
.service-card-link:hover { gap: var(--sp-3); }
.service-card-link svg { width: 16px; height: 16px; }

/* ── 15. Page hero aliases ──────────────────────────────────── */
.page-hero-content { } /* container, no extra styles needed */
.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}
.page-hero-ctas {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

/* ── 16. Form micro-styles ──────────────────────────────────── */
.hero-card-header { margin-bottom: var(--sp-5); }
.hero-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.hero-card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,61,111,0.1);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.label-optional { font-size: var(--text-xs); color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: var(--sp-3);
  line-height: 1.4;
}
.form-privacy svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--gray-400); }

/* ── 17. Mobile nav — Group A (.mobile-nav panel) ───────────── */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-logo img { height: 42px; }
.mobile-nav-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 2px; list-style: none; flex: 1; }
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-nav-group { display: flex; flex-direction: column; }
.mobile-nav-sub {
  padding-left: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}
.mobile-nav-sublink {
  display: block;
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  transition: color var(--ease);
}
.mobile-nav-sublink:hover { color: var(--white); }
.mobile-nav-cta {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.mobile-nav-phone {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
}

/* ── 18. Mobile nav — Group B (.mobile-nav-panel) ───────────── */
.mobile-nav-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: var(--sp-6);
}
.mobile-nav-panel.is-open { transform: translateX(0); }

.mobile-nav-inner { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links .nav-link,
.mobile-nav-links > li > a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}
.mobile-nav-links .nav-link:hover,
.mobile-nav-links > li > a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-has-dropdown { display: flex; flex-direction: column; }
.mobile-dropdown-toggle {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.mobile-dropdown-menu {
  list-style: none;
  padding-left: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.mobile-dropdown-menu.is-open { max-height: 300px; }
.mobile-dropdown-menu .nav-link,
.mobile-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  transition: color var(--ease);
}
.mobile-dropdown-menu a:hover { color: var(--white); }
.mobile-nav-panel .btn { margin-top: var(--sp-6); width: 100%; justify-content: center; }

/* ── 19. Responsive: when to show hamburger ─────────────────── */
@media (max-width: 900px) {
  /* Group A: hide desktop nav, show hamburger */
  .main-nav,
  .header-actions .btn--gold,
  .header-actions a.btn { display: none; }
  .hamburger { display: flex !important; }

  /* Group B: hide desktop nav links, show mobile toggle */
  .site-nav-links,
  .site-header .site-nav > a.btn,
  .site-header .site-nav > .btn--primary { display: none; }
  .mobile-nav-toggle { display: flex !important; }

  /* Hero grid: single column */
  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .hero-card { max-width: 100%; }
}

@media (max-width: 640px) {
  /* Tighter hero padding */
  .hero { padding-block: var(--sp-12) var(--sp-10); }

  /* Ensure trust strip wraps cleanly */
  .hero-trust-strip { gap: var(--sp-4); }

  /* Trust bar: stack items */
  .trust-bar-list { flex-direction: column; gap: var(--sp-3); }
}

/* ── 20. Fix section-header eyebrow for non-hero pages ──────── */
.section-header .eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gold-dark);
  font-size: var(--text-xs);
  margin-bottom: var(--sp-2);
}

/* ── 21. About / contact page-hero content ──────────────────── */
.page-hero-content .eyebrow,
.page-hero .eyebrow {
  background: rgba(245,196,25,0.15);
  border: 1px solid rgba(245,196,25,0.3);
  color: var(--gold);
  padding: 5px 12px;
}

/* ── 22. Brands panel — subordinate credential list ─────────── */
/* Collapses oversized SVGs to icon-scale and styles items as    */
/* compact credential rows so they support, not overpower.       */

.brands-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
}
.brands-panel-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-4);
}

.brands-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.brand-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-item-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand-item-header strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.brand-item p {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.4;
  padding-left: calc(16px + var(--sp-3)); /* indent under icon */
}

/* The key fix: constrain inline SVGs to icon-scale */
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.7;
}
.brand-icon svg {
  width: 16px;
  height: 16px;
}

/* ── 23. Process steps list ─────────────────────────────────── */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  counter-reset: none;
}
.process-steps > li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: 8px; /* vertically align text with circle centre */
}
.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0;
}
.step-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 58ch;
}

/* ── 24. Manufacturer partner logo treatments ───────────────── */

/* page-hero partner logo badge — compact certification chip     */
/* Tight padding + shadow makes these read as deliberate badges  */
/* rather than a floating white box against the dark hero.       */
.page-hero-brand {
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.partner-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 4px 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.partner-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}

/* brands-panel logo replacement (dark navy bg) — same treatment */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 4px 10px;
  min-height: 36px;
  min-width: 72px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.brand-logo-img {
  display: block;
  height: 28px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
}

/* credential-card logo (about.html — dark navy credential cards) */
/* White chip treatment: transparent PNGs sit cleanly on white.  */
.credential-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 5px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}
.credential-logo-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── 25. About page — layout and component bridging ────────── */
/* about.html uses Group A class names; styles.css was built    */
/* for a different naming convention. Bridge them here.         */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-16);
  align-items: start;
}
.about-section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: var(--sp-6);
  line-height: 1.2;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.mascot-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-5);
  overflow: hidden;
}
.mascot-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: var(--radius-lg);
}
.mascot-caption {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* stat number/label: about.html uses .stat-number / .stat-label
   styles.css defines .about-stat-num / .about-stat-label       */
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-1);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: box-shadow var(--ease-slow);
}
.value-card:hover { box-shadow: var(--shadow); }
.value-card-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.value-card-icon svg { width: 22px; height: 22px; }
.value-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--sp-3);
}
.value-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Team card body and bio */
.team-card-body { margin-top: var(--sp-4); text-align: left; }
.team-card .team-title {
  font-size: var(--text-xs);
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}
.team-bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-3);
}

/* Team subsection labels (Leadership / Sales & Support) */
.team-subsection-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: var(--sp-12) 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--border);
}
.team-subsection-label:first-child { margin-top: 0; }

/* Compact team cards for the sales & support tier */
.team-card--compact { padding: var(--sp-5); }
.team-card--compact .team-name { font-size: var(--text-base); }

/* Credentials section — dark navy bg */
.credentials-section { background: var(--navy-dark); }
.credentials-section .section-header h2 { color: var(--white); }
.credentials-section .section-subtitle { color: rgba(255,255,255,0.6); }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.credential-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  transition: background var(--ease);
}
.credential-card:hover { background: rgba(255,255,255,0.08); }
/* SVG icon fallback (kept for any card still using .credential-icon) */
.credential-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,196,25,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.credential-icon svg { width: 26px; height: 26px; }
.credential-brand {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-1);
}
.credential-level {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.credential-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* CTA banner inner layout (about.html variant) */
.cta-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
.cta-mascot { flex-shrink: 0; }
.cta-mascot img {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid rgba(245,196,25,0.35);
}
.cta-content { flex: 1; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-3);
}
.cta-content > p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: var(--sp-6);
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* btn--navy and btn--outline-navy (used in about.html CTA) */
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--outline-navy {
  background: transparent;
  color: var(--navy-dark);
  border: 2px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── 26. Footer bridging (about.html Group A variant) ───────── */
.footer-col { }
.footer-logo-link { display: block; margin-bottom: var(--sp-4); }
.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-links--areas li {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

/* Service pages use .site-footer-inner in place of .footer-grid */
.site-footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer-inner .footer-brand { }
.site-footer-inner .footer-links h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-5);
}
.site-footer-inner .footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.site-footer-inner .footer-links ul a,
.site-footer-inner .footer-links ul li {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.site-footer-inner .footer-links ul a:hover { color: var(--white); }

/* ── 27. Desktop container and section polish ───────────────── */
/* Narrow the max-width slightly for better line-length on large
   monitors, and improve section-level visual rhythm.           */
:root {
  --max-w: 1160px;
}

/* page-hero: add a touch more vertical breathing on large screens */
@media (min-width: 1100px) {
  .page-hero { padding-block: var(--sp-20) var(--sp-16); }
  .section { padding-block: var(--sp-20); }
}

/* ── 28. Responsive: about/credentials on mobile ────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .about-visual { order: -1; }
  .mascot-block { flex-direction: row; align-items: center; padding: var(--sp-4); }
  .mascot-image { max-width: 120px; }
  .values-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; gap: var(--sp-6); text-align: center; }
  .cta-mascot { display: none; }
  .cta-content > p { max-width: 100%; }
  .cta-actions { justify-content: center; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
}

/* ── 36. Dark section heading & body text contrast fixes ───────
   Root cause: styles.css sets no color on h1–h5; they inherit
   body { color: #111827 } (near-black). Dark-bg sections need
   explicit white overrides. Group A pages also use undeclared
   area-* class names that have no color CSS at all.            */

/* Page hero (navy-dark bg) — about.html uses raw <h1>, not
   .page-hero-title. Service pages use .page-hero-title which
   is already white. This catches the about.html gap.           */
.page-hero h1,
.page-hero h2 {
  color: var(--white);
}

/* Why section (navy-dark bg) — index.html h2 has no color class */
.why-section h2 {
  color: var(--white);
  line-height: 1.2;
}

/* Service area section (navy-dark bg) — Group A class names    */
/* that have no CSS anywhere (undeclared)                        */
.service-area-section h2,
.service-area-section h3 {
  color: var(--white);
}
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.area-intro {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-size: var(--text-base);
  margin-bottom: var(--sp-8);
}
.area-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
.area-state-heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.area-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.area-city-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}
.area-city-list li svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.area-see-all-link {
  display: inline-block;
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--ease);
}
.area-see-all-link:hover { color: var(--white); }
.map-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.map-sublabel {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 1.6;
}
.map-coverage-link {
  display: block;
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity var(--ease);
}
.map-coverage-link:hover { opacity: 1; }

/* Credentials section subtitle (about.html) */
.credentials-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* Section eyebrow inside dark .why-section */
.why-section .section-header .eyebrow,
.why-section .eyebrow:not(.eyebrow--light) {
  color: var(--gold-dark);
}

/* Map placeholder icon */
.map-icon svg {
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.18);
}

@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .area-columns { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ── 37. Header logo — fix aspect ratio distortion ─────────────
   Root cause: <img width="180" height="52"> has both dimensions
   set as HTML attributes. The global max-width:100% compresses
   width on narrow containers but the height attribute holds →
   vertical stretch. Fix: set height explicitly via CSS, let
   width be auto so the image scales proportionally.            */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.header-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-height: 46px;
  max-width: 200px;
  object-fit: contain;
}

/* ── 38. Desktop polish and visual rhythm ───────────────────────
   Improve the 3-step process layout, heading hierarchy, section
   spacing, and desktop-scale readability.                       */

/* 3-step process — override flex column with a cleaner
   horizontal layout on desktop                                  */
ol.process-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--sp-8) !important;
  flex-direction: unset;
  margin-top: var(--sp-10);
}
ol.process-steps > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
}
ol.process-steps .step-number {
  margin-bottom: var(--sp-4);
}
ol.process-steps .step-content {
  padding-top: 0;
}
@media (max-width: 640px) {
  ol.process-steps {
    grid-template-columns: 1fr !important;
    gap: var(--sp-6) !important;
  }
  ol.process-steps > li {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-4);
  }
  ol.process-steps .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  ol.process-steps .step-content {
    padding-top: 6px;
  }
}

/* Section header: ensure process section subtitle is centered  */
.process-section .section-header {
  text-align: center;
}
.process-section .section-header h2 {
  margin-inline: auto;
}
.process-section .section-subtitle {
  margin-inline: auto;
  max-width: 560px;
}

/* Credential cards — break up wall-of-text appearance         */
.credential-card .credential-desc {
  font-size: var(--text-sm);
  line-height: 1.62;
  color: rgba(255,255,255,0.52);
  margin-top: var(--sp-2);
}

/* Credential logo — override now handled in section 24 above   */
/* (white badge chip treatment, consistent with partner-logo)   */
.credential-logo {
  margin-bottom: var(--sp-5);
}

/* About intro section — better body line spacing              */
.about-text p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
}
.about-text p:last-child { margin-bottom: 0; }

/* Reviews aggregate — constrain width so it doesn't span full */
/* grid, keep it visually anchored at content-start            */
.reviews-section .reviews-aggregate,
.why-service-section ~ .reviews-section .reviews-aggregate {
  max-width: 460px;
}

/* Reviews section — add back bottom spacing between aggregate
   bar and review cards on white background                     */
.reviews-section .reviews-aggregate {
  margin-bottom: var(--sp-10);
}

/* Service area map placeholder — improve desktop proportions  */
.area-map-placeholder {
  min-height: 260px;
  padding: var(--sp-10);
}

/* Tighten section-header in centered sections                 */
.section-header {
  margin-bottom: var(--sp-10);
}

/* Why-section intro text / subtitle (if present) */
.why-intro {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  max-width: 56ch;
}

/* .why-icon — undeclared in styles.css (which uses .why-item-icon) */
/* Provides a styled icon container for Group A why-section items  */
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(245,196,25,0.14);
  border: 1px solid rgba(245,196,25,0.22);
  border-radius: var(--radius);
  color: var(--gold);
  flex-shrink: 0;
}
.why-icon svg { width: 20px; height: 20px; }

/* Why-grid single: in 3-col mode the items are column-stacked
   so icon goes above content; constrain the item layout.        */
.why-grid--single .why-item {
  padding: var(--sp-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background var(--ease);
}
.why-grid--single .why-item:hover {
  background: rgba(255,255,255,0.07);
}
.why-grid--single .why-item strong.why-item-title {
  display: block;
  margin-bottom: var(--sp-2);
}

/* CTA banner (about.html) — fix heading contrast if on gold bg */
/* The about.html CTA banner uses a custom .cta-content h2 that
   should already be navy but let's make it explicit             */
.cta-banner .cta-content h2 {
  color: var(--white);
}
/* But the gold CTA banner on index.html has navy text — handled
   by styles.css .cta-banner-title { color: var(--navy-dark) }  */

/* Improve desktop spacing in service-area map placeholder      */
.area-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  min-height: 260px;
  padding: var(--sp-10);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  text-align: center;
}

/* Section title and subtitle on light bg sections (services,
   process, reviews) — ensure centered eyebrow looks clean     */
.services-section .section-header,
.process-section .section-header,
.reviews-section .section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}
.services-section .section-header .section-subtitle,
.process-section .section-header .section-subtitle,
.reviews-section .section-header .section-subtitle {
  margin-inline: auto;
}

/* ── 29. Manufacturer strip (homepage — between services & reviews) */
.manufacturer-strip {
  padding: var(--sp-10) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manufacturer-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.manufacturer-strip-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.manufacturer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.manufacturer-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-5);
  min-width: 110px;
}
.manufacturer-logo-item img {
  display: block;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.manufacturer-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ── 30. Reviews aggregate bar ──────────────────────────────── */
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
  padding: var(--sp-5) var(--sp-7);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.reviews-aggregate-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
  flex-shrink: 0;
}
.reviews-aggregate-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.reviews-aggregate-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}
.reviews-aggregate-stars svg {
  width: 20px;
  height: 20px;
}
.reviews-aggregate-count {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-dark);
  margin-top: var(--sp-1);
}
.reviews-aggregate-source {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── 31. Why grid — single-column override ──────────────────── */
/* Overrides styles.css .why-grid (1fr 1fr) when brands-panel   */
/* aside is removed; items display as a 3-col item row instead   */
.why-grid--single {
  display: block !important;
}
.why-grid--single .why-content {
  max-width: 860px;
  margin: 0 auto;
}
.why-grid--single .why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}
.why-grid--single .why-item {
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}
@media (max-width: 767px) {
  .why-grid--single .why-list {
    grid-template-columns: 1fr;
  }
}

/* ── 32. Financing callout section ──────────────────────────── */
.financing-section {
  background: var(--navy-dark);
  padding: var(--sp-16) 0;
}
.financing-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-12);
  align-items: center;
}
.financing-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}
.financing-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 var(--sp-4);
  line-height: 1.2;
}
.financing-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 var(--sp-6);
  max-width: 54ch;
}
.financing-stats {
  display: flex;
  gap: var(--sp-10);
  margin-bottom: var(--sp-8);
}
.financing-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.financing-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  display: block;
  margin-top: var(--sp-1);
}
.financing-side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
}
.financing-side-headline {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin: 0;
}
.financing-side-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 767px) {
  .financing-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .financing-stats {
    gap: var(--sp-6);
  }
}

/* ── 33. Repair vs Replace grid (service pages) ─────────────── */
.repair-replace-section {
  padding: var(--sp-16) 0;
  background: var(--gray-50);
}
.repair-replace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.repair-option {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}
.repair-option--replace {
  border-color: var(--navy);
}
.repair-option-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--gray-100);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.repair-option--replace .repair-option-label {
  background: var(--navy);
  color: var(--white);
}
.repair-option-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 var(--sp-4);
}
.repair-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.repair-option ul li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: 1.6em;
  position: relative;
  line-height: 1.55;
}
.repair-option ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
@media (max-width: 639px) {
  .repair-replace-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 34. Why LCE for this service section (service pages) ───── */
.why-service-section {
  background: var(--navy-dark);
  padding: var(--sp-16) 0;
}
.why-service-section .section-header h2 { color: var(--white); }
.why-service-section .section-subtitle { color: rgba(255,255,255,0.6); }
.why-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-10);
}
.why-service-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.why-service-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,196,25,0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.why-service-icon svg { width: 24px; height: 24px; }
.why-service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.why-service-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 767px) {
  .why-service-grid { grid-template-columns: 1fr; }
}

/* ── 35. Service area callout (compact — service pages) ─────── */
.service-area-callout {
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-10) 0;
}
.service-area-callout-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}
.service-area-callout-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0;
}
.service-area-callout-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0;
}
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}
.city-tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
}
a.city-tag {
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
a.city-tag:hover,
a.city-tag:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Location pages grid — used on areas-we-serve.html ────── */
.loc-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.loc-pages-city-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-heading);
}
.loc-pages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.loc-pages-list a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.loc-pages-list a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.loc-pages-list a:hover,
.loc-pages-list a:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}

/* ── 39. Home page hero — NW Home Picture (HTML element) ──────
   CSS background-image approach was invisible because the solid-
   white form card (380px) covers the right pseudo-element.
   Solution: real <div class="hero-photo-bg"><img></div> placed
   inside .hero at z-index 0 — visible beneath all content.
   The ::after gradient overlay creates the legibility zone.    */

/* Suppress the now-redundant geometric gradient accent        */
.hero--has-photo::before {
  display: none;
}

/* Photo element — absolutely fills the entire hero section    */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-photo-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Index Hero Photo: Columbia River waterfront + Interstate Bridge.
     35% shows the park walkway and bridge structure without excessive sky. */
  object-position: center 35%;
}

/* Gradient overlay: solid navy on the left for text legibility,
   opens to semi-transparent on the right so the photo shows   */
.hero-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(10, 22, 40, 0.97)  0%,
    rgba(10, 22, 40, 0.94) 28%,
    rgba(10, 22, 40, 0.78) 50%,
    rgba(10, 22, 40, 0.50) 72%,
    rgba(10, 22, 40, 0.32) 100%
  );
  z-index: 1;
}

/* Ensure .hero .container sits above the photo layer          */
.hero--has-photo .hero-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  /* On stacked mobile layout strengthen the overlay so both
     text column and form card remain fully legible            */
  .hero-photo-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.93) 0%,
      rgba(10, 22, 40, 0.95) 100%
    );
  }
}

/* ── 40. Manufacturer / partner logo visibility ───────────────
   Three locations: home manufacturer strip, service page hero
   partner badge, about page credentials.

   Transparent-background PNGs often have loose canvas padding.
   Fixed-height containers + object-fit:contain on the image
   ensures all chips are the same visual height regardless of
   source canvas size. The image fills container bounds while
   preserving aspect ratio — no "small logo in big white box". */

/* Home manufacturer strip
   All logos capped at the same max-height so square badges
   (Malarkey 1:1) don't tower over horizontal wordmarks
   (Hardie ~3.5:1, TimberTech ~4.7:1). Chips share uniform
   vertical padding; widths adapt to each logo's ratio.      */
.manufacturer-logo-item {
  width: auto;
  height: auto;
  padding: var(--sp-4) var(--sp-5);
  min-width: 96px;
}
.manufacturer-logo-item img {
  max-height: 50px;
  max-width: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Service page hero partner badge
   Content-adaptive: badge hugs each logo's natural proportions
   so no chip looks like an empty white box. Logos with atypical
   aspect ratios (Malarkey 1:1, Fiberon 2.7:1) each get a chip
   sized to their actual visual footprint.                       */
.partner-logo-badge {
  width: auto;
  height: auto;
  padding: 7px 14px;
  min-height: unset;
  min-width: unset;
}
.partner-logo-img {
  max-height: 42px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* About page credential logos
   A .credential-logo can hold one or two images (TimberTech +
   Fiberon), so use max-height rather than container-fill to
   avoid stacking issues; even visual weight across all cards.  */
.credential-logo-img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.credential-logo {
  min-height: 72px;
  align-items: center;
}

/* ── 41. Contact page polish & site-wide refinements ──────────
   Root causes:
   A. Buttons — styles.css .btn--lg uses padding 16px 36px /
      text-base; cta-action btns and form submit inherit this,
      making them visually dominant on every page.
   B. Footer logos — both Group A (footer-logo-link img) and
      Group B (footer-brand img) had only HTML attrs, no CSS
      size control. Header has section-37 CSS treatment; footer
      needs the same.
   C. Contact page has 8 fully undeclared component classes that
      render as unstyled/collapsed elements: contact-info-block,
      contact-hours, contact-service-area-note, process-preview-
      steps, contact-trust-strip, contact-form-subtitle,
      form-privacy, form-row--two.
   D. .cta-banner .cta-content h2 was set to white (section 25)
      but .cta-banner always has gold bg — white on gold fails
      WCAG AA contrast on both about.html and contact.html.    */

/* ── A. Button size refinements ──────────────────────────────── */

/* Header nav CTA — trim slightly to match slim nav bar height */
.header-actions .btn--gold,
.header-actions a.btn--gold {
  padding: 9px 18px;
  font-size: 0.76rem;
}

/* Form submit — full-width already commands attention;
   reduce padding bulk while keeping strong visual weight     */
.contact-form .btn--full,
.estimate-form .btn--full {
  font-size: var(--text-sm);
  padding: 13px 24px;
}

/* CTA banner action buttons — reduce from btn--lg to normal   */
.cta-actions .btn--lg.btn--navy,
.cta-actions .btn--lg.btn--outline-navy {
  font-size: var(--text-sm);
  padding: 11px 22px;
}

/* ── B. Footer logo — Group A (footer-logo-link) ─────────────── */
.footer-logo-link img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ── B2. Footer logo — Group B (site-footer-inner .footer-brand) */
.site-footer-inner .footer-brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: var(--sp-4);
}

/* ── C. Header logo — slight size increase (was 46px) ───────── */
.header-logo img {
  height: 52px;
  max-height: 52px;
}

/* ── D. Contact grid — better column proportion ─────────────── */
/* Give the form 60% vs info panel 40%                          */
.contact-grid {
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-12);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
}

/* ── E. Contact info block styles (all undeclared) ───────────── */
.contact-info-block {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.contact-info-block:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(27,61,111,0.07);
  border: 1px solid rgba(27,61,111,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-text { flex: 1; min-width: 0; }
.contact-info-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}
a.contact-phone-link,
a.contact-email-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy-dark);
  display: block;
  margin-bottom: var(--sp-1);
  line-height: 1.2;
}
a.contact-phone-link:hover,
a.contact-email-link:hover { color: var(--navy); }
.contact-info-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--sp-1);
}
.contact-info-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
/* Map address links — styled as address text, subtle underline on hover */
.contact-map-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.contact-map-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Two-location contact block */
.contact-location-group {
  margin-bottom: var(--sp-4);
}
.contact-location-group:last-of-type { margin-bottom: var(--sp-3); }
.contact-location-name {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 var(--sp-1);
}

.contact-hours {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.contact-hours li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.hours-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text-muted);
}
.hours-icon svg { width: 13px; height: 13px; }

/* Service area note */
.contact-service-area-note {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.service-area-note-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: var(--sp-3);
}
.service-area-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--navy);
}
.service-area-icon svg { width: 14px; height: 14px; }
.contact-service-area-note > p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── F. Process preview steps (undeclared in both sheets) ───── */
.process-preview-section { background: var(--off-white); }
.process-preview-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-preview-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.preview-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--navy-dark);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: var(--sp-1);
}
.preview-step-content { display: flex; flex-direction: column; gap: var(--sp-2); }
.preview-step-icon { display: none; } /* step number is the visual anchor */
.preview-step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin: 0;
}
.preview-step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .process-preview-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* ── G. Contact trust strip (undeclared in both sheets) ──────── */
.contact-trust-strip {
  background: var(--navy-dark);
  padding-block: var(--sp-8);
  border-top: 3px solid var(--gold);
}
.contact-trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
.contact-trust-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-trust-icon svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .contact-trust-list { gap: var(--sp-5); justify-content: flex-start; }
  .contact-trust-item { white-space: normal; font-size: var(--text-xs); }
}

/* ── H. CTA banner — fix white-on-gold contrast bug ─────────── */
/* Section 25 set .cta-content h2 { color: white } which was
   intended for a navy-bg context. Both about.html and
   contact.html use .cta-banner which has background: gold.
   Navy text on gold passes WCAG AA; white on gold does not.  */
.cta-banner .cta-content h2 {
  color: var(--navy-dark);
  font-size: var(--text-2xl);
}
.cta-banner .cta-content > p {
  color: rgba(18,40,71,0.72);
  max-width: 460px;
  margin-bottom: var(--sp-5);
}
/* On gold bg, the mascot border should be navy-tinted        */
.cta-banner .cta-mascot img {
  border-color: rgba(18,40,71,0.18);
  width: 110px;
  height: 110px;
}

/* ── I. Contact form polish (undeclared classes) ──────────────── */
.contact-form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}
/* Two-column form rows */
.form-row { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 560px) {
  .form-row--two { grid-template-columns: 1fr; }
}
/* Privacy disclaimer below submit */
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: var(--sp-2);
}
.form-privacy svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
/* Required mark styling */
.required-mark { color: var(--gold-dark); }
.label-optional {
  font-weight: 400;
  font-size: 0.8em;
  color: var(--text-muted);
}

/* ── J. Eyebrow modifier for dark backgrounds ────────────────── */
/* contact.html page-hero uses eyebrow--light; class undeclared  */
.eyebrow--light {
  color: var(--gold);
  background: rgba(245,196,25,0.12);
  border-color: rgba(245,196,25,0.25);
}

/* ── K. Contact form layout — undeclared container spacing ───── */
/* .contact-form had no flex/gap declaration; fields were
   stacking with no vertical separation                          */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Contact form card — slightly more padding for desktop comfort  */
.contact-form-card {
  padding: var(--sp-10);
}

/* Contact section — add breathing room after the hero photo.
   The hero has a dark full-bleed photo; the section that follows
   needs extra top space so the phone/CTA block doesn't feel
   flush against the hero's gold border line.                    */
.contact-section.section {
  padding-top: var(--sp-16);
}
@media (min-width: 1100px) {
  .contact-section.section {
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-16);
  }
}

/* ══════════════════════════════════════════════════════════════
   42. Service page hero — shared photo background system
   ──────────────────────────────────────────────────────────────
   Pattern: .page-hero.page-hero--has-photo
   Photo is a real DOM <img> inside .page-hero-photo so
   object-fit/object-position work reliably and the browser
   preloader can fetch the image before layout. The gradient
   ::before overlay keeps all headline, sub, and CTA text
   readable against any photo. The gold ::after accent bar from
   styles.css is preserved unchanged.
   ══════════════════════════════════════════════════════════════ */

/* ── Modifier: enable photo mode ──────────────────────────── */
.page-hero--has-photo {
  /* min-height ensures the hero has presence even on short copy */
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Photo container ───────────────────────────────────────── */
.page-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* default focus: upper-center avoids ground/sky at extremes   */
  object-position: center 30%;
}

/* ── Gradient overlay ──────────────────────────────────────── */
/* Runs left-to-right: opaque navy on the text side, thinning   */
/* toward the right edge where the photo "breathes through".    */
/* This creates a premium editorial look on wide viewports      */
/* without a full-black blanketing of the image.                */
.page-hero--has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(10, 22, 40, 0.97)  0%,
    rgba(10, 22, 40, 0.92) 30%,
    rgba(10, 22, 40, 0.72) 58%,
    rgba(10, 22, 40, 0.45) 80%,
    rgba(10, 22, 40, 0.28) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── Content layer — above photo and overlay ──────────────── */
.page-hero--has-photo .container {
  position: relative;
  z-index: 2;
}

/* ── Gold accent bar — lift above overlay ─────────────────── */
/* styles.css .page-hero::after has no z-index; the ::before   */
/* overlay at z-index:1 would paint over it and hide the gold  */
/* 3px separator. Force it above the overlay and content.      */
.page-hero--has-photo::after {
  z-index: 3;
}

/* ── Per-page object-position tuning ──────────────────────── */
/* Prevents awkward cropping on images with specific focal      */
/* points (e.g., roof ridge at top, deck foreground, etc.)      */
.page-hero--roofing  .page-hero-photo img { object-position: center 35%; }
.page-hero--siding   .page-hero-photo img { object-position: center 30%; }
.page-hero--windows  .page-hero-photo img { object-position: center 38%; }
.page-hero--doors    .page-hero-photo img { object-position: center 25%; }
.page-hero--decks    .page-hero-photo img { object-position: center 22%; }
/* About/Team hero object-position moved to consolidated image-tuning block below */
/* Contact — Vancouver Bridge: sunset + bridge structure occupy   */
/* top 60% of frame; 28% keeps the span and sky in the crop zone */
/* while the gradient-lightened right side shows the bridge arch. */
.page-hero--contact    .page-hero-photo img { object-position: center 28%; }

/* Payment — hero photo: centre vertically at 35% to keep the    */
/* primary subject in frame while the gradient overlay covers     */
/* the left/lower portion for text legibility.                    */
.page-hero--payment    .page-hero-photo img { object-position: center 35%; }

/* Community — large group photo in school hallway; faces occupy  */
/* roughly top 55%. 25% keeps the group and wall text in frame.   */
.page-hero--community  .page-hero-photo img { object-position: center 25%; }

/* Hero blur mitigation: source photo is 1200px wide; at viewports */
/* wider than that, object-fit:cover upscales the PNG and the      */
/* upscaling is visible as blur. Clamp the hero shorter so the     */
/* photo fills less area, and increase overlay opacity so the      */
/* slightly-soft photo reads as atmospheric rather than broken.    */
.page-hero--community {
  min-height: 360px;
}
@media (min-width: 1100px) {
  .page-hero--community { min-height: 400px; }
}
/* Stronger overlay on community hero — blends soft upscaled photo */
/* into a premium editorial feel rather than exposing the blur.    */
.page-hero--community::before {
  background: linear-gradient(
    108deg,
    rgba(10, 22, 40, 0.98)  0%,
    rgba(10, 22, 40, 0.95) 38%,
    rgba(10, 22, 40, 0.82) 62%,
    rgba(10, 22, 40, 0.60) 85%,
    rgba(10, 22, 40, 0.45) 100%
  );
}

/* ── Community Outreach page layout ───────────────────────────── */

/* Light section alternation */
.section--light { background: var(--gray-50); }

/* 3-column initiatives grid (collapses to 2 → 1 at breakpoints) */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

/* Two-column community feature split (image + copy) */
.community-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

/* Typography inside the text column — matches .about-text p */
.community-split-text .eyebrow {
  margin-bottom: var(--sp-2);
}
.community-split-text h2 {
  margin-top: 0;
}
.community-split-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.community-split-text p:last-child { margin-bottom: 0; }

/* Responsive community photo image */
.community-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

@media (max-width: 960px) {
  .initiatives-grid { grid-template-columns: repeat(2, 1fr); }
  .community-split  { grid-template-columns: 1fr; gap: var(--sp-6); }
  /* On mobile, always show image before text */
  .community-split .community-split-media { order: -1; }
}

@media (max-width: 640px) {
  .initiatives-grid { grid-template-columns: 1fr; }
}

/* ── About page hero content — class-name alignment ────────── */
/* about.html uses .page-hero-content > h1 (raw, no modifier    */
/* class) and .page-hero-subtitle instead of .page-hero-sub.    */
/* These rules bring the about hero in line with the max-width  */
/* and spacing refinements applied to service page heroes.      */
.page-hero--has-photo .page-hero-content h1 {
  max-width: 760px;
}
/* subtitle → CTA gap: matches .page-hero-sub on service pages  */
.page-hero--has-photo .page-hero-subtitle {
  margin-bottom: var(--sp-5);
}

/* ── Mobile ────────────────────────────────────────────────── */
/* At narrow widths the content runs full-width, so the diagonal*/
/* gradient would expose the right edge under text. Replace     */
/* with a near-full vignette — still dark enough for contrast   */
/* but just light enough at the very bottom to feel textured,   */
/* not blacked out.                                             */
@media (max-width: 820px) {
  .page-hero--has-photo {
    min-height: unset;
  }
  .page-hero--has-photo::before {
    background: linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.92) 0%,
      rgba(10, 22, 40, 0.88) 60%,
      rgba(10, 22, 40, 0.93) 100%
    );
  }
}

/* ── Tablet — narrow the gradient fade so text doesn't sit on */
/* a transparent band when viewport is 820–1099px              */
@media (min-width: 821px) and (max-width: 1099px) {
  .page-hero--has-photo::before {
    background: linear-gradient(
      108deg,
      rgba(10, 22, 40, 0.97)  0%,
      rgba(10, 22, 40, 0.93) 40%,
      rgba(10, 22, 40, 0.78) 65%,
      rgba(10, 22, 40, 0.52) 85%,
      rgba(10, 22, 40, 0.38) 100%
    );
  }
}

/* ── Desktop ───────────────────────────────────────────────── */
/* Symmetric padding overrides the Section 27 asymmetric 80/64  */
/* that is correct for solid-color heroes (no vertical centering)*/
/* but fights the flex centering on photo heroes. Symmetric 64px */
/* gives the content block equal breathing room top and bottom.  */
/* Increased min-height to 480px gives the photo more canvas.   */
@media (min-width: 1100px) {
  .page-hero--has-photo {
    min-height: 480px;
    padding-block: var(--sp-16);
  }
}

/* ── Content spacing refinements for photo heroes ──────────── */
/* On a solid-color hero generous spacing compensates for the    */
/* visual flatness. On a photo hero the image carries the depth; */
/* tighter spacing keeps the content block compact and decisive. */

/* Wider title exploits the editorial left-zone created by the   */
/* diagonal gradient — more text width at the photo boundary     */
/* reinforces the split-zone composition.                        */
.page-hero--has-photo .page-hero-title {
  max-width: 760px;
}

/* Sub-to-CTA gap: 32px → 20px                                  */
.page-hero--has-photo .page-hero-sub {
  margin-bottom: var(--sp-5);
}

/* CTA-to-brand-badge gap: Section 15 adds mb:16px on .ctas     */
/* and Section 24 adds mt:32px on .brand = 48px total.          */
/* Reduce brand margin-top to 16px → 32px total. Clean.         */
.page-hero--has-photo .page-hero-brand {
  margin-top: var(--sp-4);
}

/* ══════════════════════════════════════════════════════════════
   43. ProVia Design Tool — Feature Section
   ──────────────────────────────────────────────────────────────
   Used on: services/doors.html, services/windows.html
   Pattern: .design-tool-section
   Dark navy background section positioned after the materials/
   products section. 3-step guided flow card + dual CTA.
   Differentiator: bridges product discovery → design intent →
   quote request so homeowners arrive at the estimate with a
   concrete vision rather than a vague "something nice."
   ══════════════════════════════════════════════════════════════ */

.design-tool-section {
  background: var(--navy-dark);
  padding-block: var(--sp-16);
  position: relative;
}

/* Subtle geometric accent — matches the dark-section language   */
/* used elsewhere in the site (why-section, about hero, etc.)   */
.design-tool-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 60%,
    rgba(245, 196, 25, 0.04) 100%
  );
  pointer-events: none;
}

/* ── Header block ──────────────────────────────────────────── */
.design-tool-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  max-width: 680px;
}

.design-tool-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245, 196, 25, 0.12);
  border: 1px solid rgba(245, 196, 25, 0.25);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  width: fit-content;
}

.design-tool-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

.design-tool-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin: 0;
}

/* ── Three-step cards ──────────────────────────────────────── */
.design-tool-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
}

.design-tool-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color 0.2s, background 0.2s;
}

.design-tool-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 196, 25, 0.2);
}

.design-tool-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.design-tool-step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.design-tool-step-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  flex-grow: 1;
}

/* ── CTA row ───────────────────────────────────────────────── */
.design-tool-ctas {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
}

/* ── Trust note — anchors the CTA without cluttering it ────── */
.design-tool-note {
  margin-top: var(--sp-5);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.design-tool-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .design-tool-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .design-tool-section::before {
    display: none;
  }
}

/* ── Tablet: 2-col → last step full-width ──────────────────── */
@media (min-width: 540px) and (max-width: 860px) {
  .design-tool-steps {
    grid-template-columns: 1fr 1fr;
  }
  .design-tool-step:last-child {
    grid-column: 1 / -1;
  }
}

/* ══════════════════════════════════════════════════════════════
   44. Homepage review card — attribution credibility system
   ──────────────────────────────────────────────────────────────
   Root cause: .reviewer-avatar, .reviewer-name, .reviewer-location
   had zero CSS declarations in either stylesheet. The attribution
   footer was entirely unstyled — avatar showed as plain text,
   location used a generic map-pin SVG with combined "City · Service"
   in a single undifferentiated span.

   New pattern:
   - .review-card-header wraps stars + "Google Review" source cue
   - .reviewer-avatar: navy circle with gold initials
   - .reviewer-info: flex column holding name + meta row
   - .reviewer-city: plain muted text, no icon
   - .reviewer-service: navy-tinted pill badge
   ══════════════════════════════════════════════════════════════ */

/* ── Card header — stars row + platform cue ────────────────── */
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

/* "Google Review" source label — right of stars */
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.review-source svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #5a9e6f; /* muted green — universally reads as "verified" */
}

/* ── Attribution footer ─────────────────────────────────────── */
.review-attribution {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  margin-top: auto; /* push to card bottom when cards are equal height */
}

/* Initials avatar — navy circle, gold letterforms */
.reviewer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  user-select: none;
}

/* Info column: name + meta row */
.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* Reviewer name */
.reviewer-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  font-style: normal;
}

/* Meta row: city + service badge side-by-side */
.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* City — plain muted text, no pin icon */
.reviewer-city {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

/* Service badge — compact navy-tinted pill */
.reviewer-service {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(27, 61, 111, 0.07);
  border: 1px solid rgba(27, 61, 111, 0.14);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  white-space: nowrap;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   45. Gutter service page integration
   ──────────────────────────────────────────────────────────────
   New page: services/gutters.html
   - Photo-ready hero class for when a Gutter Photo is available
   - Dark variant of why-service-section for the PNW climate section
   - Eyebrow colour override for navy-background context
   ══════════════════════════════════════════════════════════════ */

/* ── Gutter hero photo position                                */
/* ── Image: close-up of white K-style gutter on fascia        */
/* ── Gutter channel sits in lower-center of the frame;        */
/* ── 48% pulls it into view rather than showing roof shingles */
.page-hero--gutters .page-hero-photo img {
  object-position: center 48%;
}

/* ── Dark variant of why-service-section ───────────────────── */
/* ── Used for the "Why Gutters Matter" PNW climate section     */
.why-service-section--dark {
  background: var(--navy-dark);
}

.why-service-section--dark .section-eyebrow,
.why-service-section--dark .gutter-climate-eyebrow {
  color: var(--gold);
}

.why-service-section--dark .section-title {
  color: var(--white);
}

.why-service-section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.why-service-section--dark .why-service-title {
  color: var(--white);
}

.why-service-section--dark .why-service-desc {
  color: rgba(255, 255, 255, 0.70);
}

.why-service-section--dark .why-service-icon {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   46. Patio Covers service page integration
   ──────────────────────────────────────────────────────────────
   New page: services/patio-covers.html
   - Photo-ready hero class for Patio Cover Photo.png
   - Eyebrow colour override for the dark PNW climate section
   ══════════════════════════════════════════════════════════════ */

/* ── Patio cover hero photo position                           */
/* ── Image: wood pergola canopy in upper ~35%, furniture      */
/* ── below. 25% keeps the cover overhead + top of furniture  */
/* ── visible in the gradient-lightened right hero zone.      */
.page-hero--patio-covers .page-hero-photo img {
  object-position: center 25%;
}

/* ── Eyebrow colour override for dark section                 */
.why-service-section--dark .patio-climate-eyebrow {
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════
   Areas We Serve page
   ════════════════════════════════════════════════════════════ */

/* Hero object-position moved to the consolidated image-tuning block below */

/* ── Coverage intro stats bar ─────────────────────────────── */
.coverage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.coverage-stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.coverage-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
}
.coverage-stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Coverage region cards grid (4-up: 2×2 → 1-col mobile) ── */
.coverage-regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
/* Make region cards feel slightly heavier than value-cards */
.coverage-region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
  transition: box-shadow var(--ease-slow);
}
.coverage-region-card:hover { box-shadow: var(--shadow); }
.coverage-region-card--primary {
  border-color: var(--navy);
  border-width: 2px;
}
.coverage-region-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.12);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.coverage-region-badge--gold {
  background: rgba(245,196,25,0.15);
  border-color: rgba(245,196,25,0.35);
  color: var(--gold-dark);
}
.coverage-region-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.coverage-region-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.coverage-region-cities {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.coverage-region-cities strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ── Full county breakdown ─────────────────────────────────── */
.county-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  margin-top: var(--sp-10);
}
.county-state-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy-dark);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--gold);
  margin-bottom: var(--sp-8);
}
.county-group {
  margin-bottom: var(--sp-7);
}
.county-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}
.county-cities {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Coverage note callout ─────────────────────────────────── */
.coverage-note-box {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-10);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.coverage-note-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(245,196,25,0.15);
  border: 1px solid rgba(245,196,25,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.coverage-note-icon svg { width: 22px; height: 22px; }
.coverage-note-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.coverage-note-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.coverage-note-text p:last-child { margin-bottom: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .coverage-regions-grid { grid-template-columns: 1fr; }
  .county-breakdown { grid-template-columns: 1fr; gap: var(--sp-8); }
  .coverage-note-box { flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); }
}
@media (max-width: 480px) {
  .coverage-stats { gap: var(--sp-5); }
}

/* ============================================================
   BATCH D — Contact locations, Shingle colors, Deck wood option
   ============================================================ */

/* ── Office Location Cards (Contact page) ───────────────────── */
.office-locations-section {
  background: var(--bg-light, #f8f9fa);
}
.office-locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
.office-location-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.office-location-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.office-location-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.office-location-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--sp-2);
}
.office-location-address {
  font-size: var(--text-sm);
  color: var(--text-muted, #6b7280);
  line-height: 1.6;
  margin: 0 0 var(--sp-3);
}
.office-location-address a {
  color: var(--gold-dark, #b8860b);
  font-weight: 600;
  text-decoration: none;
}
.office-location-address a:hover,
.office-location-address a:focus-visible {
  text-decoration: underline;
}
.office-historic-note {
  font-size: var(--text-xs);
  color: var(--text-muted, #6b7280);
  font-style: italic;
  margin: var(--sp-4) 0 0;
  border-top: 1px solid var(--border, #e5e7eb);
  padding-top: var(--sp-4);
  line-height: 1.6;
}
@media (max-width: 720px) {
  .office-locations-grid { grid-template-columns: 1fr; }
}

/* ── Shingle Colors Section (Roofing page) ───────────────────── */
.shingle-colors-section {
  background: var(--bg-light, #f8f9fa);
}
.shingle-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  margin-bottom: var(--sp-14);
}
.shingle-feature-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.shingle-feature-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.shingle-feature-content {}
.shingle-feature-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark, #b8860b);
  margin: 0 0 var(--sp-3);
}
.shingle-feature-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
}
.shingle-feature-desc {
  font-size: var(--text-base);
  color: var(--text-body, #374151);
  line-height: 1.7;
  margin: 0;
}
.shingle-color-intro {
  font-size: var(--text-base);
  color: var(--text-body, #374151);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}
.shingle-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.shingle-color-item {
  text-align: center;
}
.shingle-color-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: var(--sp-2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.shingle-color-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
@media (max-width: 800px) {
  .shingle-feature { grid-template-columns: 1fr; }
  .shingle-feature-photo { order: -1; }
}
@media (max-width: 640px) {
  .shingle-color-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .shingle-color-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Wood Deck Option Badge ──────────────────────────────────── */
.material-card--wood {
  border-left: 4px solid var(--gold, #c8a951);
}

/* ── Service page aside photo card ──────────────────────────── */
/* Placed above the sticky CTA card inside .two-col-aside.       */
/* max-height + object-fit keeps portrait images from dominating */
/* the layout; object-position centers on the most relevant area.*/
.sp-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin-bottom: var(--sp-6);
}
.sp-photo img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Infographic variant: show full image without cropping.        */
/* Used for the gutter system diagram where full content matters.*/
.sp-infographic {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin-bottom: var(--sp-6);
  background: var(--white);
}
.sp-infographic img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .sp-photo { margin-bottom: var(--sp-4); }
  .sp-infographic { margin-bottom: var(--sp-4); }
}

/* Gutters educational block: text left, infographic right */
.gutter-edu-grid {
  display: grid;
  grid-template-columns: 1fr 36%;
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 900px) {
  .gutter-edu-grid { grid-template-columns: 1fr; }
}
.material-card-badge--wood {
  background: rgba(200,169,81,0.12);
  color: var(--gold-dark, #b8860b);
}

/* ── Designer shingle card (Windsor) ────────────────────────── */
.material-card--designer {
  border-left: 4px solid var(--gold, #c8a951);
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(200,169,81,0.06) 100%);
}
.material-card-badge--designer {
  background: var(--gold, #c8a951);
  color: var(--navy-dark, #0d1b2a);
}

/* ── Link accent utility (replaces inline style) ─────────────── */
.link-accent {
  color: var(--gold-dark, #b8860b);
  font-weight: 600;
  text-decoration: none;
}
.link-accent:hover,
.link-accent:focus-visible {
  text-decoration: underline;
}

/* ── Secondary location photo inside office card ─────────────── */
/* Force 16:9 on both secondary photos so the two location cards  */
/* stay visually parallel regardless of source image proportions. */
.office-location-photo-secondary {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  margin-top: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center 45%;
}

/* ============================================================
   BATCH E — Payment page + Recent Projects page
   ============================================================ */

/* ── Payment card ────────────────────────────────────────────── */
.payment-section { background: var(--bg-light, #f8f9fa); }
.payment-card-wrap { display: flex; justify-content: center; }
.payment-redirect-card {
  background: #fff;
  border-radius: var(--radius-xl, 16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: var(--sp-12) var(--sp-10);
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.payment-icon {
  width: 68px; height: 68px;
  background: rgba(200,169,81,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-6);
  color: var(--gold-dark, #b8860b);
}
.payment-icon svg { width: 28px; height: 28px; }
.payment-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
}
.payment-card-desc {
  font-size: var(--text-base);
  color: var(--text-body, #374151);
  line-height: 1.7;
  margin: 0 0 var(--sp-8);
}
.payment-reassurance {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  text-align: left;
  border-top: 1px solid var(--border, #e5e7eb);
  padding-top: var(--sp-6);
}
.payment-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-muted, #6b7280);
  line-height: 1.5;
}
.payment-reassurance-item svg {
  width: 15px; height: 15px;
  color: var(--gold-dark, #b8860b);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Recent Projects grid ─────────────────────────────────────── */
.projects-section { background: #fff; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.project-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); }
.project-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.project-card-body {
  padding: var(--sp-5) var(--sp-6);
}
.project-card-service {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark, #b8860b);
  margin: 0 0 var(--sp-1);
}
.project-card-location {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--sp-2);
}
.project-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted, #6b7280);
  line-height: 1.65;
  margin: 0;
}

/* ── YouTube channel card ─────────────────────────────────────── */
.youtube-section {
  background: var(--navy-dark, #0d1f3c);
  color: #fff;
}
.youtube-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl, 16px);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.youtube-icon {
  width: 72px; height: 72px;
  background: #ff0000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-6);
}
.youtube-icon svg { width: 30px; height: 30px; color: #fff; }
.youtube-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin: 0 0 var(--sp-4);
}
.youtube-card-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0 0 var(--sp-8);
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .youtube-card { padding: var(--sp-8) var(--sp-5); }
  .payment-redirect-card { padding: var(--sp-8) var(--sp-5); }
}
@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ── Recent Projects hero photo position ─────────────────────── */
/* "Recent Projects Hero Photo" — PNW neighbourhood street scene.  */
/* 35% vertical keeps the mid-height home facades and rooflines in  */
/* the crop zone while reducing visible sky/ground at the extremes. */
.page-hero--projects .page-hero-photo img { object-position: center 35%; }

/* ── Areas We Serve hero photo position ──────────────────────── */
/* "Hero PNW Home Photo" — golden-hour PNW home with lit interior, */
/* deck, and evergreen forest backdrop. 45% centres the home body  */
/* and warm windows in the crop zone; reduces visible sky at top.  */
.page-hero--areas .page-hero-photo img { object-position: center 45%; }

/* ── About / Team hero crop fix ───────────────────────────────── */
/* Source is 1536×1024 (3:2). On narrow viewports the hero height  */
/* exceeds the 3:2 threshold → object-fit:cover scales by height   */
/* rather than width → left/right sides are clipped horizontally.  */
/* On desktop the hero is wider than 3:2 so the full image width   */
/* is always shown; `center 20%` keeps heads near the top of the   */
/* crop zone. On mobile, shift to `right` so the clip lands on the */
/* left side (which sits under the opaque gradient overlay anyway)  */
/* rather than the right side where faces are clearly visible.      */
.page-hero--team .page-hero-photo img { object-position: center 20%; }
@media (max-width: 640px) {
  .page-hero--team .page-hero-photo img { object-position: right 15%; }
}

/* Why-section eyebrow: use bright gold (override default gold-dark) */
.why-service-section .section-eyebrow {
  color: var(--gold);
}

/* ── Service area map embed ───────────────────────────────────── */
.coverage-map-section {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-2);
}
.coverage-map-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: var(--sp-4);
}
.coverage-map-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.coverage-map-link {
  display: block;
  text-align: center;
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.coverage-map-link a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}
.coverage-map-link a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .coverage-map-frame { height: 280px; }
}

/* ── Before / After proof section (Index page) ───────────────── */
.before-after-section {
  background: var(--bg-light, #f8f9fa);
  padding-block: var(--sp-16);
}
.before-after-figure {
  margin: 0;
}
.before-after-img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.before-after-caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted, #6b7280);
  margin-top: var(--sp-3);
  font-style: italic;
}

/* ── Follow Us strip (Community Outreach page) ───────────────── */
.follow-section {
  background: var(--white);
  padding-block: var(--sp-10);
  border-top: 1px solid var(--border);
}
.follow-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.follow-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #6b7280);
  white-space: nowrap;
  margin: 0;
}
.follow-links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.follow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted, #6b7280);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.follow-link:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(10,22,40,0.04);
}
.follow-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--navy);
  color: var(--navy);
}
.follow-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .follow-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
}

/* ============================================================
   BATCH F — Service + Location Page Template
   ============================================================ */

/* ── Location breadcrumb ─────────────────────────────────── */
.loc-breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.loc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: var(--sp-2) 0;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.loc-breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
  color: var(--text-muted);
}
.loc-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.loc-breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.loc-breadcrumb li[aria-current="page"] { color: var(--navy-dark); font-weight: 500; }

/* ── Related Service Cards (service + location pages) ─────── */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.related-service-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--ease-slow), transform var(--ease-slow);
}
.related-service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-service-card-icon { width: 36px; height: 36px; color: var(--navy); margin-bottom: var(--sp-3); }
.related-service-card-title { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--navy-dark); margin-bottom: var(--sp-2); }
.related-service-card-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; flex: 1; }
.related-service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--sp-4);
}
@media (max-width: 1023px) { .related-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .related-services-grid { grid-template-columns: 1fr; } }
