/* =========================================================
   MERCER PLUMBING & DRAIN — Mainstay Plumbing template
   Palette: deep teal + warm cream + copper + emergency red
   Type: Bitter (display) + Inter (body/UI)
   ========================================================= */

:root {
  --primary:       #0d4a4d;
  --primary-dark:  #08323a;
  --bg:            #f7f2e7;
  --card:          #ffffff;
  --ink:           #1a1a1a;
  --ink-soft:      #4a4a4a;
  --rule:          #d8cfb8;
  --copper:        #b6712f;
  --copper-soft:   #d4a26b;
  --emergency:     #b8201f;
  --emergency-bg:  #fff2f0;
  --shadow:        0 6px 24px rgba(13, 74, 77, 0.10);
  --shadow-sticky: 0 2px 0 rgba(13, 74, 77, 0.06), 0 6px 14px rgba(13, 74, 77, 0.08);

  --display: 'Bitter', Georgia, 'Times New Roman', serif;
  --body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ui:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
iframe { display: block; }

a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color 0.18s, text-decoration-color 0.18s; }
a:hover { color: var(--primary-dark); text-decoration-color: var(--copper); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
p  { margin-bottom: 1em; }
em { font-style: italic; }

.smallcaps {
  font-family: var(--ui);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-block;
}
.smallcaps--copper { color: var(--copper); }
.smallcaps--white  { color: rgba(255,255,255,0.85); }
.smallcaps--emergency { color: var(--emergency); }

.wrap        { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow{ max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--medium{ max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== HEADER (two-row, sticky) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: box-shadow 0.28s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sticky); }

.emergency-bar {
  background: var(--emergency);
  color: #fff;
  font-family: var(--ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 0;
}
.emergency-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  text-align: center;
}
.emergency-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--display);
  letter-spacing: 0.02em;
  font-size: 1rem;
}
.emergency-bar a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.6); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
}
.brand-mark sup {
  font-family: var(--ui);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--copper);
  font-weight: 700;
  margin-left: 0.45rem;
  vertical-align: 0.55em;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.is-current { color: var(--primary); border-bottom: 2px solid var(--copper); padding-bottom: 0.18rem; }

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}
.header-license { font-family: var(--ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--copper); font-weight: 600; }
.header-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header-phone:hover { color: var(--emergency); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; font-size: 1.4rem; color: var(--primary); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .header-meta { display: none; }
  .header-inner { padding: 0.85rem 0; }
}

