:root {
  --bg: #f5f1e8;
  --bg-soft: #fbf8f1;
  --text: #171717;
  --muted: #666153;
  --panel: #ffffff;
  --panel-dark: #181614;
  --line: rgba(23, 23, 23, 0.1);
  --accent: #c9a45b;
  --accent-strong: #b88d39;
  --shadow: 0 20px 55px rgba(24, 22, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: #12100f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.topbar a {
  color: #f4deb0;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0a0908;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 222, 176, 0.14);
}

.site-header nav { color: rgba(255, 255, 255, 0.82); }
.site-header nav a { color: rgba(255, 255, 255, 0.82); }
.site-header nav a:hover { color: var(--accent); }
.site-header .button-small {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #17130d;
  border: none;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img,
.footer-logo {
  width: 240px;
  height: auto;
}

.footer-logo {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

nav a:hover,
.site-footer a:hover,
.article-card a:hover,
.blog-list a:hover {
  color: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #17130d;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(184, 141, 57, 0.24);
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  padding: 0.8rem 1.1rem;
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(23, 23, 23, 0.14);
  color: var(--text);
  box-shadow: none;
}

.button-full {
  width: 100%;
}

.hero {
  padding: 0;
}

.hero-reference {
  background:
    linear-gradient(rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.45)),
    url("./assets/hero-bg.png") center/cover no-repeat;
}

.hero-stage,
.two-col,
.footer-grid,
.cta-box {
  display: grid;
  gap: 2rem;
}

.hero-stage {
  min-height: 470px;
  place-items: center;
  padding: 3.25rem 0;
}

.hero-box {
  width: min(760px, 100%);
  background: rgba(24, 24, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  border-radius: 0;
}

.hero-box-inner {
  padding: 2rem;
  text-align: center;
}

.hero-box h1,
.section h2,
.cta-box h2,
.blog-shell h1,
.article-card h1 {
  margin: 0 0 1rem;
  line-height: 1.05;
}

.hero-box h1 {
  color: #fffdf8;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  text-transform: uppercase;
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-box p,
.section-heading p,
.card p,
.feature-panel p,
.cost-card p,
.site-footer p,
.blog-intro p,
.article-card p,
.article-card li,
.form-note {
  color: var(--muted);
}

.hero-box p {
  max-width: 620px;
  margin: 0 auto 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-eyebrow {
  color: #f2d697;
}

.hero-house {
  display: block;
  width: 96px;
  height: 64px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

@media (min-width: 900px) {
  .hero-house { width: 116px; height: 76px; }
}

.hero-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  max-width: 640px;
  margin: 1.35rem auto 1rem;
}

.hero-inline-form input {
  margin-top: 0;
  background: #ffffff;
}

.hero-mini-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-mini-proof span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.as-seen-bar {
  background: #fffdf8;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.as-seen-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 0;
}

.as-seen-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5f594d;
}

.as-seen-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-pill {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(23, 23, 23, 0.06);
  background: #f7f2e9;
  color: #5b5448;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.network-logos {
  align-items: stretch;
}

.network-logo {
  min-height: 64px;
  background: #fffdf8;
  padding: 0.6rem 1rem;
}

.network-logo img {
  display: block;
  max-width: 100%;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.network-logo.abc img,
.network-logo.cbs img {
  max-height: 40px;
}

.eyebrow,
.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin: 1.75rem 0;
}

.hero-points,
.check-list,
.comparison-col ul,
.post-meta,
.post-body ul {
  padding-left: 1.15rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  color: var(--muted);
}

.lead-card,
.card,
.blog-shell,
.article-card,
.feature-panel,
.cost-card,
.comparison-shell,
.cta-box {
  background: var(--panel);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.lead-card,
.card,
.blog-shell,
.article-card,
.feature-panel,
.cost-card {
  padding: 1.6rem;
}

.form-brand img {
  width: 180px;
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fffdf8;
  color: var(--text);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8a8477;
}

.seen-on-strip {
  padding: 2rem 0 2.3rem;
  background: #fffdf8;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.seen-on-grid,
.trust-grid,
.cards,
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.seen-on-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seen-on-badge {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  background: #f7f2e9;
  color: #534d42;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: 4.8rem 0;
}

.section-light {
  background: transparent;
}

.section-dark,
.final-cta {
  background: #171412;
  color: #f7f4ee;
}

.section-dark p,
.section-dark li,
.section-dark .section-heading p,
.section-dark .card p,
.final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.section-dark h2,
.section-dark h3,
.section-dark strong,
.final-cta h2 {
  color: #fffdf8;
}

/* The cost-card and feature-panel inside a dark section have WHITE backgrounds,
   so their text must stay dark for readability (override the white above). */
.section-dark .cost-card h3,
.section-dark .cost-card span,
.section-dark .feature-panel h3,
.section-dark .feature-panel li,
.section-dark .feature-panel p {
  color: var(--text);
}
.section-dark .cost-card strong {
  color: var(--accent-strong);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}

.compact-heading {
  margin-bottom: 1.35rem;
}

.center-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2,
.cta-box h2,
.blog-shell h1,
.article-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  text-align: center;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(201, 164, 91, 0.18);
  color: var(--accent-strong);
  font-weight: 800;
}

.feature-grid,
.savings-grid,
.cta-box {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-band {
  position: relative;
}

.feature-panel {
  background: #ffffff;
  border-color: rgba(23, 23, 23, 0.10);
}

.check-list li,
.comparison-col li,
.article-card li {
  margin-bottom: 0.55rem;
}

.comparison-shell {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-col {
  border-radius: 20px;
  padding: 1.4rem;
}

.muted-col {
  background: #f3eee4;
}

.accent-col {
  background: linear-gradient(180deg, rgba(201, 164, 91, 0.18), rgba(201, 164, 91, 0.08));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.chips span {
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.09);
  font-weight: 700;
  color: #4c463b;
}

.large-chips {
  justify-content: center;
}

.cost-card {
  background: #ffffff;
  border-color: rgba(23, 23, 23, 0.10);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.10);
}

.cost-row:last-child {
  border-bottom: none;
}

.placeholder-review {
  background: #fffdf8;
}

.placeholder-review p {
  font-size: 1.05rem;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-card {
  min-height: 100%;
}

.final-cta {
  padding-top: 1rem;
}

.cta-box {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer {
  padding: 3rem 0 4rem;
  background: #12100f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  align-items: start;
}

.site-footer a,
.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0.55rem;
}

.blog-page {
  min-height: 100vh;
}

.blog-hero {
  padding: 4rem 0 2rem;
}

.blog-shell,
.article-card {
  max-width: 860px;
  margin: 0 auto;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-list article {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.09);
}

.blog-list article:last-child {
  border-bottom: none;
}

.kicker {
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--muted);
}

.article-wrap {
  padding: 2rem 0 5rem;
}

.article-card strong,
.article-card h2,
.article-card h3,
.blog-list h3,
.site-footer h3,
.cost-card h3,
.feature-panel h3,
.comparison-col h3,
.lead-card h2 {
  color: var(--text);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--accent-strong);
  font-weight: 800;
}

@media (max-width: 960px) {
  nav {
    display: none;
  }

  .feature-grid,
  .savings-grid,
  .cta-box,
  .footer-grid,
  .faq-grid,
  .comparison-shell,
  .as-seen-inner {
    grid-template-columns: 1fr;
  }

  .hero-inline-form {
    grid-template-columns: 1fr;
  }

  .hero-box h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .three-col,
  .seen-on-grid,
  .as-seen-logos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img,
  .footer-logo {
    width: 190px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1140px, calc(100% - 1.25rem));
  }

  .lead-card,
  .card,
  .blog-shell,
  .article-card,
  .feature-panel,
  .cost-card,
  .comparison-shell,
  .cta-box {
    border-radius: 20px;
  }
}

/* ============================================================ */
/*  City landing pages (generated from _build/cities.json)      */
/* ============================================================ */

.hero-city {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 7rem;
}

.city-intro {
  padding: 4rem 0;
  background: var(--bg-soft);
}
.city-intro-inner { max-width: 820px; }
.city-intro h2 { margin: 0.4rem 0 1rem; }
.city-intro p { margin-bottom: 1.1rem; color: var(--text); }

.neighborhoods {
  padding: 4rem 0;
  background: var(--bg);
}
.neighborhoods h2 { margin: 0.4rem 0 1.4rem; }
.neighborhood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  margin-bottom: 1.4rem;
}
.neighborhood-pill {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.neighborhood-note { color: var(--muted); max-width: 720px; }

.process {
  padding: 4rem 0;
  background: var(--bg-soft);
}
.process h2 { margin: 0.4rem 0 1.4rem; }
.process-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) { .process-list { grid-template-columns: 1fr; } }
.process-list li {
  counter-increment: step;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
  position: relative;
}
.process-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #17130d;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.process-list strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.process-list p { color: var(--muted); margin: 0; }

.final-cta {
  padding: 4rem 0;
  background: #12100f;
  color: #ffffff;
}
.final-cta h2 { margin: 0 0 0.8rem; color: #ffffff; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 0 1.4rem; }
.final-cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
}

/* Service areas index */
.service-areas-hero {
  padding: 4.5rem 0 3rem;
  background: var(--bg-soft);
}
.service-areas-hero h1 { margin: 0.4rem 0 0.8rem; }
.service-areas-hero p { max-width: 720px; color: var(--muted); }

.city-grid-section {
  padding: 0 0 5rem;
  background: var(--bg);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (max-width: 1100px) { .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px)  { .city-grid { grid-template-columns: 1fr; } }
.city-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 22, 20, 0.10);
  border-color: var(--accent);
}
.city-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  color: var(--accent-strong);
}
.city-card-county {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Linked neighborhood pills (cities with their own pages) */
.neighborhood-pill-link {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent-strong);
  transition: background 0.15s ease, transform 0.15s ease;
}
.neighborhood-pill-link:hover {
  background: var(--accent);
  color: #17130d;
  transform: translateY(-1px);
}
.neighborhood-pill-link::after {
  content: " →";
  opacity: 0.7;
  margin-left: 4px;
}

/* Service-areas card extra: city count badge */
.city-card-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.city-grid-note {
  margin-top: 2.2rem;
  color: var(--muted);
  max-width: 720px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================ */
/*  Mobile nav (hamburger menu, < 800px)                        */
/* ============================================================ */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem 0.7rem;
  line-height: 1;
  margin-left: auto;
}

@media (max-width: 800px) {
  .site-header .nav {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.75rem 0;
  }
  .site-header .brand img { width: 200px; }
  .site-header .hamburger { display: inline-block; }
  .site-header .button-small {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
  .site-header nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(244, 222, 176, 0.14);
  }
  .site-header nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header .nav.open nav,
  .site-header .nav.open .button-small {
    display: flex;
  }
  .site-header .nav.open .button-small {
    display: inline-block;
  }
}
