/* ============================================
   Garage Door Repair San Diego, style.css
   Navy B palette
   ============================================ */

:root {
  --navy-1: #1e3a5f;
  --navy-2: #2d4a6f;
  --navy-3: #0f2742;
  --navy-soft: #f4f7fb;
  --blue: #0a66c2;
  --blue-dark: #084b91;
  --green: #16a34a;
  --green-dark: #128a3e;
  --amber: #d97706;
  --red: #dc2626;
  --text: #1a2233;
  --text-soft: #475467;
  --line: #e3e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --shadow-sm: 0 1px 2px rgba(15, 39, 66, 0.06), 0 1px 3px rgba(15, 39, 66, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 39, 66, 0.08), 0 2px 4px rgba(15, 39, 66, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 39, 66, 0.12), 0 4px 12px rgba(15, 39, 66, 0.06);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

h1, h2, h3, h4 {
  margin: 0 0 16px;
  color: var(--navy-3);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-2); }

p { margin: 0 0 14px; }

ul { margin: 0 0 16px; padding-left: 22px; }
ul li { margin-bottom: 6px; }

strong { color: var(--navy-3); font-weight: 700; }

/* ============================================
   STICKY BOTTOM BAR (universal, desktop + mobile)
   ============================================ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy-1) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 -8px 24px rgba(15, 39, 66, 0.18);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  transition: background 0.18s;
}
.sticky-bar:hover { color: #fff; background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-3) 100%); }

.sb-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.sb-dot {
  width: 9px;
  height: 9px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: sbPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes sbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.sb-text {
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-text strong { color: #ffd86b; font-weight: 700; }

.sb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  transition: background 0.15s, transform 0.15s;
}
.sticky-bar:hover .sb-cta { background: var(--green-dark); transform: translateY(-1px); }

/* On mobile: stack info above button, full width feel */
@media (max-width: 700px) {
  .sticky-bar {
    padding: 10px 14px;
    gap: 10px;
  }
  .sb-info { gap: 8px; }
  .sb-text {
    font-size: 12px;
    white-space: normal;
    line-height: 1.35;
  }
  .sb-cta {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* Compensate for fixed bar: bottom padding on body */
body { padding-bottom: 64px; }
@media (max-width: 700px) { body { padding-bottom: 76px; } }

/* ============================================
   HEADER
   ============================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 700;
}
.logo:hover { color: inherit; }
.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-text strong { font-size: 16px; color: var(--navy-3); white-space: nowrap; }
.logo-sub { font-size: 11px; color: var(--text-soft); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
.nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

/* Burger button (mobile only) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--navy-3);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.18s, top 0.22s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { padding: 18px 18px; gap: 12px; }
  .logo-mark { width: 38px; height: 38px; font-size: 19px; }
  .logo-text strong { font-size: 14px; }
  .logo-sub { font-size: 10px; }
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 66, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  background: #fff;
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(15, 39, 66, 0.18);
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}
.drawer-close {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.drawer-close:hover { background: var(--line-soft); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  flex: 1;
}
.drawer-nav a {
  padding: 14px 24px;
  color: var(--navy-3);
  font-weight: 600;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.12s, color 0.12s;
}
.drawer-nav a:hover {
  background: var(--navy-soft);
  color: var(--blue);
}
.drawer-nav a:last-child { border-bottom: none; }

.drawer-cta {
  margin: 0 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}
.drawer-cta:hover { background: var(--green-dark); color: #fff; }
.dc-num { display: block; font-size: 16px; line-height: 1.2; }
.dc-sub { display: block; font-size: 12px; opacity: 0.88; font-weight: 500; margin-top: 3px; }

.drawer-foot {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.df-row {
  font-size: 12px;
  color: var(--text-soft);
}
.df-row strong { color: var(--navy-3); font-weight: 700; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-call:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.38);
}
.btn-call.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-call.btn-large { padding: 18px 36px; font-size: 18px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-soft) 0%, #fff 60%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content { padding: 8px 0; }
.hero-badge {
  display: inline-block;
  background: rgba(10, 102, 194, 0.1);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.65;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 26px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-cta-meta {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}
.hero-trust {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.trust-item { display: flex; flex-direction: column; line-height: 1.3; }
.trust-item strong { color: var(--navy-3); font-size: 17px; font-weight: 700; }
.trust-item span { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

.hero-proof { position: relative; }
.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
}
.proof-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.proof-check {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proof-text { display: flex; flex-direction: column; line-height: 1.3; }
.proof-label {
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.proof-tag {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 32px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .hero-trust { gap: 18px; flex-wrap: wrap; }
}

/* ============================================
   PRICE STRIP
   ============================================ */
.pricestrip {
  background: var(--navy-3);
  color: #fff;
  padding: 24px 0;
}
.pricestrip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.ps-item:last-child { border-right: none; }
.ps-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  font-weight: 600;
  margin-bottom: 6px;
}
.ps-price {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.ps-price strong { color: #ffd86b; font-weight: 800; }
.ps-meta {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 4px;
}
.ps-highlight .ps-price { color: #ffd86b; }
.ps-highlight {
  background: linear-gradient(135deg, rgba(255,216,107,0.08), transparent);
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .pricestrip-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ps-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 14px; }
  .ps-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 6px; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 64px 0; }
.section-light { background: var(--bg-alt); }

.section-head { margin-bottom: 40px; max-width: 820px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(10, 102, 194, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 12px; }
.h2-accent { color: var(--blue); }
.section-lead {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 0;
}
.section-lead-center { margin-left: auto; margin-right: auto; }

.section-cta {
  margin-top: 36px;
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-cta p { margin-bottom: 16px; color: var(--text); font-size: 15px; }

/* ============================================
   PROBLEMS REDESIGN
   ============================================ */
.problems-redesign {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.problem-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.problem-row:hover { box-shadow: var(--shadow-md); }

.problem-row-emergency {
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
}

.problem-row-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.problem-row-head h3 {
  margin: 0;
  font-size: 20px;
  color: var(--navy-3);
}
.prh-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
}
.prh-icon-blue { background: rgba(10, 102, 194, 0.1); color: var(--blue); }
.prh-icon-amber { background: rgba(217, 119, 6, 0.1); color: var(--amber); }

.problem-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.prb-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px 18px 22px;
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 2px rgba(15, 39, 66, 0.04);
}
.problem-row-emergency .prb-card {
  border-left-color: var(--red);
  background: #fff;
}
.problem-row:not(.problem-row-emergency) .prb-card {
  background: var(--navy-soft);
  box-shadow: none;
}
.prb-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--navy-3);
  font-weight: 700;
  line-height: 1.35;
}
.prb-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .problem-row { padding: 20px; }
  .problem-row-head h3 { font-size: 17px; }
  .problem-row-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(10, 102, 194, 0.2);
}
.service-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
  overflow: hidden;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 {
  margin: 0 22px 12px;
  font-size: 19px;
}
.service-card p {
  margin: 0 22px 12px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
}
.service-card ul {
  margin: 0 22px 18px;
  padding-left: 18px;
}
.service-card ul li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.service-card .btn-call {
  margin: auto 22px 22px;
  align-self: flex-start;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 22px 0;
  margin-bottom: 12px;
}
.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.service-tag-emergency { background: rgba(220, 38, 38, 0.1); color: var(--red); }
.service-tag-price { background: rgba(22, 163, 74, 0.12); color: var(--green-dark); }
.service-tag-repair { background: rgba(10, 102, 194, 0.1); color: var(--blue); }
.service-tag-cosmetic { background: rgba(139, 92, 246, 0.1); color: #6d28d9; }
.service-tag-tune { background: rgba(217, 119, 6, 0.1); color: var(--amber); }
.service-tag-install { background: rgba(15, 39, 66, 0.08); color: var(--navy-3); }
.service-tag-smart { background: rgba(6, 148, 162, 0.1); color: #0694a2; }
.service-tag-commercial { background: rgba(120, 53, 15, 0.08); color: #92400e; }

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   BRANDS PILLS
   ============================================ */
.section-brands { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.brands-pills {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.brand-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 20px;
  border-radius: var(--radius);
  min-width: 150px;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s;
}
.brand-pill:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(10, 102, 194, 0.25);
}
.bp-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-3);
  letter-spacing: -0.01em;
}
.bp-tag {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 4px;
  font-weight: 500;
}
.brand-pill-tier1 {
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
  border: 1px solid var(--navy-3);
  min-width: 170px;
}
.brand-pill-tier1 .bp-name { color: #fff; font-size: 17px; }
.brand-pill-tier1 .bp-tag { color: rgba(255,255,255,0.75); }
.brand-pill-tier1:hover { border-color: var(--blue); }

.brands-foot {
  text-align: center;
  margin: 28px auto 0;
  font-size: 14px;
  color: var(--text-soft);
  max-width: 600px;
}

@media (max-width: 700px) {
  .brand-pill { min-width: 130px; padding: 12px 16px; }
  .brand-pill-tier1 { min-width: 140px; }
  .bp-name { font-size: 15px; }
}

/* ============================================
   LOCAL CONDITIONS
   ============================================ */
.section-local {
  background: linear-gradient(180deg, #fff 0%, var(--navy-soft) 100%);
}
.local-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.local-intro { position: sticky; top: 90px; }
.local-intro h2 { font-size: 30px; }
.local-intro p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

.local-photo {
  position: relative;
  margin: 22px 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 60%, #4a6fa5 100%);
}
.local-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.local-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 39, 66, 0.55) 100%);
  pointer-events: none;
}
.local-photo-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(15, 39, 66, 0.55);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
}