/* ===== STICKY EMERGENCY STRIP (service-detail emergency) ===== */
.sticky-emergency {
  position: sticky;
  top: 0;
  z-index: 95;
  background: var(--emergency);
  color: #fff;
  padding: 0.7rem 0;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.95rem;
}
.sticky-emergency .wrap { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; text-align: center; }
.sticky-emergency a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); font-family: var(--display); font-weight: 800; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.65rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1;
}
.btn:hover { background: var(--primary); color: var(--bg); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn--copper { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn--copper:hover { background: #99601f; border-color: #99601f; color: #fff; }
.btn--emergency { background: var(--emergency); color: #fff; border-color: var(--emergency); }
.btn--emergency:hover { background: #911817; border-color: #911817; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* ===== HOMEPAGE HERO ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-truck-driveway.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,74,77,0.05) 0%, rgba(13,74,77,0.10) 60%, rgba(8,50,58,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 3rem 0;
}
.hero-card {
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(2px);
  padding: 2.75rem 2.5rem;
  max-width: 36rem;
  border-left: 3px solid var(--copper);
}
.hero-card .smallcaps { color: var(--copper); margin-bottom: 1rem; }
.hero-card h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
  color: var(--primary-dark);
}
.hero-card p {
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.hero-buttons { display: flex; gap: 0.85rem; flex-wrap: wrap; }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 0; }
  .hero-bg { position: relative; aspect-ratio: 16/10; }
  .hero-content { padding: 0; margin-top: -3rem; position: relative; }
  .hero-card { padding: 1.75rem 1.5rem; max-width: 92%; margin: 0 auto; }
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  position: relative;
  padding: 4rem 0 2.5rem;
  background: var(--primary-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.page-hero[data-bg="emergency"]::before  { background-image: url('../images/services-emergency-hero.jpg'); }
.page-hero[data-bg="drain"]::before      { background-image: url('../images/services-drain-hero.jpg'); }
.page-hero[data-bg="waterheater"]::before{ background-image: url('../images/services-waterheater-hero.jpg'); }
.page-hero[data-bg="sewer"]::before      { background-image: url('../images/services-sewer-tile.jpg'); }
.page-hero[data-bg="fixture"]::before    { background-image: url('../images/services-fixture-tile.jpg'); }
.page-hero[data-bg="gas"]::before        { background-image: url('../images/services-gas-tile.jpg'); }
.page-hero[data-bg="trucks"]::before     { background-image: url('../images/services-truck-bay.jpg'); }
.page-hero[data-bg="route"]::before      { background-image: url('../images/services-truck-on-route.jpg'); }
.page-hero[data-bg="charlotte"]::before  { background-image: url('../images/services-truck-charlotte.jpg'); }
.page-hero[data-bg="1978"]::before       { background-image: url('../images/about-1978-truck.jpg'); }
.page-hero[data-bg="shop"]::before       { background-image: url('../images/contact-shop-exterior.jpg'); }
.page-hero[data-bg="financing"]::before  { background-image: url('../images/financing-tools-on-truck.jpg'); }
.page-hero[data-bg="reviews"]::before    { background-image: url('../images/reviews-featured-customer-home.jpg'); }
.page-hero[data-bg="shop-interior"]::before { background-image: url('../images/about-shop-interior.jpg'); }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,50,58,0.78) 0%, rgba(8,50,58,0.88) 100%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .smallcaps { color: var(--copper-soft); margin-bottom: 0.75rem; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  max-width: 28ch;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.page-hero p.lede { font-size: 1.125rem; color: rgba(255,255,255,0.88); max-width: 50ch; }

.breadcrumb {
  font-family: var(--ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.68);
  margin-top: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.78); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--copper); }
.breadcrumb .sep { margin: 0 0.55rem; color: var(--copper-soft); }

/* ===== HOMEPAGE EMERGENCY BAND ===== */
.emergency-band {
  background: var(--emergency);
  color: #fff;
  padding: 4rem 0;
}
.emergency-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.emergency-band h2 {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
.emergency-band p { color: rgba(255,255,255,0.92); font-size: 1.0625rem; line-height: 1.55; }
.emergency-band-right { text-align: right; }
.emergency-phone {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.emergency-phone:hover { color: rgba(255,255,255,0.9); }
.emergency-band-right .smallcaps { color: rgba(255,255,255,0.85); max-width: 36ch; display: inline-block; }
@media (max-width: 800px) {
  .emergency-band-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .emergency-band-right { text-align: left; }
}

/* ===== TRUST STRIP ===== */
.trust-strip { padding: 3.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 0 2rem;
  border-right: 1px solid var(--copper-soft);
}
.trust-item:last-child { border-right: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item .smallcaps { color: var(--copper); display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.trust-item p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; margin: 0; }
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .trust-item { padding: 0 1rem; border-right: 0; }
  .trust-item:first-child { padding-left: 1rem; }
}

/* ===== SERVICES GRID (homepage 3x2) ===== */
.services-grid-section { padding: 5rem 0; }
.section-header { margin-bottom: 2.5rem; }
.section-header .smallcaps { color: var(--copper); margin-bottom: 0.5rem; }
.section-header h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); max-width: 22ch; text-wrap: balance; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.svc-card-body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin-bottom: 0.6rem; color: var(--primary-dark); }
.svc-card p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; margin-bottom: 1rem; flex: 1; }
.svc-card-link { font-family: var(--ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--copper); text-decoration: none; }
.svc-card-link:hover { color: var(--primary); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT PREVIEW BLOCK ===== */
.about-preview {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-preview-img { aspect-ratio: 4/5; background-size: cover; background-position: center; }
.about-preview h2 { color: var(--primary-dark); margin-bottom: 1.25rem; }
.about-preview p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.0625rem; line-height: 1.7; }
.about-preview .smallcaps { color: var(--copper); margin-bottom: 0.75rem; }
@media (max-width: 900px) { .about-preview { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; } }

/* ===== SERVICE AREA + MAP (homepage) ===== */
.service-area-section { border-top: 1px solid var(--rule); padding: 0; }
.area-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 0;
  align-items: stretch;
}
.area-map-frame { width: 100%; height: 100%; min-height: 440px; aspect-ratio: 4/3; border: 0; }
.area-info { padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; background: var(--card); }
.area-info h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.area-info p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.5rem; }
.area-info .smallcaps { color: var(--copper); margin-bottom: 0.75rem; }
.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.area-list a {
  font-family: var(--ui);
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  font-weight: 500;
}
.area-list a:hover { color: var(--primary); }
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-map-frame { min-height: 300px; aspect-ratio: 16/10; }
  .area-info { padding: 2.5rem 1.5rem; }
}

