/* ===================================================================
   CORNERSTONE SEPTIC — SHARED DESIGN SYSTEM
   Extracted from the home page and extended for the full site
   ecosystem. Pure ASCII. Navy + amber, Inter / Archivo / Anton.
   Every page links this one file.
   =================================================================== */

:root {
  --navy: #003192;
  --navy-deep: #001f5e;
  --blue: #0043ba;
  --amber: #f8b427;
  --amber-dark: #d99405;
  --cream: #fdf1c8;
  --cream-soft: #fbf6e8;
  --ink: #0f172a;
  --slate: #475569;
  --slate-soft: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --maxw: 1200px;
  --maxw-prose: 760px;
  --rad: 10px;
  --rad-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 6px 20px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 20px 50px rgba(0,49,146,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -.005em;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }

h1, h2, h3, h4 {
  font-family: 'Archivo', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--navy-deep);
}
h1 {
  font-family: 'Anton', 'Archivo', sans-serif;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: .92;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 1.25rem;
}
.eyebrow.on-dark { color: var(--amber); }
.eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: currentColor;
  vertical-align: middle; margin-right: 12px; opacity: .8;
}
.section-head { text-align: center; }
.section-head .eyebrow { display: inline-block; }

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

/* ================= TOP BAR ================= */
.topbar {
  background: var(--navy-deep);
  color: #cfd9ee;
  font-size: .8125rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar .badges { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .badges span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .badges .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; }
@media (max-width: 720px) { .topbar .badges { display: none; } }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.site-header .brand img { width: 250px; height: auto; object-fit: contain; }
.site-header .brand .wordmark { display: none; }
.footer-brand .brand img { width: 44px; height: 44px; object-fit: contain; }
.brand .wordmark {
  font-family: 'Archivo', sans-serif; font-size: 1.375rem; font-weight: 800;
  color: var(--navy-deep); letter-spacing: -.04em;
  text-transform: uppercase;
}
.brand .wordmark span { color: var(--amber-dark); }

.nav { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav a {
  font-size: .9375rem; font-weight: 500; color: var(--slate);
  transition: color .15s ease; position: relative; white-space: nowrap;
}
.nav a:hover, .nav a.is-current { color: var(--navy); }
.nav a.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -18px;
  height: 2px; background: var(--amber);
}

/* nav dropdown (Services / Service Areas) */
.nav .has-menu { position: relative; display: inline-flex; align-items: center; white-space: nowrap; }
.nav .has-menu > a { white-space: nowrap; }
.nav .has-menu::after { content: '\25BE'; margin-left: 5px; font-size: .7em; opacity: .55; color: var(--slate); transition: color .15s ease; }
.nav .has-menu:hover::after, .nav .has-menu:focus-within::after { color: var(--navy); opacity: 1; }
.nav .submenu {
  position: absolute; top: calc(100% + 14px); left: -16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--rad);
  box-shadow: var(--shadow-md); padding: 8px; min-width: 248px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.nav .has-menu:hover .submenu, .nav .has-menu:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .submenu a {
  padding: 9px 12px; border-radius: 7px; font-size: .875rem; color: var(--slate);
}
.nav .submenu a:hover { background: var(--cream-soft); color: var(--navy-deep); }
.nav .submenu .submenu-head {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate-soft); padding: 8px 12px 4px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  font-weight: 600; color: var(--navy-deep); font-size: .9375rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.phone-link svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: var(--rad);
  font-family: 'Archivo', sans-serif;
  font-weight: 700; font-size: .9375rem; letter-spacing: -.015em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber); color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 12px rgba(248,180,39,.35);
}
.btn-primary:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .875rem; }

.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle {
    display: inline-flex; padding: 10px; border-radius: 8px;
    background: var(--bg-soft); color: var(--navy-deep);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .has-menu { display: block; width: 100%; }
  .nav.is-open .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0;
  }
  .nav.is-open .has-menu::after { display: none; }
}

