@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/static/fonts/inter-800.woff2') format('woff2'); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: #1A202C; background: #fff; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.nav { background: #fff; border-bottom: 1px solid #E2E8F0; padding: 16px 0; display: flex; align-items: center; }
.nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; font-weight: 800; color: #1565C0; text-decoration: none; flex-shrink: 0; }
/* nav-links: inline styles removed from base.html — defined here for single source of truth */
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: #4A5568; text-decoration: none; font-size: 0.9rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a.nav-emergency { color: #E8451A; font-weight: 600; }
.btn-nav { padding: 8px 20px; background: #1565C0; color: #fff !important; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer { border-top: 1px solid #E2E8F0; padding: 32px 0; text-align: center; color: #718096; font-size: 0.9rem; margin-top: 80px; }
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }

/* ── BREADCRUMB ─────────────────────────────────────────────────────────── */
.breadcrumb { background: #F1F5F9; border-bottom: 1px solid #E2E8F0; padding: 10px 0; font-size: 0.875rem; color: #64748B; }
.breadcrumb a { color: #1565C0; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── CITY HERO ──────────────────────────────────────────────────────────── */
.city-hero { background: #1565C0; color: #fff; padding: 56px 0 64px; text-align: center; }
.city-hero h1 { color: #fff; font-size: 2.25rem; margin-bottom: 12px; }
.city-sub { font-size: 1.05rem; opacity: 0.9; margin-bottom: 40px; }

/* ── LEAD FORM ──────────────────────────────────────────────────────────── */
.city-form-wrap { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 8px 40px rgba(0,0,0,0.18); text-align: left; }
.city-form h3 { color: #1A202C; font-size: 1.3rem; margin-bottom: 6px; }
.city-form > p { color: #4A5568; font-size: 0.95rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.city-form input, .city-form select, .city-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #CBD5E0; border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: #1A202C; background: #fff;
  transition: border-color 0.2s;
}
.city-form input:focus, .city-form select:focus, .city-form textarea:focus {
  outline: none; border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.city-form select { margin-bottom: 12px; cursor: pointer; }
.city-form textarea { margin-bottom: 16px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 15px; background: #E8451A; color: #fff; border: none;
  border-radius: 50px; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover { background: #c93a14; }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { background: #94A3B8; cursor: not-allowed; }
.form-note { text-align: center; font-size: 0.8rem; color: #718096; margin-top: 10px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .success-icon { width: 56px; height: 56px; background: #22C55E; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 16px; }
.form-success h3 { color: #1A202C; margin-bottom: 8px; }
.form-success p { color: #4A5568; }
.form-success .form-next-steps { text-align: left; max-width: 340px; margin: 0 auto; line-height: 1.7; }

/* Collapsed optional-fields block shared by hero-form and city-form (#W1) */
.hero-form-more, .city-form .hero-form-more { margin-bottom: 12px; }
.hero-form-more summary { cursor: pointer; font-size: 0.88rem; font-weight: 600; color: #1565C0; padding: 4px 0; list-style: none; }
.hero-form-more summary::-webkit-details-marker { display: none; }
.hero-form-more summary::before { content: "+ "; }
.hero-form-more[open] summary::before { content: "\2212 "; }
.hero-form-more__body { padding-top: 10px; display: flex; flex-direction: column; gap: 12px; }

/* ── CONTRACTORS SECTION ────────────────────────────────────────────────── */
.contractors-section { padding: 64px 0; background: #F8FAFC; }
.contractors-section h2 { margin-bottom: 32px; }
.contractors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contractor-card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contractor-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.10); border-color: #CBD5E0; }
.card-name { font-weight: 700; font-size: 1rem; color: #1A202C; line-height: 1.35; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.card-rating { font-size: 0.88rem; color: #4A5568; white-space: nowrap; }
.stars { color: #F59E0B; font-size: 0.95rem; }
.review-count { color: #718096; font-size: 0.82rem; }
.verified-badge { background: #DCFCE7; color: #166534; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.card-bio { font-size: 0.84rem; color: #4A5568; line-height: 1.55; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-address { font-size: 0.83rem; color: #718096; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.btn-website { padding: 8px 14px; border: 1.5px solid #1565C0; color: #1565C0; border-radius: 6px; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: background 0.2s, color 0.2s; }
.btn-website:hover { background: #1565C0; color: #fff; }
.btn-quote { padding: 8px 14px; background: #E8451A; color: #fff; border: none; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-quote:hover { background: #c93a14; }

/* ── SERVICES SECTION ───────────────────────────────────────────────────── */
.services-section { padding: 64px 0; background: #fff; }
.services-section h2 { margin-bottom: 32px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-item { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 8px; padding: 24px; }
.service-item strong { display: block; font-size: 1rem; color: #1A202C; margin-bottom: 8px; }
.service-item p { font-size: 0.9rem; color: #4A5568; line-height: 1.6; margin: 0; }

/* ── PRICING SECTION ────────────────────────────────────────────────────── */
.pricing-section { padding: 64px 0; background: #F8FAFC; }
.pricing-section h2 { margin-bottom: 12px; }
.pricing-section > .container > p { color: #4A5568; margin-bottom: 24px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.price-table th { background: #1565C0; color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.9rem; }
.price-table td { padding: 12px 16px; font-size: 0.9rem; border-bottom: 1px solid #E2E8F0; }
.price-table tbody tr:nth-child(even) { background: #F1F5F9; }
.price-table tbody tr:hover { background: #EFF6FF; }
.price-note { font-size: 0.85rem; color: #718096; font-style: italic; }

/* ── FAQ SECTION ────────────────────────────────────────────────────────── */
/* FAQ redesign 2026-07-17: centered card accordion (was left-hugging flat rows).
   Three markup variants share the look: .faq-item (JS), .faq-details (native,
   home), .faq-details-group (grouped, faq hub). */
.faq-section { padding: 64px 0; background: #fff; }
.faq-section h2 { margin-bottom: 36px; text-align: center; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid #E2E8F0; border-radius: 12px; background: #F8FAFC;
  margin-bottom: 12px; padding: 0 20px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #93C5FD; }
.faq-item.open {
  background: #fff; border-color: #93C5FD;
  box-shadow: 0 6px 24px rgba(21,101,192,0.10);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 0;
  font-size: 1rem; font-weight: 600; color: #1A202C; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 12px; font-family: inherit;
}
.faq-q:hover { color: #1565C0; }
.faq-item.open .faq-q { color: #1565C0; }
.faq-chevron {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #EFF6FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center no-repeat;
  transition: transform 0.25s, background-color 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background-color: #DBEAFE; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem; color: #4A5568; line-height: 1.7; padding: 0;
}
.faq-item.open .faq-a { max-height: 640px; padding-bottom: 18px; }
/* Native <details> FAQ accordion (home page) — same card look */
.faq-details {
  border: 1px solid #E2E8F0; border-radius: 12px; background: #F8FAFC;
  margin-bottom: 12px; padding: 0 20px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.faq-details:hover { border-color: #93C5FD; }
.faq-details[open] {
  background: #fff; border-color: #93C5FD;
  box-shadow: 0 6px 24px rgba(21,101,192,0.10);
}
.faq-details__q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 0; font-size: 1rem; font-weight: 600; color: #1A202C; cursor: pointer;
  list-style: none;
}
.faq-details__q::-webkit-details-marker { display: none; }
.faq-details__q::after {
  content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #EFF6FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center no-repeat;
  transition: transform 0.25s, background-color 0.2s;
}
details[open] .faq-details__q { color: #1565C0; }
details[open] .faq-details__q::after { transform: rotate(180deg); background-color: #DBEAFE; }
.faq-details__a { font-size: 0.95rem; color: #4A5568; line-height: 1.7; padding-bottom: 18px; text-align: left; }

/* ── EMERGENCY SECTION ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contractors-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .city-hero h1 { font-size: 1.6rem; }
  .city-form-wrap { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 10px 10px; }
}

/* ── HOME HERO ──────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%); color: #fff; padding: 64px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.hero-content .hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.88); margin-bottom: 28px; line-height: 1.6; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-item { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 6px 14px; font-size: 0.85rem; color: #fff; }
.hero-form-wrap { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 16px 60px rgba(0,0,0,0.22); }
.hero-form h3 { color: #1A202C; font-size: 1.3rem; margin-bottom: 20px; }
.hero-form select, .hero-form input { width: 100%; padding: 12px 14px; border: 1.5px solid #CBD5E0; border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: #1A202C; margin-bottom: 12px; }
.hero-form select:focus, .hero-form input:focus { outline: none; border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21,101,192,0.12); }

/* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-it-works { padding: 60px 0; background: #F9FAFB; }
.how-it-works h2 { text-align: center; margin-bottom: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Equal-height step cards via flexbox column stretch */
.steps-grid--equal { align-items: stretch; }
.step { text-align: center; padding: 32px 24px; background: #fff; border-radius: 12px; border: 1px solid #E2E8F0; }
.step--equal { display: flex; flex-direction: column; }
.step--equal .step-body { flex: 1; display: flex; flex-direction: column; }
.step--equal .step-body p { flex: 1; }
.step-num { width: 52px; height: 52px; background: #1565C0; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; margin: 0 auto 20px; }
.step h3 { margin-bottom: 10px; }
.step p { color: #4A5568; font-size: 0.95rem; line-height: 1.65; margin: 0; text-align: left; }

/* ── COMPARISON TABLE ───────────────────────────────────────────────────── */
.comparison-section { padding: 60px 0; background: #fff; }
.comparison-section h2 { text-align: center; margin-bottom: 40px; }
.compare-table-wrap { max-width: 800px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th { padding: 14px 20px; text-align: left; font-size: 0.9rem; font-weight: 700; background: #F1F5F9; color: #1A202C; border-bottom: 2px solid #E2E8F0; }
.compare-table .col-us { color: #1565C0; }
.compare-table .col-them { color: #94A3B8; }
.compare-table td { padding: 14px 20px; font-size: 0.95rem; border-bottom: 1px solid #E2E8F0; }
.compare-table tbody tr:hover { background: #F8FAFC; }
.compare-table td.col-us { color: #166534; font-weight: 600; }
.compare-table td.col-them { color: #64748B; }

/* ── LOCAL CONTENT (city long-form blocks) ──────────────────────────────── */
.local-content { padding: 56px 0; }
.local-content .container { max-width: 720px; }
.local-content h2 { font-size: 1.4rem; margin-bottom: 14px; }
.local-content h2:not(:first-child) { margin-top: 34px; }
.local-content p { color: #374151; line-height: 1.75; margin-bottom: 14px; font-size: 0.98rem; text-align: left; }
.local-content ul { margin: 0 0 16px 1.15rem; color: #374151; line-height: 1.7; }
.local-content li { margin-bottom: 7px; }
.local-content.alt { background: #F9FAFB; }

/* ── CITIES SECTION ─────────────────────────────────────────────────────── */
.cities-section { padding: 60px 0; background: #F9FAFB; }
.cities-section h2 { text-align: center; margin-bottom: 12px; }
.cities-sub { text-align: center; color: #4A5568; margin-bottom: 32px; }

/* Featured city cards */
.city-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto 32px; }
.city-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 10px; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.city-card:hover { border-color: #1565C0; box-shadow: 0 4px 16px rgba(21,101,192,0.12); }
.city-card__name { font-size: 0.95rem; font-weight: 600; color: #1A202C; }
.city-card__count { font-size: 0.8rem; color: #1565C0; font-weight: 500; }

/* All cities collapsible */
.all-cities-details { max-width: 1000px; margin: 0 auto; }
.all-cities-summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: #1565C0; padding: 10px 0; list-style: none; user-select: none; }
.all-cities-summary::-webkit-details-marker { display: none; }
.all-cities-summary::before { content: '+'; display: inline-block; width: 20px; height: 20px; background: #EFF6FF; border-radius: 50%; text-align: center; line-height: 20px; font-weight: 700; transition: transform 0.2s; }
details[open] .all-cities-summary::before { content: '−'; }
.all-cities-body { padding-top: 20px; }
.state-group { margin-bottom: 24px; }
.state-group__heading { font-size: 0.85rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.state-group__links { display: flex; flex-wrap: wrap; gap: 6px; }

/* Flat city link (used inside state groups and fallback grid) */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1000px; margin: 0 auto; }
.city-link { padding: 8px 14px; border: 1.5px solid #CBD5E0; border-radius: 8px; text-decoration: none; color: #1A202C; font-size: 0.85rem; font-weight: 500; text-align: center; transition: border-color 0.2s, color 0.2s, background 0.2s; white-space: nowrap; }
.city-link:hover { border-color: #1565C0; color: #1565C0; background: #EFF6FF; }

/* SEO-only link container: visually hidden but in DOM for crawlers */
.featured-city-seo-links { display: none; }

/* ── RESOURCES SECTION ──────────────────────────────────────────────────── */
.resources-section { padding: 60px 0; background: #fff; }
.resources-section h2 { text-align: center; margin-bottom: 40px; }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card { display: flex; flex-direction: column; padding: 32px 28px; border: 2px solid #E2E8F0; border-radius: 12px; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.resource-card:hover { border-color: #1565C0; box-shadow: 0 4px 20px rgba(21,101,192,0.12); }
.resource-card h3 { color: #1A202C; margin-bottom: 10px; font-size: 1.1rem; }
.resource-card p { color: #4A5568; font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.resource-link { color: #1565C0; font-weight: 600; font-size: 0.9rem; margin-top: auto; }

   Applied site-wide via base.html. Prevents layout shift, improves LCP/INP.
   ── */

/* Explicit image dimensions guard — prevents CLS when width/height missing.
   img { max-width:100%; height:auto } already set above; this reinforces it. */
img { display: block; }
/* Inline images (icons, badges) that should stay inline */
.stars, .verified-badge, .blog-cat-badge { display: inline; }

/* ── ASPECT-RATIO CONTAINERS (CLS guard for card images) ── */
/* Use .img-wrap-16x9 / .img-wrap-4x3 / .img-wrap-1x1 around <img> tags
   in card templates to lock dimensions before image loads.               */
.img-wrap-16x9 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.img-wrap-16x9 img,
.img-wrap-4x3 img,
.img-wrap-1x1 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-wrap-4x3 { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.img-wrap-1x1 { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }

/* ── SKIP LINK (accessibility + INP improvement) ── */
.skip-link {
  position: absolute; top: -40px; left: 0; background: #1565C0; color: #fff;
  padding: 8px 16px; z-index: 9999; font-size: 0.9rem; text-decoration: none;
  border-radius: 0 0 6px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── NAV MOBILE 360px FIX ── */
@media (max-width: 400px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.82rem; }
}
@media (max-width: 360px) {
  .nav-links { gap: 8px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .nav-links a { white-space: nowrap; flex-shrink: 0; }
  /* hide less-critical nav items on very narrow screens */
  .nav-links a[href="/hail-risk"] { display: none; }
  .nav-links a[href="/roof-estimator"] { display: none; }
}

/* ── TOUCH TARGET MINIMUM (INP / mobile usability) ── */
.nav-links a,
.btn-nav,
.btn-submit,
.btn-emergency,
.btn-quote,
.btn-website,
.svc-nav-link,
.city-link,
.hood-link,
.blog-cat-link,
.page-btn {
  min-height: 44px;
  min-width: 44px;
}
/* Override for tags/badges where 44px height would be visually wrong — allow smaller */
.ctag, .blog-cat-badge, .verified-badge, .scity-service-link,
.trust-item, .risk-label { min-height: auto; min-width: auto; }

/* ── content-visibility for below-fold heavy sections (CLS-safe) ── */
/* Only applied to sections that are reliably below fold on all viewports */
.footer { content-visibility: auto; contain-intrinsic-size: 0 180px; }

/* ── ACCESSIBILITY (WCAG 2.1 AA) ─────────────────────────────────────────── */

/* Visible focus outlines — :focus-visible avoids mouse-click outlines */
:focus-visible {
  outline: 3px solid #1565C0;
  outline-offset: 2px;
}

/* Override any outline:none on inputs/selects/textareas — restore via :focus-visible */
.city-form input:focus-visible,
.city-form select:focus-visible,
.city-form textarea:focus-visible,
.hero-form input:focus-visible,
.hero-form select:focus-visible {
  outline: 3px solid #1565C0;
  outline-offset: 0;
}

/* Buttons and links that previously stripped outline */
.btn-submit:focus-visible,
.btn-emergency:focus-visible,
.btn-quote:focus-visible,
.btn-website:focus-visible,
.btn-nav:focus-visible,
.faq-q:focus-visible,
.city-link:focus-visible,
.hood-link:focus-visible,
.svc-nav-link:focus-visible,
.page-btn:focus-visible,
.skip-link:focus-visible,
.logo:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid #1565C0;
  outline-offset: 2px;
}

/* 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;
}

/* Footer link contrast nudge: #718096 is ~4.0:1 on white — borderline AA for normal text.
   Nudging to #5A6475 (~4.6:1) ensures AA compliance at 0.9rem. */
.footer a[style*="color:#718096"],
.footer a[style*="color: #718096"] {
  color: #5A6475 !important;
}