.local-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.local-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.local-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 102, 194, 0.18);
}
.lf-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 4px;
}
.lf-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.lf-body p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 0;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .local-wrap { grid-template-columns: 1fr; gap: 32px; }
  .local-intro { position: static; }
  .local-feature { padding: 20px; gap: 16px; }
  .lf-num { font-size: 26px; }
}

/* ============================================
   COVERAGE / MAP
   ============================================ */
.section-coverage { background: var(--bg-alt); }
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  border: 1px solid var(--line);
}
.coverage-map {
  height: 560px;
  width: 100%;
  background: #e3e8f0;
}
.map-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius);
  display: flex;
  gap: 24px;
  box-shadow: var(--shadow-md);
  z-index: 400;
  border: 1px solid var(--line);
}
.mo-stat { display: flex; flex-direction: column; line-height: 1.3; }
.mo-stat strong { font-size: 16px; color: var(--navy-3); font-weight: 700; }
.mo-stat span { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* Van marker */
.van-marker { background: transparent; border: none; }
.van-marker-inner {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 3px 6px rgba(15, 39, 66, 0.35));
  animation: vanPulse 3s ease-in-out infinite;
}
@keyframes vanPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.van-marker-anchor .van-marker-inner {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 6px 14px rgba(22, 163, 74, 0.5));
  animation: vanAnchorPulse 2.4s ease-in-out infinite;
}
@keyframes vanAnchorPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Leaflet popup tweaks */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.leaflet-popup-content {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 16px;
  color: var(--text);
}
.leaflet-popup-content strong { color: var(--navy-3); display: block; margin-bottom: 4px; }

