/* ─── PERFORMANCE & CORE WEB VITALS ─────────────────── */
@font-face { font-display: swap; } /* prevent FOIT */

/* content-visibility: auto defers offscreen render — big LCP/INP win */
.services, .reviews, .brands, footer { content-visibility: auto; contain-intrinsic-size: 0 400px; }

/* Reduce CLS: reserve space for dynamic elements */
.hero { min-height: 400px; }
.card-img { contain: strict; }

/* ─── CITY PAGE STYLES ───────────────────────────────── */
.city-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, var(--blue) 60%, #1a2744 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 24px 56px;
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(30,106,191,.35) 0%, transparent 70%);
}
.city-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: auto; }
.city-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.city-hero p { font-size: 1.05rem; opacity: .9; margin-bottom: 24px; line-height: 1.65; }
.city-hero .distance-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.city-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.city-service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.city-service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.city-service-card .cs-icon { font-size: 1.8rem; flex-shrink: 0; }
.city-service-card h3 { font-size: 0.98rem; color: var(--navy); margin-bottom: 4px; }
.city-service-card p { font-size: 0.84rem; color: var(--gray-mid); line-height: 1.5; margin-bottom: 6px; }
.city-service-card a { font-size: 0.82rem; color: var(--blue); font-weight: 600; }

.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--navy);
  color: var(--white);
}
.stat-item { padding: 28px 40px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-item .lbl { font-size: 0.82rem; opacity: .8; margin-top: 4px; }

.area-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-pill { background: var(--white); border: 1px solid #dde; border-radius: 6px; padding: 8px 16px; font-size: 0.85rem; color: var(--gray-dark); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.area-pill a { color: var(--blue); }
.area-pill a:hover { text-decoration: underline; }

/* ─── AMP PAGE OVERRIDES ─────────────────────────────── */
.amp-notice { background: var(--blue); color: #fff; text-align: center; padding: 8px; font-size: 0.8rem; }
.amp-notice a { color: #cce; }

/* ─── RESET & ROOT ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --blue: #1e6abf;
  --blue-light: #2980d9;
  --gray-dark: #222;
  --gray-mid: #555;
  --gray-light: #f5f5f5;
  --white: #fff;
  --gold: #f1c40f;
  --shadow: 0 2px 10px rgba(0,0,0,.09);
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--gray-dark); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── TOP BAR ──────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #cce;
  font-size: 0.82rem;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cce; }
.topbar .hours span { margin-right: 16px; }

/* ─── NAVBAR ───────────────────────────────────────── */
nav {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.logo { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-dark);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { background: var(--gray-light); color: var(--blue); }
.nav-links .cta-btn {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 20px;
  padding: 8px 20px !important;
}
.nav-links .cta-btn:hover { background: var(--blue-light) !important; }

/* Dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px; box-shadow: 0 4px 12px rgba(0,0,0,.15); border-radius: 6px; overflow: hidden; }
.dropdown li a { display: block; padding: 10px 18px; font-size: 0.88rem; color: var(--gray-dark); transition: background .15s; }
.dropdown li a:hover { background: var(--gray-light); color: var(--blue); }
.nav-links > li:hover .dropdown { display: block; }
.has-arrow > a::after { content: ' ▾'; font-size: 0.7rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 3px; background: var(--gray-dark); border-radius: 2px; }

@media(max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 60px; left: 0; background: var(--white); box-shadow: 0 6px 12px rgba(0,0,0,.1); padding: 12px 0; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 24px; border-radius: 0; }
  .dropdown { position: static; box-shadow: none; display: none !important; padding-left: 16px; }
  .topbar { padding: 6px 16px; }
}

/* ─── SHARED SECTION ────────────────────────────────── */
section { padding: 64px 24px; }
.container { max-width: 1200px; margin: auto; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.section-title p { color: var(--gray-mid); font-size: 1rem; max-width: 640px; margin: auto; }
.section-title .underline { width: 60px; height: 4px; background: var(--blue); border-radius: 2px; margin: 10px auto 0; }

/* ─── BUTTONS ───────────────────────────────────────── */
.btn { display: inline-block; padding: 13px 32px; border-radius: 30px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 10px; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #e8f1fb; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #253562; }

/* ─── PAGE HERO BANNER ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: .9; max-width: 620px; margin: auto auto 24px; line-height: 1.6; }
.breadcrumb { font-size: 0.83rem; opacity: .7; margin-bottom: 14px; }
.breadcrumb a { color: #cce; }
.breadcrumb span { margin: 0 6px; }

/* ─── SERVICE LIST CARDS ─────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.s-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}
.s-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.s-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.s-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.s-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.6; }

/* ─── WHY CHOOSE US GRID ─────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why-card { text-align: center; padding: 28px 20px; }
.why-card .w-icon { font-size: 2.6rem; margin-bottom: 14px; }
.why-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.6; }

/* ─── PROCESS STEPS ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.step { text-align: center; padding: 32px 20px; position: relative; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.step p { font-size: 0.85rem; color: var(--gray-mid); }

@media(max-width: 640px) { .step::after { display: none; } }

/* ─── CTA SECTION ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { opacity: .9; margin-bottom: 28px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── PRIVACY BADGE ──────────────────────────────────── */
.privacy {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
}
.privacy h3 { font-size: 1.4rem; margin-bottom: 10px; }
.privacy p { opacity: .85; max-width: 620px; margin: auto; line-height: 1.6; }

/* ─── REVIEWS ────────────────────────────────────────── */
.review-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-card { min-width: 300px; background: var(--gray-light); border-radius: 12px; padding: 24px; scroll-snap-align: start; border-left: 4px solid var(--blue); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.review-text { font-size: 0.9rem; line-height: 1.6; color: var(--gray-mid); margin-bottom: 14px; }
.reviewer { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.reviewer span { font-weight: 400; color: var(--gray-mid); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer { background: var(--gray-dark); color: #ccc; padding: 48px 24px 24px; }
.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; border-bottom: 2px solid var(--blue); display: inline-block; padding-bottom: 4px; }
.footer-col p, .footer-col li { font-size: 0.88rem; line-height: 2; }
.footer-col a { color: #aac; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 0.9rem; color: #fff; font-weight: 700;
  transition: background .2s;
}
.social-links a:hover { background: var(--blue); }
.footer-bottom {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid #444;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
}

/* ─── PHONE FLOAT ────────────────────────────────────── */
.phone-float {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--blue); color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 999; transition: background .2s, transform .2s;
}
.phone-float:hover { background: var(--blue-light); transform: scale(1.1); }

/* ─── MISC ───────────────────────────────────────────── */
.bg-light { background: var(--gray-light); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }

@media(max-width: 600px) {
  section { padding: 40px 16px; }
  .section-title h2 { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .step::after { display: none; }
}
