* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

button,
input,
textarea {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

button:focus {
  box-shadow: none !important;
}

*:focus {
  outline: none;
}

.map {
  padding-top: 0;
}

a {
  display: inline-block;
  font: inherit;
  color: inherit;
  transition: 300ms;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  max-height: 100%;
}

a img {
  border: none;
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media only screen and (max-width: 767px) {
  .map {
    margin-bottom: 50px;
  }
}
.map__inner {
  margin: 0 auto;
  margin-top: 60px;
  max-width: 1378px;
  padding: 0 15px;
}
@media only screen and (max-width: 767px) {
  .map__inner {
    margin-top: 30px;
  }
}
.map__nav {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 991px) {
  .map__nav {
    gap: 15px;
    flex-wrap: wrap;
  }
}
.map__nav li {
  margin-right: 30px;
  cursor: pointer;
  font-weight: 450;
  font-size: 18px;
  display: flex;
  align-items: flex-end;
  color: #000000;
  font-family: inherit;
  position: relative;
  border: 1px solid rgba(206, 193, 163, 0.5);
  padding: 12px 13px 10px 34px;
}
@media only screen and (max-width: 991px) {
  .map__nav li {
    padding: 10px 10px 10px 34px;
    font-size: 16px;
    margin-right: 0;
  }
}
@media only screen and (max-width: 767px) {
  .map__nav li {
    font-size: 14px;
    padding-left: 25px;
  }
}
.map__nav li::before {
  position: absolute;
  display: block;
  content: "";
  background: url(../images/svg-star.svg) 50% 50%;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: cover;
  top: 49%;
  left: 10px;
  transform: translateY(-50%);
}
@media only screen and (max-width: 767px) {
  .map__nav li::before {
    width: 12px;
    height: 12px;
    left: 7px;
  }
}
.map__nav li:last-child {
  margin-right: 0;
}
.map__nav li.active {
  border: 1px solid #3a241f;
}
.map__content--title {
  font-family: "ZharPtitza";
  font-weight: 400;
  font-size: 80px;
  letter-spacing: 0.05em;
  color: #3a241f;
  margin-top: 37px;
}
@media only screen and (max-width: 1380px) {
  .map__content--title {
    font-size: 70px;
    margin-top: 15px;
  }
}
@media only screen and (max-width: 991px) {
  .map__content--title {
    font-size: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .map__content--title {
    font-size: 34px;
  }
}
.map__image {
  width: 574px;
  position: relative;
  margin-top: -119px;
  flex-shrink: 0;
}
@media only screen and (max-width: 1380px) {
  .map__image {
    margin-top: -140px;
  }
}
@media only screen and (max-width: 1200px) {
  .map__image {
    width: 500px;
  }
}
@media only screen and (max-width: 991px) {
  .map__image {
    margin-top: -25px;
  }
}
@media only screen and (max-width: 767px) {
  .map__image {
    margin-top: 0;
    width: auto;
    height: 40vh;
  }
}
.map__image--img {
  position: absolute;
  top: 0%;
  width: 100%;
  opacity: 0;
  transition: 400ms;
}
@media only screen and (max-width: 767px) {
  .map__image--img {
    transition: initial;
  }
}
.map__image--img img {
  transform: scale(1);
  transition: 400ms;
}
.map__image--img img.new {
  transform: scale(1);
  transition: 400ms;
  display: none;
}
.map__image--img.hover {
  opacity: 1;
}
.map__image--img.active {
  background: #fff;
  opacity: 1;
  transition: 1s;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  .map__image--img.active {
    transition: initial;
  }
}
.map__image--img.active img {
  transform: scale(0);
  display: none;
  transition: 1s;
}
.map__image--img.active img.new {
  display: block;
  transition: 400ms;
  transform: scale(1);
  transition: 400ms;
  height: 100%;
  width: 100%;
}
.map__item {
  display: none;
  position: relative;
}
.map__item.active {
  display: block;
}
.map__text {
  flex-grow: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0 35px;
  margin-right: 20px;
}
@media only screen and (max-width: 1200px) {
  .map__text {
    grid-gap: 0 15px;
  }
}
@media only screen and (max-width: 991px) {
  .map__text {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 767px) {
  .map__text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 0;
    gap: 10px;
    width: 104%;
    overflow: auto;
    margin-right: -15px;
    padding-right: 15px;
    margin-bottom: 30px;
  }
  .map__text::-webkit-scrollbar {
    display: none;
  }
}
.map__text.active {
  grid-template-columns: 1fr 0fr;
}
@media only screen and (max-width: 991px) {
  .map__text.active {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 767px) {
  .map__text.active {
    margin-right: 15px;
    padding-right: 15px;
    order: 1;
    position: relative;
    border-top: 1px solid rgba(150, 138, 113, 0.5);
    width: 100%;
    padding-right: 0;
    margin-top: 15px;
    padding-top: 15px;
  }
}
.map__info {
  position: relative;
}
.map__info:first-child .map__info--text {
  border-top: 1px solid rgba(150, 138, 113, 0.5);
}
.map__info:nth-child(2) .map__info--text {
  border-top: 1px solid rgba(150, 138, 113, 0.5);
}
@media only screen and (max-width: 991px) {
  .map__info:nth-child(2) .map__info--text {
    border-top: none;
  }
}
.map__info--text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(150, 138, 113, 0.5);
  padding-top: 20px;
  padding-bottom: 20px;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .map__info--text {
    padding: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border: none !important;
    flex-direction: row-reverse;
    background: rgba(237, 232, 221, 0.5);
    height: 35px;
    padding: 0 7px;
  }
}
.map__info--text.active {
  border-bottom: 0;
  border-top: 1px solid rgba(150, 138, 113, 0.5) !important;
}
.map__info--text.active span {
  display: none;
}
@media only screen and (max-width: 767px) {
  .map__info--text.active {
    border: none !important;
    background: rgba(237, 232, 221, 0.8);
  }
  .map__info--text.active p {
    display: block;
    color: #3a241f;
  }
  .map__info--text.active span {
    opacity: 1;
    display: block;
  }
}
.map__info--text.hover p {
  color: #3a241f;
}
.map__info--text.hover span {
  opacity: 1;
}
.map__info--text p {
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #968a71;
  transition: 300ms;
}
@media only screen and (max-width: 1380px) {
  .map__info--text p {
    font-size: 20px;
  }
}
@media only screen and (max-width: 1200px) {
  .map__info--text p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 767px) {
  .map__info--text p {
    font-size: 14px;
    white-space: nowrap;
  }
}
.map__info--text span {
  display: flex;
  align-items: center;
  height: 35px;
  width: 35px;
  justify-content: center;
  opacity: 0.8;
  transition: 300ms;
}
@media only screen and (max-width: 1200px) {
  .map__info--text span {
    width: 30px;
    height: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .map__info--text span {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    margin-right: 7px;
  }
}
.map__info--content {
  display: none;
}
.map__info--content.active {
  display: block;
}
@media only screen and (max-width: 767px) {
  .map__info--content.active {
    display: none;
  }
}
.map__info--close {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 25px;
  cursor: pointer;
}
@media only screen and (max-width: 991px) {
  .map__info--close {
    width: 20px;
    height: 20px;
    top: 5px;
  }
}
@media only screen and (max-width: 767px) {
  .map__info--close {
    display: none;
  }
}
.map__info--img {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.map__info--description {
  font-weight: 450;
  font-size: 16px;
  color: #000000;
}
@media only screen and (max-width: 767px) {
  .map__info {
    flex-direction: row-reverse;
  }
}
.map__aside {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
}
@media only screen and (max-width: 767px) {
  .map__aside {
    flex-direction: column;
    margin-top: 10px;
  }
}
.map__back {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 34px;
  width: 34px;
  z-index: 10;
  left: -3px;
  top: 0;
  background: rgb(237, 232, 221);
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .map__back.active {
    display: flex;
  }
}

.mobile-content {
  display: none;
}
@media only screen and (max-width: 767px) {
  .mobile-content {
    display: block;
    order: 1;
    margin-top: 20px;
  }
}
.mobile-content__item {
  display: none;
  border-top: 1px solid #3a241f;
}
.mobile-content__item.active {
  display: block;
}
.mobile-content__title {
  font-size: 20px;
  color: #3a241f;
  padding: 15px 0;
}