/* ── Locations Preview (mobile-first) ──────── */
.bsx-locations {
  position: relative;
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f4fd 50%, var(--bsx-bg-muted) 100%);
  padding: 48px 16px;
  overflow: hidden;
}
.bsx-locations__bg {
  position: absolute;
  inset: 0;
  background: url('../img/bg-locations.webp') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.bsx-locations__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.bsx-locations__title {
  font-family: var(--bsx-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--bsx-text);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Stats */
.bsx-locations__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}
.bsx-locations__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bsx-locations__stat-num {
  font-family: var(--bsx-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--bsx-text);
  line-height: 1.1;
}
.bsx-locations__stat-label {
  font-family: var(--bsx-font);
  font-size: 12px;
  color: var(--bsx-text-muted);
  margin-top: 2px;
}

/* State pills */
.bsx-locations__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.bsx-locations__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--bsx-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--bsx-text-muted);
  background: #fff;
  border: 1px solid var(--bsx-border-light);
  border-radius: 50px;
  padding: 5px 10px;
  white-space: nowrap;
}
.bsx-locations__pill svg {
  color: var(--bsx-accent);
  flex-shrink: 0;
}
.bsx-locations__pill {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bsx-locations__pill:hover {
  background: rgba(40, 144, 193, 0.08);
  border-color: var(--bsx-accent);
  transform: translateY(-1px);
}
.bsx-locations__pill-count {
  font-weight: 700;
  color: var(--bsx-text);
  font-size: 11px;
  background: var(--bsx-bg-muted);
  border-radius: 50px;
  padding: 1px 6px;
}

/* Map */
.bsx-locations__map {
  margin-bottom: 28px;
  border-radius: var(--bsx-radius-lg);
  overflow: hidden;
  box-shadow: var(--bsx-shadow-md);
}

.bsx-locations__map .apple-mapkit-wrapper {
  border-radius: var(--bsx-radius-lg);
  overflow: hidden;
}

.bsx-locations__map .apple-mapkit-container {
  height: 350px !important;
  border-radius: var(--bsx-radius-lg) !important;
}

/* CTA */
.bsx-locations__cta {
  margin-top: 4px;
}
.bsx-locations__btn {
  display: inline-block;
  font-family: var(--bsx-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--bsx-white);
  background: var(--bsx-navy);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform var(--bsx-ease), box-shadow var(--bsx-ease), background var(--bsx-ease);
}
.bsx-locations__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,37,64,0.3);
  background: var(--bsx-navy-light);
}

/* ── Tablet ─────────────────────────────────── */
@media (min-width: 768px) {
  .bsx-locations { padding: 64px 24px; }
  .bsx-locations__title { font-size: 30px; margin-bottom: 28px; }
  .bsx-locations__stats { gap: 40px; margin-bottom: 32px; }
  .bsx-locations__stat-num { font-size: 34px; }
  .bsx-locations__stat-label { font-size: 13px; }
  .bsx-locations__pills { gap: 10px; margin-bottom: 32px; }
  .bsx-locations__pill { font-size: 13px; padding: 6px 12px; }
  .bsx-locations__btn { font-size: 15px; padding: 14px 28px; }
  .bsx-locations__map { margin-bottom: 32px; }
  .bsx-locations__map .apple-mapkit-container { height: 400px !important; }
}

/* ── Desktop ────────────────────────────────── */
@media (min-width: 1024px) {
  .bsx-locations { padding: 80px 20px; }
  .bsx-locations__title { font-size: 32px; }
  .bsx-locations__stats { gap: 56px; }
  .bsx-locations__stat-num { font-size: 40px; }
  .bsx-locations__stat-label { font-size: 14px; }
  .bsx-locations__pill { font-size: 14px; padding: 7px 14px; }
  .bsx-locations__btn { font-size: 16px; padding: 14px 32px; }
  .bsx-locations__map .apple-mapkit-container { height: 450px !important; }
}
