/* ==========================================================================
   CT Property Damage - City page template styles
   Loads after css/site.css (homepage styles) and reuses its tokens:
   --navy, --blue, --light, --border, --muted, --radius, .button, .eyebrow,
   .service-card, .service-icon, .trust-strip, .faq-item, .hero-form, footer.
   ========================================================================== */

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */

.city-hero {
  position: relative;
  color: #fff;
  padding: 30px 0 96px;
  background:
    linear-gradient(90deg, rgba(7,24,45,.96) 0%, rgba(7,24,45,.88) 50%, rgba(7,24,45,.55) 100%),
    var(--hero-img) center 55% / cover no-repeat;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 60px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255,255,255,.4);
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 700; }

.city-hero-copy { max-width: 760px; }
.city-hero .eyebrow { color: #a8caff; }

.city-hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.city-hero-copy > p {
  color: rgba(255,255,255,.9);
  font-size: 20px;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Two-column layout ---------- */

.city-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 64px;
  padding: 90px 0 100px;
}

.city-section {
  margin-bottom: 84px;
  scroll-margin-top: 140px;
}

.city-section:last-child { margin-bottom: 0; }

.city-section h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 22px;
}

.city-section > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.city-section > p a {
  color: var(--blue);
  font-weight: 700;
}

.city-section > .list-intro {
  color: var(--navy);
  font-weight: 800;
  margin: 26px 0 16px;
}

/* ---------- Intro ---------- */

.city-intro > p:first-of-type {
  font-size: 20px;
  color: var(--text);
}

.city-figure { margin-top: 34px; }

.city-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(16,36,61,.12);
}

/* ---------- Local facts ---------- */

.facts-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.facts-grid li {
  display: flex;
  gap: 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 16px;
  line-height: 1.65;
}

.fact-icon {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 11px;
}

/* ---------- Map ---------- */

.map-frame {
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--light);
  box-shadow: 0 12px 35px rgba(16,36,61,.06);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--muted);
}

/* ---------- Service highlights (3 cards) ---------- */

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

.highlight-grid .service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}

.highlight-grid .service-card h3 { font-size: 20px; }

.highlight-grid .service-card p {
  flex: 1;
  font-size: 15.5px;
}

/* ---------- Why choose (numbered cards) ---------- */

.reason-grid {
  counter-reset: reason;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.reason-card {
  counter-increment: reason;
  background: var(--light);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 12px 12px;
  padding: 26px 24px;
}

.reason-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.reason-card::before {
  content: counter(reason, decimal-leading-zero);
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #b5cdf2;
  margin-bottom: 14px;
}

.reason-card h3,
.assurance-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 8px;
}

.reason-card p,
.assurance-list p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Right choice (check list) ---------- */

