:root {
  /* Brand maroon, sampled from the McRay Roofing & Exteriors logo */
  --maroon: #870412;
  --maroon-dark: #5C0210;
  --charcoal: #1E1517;
  --slate: #4A3C3E;
  --gray: #99A1AF;
  --gray-light: #f6f2f1;
  --off-white: #FAF9F7;
  --white: #ffffff;

  /* Keep the copper roof-tile gradient — it already matches the logo's metal roof mark */
  --roof-1: #8B4416;
  --roof-2: #A75A2C;
  --roof-3: #DA984F;
  --roof-4: #FBA86B;
  --roof-gradient: linear-gradient(135deg, var(--roof-1), var(--roof-2) 40%, var(--roof-3) 70%, var(--roof-4));
  --maroon-gradient: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);

  --accent-red: #D6453D;
  --accent-red-dark: #85020F;

  /* Legacy alias kept so nothing that still references --navy breaks */
  --navy: var(--charcoal);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 65px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* "proximity" only catches the scroll if it's already slowing down near a
     snap point — a deliberate flick/continued scroll sails right through.
     Gives the end of the hero animation a "landing" feel without trapping
     the scroll the way "mandatory" would. */
  scroll-snap-type: y proximity;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary {
  background: var(--roof-gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(139, 68, 22, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 68, 22, 0.4); }
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 9.45px;
  padding-bottom: 9.45px;
  /* Wider than the site's 1140px content column on purpose — nav items
     (now 5 dropdowns + 4 plain links) need more room than a reading
     column, and a nav bar spanning a bit wider than the content below
     it is a normal pattern. Keep this in sync with the 1320/1321
     breakpoint pair below if more nav items are ever added. */
  max-width: 1320px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-img { height: 42px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav > a { white-space: nowrap; }
.main-nav a:hover { color: var(--roof-2); }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.nav-dropdown-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-dropdown-label:hover { color: var(--roof-2); }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  color: inherit;
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  line-height: 1;
  flex-shrink: 0;
}
.nav-dropdown-toggle:hover { color: var(--roof-2); }
.nav-dropdown-toggle svg { width: 10px; height: 10px; flex-shrink: 0; transition: transform 0.15s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

/* Open state is driven entirely by JS toggling the .open class (hover
   with a short close-delay on pointer devices, tap on touch/mobile,
   click-outside-to-close) rather than CSS :hover — a plain hover
   dropdown closes the instant the cursor crosses the visual gap between
   the nav label and the floating panel below it, which made the menu
   impossible to actually use. */
.dropdown-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 4px 14px;
}
.nav-dropdown.open .dropdown-panel { display: flex; }

@media (min-width: 1321px) {
  .nav-dropdown.open .dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
    padding: 12px 16px;
    min-width: 220px;
    gap: 6px;
    z-index: 50;
  }
  .dropdown-panel a { font-size: 0.9rem; white-space: nowrap; }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.phone-link { font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Hero / Scroll Animation ---------- */
.hero {
  position: relative;
  /* Scroll-linked animation progress is (scrolled distance) / (this height −
     the sticky element's height), so bumping the height doesn't scale
     progress 1:1 — the sticky portion is a fixed subtrahend. 170vh gives
     ~15% more actual scroll room for the animation than 160vh did. */
  height: 170vh;
}
/* Snap target for the html-level scroll-snap above — sits right where the
   hero's pinned animation finishes and hands off to the next section, so
   that's the point the scroll settles into on release. */
#services { scroll-snap-align: start; }
.hero-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--white);
}
.hero-copy-bar {
  position: absolute;
  bottom: 55px; /* fallback for no-JS; script.js overrides this per-viewport, see syncCopyBarPosition */
  left: 50%;
  transform: translate(-50%, 130%);
  opacity: 0;
  z-index: 10;
  width: calc(100% - 48px);
  max-width: calc(760px * var(--bar-scale, 1));
  padding: calc(10px * var(--bar-scale, 1)) calc(28px * var(--bar-scale, 1));
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.14);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}
.hero-copy-bar.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.hero-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-copy-text { flex: 0 1 260px; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--roof-1);
  margin: 0 0 4px;
}
.eyebrow.center { text-align: center; }
.hero-copy-bar .eyebrow, .hero-copy-bar .hero-sub { display: none; }
.hero-copy h1 {
  font-size: calc(clamp(1.05rem, 1.8vw, 1.3rem) * var(--bar-scale, 1));
  line-height: 1.25;
  margin: 0;
}
.hero-sub {
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 60ch;
  margin: 0;
}
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-copy-bar .cta-buttons .btn-lg {
  padding: calc(10px * var(--bar-scale, 1)) calc(20px * var(--bar-scale, 1));
  font-size: calc(0.9rem * var(--bar-scale, 1));
}
.scroll-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.house-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.roof-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--white);
}
.hero-fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, var(--white) 100%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.1s linear;
}
.intro-fog {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.intro-fog-logo { width: 170px; max-width: 40%; height: auto; }
.intro-fog-text {
  margin: 0;
  color: var(--maroon);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-align: center;
}
.intro-fog-arrows { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.intro-fog-chevron {
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--maroon);
  border-bottom: 3px solid var(--maroon);
  animation: bobChevron 1.4s ease-in-out infinite;
}
.intro-fog-chevron:nth-child(2) { animation-delay: 0.2s; }
@keyframes bobChevron {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}
.snap-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--white);
  border: 2px solid var(--roof-2);
  color: var(--roof-1);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.7) translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 6;
}
.snap-badge.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.assembled-tagline {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 7;
  margin: 0;
  width: calc(100% - 32px);
  text-align: center;
  color: var(--maroon);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: calc(0.02em * var(--bar-scale, 1));
  font-size: calc(clamp(1.1rem, 3vw, 2rem) * var(--bar-scale, 1));
  text-shadow:
    0 0 10px var(--white), 0 0 10px var(--white), 0 0 10px var(--white),
    0 0 22px var(--white), 0 0 22px var(--white),
    0 0 38px var(--white);
  opacity: 0;
  transform: translate(-50%, -14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.assembled-tagline.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-sticky { position: relative; height: 60vh; min-height: 420px; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-light); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 40px;
}
.section-title.center { text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08); border-color: var(--roof-3); }
.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--roof-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--white); }
.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--slate); font-size: 0.95rem; }

