.locations-map {
  /* Height @ 1920: 567px → 29.531vw */
  --map-height: clamp(320px, 29.531vw, 567px);
  /* Title @ 1920: 48px / 60px */
  --map-title-size: clamp(1.5rem, 2.5vw, 48px);
  --map-title-lh: 1.25; /* 60/48 */
  /* Text @ 1920: 24px / 72px */
  --map-text-size: clamp(1rem, 1.25vw, 24px);
  --map-text-lh: 3; /* 72/24 */
  /* Gap between title / text / button @ 1920: 36px */
  --map-gap: clamp(1.25rem, 1.875vw, 36px);
  /* Button pad @ 1920: 21 33 16 33 */
  --map-btn-pad-y-top: clamp(0.75rem, 1.094vw, 16px);
  --map-btn-pad-y-bottom: clamp(0.625rem, 0.833vw, 16px);
  --map-btn-pad-x: clamp(1rem, 1.719vw, 33px);
  background-color: var(--color-dark);
}

.locations-map__frame {
  position: relative;
  width: 100%;
  height: var(--map-height);
  min-height: var(--map-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locations-map__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.locations-map__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.locations-map__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(1100px, 100%);
  padding: clamp(2rem, 4vw, 3rem) var(--container-gutter);
  gap: var(--map-gap);
}

.locations-map__title {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: var(--fw-extrabold);
  font-style: normal;
  font-size: var(--map-title-size);
  line-height: var(--map-title-lh);
  letter-spacing: 0;
  color: var(--color-white);
  text-transform: uppercase;
  opacity: 1;
  margin: 0;
  white-space: nowrap;
}

.locations-map__text {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-style: normal;
  font-size: var(--map-text-size);
  line-height: var(--map-text-lh);
  letter-spacing: 0;
  color: var(--color-white);
  opacity: 1;
  margin: 0;
  white-space: nowrap;
}

.locations-map__cta {
  min-width: clamp(180px, 14vw, 220px);
  padding: var(--map-btn-pad-y-top) var(--map-btn-pad-x) var(--map-btn-pad-y-bottom);
  box-sizing: border-box;
}

/* ≈1024 tablet: smaller map + type; allow wrapping so copy isn’t clipped */
@media (max-width: 1199px) and (min-width: 768px) {
  .locations-map {
    --map-height: 420px;
    --map-title-size: 1.75rem; /* 28px */
    --map-title-lh: 1.2;
    --map-text-size: 1.0625rem; /* 17px */
    --map-text-lh: 1.5;
    --map-gap: 1.25rem;
    --map-btn-pad-y-top: 0.85rem;
    --map-btn-pad-y-bottom: 0.7rem;
    --map-btn-pad-x: 1.25rem;
  }

  .locations-map__content {
    max-width: min(640px, 100%);
    padding: 2.5rem var(--container-gutter);
  }

  .locations-map__title,
  .locations-map__text {
    white-space: normal;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .locations-map {
    --map-height: clamp(340px, 70vw, 420px);
    --map-title-size: 1.375rem;
    --map-text-size: 0.9375rem;
    --map-text-lh: 1.45;
    --map-gap: 1rem;
  }

  .locations-map__content {
    padding: 2.5rem 1rem;
    max-width: 100%;
  }

  .locations-map__title,
  .locations-map__text {
    white-space: normal;
    max-width: 100%;
  }

  .locations-map__cta {
    width: 100%;
    max-width: 280px;
  }
}