.assurance-list {
  list-style: none;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.assurance-list li {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.assurance-list li:last-child { border-bottom: 0; }

.assurance-list .check {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 15px;
}

/* ---------- Services list ---------- */

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-row {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .2s ease;
}

.service-row:hover {
  border-color: #c5d9f7;
  box-shadow: 0 14px 32px rgba(16,36,61,.08);
}

.service-row .service-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  font-size: 21px;
  margin: 0;
}

.service-row h3 {
  font-family: "Manrope", sans-serif;
  font-size: 18.5px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.service-row h3 a { color: var(--navy); }
.service-row h3 a:hover { color: var(--blue); }

.service-row p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.city-section > .nearby-note {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--blue-light);
  border-radius: 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Claim review (dark panel) ---------- */

.review-panel {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #143860 100%);
  color: #fff;
  border-radius: 18px;
  padding: 52px 48px;
}

.review-panel .eyebrow { color: #a8caff; }
.review-panel h2 { color: #fff; }
.review-panel > p { color: rgba(255,255,255,.82); }
.review-panel > .list-intro { color: #fff; }

.review-checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.review-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.review-checklist .check { color: #6fdbb0; }

.review-panel > .review-disclaimer {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
}

/* ---------- Denied / underpaid callout ---------- */

.denied-callout {
  background: var(--light);
  border-left: 4px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 42px 44px;
}

/* ---------- FAQ (reuses homepage .faq-item) ---------- */

.city-section .faq-list {
  max-width: none;
  margin-top: 28px;
}

.faq-heading {
  font-size: inherit;
  font-weight: inherit;
}

/* ---------- Right-column CTA ---------- */

.city-aside { position: relative; }

.aside-sticky {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.aside-cta {
  background: linear-gradient(160deg, var(--navy) 0%, #163c6b 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 22px 50px rgba(16,36,61,.22);
}

.aside-cta .eyebrow {
  color: #a8caff;
  font-size: 12.5px;
  margin-bottom: 10px;
}

.aside-title {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.aside-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
}

.aside-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  transition: background .2s ease;
}

.aside-phone:hover { background: rgba(255,255,255,.15); }

.aside-phone-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #6fdbb0;
  color: var(--navy-dark);
  display: grid;
  place-items: center;
}

.aside-phone > span:last-child {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.aside-phone small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.aside-cta .button {
  width: 100%;
  padding: 15px;
}

.aside-checks {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
}

.aside-checks li::before {
  content: "✓";
  color: #6fdbb0;
  font-weight: 900;
  margin-right: 10px;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(16,36,61,.05);
}

.aside-card-title {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 8px 8px;
}

.aside-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  transition: .2s ease;
}

.aside-card a:hover {
  background: var(--light);
  color: var(--blue);
}

.aside-link-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 15px;
}

.aside-arrow {
  margin-left: auto;
  color: var(--blue);
}

/* Short screens: keep the CTA card pinned, drop the link card (links repeat in the page). */
@media (min-width: 961px) and (max-height: 1010px) {
  .aside-card { display: none; }
}

/* ---------- Free claim review + form ---------- */

.claim-cta {
  color: #fff;
  padding: 100px 0;
  background:
    linear-gradient(90deg, rgba(7,24,45,.96) 0%, rgba(7,24,45,.9) 100%),
    url("/images/web/supplemental-claims-1600.webp")
    center / cover no-repeat;
  scroll-margin-top: 140px;
}

.claim-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.claim-cta .eyebrow { color: #a8caff; }

.claim-cta h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.claim-cta-copy p {
  color: rgba(255,255,255,.85);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.claim-cta-copy .claim-cta-call {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0 24px;
}

.claim-form { scroll-margin-top: 140px; }

.claim-form h3 {
  font-family: "Manrope", sans-serif;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* ---------- Related links ---------- */

.related-section {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 72px 0;
}

.related-section h2 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.related-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.related-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  display: inline-block;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  transition: .2s ease;
}

.related-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Mobile call bar ---------- */

.mobile-cta-bar { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1150px) {
  .city-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
  }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .city-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 0 80px;
  }

  .aside-sticky { position: static; }
  .aside-card { display: none; }

  .claim-cta-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .claim-cta .hero-form { max-width: 600px; }

  body { padding-bottom: 76px; }

  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(16,36,61,.1);
  }

  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 8px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
  }

  .mobile-cta-call {
    border: 1px solid var(--blue);
    color: var(--blue);
  }

  .mobile-cta-review {
    background: var(--blue);
    color: #fff;
  }
}

@media (max-width: 760px) {
  .highlight-grid,
  .reason-grid,
  .service-list,
  .facts-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .reason-card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 560px) {
  .city-hero { padding: 22px 0 70px; }
  .breadcrumb ol { margin-bottom: 36px; }

  .city-hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .city-hero-copy > p,
  .city-intro > p:first-of-type { font-size: 17.5px; }

  .city-section > p { font-size: 17px; }

  .hero-actions .button { width: 100%; }

  .city-section { margin-bottom: 64px; }

  .review-panel,
  .denied-callout { padding: 34px 22px; }

  .assurance-list li { padding: 20px 18px; }

  .map-frame { aspect-ratio: 4 / 3; }

  .claim-cta { padding: 70px 0; }

  .claim-form { padding: 25px 21px; }
}

/* ==========================================================================
   Added: click-to-load map, office card, testimonials, license
   ========================================================================== */

/* Click-to-load map placeholder */
.map-facade { position: relative; }

.map-load {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  background:
    radial-gradient(circle at 50% 46%, rgba(35,103,209,.16) 0, rgba(35,103,209,0) 34%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(16,36,61,.05) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(16,36,61,.05) 46px 48px),
    linear-gradient(160deg, #eef4fb 0%, #e3edf9 100%);
  transition: background-color .2s ease;
}

.map-pin {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(35,103,209,.35);
  margin-bottom: 6px;
  transition: transform .2s ease;
}

.map-load:hover .map-pin { transform: translateY(-3px); }

.map-load-place {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  padding: 0 20px;
  text-align: center;
}

.map-load-cta {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
}

.map-load:focus-visible {
  outline: 3px solid #8bb9ff;
  outline-offset: -3px;
}

/* Office card under the map */
.office-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16,36,61,.05);
}

.office-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.office-name {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.office-card address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.office-hours {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

.office-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.office-phone {
  font-weight: 800;
  color: var(--navy);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.testimonial {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
}

.testimonial blockquote {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}

.testimonial figcaption {
  font-size: 15px;
  color: var(--navy);
}

.testimonial figcaption span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* License + office lines */
.hero-badges .badge-license { color: #fff; font-weight: 700; }

.aside-license,
.aside-office {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.75);
}

.aside-license strong { color: #fff; }

.aside-office span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8caff;
}

.footer-column .footer-office { line-height: 1.6; }
.footer-office strong { color: #fff; }

@media (max-width: 760px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .office-actions { align-items: flex-start; }
}

/* ==========================================================================
   Service pages + hub pages (Services, Service Areas)
   ========================================================================== */

[hidden] { display: none !important; }

/* Hub sections reuse the homepage .section / .section-heading styles */
.hub-alt {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hub-center { text-align: center; }

.hub-center .section-heading,
.hub-heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hub-chips { justify-content: center; }
.hub-button { margin-top: 30px; }

.services-grid .service-card h3 a { color: var(--navy); }
.services-grid .service-card h3 a:hover { color: var(--blue); }

/* 7 cards in a 3-column grid: center the last one */
@media (min-width: 851px) {
  .services-grid .service-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* Claim stages */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 14px 14px;
  padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(16,36,61,.05);
  display: flex;
  flex-direction: column;
}

.stage-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}

.stage-card p {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Service page: what we handle */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.topic-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}

.topic-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 18.5px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Service page: disputes list in the dark panel */
.issue-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 4px;
}

.issue-list p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}

/* Service page: numbered first steps */
.steps-list {
  list-style: none;
  counter-reset: step;
  margin-top: 26px;
  position: relative;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 64px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 17px;
}

.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 2px;
  width: 2px;
  background: var(--blue-light);
}

.steps-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 6px;
}

.steps-list p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Service page: service areas block */
.area-mini .related-links { margin-top: 6px; }
.area-mini .related-title { margin-top: 24px; }

.area-mini > .text-link {
  display: inline-block;
  margin-top: 22px;
}

/* Service Areas: town finder */
.town-finder {
  display: grid;
  gap: 14px;
  padding: 26px 28px;
  margin-bottom: 26px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.town-finder label {
  font-weight: 800;
  color: var(--navy);
}

.town-search {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background: #fff;
  font-size: 17px;
  color: var(--text);
  outline: none;
}

.town-search:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,103,209,.12);
}

.county-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.county-jump a {
  padding: 7px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: .2s ease;
}

.county-jump a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.town-no-results {
  padding: 18px 22px;
  margin-bottom: 20px;
  background: #fff8e8;
  border: 1px solid #f3dfae;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
}

.county-block {
  padding: 38px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 140px;
}

.county-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 10px;
}