/* ===== FINANCING TEASER (homepage dark band) ===== */
.financing-teaser {
  background: var(--primary-dark);
  color: #fff;
  padding: 5rem 0;
}
.financing-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: center;
}
.financing-grid h2 { color: #fff; margin-bottom: 1rem; max-width: 22ch; }
.financing-grid p { color: rgba(255,255,255,0.82); margin-bottom: 1.75rem; max-width: 50ch; }
.financing-grid .smallcaps { color: var(--copper-soft); margin-bottom: 0.75rem; }
.financing-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.financing-tile {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--copper);
  padding: 1.1rem 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.financing-tile span {
  display: block;
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-top: 0.25rem;
}
@media (max-width: 900px) { .financing-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ===== REVIEWS PREVIEW ===== */
.reviews-section { padding: 5rem 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.review-card {
  background: var(--card);
  padding: 1.85rem;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--copper); font-size: 1.05rem; letter-spacing: 0.15em; margin-bottom: 0.85rem; }
.review-card .smallcaps { color: var(--ink-soft); margin-bottom: 1rem; font-size: 0.72rem; }
.review-body { font-family: var(--body); font-size: 1.025rem; line-height: 1.55; color: var(--ink); flex: 1; margin-bottom: 1.25rem; }
.review-attribution { font-family: var(--ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--copper); font-weight: 600; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-cta a { color: var(--copper); font-family: var(--ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; text-decoration: none; }
.reviews-cta a:hover { color: var(--primary); }

/* ===== FINAL CTA BAND ===== */
.cta-band { padding: 6rem 0; text-align: center; }
.cta-band h2 { color: var(--primary-dark); margin-bottom: 1.5rem; max-width: 24ch; margin-left: auto; margin-right: auto; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band .big-call {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
  line-height: 1;
}
.cta-band .big-call:hover { color: var(--emergency); }
.cta-band .secondary { display: block; margin-top: 1rem; font-family: var(--ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--copper); text-decoration: none; }
.cta-band .secondary:hover { color: var(--primary); }

/* ===== ARTICLE PROSE (about, service-detail body) ===== */
.article-prose {
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  padding: 4rem 0 5rem;
}
.article-prose p { margin-bottom: 1.25rem; }
.article-prose h2 { margin: 3rem 0 1rem; color: var(--primary-dark); font-size: clamp(1.5rem, 3vw, 2rem); }
.article-prose h2 .smallcaps { display: block; margin-bottom: 0.5rem; color: var(--copper); font-size: 0.78rem; }
.article-prose h3 { margin: 2rem 0 0.75rem; color: var(--primary-dark); }
.article-prose blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--primary-dark);
  border-left: 3px solid var(--copper);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
}
.article-prose blockquote.copper-rule { border-left-color: var(--copper); }
.article-prose blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.article-prose ul, .article-prose ol { margin: 0.5rem 0 1.5rem 1.5rem; }
.article-prose li { margin-bottom: 0.45rem; }

/* Floated article photos */
.article-photo { background-size: cover; background-position: center; aspect-ratio: 4/3; margin: 1.5rem 0; }
.article-photo--right { float: right; width: 45%; margin: 0.5rem 0 1.5rem 2rem; }
.article-photo--left  { float: left;  width: 45%; margin: 0.5rem 2rem 1.5rem 0; }
.article-photo--cap { display: block; font-family: var(--ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin-top: 0.4rem; font-weight: 500; }
@media (max-width: 700px) { .article-photo--right, .article-photo--left { float: none; width: 100%; margin: 1.5rem 0; } }

/* Definition lists in articles */
.article-prose dl.dl-clean {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.85rem 1.75rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.article-prose dl.dl-clean dt {
  font-family: var(--ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  font-weight: 700;
  align-self: center;
}
.article-prose dl.dl-clean dd { font-size: 1.0625rem; color: var(--ink); }

/* Pricing table inside service detail */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--copper);
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
}
.pricing-card .smallcaps { color: var(--copper); margin-bottom: 1rem; }
.pricing-card table { width: 100%; border-collapse: collapse; }
.pricing-card th, .pricing-card td { padding: 0.85rem 0.5rem; text-align: left; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.pricing-card th { font-family: var(--ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 700; }
.pricing-card td.price { font-family: var(--display); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--primary-dark); }
.pricing-card tr:last-child td { border-bottom: 0; }
.pricing-transparency { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--copper); font-size: 1.05rem; margin: 1rem 0 1.5rem; }

/* ===== DETAIL LAYOUT (service detail w/ sticky sidebar) ===== */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 4rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  align-items: start;
}
.detail-content { min-width: 0; }
.detail-content .article-prose { padding: 0; }
.detail-sidebar {
  position: sticky;
  top: 8rem;
  padding: 1.75rem;
  background: var(--emergency-bg);
  border: 1px solid #f3c8c5;
  border-left: 4px solid var(--emergency);
}
.detail-sidebar h3 {
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emergency);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.detail-sidebar .big-phone {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: var(--emergency);
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.detail-sidebar p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 1rem; }
.detail-sidebar .badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid #f3c8c5; }
.detail-sidebar .badge {
  font-family: var(--ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--rule);
}
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .detail-sidebar { position: static; }
}

/* ===== SERVICES INDEX (alternating blocks) ===== */
.svc-block-section { padding: 4rem 0 5rem; }
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.svc-block.reverse > :first-child { order: 2; }
.svc-block-img { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.svc-block-num {
  display: block;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.svc-block h2 { font-family: var(--display); font-weight: 700; color: var(--primary-dark); margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.svc-block p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1rem; }
.svc-block .pricing-transparency { font-family: var(--display); font-style: italic; color: var(--copper); font-size: 1.0625rem; margin: 1rem 0 1.25rem; font-weight: 600; }
.svc-block a.read-link { font-family: var(--ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--copper); text-decoration: none; }
.svc-block a.read-link:hover { color: var(--primary); }
@media (max-width: 800px) {
  .svc-block { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3.5rem; }
  .svc-block.reverse > :first-child { order: 0; }
}

/* ===== FAQ block ===== */
.faq-block { padding: 3rem 0 4rem; }
.faq-block h2 { color: var(--primary-dark); margin-bottom: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--rule); }
.faq-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.faq-a { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; margin: 0; }

/* ===== CROSS-LINK BLOCK ===== */
.cross-link { padding: 4rem 0 5rem; border-top: 1px solid var(--rule); background: var(--card); }
.cross-link .smallcaps { color: var(--copper); margin-bottom: 1.25rem; display: block; }
.cross-link-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cross-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--bg); transition: box-shadow 0.18s, transform 0.18s; }
.cross-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cross-card-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.cross-card-body { padding: 0.85rem 1rem 1.15rem; }
.cross-card h3 { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--primary-dark); }
@media (max-width: 900px) { .cross-link-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cross-link-grid { grid-template-columns: 1fr 1fr; } }