/* ================= HERO (home) ================= */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/assets/hero-landscape.jpg');
  background-size: cover; background-position: center;
  opacity: .55;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,31,94,.25) 0%, rgba(0,31,94,.78) 100%),
    linear-gradient(110deg, rgba(0,31,94,.7) 0%, rgba(0,31,94,.1) 55%, rgba(0,31,94,.0) 100%);
}
.hero .container {
  position: relative; z-index: 2;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(56px, 7vw, 88px);
  min-height: calc(100svh - 140px);
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .container { min-height: 0; }
}
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: .98; }
.hero h1 em { font-style: normal; color: var(--amber); font-weight: 400; }
.hero .lede { font-size: clamp(1rem, 1.2vw, 1.125rem); color: #dde6f5; max-width: 44ch; margin-bottom: 28px; font-weight: 400; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .actions .meta { font-size: .875rem; color: #a7b3cc; margin-left: 8px; display: inline-flex; align-items: center; gap: 6px; }
.hero .actions .meta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--rad-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
@media (max-width: 900px) { .hero-card { display: none; } }
.hero-card h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .9375rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; letter-spacing: 0; }
.hero-card h4::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero-card ul { list-style: none; display: grid; gap: 12px; }
.hero-card li { font-size: .9375rem; color: #e5ecf8; display: flex; align-items: flex-start; gap: 10px; }
.hero-card li::before {
  content: '\2713'; flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep);
  font-size: .75rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ================= PAGE HERO (interior pages) ================= */
.page-hero {
  position: relative; background: var(--navy-deep); color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('/assets/banner-wide.jpg');
  background-size: cover; background-position: center; opacity: .22;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,31,94,.92) 0%, rgba(0,49,146,.62) 70%, rgba(0,67,186,.45) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(44px, 5vw, 68px); }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 5.5vw, 4rem); margin-bottom: 14px; max-width: 18ch; }
.page-hero .lede { color: #dde6f5; font-size: 1.0625rem; max-width: 60ch; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ================= BREADCRUMBS ================= */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.crumbs .container { padding-top: 12px; padding-bottom: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8125rem; color: var(--slate-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: '\203A'; color: var(--line); }
.crumbs a { color: var(--slate); font-weight: 500; }
.crumbs a:hover { color: var(--navy); }
.crumbs li[aria-current] { color: var(--navy-deep); font-weight: 600; }

/* ================= TRUST BAR ================= */
.trust { background: var(--cream-soft); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 500; color: var(--navy-deep); }
.trust-item svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--amber-dark); }
@media (max-width: 800px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust .container { grid-template-columns: 1fr; } }

/* ================= SECTIONS ================= */
section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lede { font-size: 1.0625rem; color: var(--slate); margin-top: 16px; }
.section-head.left { margin-left: 0; text-align: left; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--cream-soft); }