@media (max-width: 700px) {
  .coverage-map { height: 420px; }
  .map-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    gap: 12px;
    justify-content: space-between;
  }
  .mo-stat strong { font-size: 14px; }
}

/* Neighborhoods tile grid */
.neighborhoods-heading {
  text-align: center;
  font-size: 18px;
  color: var(--navy-3);
  margin-bottom: 24px;
}
.cities-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}
.city-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s;
}
.city-tile:hover {
  background: var(--navy-soft);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.city-tile-anchor {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}
.city-tile-anchor:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}
.city-tile-anchor .ct-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.city-tile-anchor:hover .ct-icon {
  background: #fff;
  color: var(--green-dark);
}
.ct-icon {
  width: 28px;
  height: 28px;
  background: rgba(10, 102, 194, 0.08);
  color: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.city-tile:hover .ct-icon { background: var(--blue); color: #fff; }
.ct-name { line-height: 1.3; }

@media (max-width: 700px) {
  .cities-tile-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
  .city-tile { padding: 10px; font-size: 13px; }
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.section-process { background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%); }
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
}
.pt-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.2s;
}
.pt-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(10, 102, 194, 0.2);
}
.pt-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.pt-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 102, 194, 0.25);
}
.pt-time {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(10, 102, 194, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pt-body h3 { font-size: 18px; margin-bottom: 8px; }
.pt-body p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0 0 4px; font-size: 18px; }
.team-role {
  display: block;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-card p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.55;
}
.team-cert {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.1);
  color: var(--green-dark);
}

/* ============================================
   CTA BANDS
   ============================================ */
