/* ============================================================
   local-pages.css
   Shared styles for all neighborhood/city landing pages.
   Link this AFTER styles.css on every local landing page.
   Page-specific overrides (callout colors, etc.) go in a
   small <style> block directly in the page file.
   ============================================================ */

/* ── Nav logo circle (matches blog.html) ── */
.page-logo-circle {
  width: 90px; height: 90px;
  margin-top: -11px; margin-bottom: -11px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.page-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Breadcrumb ── */
.breadcrumb {
  background: #f4f7fb;
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Local hero ── */
.local-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 60%, #1a5276 100%);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  color: #fff;
}
.local-hero .local-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.local-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #fff;
}
.local-hero h1 em { color: #7fc8d5; font-style: normal; }
.local-hero .local-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.local-hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
}
.local-hero-trust span::before { content: "✓  "; color: #7fc8d5; }
.local-hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Section backgrounds ── */
.section-light { background: #fff; }
.section-muted { background: #f4f7fb; }
.section-dark  { background: #111827; }

/* ── How It Works layout ── */
.how-it-works-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.how-steps { display: flex; flex-direction: column; gap: 1.75rem; }
.how-step  { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 2.2rem; height: 2.2rem;
  background: #2d7a75;
  color: #fff;
  border-radius: 50%;
  font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body strong { display: block; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.3rem; }
.step-body p      { font-size: 0.9rem; color: #4a5568; line-height: 1.65; margin: 0; }

/* Visit includes */
.visit-includes-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: #2d7a75; margin-bottom: 1rem;
}
.visit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.visit-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
}
.visit-icon      { font-size: 1.4rem; margin-bottom: 0.4rem; }
.visit-card strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.25rem; }
.visit-card p    { font-size: 0.8rem; color: #6b7280; line-height: 1.55; margin: 0; }

/* ── Neighborhood callout box ── */
.local-callout {
  background: #f0fdf4;
  border-left: 4px solid #2d7a75;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
}
.local-callout p {
  font-size: 0.92rem; color: #374151;
  line-height: 1.65; margin: 0;
}
.local-callout strong { color: var(--navy); }

/* ── Pricing block (dark card style) ── */
.local-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.local-plan-card {
  background: #1e2a3a;
  border: 2px solid #2d3748;
  border-radius: 12px;
  padding: 1.25rem 1rem 1.1rem;
  text-align: center;
  transition: border-color 0.2s;
}
.local-plan-card.featured { border-color: #4a90d9; background: #162035; }
.local-plan-card .plan-freq {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 0.5rem;
}
.local-plan-card.featured .plan-freq { color: #7fc8d5; }
.local-plan-card .plan-price {
  font-size: 2rem; font-weight: 900; color: #fff; line-height: 1;
}
.local-plan-card .plan-unit { font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem; }
.local-plan-badge {
  display: inline-block; font-size: 0.65rem;
  background: #4a90d9; color: #fff;
  border-radius: 50px; padding: 0.15rem 0.6rem;
  font-weight: 700; margin-top: 0.5rem;
}
.pricing-section-wrap {
  background: #111827;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-top: 1.25rem;
}
.pricing-section-wrap h3    { color: #fff; font-size: 1.3rem; margin-bottom: 0; }
.pricing-section-wrap p     { color: #94a3b8; font-size: 0.88rem; margin-top: 0.4rem; margin-bottom: 0; }
.pricing-cta-row {
  margin-top: 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
}
.pricing-cta-row .pricing-note { font-size: 0.8rem; color: #64748b; }

/* ── FAQ (details/summary) ── */
.local-faq { margin-top: 2rem; }
.local-faq details { border-bottom: 1px solid #e2e8f0; padding: 0.9rem 0; }
.local-faq summary {
  font-weight: 700; font-size: 0.95rem; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.local-faq summary::-webkit-details-marker { display: none; }
.local-faq summary::after { content: "+"; font-size: 1.2rem; color: #4a90d9; flex-shrink: 0; }
.local-faq details[open] summary::after { content: "−"; }
.local-faq details p {
  font-size: 0.9rem; color: #4a5568;
  line-height: 1.7; margin: 0.75rem 0 0.25rem;
}

/* ── Nearby service area pill links ── */
.nearby-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem;
}
.nearby-grid a {
  display: inline-block;
  background: #f4f7fb; border: 1px solid #d1d9e6;
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.nearby-grid a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── CTA strip ── */
.cta-strip {
  background: linear-gradient(135deg, #1e3a5f, #2d7a75);
  text-align: center; padding: 3rem 1.5rem; color: #fff;
}
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 0.5rem; }
.cta-strip p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 1.5rem; }
.cta-strip-btns { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ── Inline contact form (used on local pages) ── */
.local-contact-wrap {
  background: var(--cream, #fdf8f2);
  padding: 3rem 1.5rem;
}
.local-contact-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.local-contact-copy h2  { color: var(--navy); margin-bottom: 0.75rem; }
.local-contact-copy p   { font-size: 0.95rem; color: #4a5568; line-height: 1.7; }
.local-contact-copy ul  { list-style: none; padding: 0; margin-top: 1rem; }
.local-contact-copy ul li {
  padding: 0.35rem 0; font-size: 0.9rem; color: #374151;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 0.5rem;
}
.local-contact-copy ul li::before { content: "✓"; color: #2d7a75; font-weight: 900; }

/* ── Footer map override for local pages ── */
.footer-map { flex: 1 1 280px; min-width: 220px; display: flex; flex-direction: column; }
.footer-map h4 {
  color: #a8c4e0; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.footer-map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); flex: 1; }
.footer-map-note { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.6rem; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .local-contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .how-it-works-layout { grid-template-columns: 1fr; gap: 2rem; }
  .visit-cards          { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .local-hero           { padding: 2.5rem 1.25rem 2rem; }
  .pricing-section-wrap { padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  .visit-cards          { grid-template-columns: 1fr; }
}