/* SERVICES (cards) */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.service-card .image { aspect-ratio: 16 / 10; background: var(--navy-deep); background-size: cover; background-position: center; position: relative; }
.service-card .image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,31,94,0) 30%, rgba(0,31,94,.55) 100%); }
.service-card .image .icon-chip { position: absolute; bottom: -22px; left: 24px; width: 56px; height: 56px; background: var(--amber); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 2; }
.service-card .image .icon-chip svg { width: 28px; height: 28px; color: var(--navy-deep); }
.service-card .body { padding: 36px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--slate); font-size: .9375rem; margin-bottom: 18px; flex: 1; }
.service-card .more { font-size: .875rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
.service-card .more::after { content: '\2192'; transition: transform .15s ease; }
.service-card:hover .more::after { transform: translateX(3px); }

/* ABOUT */
.about { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-images { position: relative; min-height: 480px; }
.about-images img { border-radius: var(--rad-lg); box-shadow: var(--shadow-md); object-fit: cover; }
.about-images .img-1 { width: 78%; aspect-ratio: 4/5; position: relative; z-index: 1; }
.about-images .img-2 { width: 58%; aspect-ratio: 1/1; position: absolute; bottom: -28px; right: 0; z-index: 2; border: 6px solid #fff; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--slate); margin-bottom: 16px; font-size: 1.0625rem; }
.about-points { list-style: none; margin: 28px 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink); font-weight: 500; }
.about-points li::before { content: '\2713'; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

/* PROCESS */
.process { background: var(--navy-deep); color: #fff; }
.process h2 { color: #fff; }
.process .section-head .lede { color: #cfd9ee; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rad-lg); padding: 32px 24px 28px; position: relative; }
.process-step .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--amber); color: var(--navy-deep); border-radius: 12px; font-weight: 800; font-size: 1.25rem; font-family: 'Archivo', sans-serif; letter-spacing: -.04em; margin-bottom: 18px; }
.process-step h3 { color: #fff; font-size: 1.1875rem; margin-bottom: 8px; }
.process-step p { color: #cfd9ee; font-size: .9375rem; }

/* SERVICE AREA */
.area { background: #fff; }
.area-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
.area-content h2 { margin-bottom: 16px; }
.area-content p { color: var(--slate); margin-bottom: 24px; font-size: 1.0625rem; }
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; margin-bottom: 28px; }
.cities li { font-size: .9375rem; font-weight: 500; color: var(--navy-deep); padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.cities li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.cities a { color: inherit; }
.cities a:hover { color: var(--navy); }
.area-banner { border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4 / 3; background: url('/assets/install-photo.jpg') center/cover var(--navy-deep); }
.area-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,31,94,0) 50%, rgba(0,31,94,.7) 100%); }
.area-banner .badge { position: absolute; left: 24px; bottom: 24px; z-index: 2; background: rgba(255,255,255,.95); padding: 14px 18px; border-radius: var(--rad); font-size: .8125rem; font-weight: 600; color: var(--navy-deep); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); }
.area-banner .badge svg { width: 18px; height: 18px; color: var(--amber-dark); }

/* TESTIMONIALS */
.reviews { background: var(--cream-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--amber-dark); font-size: 1.0625rem; margin-bottom: 16px; letter-spacing: 2px; }
.review blockquote { font-family: 'Archivo', sans-serif; font-size: 1.25rem; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); margin-bottom: 24px; flex: 1; }
.review blockquote::before { content: '\201C'; }
.review blockquote::after { content: '\201D'; }
.review .who { font-size: .875rem; font-weight: 600; color: var(--navy-deep); border-top: 1px solid var(--line); padding-top: 16px; }
.review .who span { display: block; color: var(--slate-soft); font-weight: 400; font-size: .8125rem; margin-top: 2px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--blue) 100%); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background-image: url('/assets/banner-wide.jpg'); background-size: cover; background-position: center; opacity: .12; }
.cta .container { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: #dde6f5; font-size: 1.0625rem; margin-bottom: 28px; max-width: 50ch; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-card { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--rad-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.contact-card h3 { margin-bottom: 8px; }
.contact-card .sub { color: var(--slate); font-size: .9375rem; margin-bottom: 24px; }
.contact-row { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row strong { display: block; color: var(--navy-deep); font-weight: 600; }
.contact-row span { color: var(--slate); }
.contact-card .btn { width: 100%; margin-top: 20px; }

/* ================= PROSE (articles, legal, content blocks) ================= */
.prose { max-width: var(--maxw-prose); margin: 0 auto; }
.prose.wide { max-width: 860px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--slate); font-size: 1.0625rem; line-height: 1.7; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,49,146,.3); }
.prose a:hover { text-decoration-color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .55rem; }
.prose ul li::marker { color: var(--amber-dark); }
.prose blockquote { border-left: 3px solid var(--amber); background: var(--cream-soft); padding: 16px 20px; border-radius: 0 var(--rad) var(--rad) 0; }
.prose blockquote p { color: var(--ink); font-style: italic; }
.prose .lead { font-size: 1.1875rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy-deep); font-weight: 700; background: var(--bg-soft); }

