/* ========== HERO BACKGROUND ========== */
.hero-service-areas {
  background:
    linear-gradient(135deg, rgba(9, 31, 44, 0.90) 0%, rgba(12, 53, 71, 0.86) 50%, rgba(19, 75, 99, 0.80) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* ========== HERO TRUST STRIP ========== */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 24px;
  max-width: 800px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-trust-item i {
  color: #4ADE80;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========== UNIQUE: COVERAGE SNAPSHOT MAP ========== */
.coverage-snapshot {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.coverage-stat-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(12, 53, 71, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.coverage-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(12, 53, 71, 0.1);
}
.coverage-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #0C3547;
  line-height: 1;
  margin-bottom: 6px;
}
.coverage-stat-label {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
}

.coverage-map-wrap {
  background: #0C3547;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(9, 31, 44, 0.2);
}
.map-title-bar {
  background: #091F2C;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.map-title-bar > i {
  color: #1A8FBC;
}
.map-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #4ADE80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-live i {
  font-size: 0.55rem;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.coverage-map {
  position: relative;
  width: 100%;
  min-height: 380px;
  background:
    radial-gradient(ellipse at center, rgba(26, 143, 188, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, #0C3547 0%, #134B63 100%);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
}
.map-pin .pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D63031;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(214, 48, 49, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
  position: relative;
  transition: transform 0.25s;
}
.map-pin .pin-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(214, 48, 49, 0.5);
  animation: pinRipple 2s ease-out infinite;
}
@keyframes pinRipple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.map-pin .pin-label {
  background: #fff;
  color: #0C3547;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.map-pin:hover .pin-dot {
  transform: scale(1.2);
}
.map-pin:hover .pin-label {
  background: #D63031;
  color: #fff;
}

/* Pin positions */
.pin-1 { top: 18%; left: 22%; }  /* Downtown */
.pin-2 { top: 35%; left: 55%; }  /* Sterne */
.pin-3 { top: 55%; left: 32%; }  /* Ketring */
.pin-4 { top: 70%; left: 65%; }  /* Columbine Hills */
.pin-5 { top: 42%; left: 78%; }  /* Columbine Knolls */

.map-legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(9, 31, 44, 0.75);
  color: #E2E8F0;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.map-legend i {
  color: #D63031;
}

/* ========== NEIGHBORHOOD GRID ========== */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.neighborhood-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(12, 53, 71, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.neighborhood-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(12, 53, 71, 0.13);
}
.neighborhood-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.neighborhood-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.neighborhood-card:hover .neighborhood-img img {
  transform: scale(1.05);
}
.neighborhood-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 31, 44, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.neighborhood-tag i {
  color: #4ADE80;
  font-size: 0.75rem;
}
.neighborhood-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.neighborhood-body h3 {
  color: #0C3547;
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.neighborhood-body p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 14px;
}
.neighborhood-meta {
  background: #F8FAFC;
  border-left: 3px solid #1A8FBC;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  border-radius: 0 6px 6px 0;
  margin-bottom: 18px;
}
.neighborhood-meta strong {
  color: #0C3547;
  display: block;
  margin-bottom: 4px;
}
.neighborhood-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D63031;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap 0.2s;
}
.neighborhood-link:hover {
  gap: 12px;
  color: #B71C1C;
}

/* ========== SERVICE LINK CARDS ========== */
.service-link-card {
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(12, 53, 71, 0.12);
}
.service-link-card h3 {
  color: #0C3547;
}
.service-link-card p {
  color: #475569;
}

/* ========== EXTENDED AREA TAGS ========== */
.extended-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 20px;
  max-width: 900px;
}
.extended-area-tag {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  color: #0C3547;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.extended-area-tag:hover {
  border-color: #1A8FBC;
  background: #E8F4F8;
}
.extended-area-tag i {
  color: #1A8FBC;
  font-size: 0.85rem;
}
.extended-note {
  text-align: center;
  color: #475569;
  font-style: italic;
  margin-top: 20px;
}

/* ========== TABLE NOTE ========== */
.table-note {
  text-align: center;
  color: #64748B;
  font-size: 0.9rem;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.table-note i {
  color: #1A8FBC;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .coverage-snapshot {
    grid-template-columns: 1fr;
  }
  .coverage-map {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  .hero-trust-strip {
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .hero-trust-item {
    font-size: 0.9rem;
    flex: 1 1 100%;
  }

  .coverage-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .coverage-stat-item {
    padding: 20px 14px;
  }
  .coverage-stat-num {
    font-size: 2rem;
  }

  .coverage-map {
    min-height: 300px;
  }
  .map-pin .pin-label {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  .map-pin .pin-dot {
    width: 14px;
    height: 14px;
  }

  .neighborhood-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .neighborhood-img {
    height: 180px;
  }
  .neighborhood-body {
    padding: 20px;
  }
  .neighborhood-body h3 {
    font-size: 1.15rem;
  }

  .extended-area-tag {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .coverage-stats {
    grid-template-columns: 1fr;
  }
  .coverage-map {
    min-height: 280px;
  }
  .pin-1 { top: 15%; left: 18%; }
  .pin-2 { top: 32%; left: 60%; }
  .pin-3 { top: 52%; left: 25%; }
  .pin-4 { top: 72%; left: 65%; }
  .pin-5 { top: 40%; left: 80%; }
  .map-pin .pin-label {
    font-size: 0.65rem;
  }
}

/* ========== NEIGHBORHOODS WE SERVE ========== */
.neighborhoods-section {
  background: #F8FAFC;
}

.hood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.hood-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hood-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #D63031 0%, #1A8FBC 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hood-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(12, 53, 71, 0.12);
  border-color: #CBD5E1;
}

.hood-card:hover::before {
  opacity: 1;
}

/* Card Head: Icon + Title */
.hood-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.hood-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0C3547 0%, #1A8FBC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(26, 143, 188, 0.25);
}

.hood-title-wrap {
  flex-grow: 1;
  min-width: 0;
}

.hood-era {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #D63031;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #FEE2E2;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.hood-card h3 {
  color: #0C3547;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Description */
.hood-desc {
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Issues Panel */
.hood-issues {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.hood-issues-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0C3547;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.hood-issues-label i {
  color: #1A8FBC;
  font-size: 0.85rem;
}

.hood-issues ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hood-issues li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 6px;
}

.hood-issues li:last-child {
  margin-bottom: 0;
}

.hood-issues li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1A8FBC;
}

/* Learn More Link */
.hood-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D63031;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 0;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

.hood-link i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.hood-link:hover {
  color: #B71C1C;
  gap: 12px;
}

.hood-link:hover i {
  transform: translateX(3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hood-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .hood-card {
    padding: 24px 22px;
  }
}

@media (max-width: 600px) {
  .hood-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }
  .hood-card {
    padding: 22px 20px;
  }
  .hood-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
  .hood-card h3 {
    font-size: 1.1rem;
  }
  .hood-desc {
    font-size: 0.9rem;
  }
  .hood-issues {
    padding: 14px 16px;
  }
  .hood-issues li {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .hood-card-head {
    gap: 12px;
  }
  .hood-icon {
    width: 42px;
    height: 42px;
  }
}