/* ---------- Recent Projects gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(30, 21, 23, 0.85), rgba(30, 21, 23, 0));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Featured real-work photo (material/service detail pages) ---------- */
.feature-photo {
  max-width: 640px;
  margin: 0 auto;
}
.feature-photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
}
.feature-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-photo-frame:hover img { transform: scale(1.04); }
.feature-photo figcaption {
  text-align: center;
  color: var(--slate);
  font-size: 0.88rem;
  margin-top: 14px;
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.material-pill {
  background: var(--white);
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
a.material-pill {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.material-pill:hover { background: var(--roof-1); color: var(--white); border-color: var(--roof-1); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.cert-badge {
  text-align: center;
  padding: 30px 20px;
  border-radius: 14px;
  border: 2px solid var(--roof-3);
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cert-badge strong { display: block; font-size: 1.25rem; color: var(--maroon); }
.cert-badge span { color: var(--slate); font-size: 0.9rem; }
.cert-logo { height: 56px; width: auto; margin-bottom: 4px; }
.cert-logo-gaf { height: 76px; }
.cert-logo-certainteed { height: 68px; }
a.cert-badge {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
  border-color: var(--roof-1);
}

/* ---------- Certification Spotlight (flagship awards) ---------- */
.cert-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 52px;
}
.cert-spotlight {
  position: relative;
  border-radius: 20px;
  padding: 40px 36px;
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.22);
}
a.cert-spotlight {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.cert-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.3);
}
.cert-spotlight::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cert-spotlight-gaf { background: var(--maroon-gradient); }
.cert-spotlight-brava { background: linear-gradient(135deg, var(--charcoal) 0%, #3a2a2d 100%); }
.cert-spotlight-pill {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.cert-spotlight-badge-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.cert-spotlight-logo {
  height: 60px;
  width: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}
.cert-spotlight-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--roof-4);
  margin: 0 0 4px;
}
.cert-spotlight h3 {
  position: relative;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  margin: 0;
  color: var(--white);
  line-height: 1.25;
}
.cert-spotlight p {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.cert-spotlight-stats {
  position: relative;
  display: flex;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cert-spotlight-stat-num {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--roof-4);
  margin-bottom: 6px;
}
.cert-spotlight-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 16ch;
  line-height: 1.35;
  margin: 0;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.areas-grid span, .areas-grid a {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
}
.areas-grid a {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.areas-grid a:hover { background: var(--roof-1); color: var(--white); border-color: var(--roof-1); }
.areas-note { text-align: center; color: var(--slate); }
.areas-note a { color: var(--roof-1); font-weight: 600; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--maroon-gradient);
  color: var(--white);
  padding: 60px 0;
}
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 1.6rem; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, 0.85); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-list li { margin-bottom: 14px; }
.contact-list a { color: var(--roof-1); font-weight: 600; }
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--gray-light);
  padding: 28px;
  border-radius: 14px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d5d5d5;
  font-size: 0.95rem;
}
.contact-form button { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 44px 0 30px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-col h4 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--roof-4);
}
.footer-col a:hover { color: var(--white); }
.footer-brand .footer-logo { font-weight: 600; font-size: 1.05rem; color: var(--white); }
.footer-brand .footer-logo strong { color: var(--roof-4); }
.footer-logo-img { height: 30px; width: auto; align-self: flex-start; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; line-height: 1.6; margin: 10px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1320px) {
  .main-nav, .header-cta .phone-link { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn { padding: 10px 16px; font-size: 0.85rem; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid #eee;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .header-cta .btn { display: none; }

  .hero-copy { flex-direction: column; }
  .intro-fog-logo { width: 130px; }
  .intro-fog-text { font-size: 0.85rem; }
  .cta-buttons { gap: 8px; }
  .cta-buttons .btn { padding: 8px 14px; font-size: 0.8rem; }
  .btn-lg { padding: 8px 14px; font-size: 0.8rem; }
  .scroll-hint { display: none; }
}

/* ---------- Interior Page Hero ---------- */
.page-hero {
  background: var(--roof-gradient);
  color: var(--white);
  padding: 60px 0 52px;
  text-align: center;
}
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--white);
}
.page-hero p.page-hero-sub {
  max-width: 62ch;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}