/* callout box */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--amber); background: #fff; border-radius: var(--rad); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.callout h4 { color: var(--navy-deep); margin-bottom: 6px; }
.callout p { color: var(--slate); font-size: .9375rem; margin: 0; }

/* ================= FEATURE SPLIT (service / city body) ================= */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.split.flip { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } }
.split-media { border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--navy-deep); }

/* checklist */
.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .9375rem; }
.checklist li::before { content: '\2713'; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }

/* spec / fact strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 22px; box-shadow: var(--shadow-sm); }
.fact .n { font-family: 'Archivo', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; }
.fact .l { color: var(--slate); font-size: .875rem; margin-top: 4px; }

/* ================= HUB GRID (services / service-areas) ================= */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.hub-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hub-card .ic svg { width: 24px; height: 24px; }
.hub-card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.hub-card p { color: var(--slate); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.hub-card .more { font-size: .8125rem; font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.hub-card .more::after { content: '\2192'; transition: transform .15s; }
.hub-card:hover .more::after { transform: translateX(3px); }

/* ================= CROSS-LINK BLOCK (internal SEO links) ================= */
.linkblock { background: var(--bg-soft); border-top: 1px solid var(--line); }
.linkblock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .linkblock-grid { grid-template-columns: 1fr; } }
.linkblock h3 { font-size: 1.125rem; margin-bottom: 16px; }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; list-style: none; }
@media (max-width: 480px) { .link-list { grid-template-columns: 1fr; } }
.link-list a { font-size: .9rem; color: var(--slate); padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; transition: color .15s; }
.link-list a::before { content: '\2192'; color: var(--amber-dark); font-weight: 700; }
.link-list a:hover { color: var(--navy); }

/* ================= FAQ ACCORDION ================= */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--rad); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.0625rem; color: var(--navy-deep); letter-spacing: -.02em; }
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s; }
.faq-q .pm svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-q .pm { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 22px; color: var(--slate); font-size: 1rem; line-height: 1.7; }
.faq-item.is-open .faq-a { max-height: 600px; }