.county-head h2 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  letter-spacing: -.6px;
  color: var(--navy);
}

.county-count {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.county-block > p {
  max-width: 860px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.town-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.town-grid li > a,
.town-grid li > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 15.5px;
  line-height: 1.3;
}

.town-grid li > a {
  background: var(--blue-light);
  border: 1px solid #c5d9f7;
  color: var(--blue-dark);
  font-weight: 800;
  transition: .2s ease;
}

.town-grid li > a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.town-grid li > span {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 850px) {
  .stage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topic-grid { grid-template-columns: 1fr; }
  .town-finder { padding: 20px 18px; }
  .county-head h2 { font-size: 26px; }
  .town-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ==========================================================================
   Town hub claim cards + town/service pages
   ========================================================================== */

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.local-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(16,36,61,.04);
  transition: .2s ease;
}

.local-card:hover {
  border-color: #c5d9f7;
  box-shadow: 0 14px 32px rgba(16,36,61,.09);
  transform: translateY(-2px);
}

.local-card .service-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  font-size: 21px;
  margin: 0;
}

.local-card-body {
  display: grid;
  gap: 3px;
}

.local-card-title {
  font-family: "Manrope", sans-serif;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.local-card-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.local-card-arrow {
  margin-left: auto;
  color: var(--blue);
  font-weight: 800;
}

.local-card-hub {
  background: var(--light);
}

/* Claim-type checklist on town/service pages */
.check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin-top: 26px;
}

