.locations {
  padding: 120px 0 240px;
  overflow: hidden;
  border-radius: 120px 120px 0 0;
  background: var(--secondary);
  color: #fff;
}

.locations--variant-2 {
  padding: 120px 0;
  border-radius: 0 0 120px 120px;
}

.locations--variant-3 {
  padding-top: 240px;
  border-radius: 0;
  position: relative;
}

.locations--variant-3 .locations__head {
  display: none;
}

.locations--variant-3:before {
  background: var(--grey-50);
  content: "";
  width: 100%;
  height: 120px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0 0 120px 120px;
  z-index: 1;
}

.locations--single {
  padding: 120px 0;
  border-radius: 120px;
  margin-top: -120px;
  z-index: 1;
  position: relative;
}

.locations--single .locations__head {
  display: none;
}

.locations--hero-section {
  background: transparent;
}

.locations--hero-section .locations__title,
.locations--hero-section .locations__control > span {
  color: var(--secondary);
}

.locations--hero-section .locations__tabs > .locations__control:first-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.locations--hero-section .locations__panel {
  border: 1px solid var(--secondary-2, #FFF);
  background: var(--white-48, rgba(255, 255, 255, 0.48));
}

.locations--hero-section .locations__tab,
.locations--hero-section .locations__location-tab {
  background: var(--white-48, rgba(255, 255, 255, 0.48));
}

.locations--hero-section {
  padding-bottom: 120px;
}

.locations--hero-section .locations__container {
  padding-bottom: 0 !important;
}

.locations__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 80px;
  margin-bottom: 48px;
}

.locations__title {
  max-width: 500px;
}

.locations__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.35;
}

.locations__tabs {
  display: grid;
  gap: 14px;
}

.locations__control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.locations__control > span {
  font-size: 12px;
  line-height: 1;
  width: 100px;
}

.locations__buttons,
.locations__location-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.locations__tab,
.locations__location-tab {
  font: 600 12px/1 var(--default-font-family);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #DCDFE5;
  background: #B1B4BD;
  color: #17212a;
  cursor: pointer;
  transition: background 0.24s ease;
}

.locations__tab img,
.locations__location-tab img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  -o-object-fit: cover;
  object-fit: cover;
}

.locations__tab em,
.locations__location-tab em {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 33, 42, 0.1);
  font-size: 11px;
  font-style: normal;
}

.locations__tab:hover,
.locations__location-tab:hover {
  background: #fff;
}

.locations__tab.is-active,
.locations__location-tab.is-active {
  background: #fff;
}

.locations__country,
.locations__city,
.locations__card {
  display: none;
}

.locations__country .locations__control,
.locations__city .locations__control,
.locations__card .locations__control {
  border: none;
}

.locations__country.is-active,
.locations__city.is-active,
.locations__card.is-active {
  display: block;
}

.locations__location-tabs {
  margin: 0 0 24px;
}

.locations__location-tab img {
  width: 18px;
  height: 18px;
  border-radius: 0;
  -o-object-fit: contain;
  object-fit: contain;
}

.locations__panel {
  padding: 32px;
  border-radius: 32px;
  background: var(--grey-50);
}

.locations__card {
  display: none;
  grid-template-columns: 330px minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  color: #17212a;
}

.locations__card.is-active {
  display: grid;
  animation: locations-fade 0.32s ease both;
}

.locations__info {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.locations__info .locations__title {
  margin: 0 0 28px;
  padding: 8px 8px 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
  transition: background-color var(--transition);
  border: 1px solid #fff;
}

.locations__info .locations__title:hover {
  background: rgb(255, 255, 255);
}

.locations__info .locations__title a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.locations__info .locations__title a::after {
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.76531 8.00095C1.76531 7.54084 2.1383 7.16785 2.59841 7.16785L11.4176 7.16785L8.25764 4.00791C7.93235 3.68261 7.93235 3.1552 8.25764 2.82991C8.58294 2.50461 9.11035 2.50461 9.43564 2.82991L13.9703 7.36455C14.3218 7.71602 14.3218 8.28587 13.9703 8.63734L9.43564 13.172C9.11034 13.4973 8.58294 13.4973 8.25764 13.172C7.93235 12.8467 7.93235 12.3193 8.25764 11.994L11.4176 8.83405L2.59841 8.83404C2.1383 8.83404 1.76531 8.46105 1.76531 8.00095Z' fill='%231A2225'/%3E%3C/svg%3E%0A") no-repeat center/contain;
  content: "";
  width: 16px;
  height: 16px;
}

.locations__meta {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.locations__meta span {
  font-size: 12px;
  line-height: 1.2;
}

.locations__meta strong {
  color: #17212a;
  font-size: 16px;
  line-height: 1.5;
}

.locations__phone {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 600;
}

.locations__phone:hover {
  color: var(--primary);
}

.locations__actions {
  display: grid;
  gap: 2px;
  margin-top: auto;
}

.locations__photo,
.locations__map {
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #dde3ed;
}

.locations__photo img,
.locations__map img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.locations__photo iframe,
.locations__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes locations-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1260px) {
  .locations--variant-3 {
    padding-top: 180px;
  }

  .locations--variant-3:before {
    border-radius: 0 0 90px 90px;
    height: 90px;
  }

  .locations--hero-section {
    padding-bottom: 90px;
  }

  .locations {
    padding: 90px 0;
    border-radius: 90px 90px 0 0;
  }

  .locations__container {
    padding-bottom: 80px !important;
  }

  .locations__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .locations__panel {
    padding: 20px;
  }

  .locations__info {
    min-height: 0;
  }

  .locations__photo,
  .locations__map {
    min-height: 320px;
  }

  .locations--variant-3 {
    padding-top: 180px;
    border-radius: 0;
  }

  .locations--variant-3:before {
    border-radius: 0 0 90px 90px;
    height: 90px;
  }

  .locations--single {
    padding: 90px 0;
    border-radius: 90px;
    margin-top: -90px;
  }

  .locations--variant-2 {
    padding: 90px 0;
    border-radius: 0 0 90px 90px;
  }
}

@media (max-width: 760px) {
  .locations--variant-3 {
    padding-top: 120px;
  }

  .locations--variant-3:before {
    border-radius: 0 0 60px 60px;
    height: 60px;
  }

  .locations--hero-section {
    padding-bottom: 60px;
  }

  .locations {
    padding: 60px 0;
    border-radius: 60px 60px 0 0;
  }

  .locations__control {
    display: grid;
    gap: 10px;
  }

  .locations__panel {
    padding: 14px;
    border-radius: 22px;
  }

  .locations__info .locations__title {
    font-size: 24px;
  }

  .locations__photo,
  .locations__map {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
  }

  .locations--variant-3 {
    padding-top: 120px;
    border-radius: 0;
  }

  .locations--variant-3:before {
    border-radius: 0 0 60px 60px;
    height: 60px;
  }

  .locations--single {
    padding: 60px 0;
    border-radius: 60px;
    margin-top: -60px;
  }

  .locations--variant-2 {
    padding: 60px 0;
    border-radius: 0 0 60px 60px;
  }
}