/* ================= COST CALCULATOR ================= */
.calc { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1.2fr .8fr; }
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form { padding: 32px; display: grid; gap: 22px; }
.calc-q .calc-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.calc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-opt { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--rad); background: #fff; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .875rem; color: var(--navy-deep); text-align: left; transition: border-color .15s, background .15s; cursor: pointer; }
.calc-opt:hover { border-color: var(--amber); background: var(--cream-soft); }
.calc-opt.is-active { border-color: var(--navy); background: rgba(0,49,146,.05); }
.calc-out { background: var(--navy-deep); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.calc-out .calc-eye { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.calc-range { font-family: 'Anton', sans-serif; font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1; letter-spacing: -.01em; }
.calc-note { color: #cfd9ee; font-size: .875rem; margin-top: 14px; line-height: 1.55; }
.calc-out .btn { margin-top: 22px; width: 100%; }

/* ================= CONTACT FORM + MAP ================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.lead-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 30px; box-shadow: var(--shadow-md); }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .lead-form .row2 { grid-template-columns: 1fr; } }
.lead-form label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--rad); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--ink); background: #fff; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,49,146,.12); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form .btn { width: 100%; }
.form-status { font-size: .875rem; min-height: 18px; }
.form-status.ok { color: #15803d; font-weight: 600; }
.form-status.err { color: #b91c1c; font-weight: 600; }
.map-embed { border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact-aside { display: grid; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); }

/* ================= FOOTER ================= */
.site-footer { background: #06112e; color: #b3becf; padding: 72px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand .wordmark { color: #fff; }
.footer-brand .brand .wordmark span { color: var(--amber); }
.footer-brand p { color: #8c98ad; max-width: 36ch; line-height: 1.6; }
.footer-col h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #b3becf; transition: color .15s; }
.footer-col a:hover { color: var(--amber); }
.legal { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: #6e7a93; }
.legal a { color: #b3becf; }
.legal a:hover { color: var(--amber); }

/* ================= SCROLL REVEAL ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= QUOTE QUIZ MODAL (injected by quiz.js) ================= */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(6, 17, 46, 0); backdrop-filter: blur(0px); display: none; align-items: center; justify-content: center; padding: 24px; transition: background .2s ease, backdrop-filter .2s ease; }
.modal-backdrop.is-open { display: flex; background: rgba(6, 17, 46, .72); backdrop-filter: blur(8px); }
.modal { background: #fff; border-radius: var(--rad-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow: hidden; display: flex; flex-direction: column; position: relative; transform: translateY(20px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-header { padding: 24px 28px 20px; border-bottom: 1px solid var(--line); background: var(--cream-soft); position: relative; }
.modal-header .step-label { font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 8px; }
.modal-header h3 { font-size: 1.5rem; line-height: 1.15; margin: 0; }
.modal-header .sub { font-size: .9375rem; color: var(--slate); margin-top: 6px; }
.modal-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,49,146,.08); }
.modal-progress-fill { height: 100%; background: var(--amber); width: 20%; transition: width .3s cubic-bezier(.2,.8,.2,1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,31,94,.06); display: inline-flex; align-items: center; justify-content: center; color: var(--navy-deep); transition: background .15s ease; cursor: pointer; }
.modal-close:hover { background: rgba(0,31,94,.14); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 28px; overflow-y: auto; flex: 1; }
.modal-step { display: none; }
.modal-step.is-active { display: block; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .options-grid { grid-template-columns: 1fr; } }
.option { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border: 1.5px solid var(--line); border-radius: var(--rad); cursor: pointer; background: #fff; transition: border-color .15s ease, background .15s ease, transform .12s ease; text-align: left; font-family: inherit; width: 100%; }
.option:hover { border-color: var(--amber); background: var(--cream-soft); }
.option:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.option.is-selected { border-color: var(--navy); background: rgba(0,49,146,.04); }
.option .ic-circle { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--cream); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; }
.option .ic-circle svg { width: 18px; height: 18px; }
.option.is-selected .ic-circle { background: var(--navy); color: #fff; }
.option .label { font-weight: 700; font-size: .9375rem; color: var(--navy-deep); line-height: 1.25; font-family: 'Archivo', sans-serif; letter-spacing: -.01em; }
.option .label .desc { display: block; font-weight: 400; font-size: .8125rem; color: var(--slate); margin-top: 2px; letter-spacing: 0; font-family: 'Inter', sans-serif; }
.option .check { margin-left: auto; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s ease, background .15s ease; }
.option .check svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .15s; }
.option.is-selected .check { background: var(--navy); border-color: var(--navy); }
.option.is-selected .check svg { opacity: 1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--rad); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,49,146,.12); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field .err { display: none; font-size: .8125rem; color: #b91c1c; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #dc2626; }
.field.has-error .err { display: block; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--line); background: var(--bg-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-footer .step-meta { font-size: .8125rem; color: var(--slate); font-weight: 500; }
.modal-footer .actions { display: flex; gap: 10px; }
.btn-back { background: transparent; color: var(--slate); border: 0; padding: 10px 14px; font-family: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; border-radius: var(--rad); }
.btn-back:hover { background: rgba(0,31,94,.06); color: var(--navy-deep); }
.btn-back:disabled { opacity: .4; cursor: not-allowed; }
.modal-step .step-success { text-align: center; padding: 24px 12px; }
.modal-step .step-success .check-large { width: 64px; height: 64px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.modal-step .step-success .check-large svg { width: 32px; height: 32px; stroke-width: 3; }
.modal-step .step-success h3 { margin-bottom: 10px; }
.modal-step .step-success p { color: var(--slate); margin-bottom: 20px; }
.modal-step .step-success .next-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