.page-hero .cta-buttons { justify-content: center; }
.page-hero .btn-outline { border-color: var(--white); color: var(--white); }
.page-hero .btn-outline:hover { background: var(--white); color: var(--navy); }

.breadcrumbs {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.6; }

@media (max-width: 480px) {
  .page-hero { padding: 40px 0 34px; }
}

/* ---------- Prose / content blocks ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--slate); margin: 0 0 16px; font-size: 1rem; }
.prose h2 { margin: 0 0 16px; }
.prose h3 { margin: 30px 0 10px; font-size: 1.2rem; }
.prose ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; color: var(--slate); }

/* ---------- Cross-link chips (service <-> location) ---------- */
.link-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.link-chip {
  background: var(--white);
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--roof-1);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.link-chip:hover { background: var(--roof-1); color: var(--white); border-color: var(--roof-1); }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* ---------- Location map embed ---------- */
.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 14px;
  display: block;
}

/* ---------- Home: condensed contact blurb ---------- */
.contact-blurb { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-blurb-text { color: var(--slate); margin: 0 0 22px; }
.contact-list-center {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 0 0 26px;
  flex-wrap: wrap;
  color: var(--slate);
}
.contact-list-center a { color: var(--roof-1); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}
.blog-card .blog-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--roof-1);
  font-weight: 700;
}
.blog-card h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.blog-card p { margin: 0 0 14px; color: var(--slate); font-size: 0.92rem; }
.blog-card a.read-more { color: var(--roof-1); font-weight: 600; }
.blog-meta { font-size: 0.85rem; color: var(--gray); margin: 0 0 24px; text-align: center; }

/* ---------- Cards as links (Home service/location cards) ---------- */
a.card { text-decoration: none; }
.card-link { color: var(--roof-1); font-weight: 600; font-size: 0.88rem; display: inline-block; margin-top: 10px; }