.check-grid li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.check-grid .check {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.check-grid strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 16.5px;
  color: var(--navy);
}

.review-panel > .review-disclaimer a {
  color: #a8caff;
  font-weight: 700;
  white-space: nowrap;
}

/* Non-link chips (e.g. neighborhoods) */
.related-links span {
  display: inline-block;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 760px) {
  .local-grid,
  .check-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Town cards (homepage + Service Areas) and homepage town search
   ========================================================================== */

.towns-section {
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.town-jump {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 40px;
}

.town-jump input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background: #fff;
  font-size: 17px;
  color: var(--text);
  outline: none;
}

.town-jump input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,103,209,.12);
}

.town-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin: 22px 0 10px;
}

.towns-section .town-card-grid {
  margin: 0 0 44px;
}

.town-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 14px 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 28px rgba(16,36,61,.06);
}

.town-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.town-card-head h3 {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.town-card-head h3 a { color: var(--navy); }
.town-card-head h3 a:hover { color: var(--blue); }

.town-card-county {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.town-card-links {
  list-style: none;
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  flex: 1;
}

.town-card-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: .2s ease;
}

.town-card-links a:hover {
  background: var(--light);
  color: var(--blue);
}

.town-card-links span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.town-card-hub {
  font-size: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.towns-counties { text-align: center; }
.towns-counties .related-title { margin-bottom: 12px; }

/* Homepage: compact A-Z list of every other town with a page */
.towns-more { margin: 40px auto 36px; max-width: 1100px; }
.towns-more .related-title { text-align: center; margin-bottom: 14px; }
.town-az-list {
  list-style: none; margin: 0; padding: 0;
  columns: 5 170px; column-gap: 24px;
}
.town-az-list li { break-inside: avoid; padding: 3px 0; font-size: 15px; }
.town-az-list a { color: var(--text, inherit); text-decoration: none; }
.town-az-list a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .town-jump { flex-direction: column; }
  .town-card-grid { grid-template-columns: 1fr; }
}

/* Homepage: keep town cards centered under the centered heading */
.towns-section .town-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
}

/* Header Service Areas menu: town search */
.mega-search {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.mega-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  color: var(--text);
  outline: none;
}

.mega-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,103,209,.12);
}

.mega-feature .mega-search .button {
  width: auto;
  margin-top: 0;
  padding: 11px 16px;
}

.mega-feature .mega-all-towns {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
}

/* Homepage town section now sits below the FAQ: white background to separate them */
.towns-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

/* ==========================================================================
   Animated claim process (homepage "A Clearer Path Through the Claim Process")
   Steps joined by flowing dashed connectors; js/city.js walks a highlight
   through the steps. Pattern adapted from the Apex managed AI services page.
   ========================================================================== */

.claim-flow {
  display: flex;
  align-items: stretch;
}

.claim-flow-step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  background: #f5f8fc;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.claim-flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--blue-light);
  border: 1px solid #c5d9f7;
  color: var(--blue);
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.claim-flow-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.claim-flow-num {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8fb2e8;
  margin-bottom: 8px;
  transition: color .35s ease;
}

.claim-flow-step h3 {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}

.claim-flow-step p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* Active step (set by js/city.js) and hover */
.claim-flow-step.cf-on,
.claim-flow-step:hover {
  background: #fff;
  border-color: #c5d9f7;
  box-shadow: 0 18px 40px rgba(35,103,209,.14);
  transform: translateY(-6px);
}

