.home-sales-offices {
  margin-top: clamp(36px, 5vw, 78px);
  margin-bottom: clamp(42px, 6vw, 92px);
}

.home-sales-offices__body {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
}

.home-sales-offices__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-sales-offices__title {
  margin: 0 0 32px;
  color: #101820;
  font-family: var(--font-display, var(--font-ui, Arial, sans-serif));
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.home-sales-offices__list {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.home-sales-offices__item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(46, 33, 96, .18);
}

.home-sales-offices__item:first-child {
  border-top: 1px solid rgba(46, 33, 96, .18);
}

.home-sales-offices__pin {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--brand-beige, #FFC692);
}

.home-sales-offices__pin svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.home-sales-offices__content {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: rgba(16, 24, 32, .68);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.home-sales-offices__content strong {
  color: #101820;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.home-sales-offices__content a {
  color: var(--brand-purple, #2E2160);
  font-weight: 800;
  text-decoration: none;
}

.home-sales-offices__content a:hover {
  color: #4d3995;
}

.home-sales-offices__call {
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  border-radius: 8px;
}

.home-sales-offices__map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f1ec;
  box-shadow: 0 22px 62px rgba(46, 33, 96, .14);
}

.home-sales-offices__map-widget,
.home-sales-offices__map-embed,
.home-sales-offices__map-shell,
.home-sales-offices__map {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border-radius: inherit;
}

.home-sales-offices__map-widget {
  display: block;
  padding: 0;
}

.home-sales-offices__map-embed {
  display: block;
}

.home-sales-offices__map-shell {
  overflow: hidden;
  background: #f4f1ec;
}

.home-sales-offices__map > ymaps,
.home-sales-offices__map > div,
.home-sales-offices__map [class*="ymaps-2"] {
  border-radius: inherit;
}

.home-sales-offices__more {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  border-radius: 8px;
  background: var(--brand-purple, #2E2160);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(46, 33, 96, .22);
}

.home-sales-offices__more:hover {
  background: #3b2a77;
  color: #fff;
}

.home-sales-offices__route {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-purple, #2E2160);
  color: #fff;
  box-shadow: 0 14px 36px rgba(46, 33, 96, .22);
}

.home-sales-offices__route svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .home-sales-offices__body {
    grid-template-columns: 1fr;
  }

  .home-sales-offices__call {
    margin-top: 0;
  }

  .home-sales-offices__map-card {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .home-sales-offices__title {
    margin-bottom: 12px;
  }

  .home-sales-offices__list {
    margin-bottom: 22px;
  }

  .home-sales-offices__map-card {
    min-height: 360px;
  }

  .home-sales-offices__more {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 12px 28px;
  }

  .home-sales-offices__route {
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}
