.locations-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: auto;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.locations-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
}

.locations-hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.7;
  color: #5f6368;
}

.location-search {
  display: flex;
  max-width: 720px;
  margin: auto;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 16px;
  padding: 14px 5px;
  background: transparent;
}

.location-search button {
  border: 0;
  border-radius: 10px;
  padding: 0 28px;
  font-weight: 700;
  cursor: pointer;
}

.location-search-results {
  max-width: 720px;
  margin: 8px auto 0;
  text-align: left;
}

.locations-section {
  padding: 70px 20px;
}

.states-section {
  background: #f8f9fb;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
}

.view-all {
  text-decoration: none;
  font-weight: 700;
}

.city-grid,
.state-grid,
.featured-location-grid {
  display: grid;
  gap: 18px;
}

.city-grid {
  grid-template-columns: repeat(4, 1fr);
}

.state-grid {
  grid-template-columns: repeat(4, 1fr);
}

.featured-location-grid {
  grid-template-columns: repeat(3, 1fr);
}

.city-card,
.state-card,
.featured-location-card,
.loading-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: .2s ease;
}

.city-card:hover,
.state-card:hover,
.featured-location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.city-card a,
.state-card a,
.featured-location-card a {
  text-decoration: none;
  color: inherit;
}

.city-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.city-card h3,
.state-card h3,
.featured-location-card h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.city-card p,
.state-card p,
.featured-location-card p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.location-info {
  padding: 80px 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

.info-grid h2 {
  font-size: 36px;
  margin: 0 0 15px;
}

.info-grid p {
  color: #60656d;
  line-height: 1.8;
}

.info-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
}

.primary-btn {
  background: #111827;
  color: #fff;
}

.secondary-btn {
  border: 1px solid #d1d5db;
}

.location-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  padding: 25px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  margin-bottom: 6px;
}

.stat-card span {
  color: #6b7280;
  font-size: 14px;
}

.site-footer {
  padding: 55px 20px 20px;
  border-top: 1px solid #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 35px;
}

.footer-grid h3 {
  margin-top: 0;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  text-decoration: none;
}

.footer-grid p {
  color: #6b7280;
  line-height: 1.7;
}

.footer-brand {
  font-weight: 800;
  font-size: 20px;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  font-weight: 800;
  background: #111827;
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 900px) {
  .city-grid,
  .state-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-location-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .locations-hero {
    padding: 55px 15px;
  }

  .location-search {
    flex-direction: column;
  }

  .location-search button {
    padding: 14px;
  }

  .city-grid,
  .state-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .view-all {
    display: inline-block;
    margin-top: 15px;
  }

  .location-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}