.claim-flow-step.cf-on .claim-flow-icon,
.claim-flow-step:hover .claim-flow-icon {
  background: linear-gradient(135deg, var(--blue) 0%, #4b91ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(35,103,209,.12), 0 10px 22px rgba(35,103,209,.3);
}

.claim-flow-step.cf-on .claim-flow-num,
.claim-flow-step:hover .claim-flow-num {
  color: var(--blue);
}

/* Connectors */
.claim-flow-link {
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.claim-flow-link svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.claim-flow-link path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.claim-flow-link .cf-track {
  stroke: #dbe7f8;
  stroke-width: 2;
}

.claim-flow-link .cf-dash {
  stroke: #8fb2e8;
  stroke-width: 2.2;
  stroke-dasharray: 4 5;
  animation: cf-flow 1.2s linear infinite;
  transition: stroke .35s ease;
}

.claim-flow-link .cf-head {
  stroke: #8fb2e8;
  stroke-width: 2.2;
  transition: stroke .35s ease;
}

.claim-flow-link.cf-on .cf-dash,
.claim-flow-link.cf-on .cf-head {
  stroke: var(--blue);
}

@keyframes cf-flow {
  to { stroke-dashoffset: -36; }
}

@media (prefers-reduced-motion: reduce) {
  .claim-flow-link .cf-dash { animation: none; }
}

/* Tablet: tighter cards */
@media (max-width: 1100px) {
  .claim-flow-link { flex-basis: 40px; }
  .claim-flow-step { padding: 22px 18px; }
  .claim-flow-step h3 { font-size: 18px; }
}

/* Phone and small tablet: steps stack, connectors point down */
@media (max-width: 900px) {
  .claim-flow {
    flex-direction: column;
    max-width: 560px;
  }

  .claim-flow-step.cf-on,
  .claim-flow-step:hover {
    transform: translateX(4px);
  }

  .claim-flow-link {
    flex: none;
    height: 40px;
    padding: 0;
    justify-content: flex-start;
    margin-left: 34px;
  }

  .claim-flow-link svg {
    width: 40px;
    transform: rotate(90deg);
  }
}

/* Homepage service cards with a photo banner instead of an icon */
.service-card-photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 6.3; /* 30% shorter than 16:9 */
  background: var(--light);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card-photo:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
}

.service-card-body p { flex: 1; }

@media (max-width: 560px) {
  .service-card-body { padding: 20px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card-photo:hover .service-card-media img { transform: none; }
}

/* Contact form spam trap: kept off-screen so people never see or tab into it */
.form-trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.claim-form form { position: relative; }

/* ==========================================================================
   Thank-you / form-error pages
   ========================================================================== */

.message-section {
  padding: 90px 0 110px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.message-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 52px 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(16,36,61,.08);
  text-align: center;
}

.message-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #4b91ff 100%);
  box-shadow: 0 0 0 8px rgba(35,103,209,.12);
}

.message-error .message-icon {
  background: linear-gradient(135deg, #c2410c 0%, #f97316 100%);
  box-shadow: 0 0 0 8px rgba(249,115,22,.14);
}

.message-card h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 18px;
}

.message-card > p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.message-steps {
  margin: 30px auto 0;
  max-width: 560px;
  text-align: left;
}

.message-steps .review-checklist li {
  background: var(--light);
  border-color: var(--border);
  color: var(--text);
  font-weight: 600;
}

.message-steps .review-checklist .check { color: var(--blue); }

.message-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.message-actions .message-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}

.message-actions .message-secondary:hover {
  background: var(--light);
  border-color: #c5d9f7;
}

@media (max-width: 560px) {
  .message-section { padding: 56px 0 80px; }
  .message-card { padding: 36px 22px 32px; }
  .message-actions .button { width: 100%; }
}

/* Town claim pages split into "by type of damage" and "help with your claim" */
.local-group-title { margin: 22px 0 12px; }
.city-section > .local-group-title:first-of-type { margin-top: 18px; }

/* 404 page: suggested pages */
.message-links { justify-content: center; margin: 8px 0 26px; }

/* Content pages (About, Privacy Policy) */
.content-updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Town claim pages: claim types as a compact list (details live on the statewide guide) */
.check-grid-compact li { padding: 12px 14px; align-items: center; }
.check-grid-compact strong { margin: 0; }
.covers-guide { margin: 14px 0 0; }