.section-cta-band {
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy-1) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.section-cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.section-cta-band p {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  margin-bottom: 24px;
}
.section-cta-band p strong,
.section-cta-band h2 strong {
  color: #ffd86b;
  font-weight: 700;
}
.cta-band-meta {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.section-final-cta {
  background: var(--navy-3);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.section-final-cta h2 { color: #fff; font-size: 28px; }
.section-final-cta p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 24px; }
.section-final-cta p strong,
.section-final-cta h2 strong {
  color: #ffd86b;
  font-weight: 700;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.rb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding: 4px 8px;
}
.rb-item:last-child { border-right: none; }
.rb-item strong {
  font-size: 14px;
  color: var(--navy-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.rb-rate { font-size: 14px; color: var(--text); font-weight: 600; }
.rb-count { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

@media (max-width: 700px) {
  .reviews-bar { grid-template-columns: repeat(2, 1fr); }
  .rb-item { border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
  .rb-item:nth-last-child(-n+2) { border-bottom: none; }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-stars {
  display: block;
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
.review-name {
  display: block;
  font-weight: 700;
  color: var(--navy-3);
  font-size: 14px;
}
.review-meta {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.18s;
}
.faq-item[open] {
  border-color: rgba(10, 102, 194, 0.25);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-3);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.18s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-3);
  color: rgba(255,255,255,0.78);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.footer-brand p strong { color: #fff; font-weight: 700; }
.footer-brand strong { color: #fff; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); }
.footer-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.85);
}
.footer-col h4 { color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a strong { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-legal p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 4px 0;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 700px) {
  .section { padding: 44px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  .container { padding: 9px 18px; }
  .section-head { margin-bottom: 28px; }
  .section-lead { font-size: 15px; }
}

/* ============================================
   NEW BLOCKS (added for city pages 5000+ words)
   ============================================ */

/* Hero extended paragraph */
.hero-extended {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft, #5a6175);
  max-width: 100%;
}
.hero-extended strong {
  color: var(--text, #1e3a5f);
}

/* Brands tier blocks (city pages) */
.brands-tier-block {
  margin-bottom: 36px;
}
.brands-tier-heading {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1e3a5f;
}
.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #1e3a5f;
}
.brand-pill-secondary {
  background: #fff;
  color: #1e3a5f;
  border: 1px solid #d6dde6;
}
.brands-tier-note {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6175;
  margin: 0;
}

/* Process timeline (4 steps) */
.process-timeline {
  display: grid;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e9f0;
}
.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}
.process-step-content h3 {
  margin: 6px 0 10px 0;
  font-size: 18px;
  font-weight: 700;
}
.process-step-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5266;
}
.process-step-time {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f0f9;
  color: #0a66c2;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Reviews block */
.section-reviews {
  background: #f7f9fc;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e9f0;
}
.review-stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  line-height: 1.65;
  color: #2d3548;
  margin: 0 0 14px 0;
  font-style: italic;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid #e5e9f0;
}
.review-meta strong {
  font-size: 14px;
  color: #1e3a5f;
}
.review-meta span {
  font-size: 13px;
  color: #6a7383;
}

/* Why-choose block */
.section-why {
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.why-item {
  padding: 24px;
  background: #f7f9fc;
  border-radius: 10px;
  border-left: 3px solid #0a66c2;
}
.why-item h3 {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 700;
  color: #1e3a5f;
}
.why-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a5266;
}

/* Areas served (detailed) */
.section-areas {
  background: #f7f9fc;
}
.areas-content h3 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  color: #1e3a5f;
}
.areas-content h3:first-child {
  margin-top: 0;
}
.areas-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5266;
  margin: 0 0 14px 0;
}
.neighborhood-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: grid;
  gap: 10px;
}
.neighborhood-detail-list li {
  padding: 12px 16px;
  background: #fff;
  border-radius: 6px;
  border-left: 3px solid #0a66c2;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a5266;
}
.neighborhood-detail-list li strong {
  color: #1e3a5f;
}

/* SEO footer keywords */
.section-keywords {
  background: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid #e5e9f0;
}
.seo-footer-text h2 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #1e3a5f;
}
.seo-footer-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a5266;
  margin: 0 0 14px 0;
}
.seo-footer-text strong {
  color: #1e3a5f;
}

/* Mobile tweaks for new blocks */
@media (max-width: 700px) {
  .process-step {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .process-step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  .why-item {
    padding: 18px;
  }
  .review-card {
    padding: 18px;
  }
  .brand-pills {
    gap: 6px;
  }
  .brand-pill {
    padding: 7px 12px;
    font-size: 13px;
  }
}
