.locations {
  padding: 6rem 0 5.5rem;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(212, 175, 79, 0.06),
      transparent 40%
    ),
    #07090d;
}

.locations .container {
  max-width: 88rem;
  padding: 0 2.5rem;
}

.locations__header {
  max-width: 52rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.locations__title {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.locations__title span {
  color: var(--accent);
}

.locations__subtitle {
  margin: 0;
  color: #97a1b5;
  font-size: 1.16rem;
  line-height: 1.75;
}

.locations__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.9fr);
  gap: 2rem;
  align-items: start;
}

/* MAP */
.locations__map-wrap {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #e8e5df;
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.16);
  min-height: 34rem;
}

.locations__map {
  display: block;
  width: 100%;
  height: 34rem;
  border: 0;
}

/* CARDS */
.locations__cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.location-card {
  padding: 1.65rem 1.55rem;
  background: linear-gradient(
    180deg,
    #0f1319 0%,
    #0a0d12 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.04);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.location-card:hover {
  transform: translateX(0.6rem); /* рух вправо */

  border-color: rgba(212, 175, 79, 0.6); /* чіткіший бордер */

  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
}

.location-card__title {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}

.location-card__district {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 500;
}

.location-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.location-card__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #9aa4b7;
  font-size: 0.95rem;
  line-height: 1.45;
}

.location-card__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  color: #8f97aa;
}

.location-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 96rem) {
  .locations {
    padding: 5.5rem 0 5rem;
  }

  .locations .container {
    max-width: 84rem;
  }

  .locations__layout {
    gap: 1.5rem;
  }

  .locations__map-wrap {
    min-height: 30rem;
  }

  .locations__map {
    height: 30rem;
  }
}

@media (max-width: 75rem) {
  .locations__layout {
    grid-template-columns: 1fr;
  }

  .locations__map-wrap {
    min-height: 26rem;
  }

  .locations__map {
    height: 26rem;
  }
}

@media (max-width: 48rem) {
  .locations {
    padding: 4.25rem 0;
  }

  .locations .container {
    padding: 0 1rem;
  }

  .locations__header {
    margin-bottom: 2.4rem;
  }

  .locations__title {
  font-size: clamp(1.95rem, 7vw, 2.9rem);
}

  .locations__subtitle {
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .locations__map-wrap {
    min-height: 21rem;
    border-radius: 1rem;
  }

  .locations__map {
    height: 21rem;
  }

  .location-card {
    padding: 1.35rem 1.1rem;
  }

  .location-card__title {
    font-size: 1rem;
  }

  .location-card__district {
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
  }

  .location-card__item {
    font-size: 0.9rem;
  }
}