/* ===== SERVICE-AREA HUB ===== */
.area-hub-map { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0 1rem;
}
.area-card {
  background: var(--card);
  padding: 1.85rem;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.area-card h3 { font-family: var(--display); font-weight: 700; color: var(--primary-dark); margin-bottom: 0.65rem; font-size: 1.5rem; }
.area-card p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; flex: 1; margin-bottom: 1.1rem; }
.area-card a.read-link { font-family: var(--ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--copper); text-decoration: none; }
.area-card a.read-link:hover { color: var(--primary); }
@media (max-width: 900px) { .area-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .area-cards { grid-template-columns: 1fr; } }

.neighborhood-list-block {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--rule);
}
.neighborhood-list-block p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; max-width: 56rem; }
.neighborhood-list-block strong { color: var(--primary); }

/* Response-time table on city sub-pages */
.zone-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; }
.zone-table th, .zone-table td { padding: 0.85rem 0.75rem; text-align: left; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.zone-table th { font-family: var(--ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 700; }
.zone-table td.zone-time { font-family: var(--display); font-weight: 700; color: var(--copper); }

/* ===== FINANCING PAGE ===== */
.financing-partner-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--copper);
  padding: 1.85rem 2rem;
  margin: 1.25rem 0;
}
.financing-partner-card h3 { color: var(--primary-dark); margin-bottom: 0.6rem; }
.financing-partner-card p { color: var(--ink-soft); margin: 0; }
.prequal-card {
  background: var(--bg);
  border: 2px solid var(--copper);
  padding: 2rem;
  margin: 2.5rem 0;
}
.prequal-card h3 { color: var(--copper); margin-bottom: 0.5rem; }
.prequal-card p { color: var(--ink); margin-bottom: 1.25rem; }
.prequal-card .btn { margin-right: 0.5rem; margin-bottom: 0.5rem; }

