:root {
  --primary: #13294b;
  --primary-dark: #0a172c;
  --primary-light: #1e3f73;
  --accent: #e05a00;
  --accent-hover: #c24d00;
  --slate-bg: #f5f7fa;
  --text: #1e293b;
  --muted: #475569;
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #15803d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar a {
  color: #ffb380;
  text-decoration: none;
  font-weight: 700;
}

/* Sticky Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 275px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 300;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--slate-bg);
  color: var(--accent);
}

.header-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--accent-hover);
}

.mobile-menu-btn {
  display: none;
  background: var(--slate-bg);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, var(--primary-light) 100%);
  color: var(--white);
  padding: 68px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(224, 90, 0, 0.22);
  border: 1px solid var(--accent);
  color: #ffc299;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero p {
  font-size: 1.12rem;
  color: #e2e8f0;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(224, 90, 0, 0.35);
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.hero-card {
  background: var(--white);
  color: var(--text);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--slate-bg);
  padding-bottom: 10px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-card li:last-child {
  border-bottom: none;
}

/* Trust Stats Bar */
.stats-bar {
  background: var(--slate-bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* Sections & Typography */
section {
  padding: 64px 0;
}

.bg-light {
  background: var(--slate-bg);
}

.section-kicker {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-intro {
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.content-block {
  max-width: 880px;
  margin-bottom: 32px;
}

.content-block p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 1.03rem;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.94rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* SVG Diagrams */
.diagram-box {
  background: var(--slate-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  text-align: center;
}

.diagram-box svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Interactive Cost Estimator Widget */
.estimator-box {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(19, 41, 75, 0.08);
  margin-bottom: 36px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}

.estimate-result {
  background: var(--slate-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estimate-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 8px 0;
}

/* 4-Step Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.step-num {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
}

.step-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Pricing Table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cost-table th,
.cost-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cost-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.cost-table tr:nth-child(even) {
  background: #f8fafc;
}

/* Neighborhood Tags & City Links */
.neighborhood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  background: #e2e8f0;
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.city-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.city-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 15px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}

.city-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* FAQ Cards */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
}

.faq-item h3 {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: #334155;
  font-size: 0.98rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 52px 24px;
  border-radius: 12px;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  max-width: 660px;
  margin: 0 auto 26px;
  color: #e2e8f0;
  font-size: 1.08rem;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 48px 0 84px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 7px;
}

footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 15px;
  font-weight: 800;
  font-size: 1.12rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: inline-block;
  }
  .nav-links {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: 16px 20px;
    gap: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  .nav-links.active .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    min-width: 100%;
  }
  .hero-grid,
  .grid-3,
  .grid-2,
  .estimator-grid,
  .process-grid,
  .city-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 1.95rem;
  }
  .mobile-call-bar {
    display: block;
  }
}

/* Photos inside diagram boxes */
.diagram-box img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.photo-cap {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