/* ===== REVIEWS PAGE ===== */
.stat-band { padding: 3rem 0 1rem; }
.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-tile {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--copper);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-tile .stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-tile .smallcaps { color: var(--ink-soft); display: block; margin-top: 0.65rem; }
@media (max-width: 700px) { .stat-band-grid { grid-template-columns: 1fr; } }

.featured-review {
  background: var(--card);
  padding: 3rem;
  border-left: 4px solid var(--copper);
  margin: 3rem 0;
}
.featured-review .smallcaps { color: var(--copper); margin-bottom: 0.75rem; }
.featured-review blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--primary-dark);
  margin: 0 0 1rem;
}
.featured-review p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1rem; }
.featured-review .attribution { font-family: var(--ui); font-size: 0.85rem; font-weight: 600; color: var(--copper); letter-spacing: 0.08em; text-transform: uppercase; }

.review-grid-12 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
@media (max-width: 900px) { .review-grid-12 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .review-grid-12 { grid-template-columns: 1fr; } }

/* ===== CONTACT PAGE ===== */
.contact-emergency-callout {
  background: var(--emergency-bg);
  border-left: 4px solid var(--emergency);
  padding: 2.5rem 2.5rem 2.5rem;
  margin: 3rem 0 0;
}
.contact-emergency-callout h2 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--emergency);
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.contact-emergency-callout .em-phone {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--emergency);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0.5rem 0 1rem;
}
.contact-emergency-callout p { color: var(--ink-soft); margin: 0 0 1rem; font-size: 1.05rem; }
.contact-emergency-callout .badge-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.contact-emergency-callout .badge {
  background: #fff;
  border: 1px solid #f3c8c5;
  padding: 0.35rem 0.65rem;
  font-family: var(--ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--emergency);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 3.5rem;
  padding: 4rem 0;
}
.contact-form-card { background: var(--bg); border: 1px solid var(--rule); padding: 2.5rem; }
.contact-form-card h2 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.contact-form-card p.lede { color: var(--ink-soft); margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--copper); }
.form-submit {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 1rem 2rem;
  font-family: var(--ui);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.18s;
}
.form-submit:hover { background: var(--primary-dark); }

.nap-card { background: var(--card); border: 1px solid var(--rule); padding: 2.25rem; }
.nap-card h3 { color: var(--primary-dark); font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.nap-card address { font-style: normal; font-size: 1.05rem; line-height: 1.55; margin-bottom: 1rem; color: var(--ink); }
.nap-card .nap-line { display: block; margin-bottom: 0.5rem; }
.nap-card .nap-line a { color: var(--primary); text-decoration: none; font-weight: 600; }
.nap-card .smallcaps { display: block; color: var(--copper); margin: 1.25rem 0 0.4rem; }
.nap-card .hours-line { font-size: 0.95rem; color: var(--ink-soft); }

.contact-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact-mini {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 600;
}
.contact-mini:hover { border-color: var(--copper); color: var(--primary); }

.contact-map-full { width: 100%; aspect-ratio: 21/9; border: 0; display: block; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0;
}
.info-grid h3 { color: var(--primary-dark); margin-bottom: 0.65rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.info-grid p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr 4fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer h3 {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer .brand-mark { color: #fff; font-size: 1.3rem; }
.footer .brand-mark sup { color: var(--copper-soft); }
.footer-lineage { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.65; margin-top: 1rem; margin-bottom: 1.5rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.footer-badge {
  background: rgba(255,255,255,0.07);
  padding: 0.35rem 0.65rem;
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  border-left: 2px solid var(--copper);
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--copper); }
.footer-nap p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.55; margin-bottom: 0.55rem; }
.footer-nap a { color: rgba(255,255,255,0.95); text-decoration: none; font-weight: 600; }
.footer-nap a:hover { color: var(--copper-soft); }
.footer-on-call {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom em {
  font-family: var(--display);
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITIES ===== */
.divider-rule { height: 1px; background: var(--rule); margin: 4rem 0; }
.text-center { text-align: center; }
.copper-rule-top { border-top: 2px solid var(--copper); padding-top: 2rem; }

/* Visited-state shim for hero+CTA */
a.btn:visited { color: var(--primary); }
a.btn--primary:visited, a.btn--copper:visited, a.btn--emergency:visited, a.btn--ghost-light:visited { color: #fff; }
