.call-banner {
  position: fixed;
  left: 20px;
  bottom: 40px;
  z-index: 1000;
  /* display: block; */
  cursor: pointer;
  border-radius: 100px;
  /* display: -webkit-flex; */
  /* display: -ms-flex; */
  /* padding: 30px; */
  display: flex;
  max-width: 85px;
  align-items: center;
  transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
  background: linear-gradient(180deg, rgba(50, 37, 37, 0.22) 0, rgba(50, 37, 37, 0) 100%), #cd947b;
}

.call-banner svg {
  margin: 30px;
  flex-shrink: 0;
}

.call-banner:hover {
  max-width: 305px;
}

.call-banner:hover .call-banner__content {
  opacity: 1;
  height: fit-content;
  line-height: 1;

  user-select: all;
  visibility: visible;
  position: static;
  transition: all 0s ease 0.25s;
}

.call-banner__content {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-right: 30px;
  white-space: nowrap;
  /* margin-left: 20px; */
  font-size: 18px;
  font-weight: 400;
  color: #fdfcfb;
  opacity: 0;
  user-select: none;
  position: absolute;
  visibility: hidden;
}

@media (max-width: 756px) {
  .call-banner {
    bottom: 170px;
  }

  .call-banner.close {
    bottom: 40px;
  }

  .call-banner svg {
    margin: 20px;
  }

  .call-banner .call-banner__content {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    font-size: 16px;
  }
}

@media (max-width: 350px) {
  .call-banner {
    bottom: 180px;
  }

  .call-banner.close {
    bottom: 40px;
  }
}

.banner {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: none;
  max-width: 350px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(50, 37, 37, 0.22) 0, rgba(50, 37, 37, 0) 100%), #cd947b;
}

.banner.active {
  display: block;
}

.banner__inner {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  padding: 28px 32px;
}

.banner__content {
  margin-right: 30px;
}

.banner__title {
  font-size: 40px;
  margin-bottom: 0.2em;
  color: #fff;
}

.banner__subtitle p {
  margin-bottom: 0.8em;
  color: #fdfcfb;
  line-height: 1.3;
  font-size: 16px;
}

.banner__subtitle p a {
  text-decoration: underline;
}

.banner__subtitle p:last-child {
  margin-bottom: 0;
}

.banner__exit {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  height: fit-content;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
}

@media (max-width: 756px) {
  .banner {
    max-width: none;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .banner__inner {}

  .banner__title {
    font-size: 32px;
  }
}

.content__inner .main-slider__content-button p {
  width: auto;
  color: #283033;
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.content__inner .main-slider__content-button {
  margin: 1em 0;
  display: block;
}

.content__inner .main-slider__content-button:hover p {
  color: #90a2ac;
}

.architecture__text .main-slider__content-button span {
  width: auto;
  color: #283033;
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.architecture__text .main-slider__content-button:hover span {
  color: #90a2ac;
}

.architecture__text .main-slider__content-button {
  margin: 2em 0;
  display: block;
}

.architecture__text .main-slider__content-button {
  width: fit-content;
}

.content__inner .main-slider__content-button {
  width: fit-content;
}

.text-container a {
  color: #cd947b;
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.text-container a:hover {
  color: #90a2ac;
}

.choose-flats__img-right li,
.choose-flats__img-left li {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 0.3em 0.6em;
  border-radius: 20px;
}

.choose-flats__img-right li:hover,
.choose-flats__img-left li:hover {
  background-color: #90a2ac;
}

.modal-apartments .choose-flats .choose-flats__img-left ul li,
.modal-apartments .choose-flats .choose-flats__img-right ul li {
  margin-right: 0.4em;
}

.modal-apartments .choose-flats .choose-flats__img-left ul,
.modal-apartments .choose-flats .choose-flats__img-right ul {
  transform: translateX(-12px);
}

.modal-apartments .choose-flats .choose-flats__img-left ul li a,
.modal-apartments .choose-flats .choose-flats__img-right ul li a {
  font-size: 20px;
  color: #fdfcfb;
}

.genplan__bg svg {
  min-width: auto;
}

.genplan__bg-wrapper {
  min-width: auto;
}

@media (max-width: 756px) {
  .genplan__marker.second {
    bottom: 0;
    right: 20%;
  }

  .genplan__marker.first {
    left: 24%;
    bottom: 10%;
  }

  .genplan__marker span {
    width: 60px;
    height: 60px;
    line-height: 67px;
    font-size: 26px;
  }

  .genplan__green-bg {
    padding-top: 50px;
  }

  /* Этаж */
  .genplan-flat__marker {
    left: 10px;
    min-width: 0px;
    max-width: 270px;
    min-height: auto;
    max-width: 100%;
  }

  .genplan-flat__content {
    padding: 15px 12px;
    min-height: auto;
  }

  .genplan-flat__marker h3 {
    font-size: 35px;
    margin-bottom: 0.1em;
  }

  .genplan-flat__marker .genplan-flat__content-item h5 {
    font-size: 16px;
    margin-bottom: 0.2em;
  }

  .genplan-flat__marker .genplan-flat__content-item p {
    font-size: 14px;
  }

  .genplan-flat__marker .genplan-flat__content-item p:first-child {
    margin-right: 20px;
  }

  .genplan-flat {
    min-width: auto !important;
    min-height: auto !important;
  }

  .genplan__green {
    min-width: auto !important;
  }
}

@media (max-width: 576px) {
  .genplan__marker.second {
    bottom: 0;
    right: 18%;
  }

  .genplan__marker.first {
    left: 20%;
    bottom: 0%;
  }

  .genplan__marker span {
    width: 60px;
    height: 60px;
    line-height: 67px;
    font-size: 26px;
  }

  .genplan__marker-block {
    padding: 34px 15px 6px;
  }

  .genplan__marker-block p {
    font-size: 12px;
    margin-bottom: 0;
  }

  .genplan__marker-block h5 {
    font-size: 26px;
  }
}

@media (max-width: 449px) {
  .genplan-flat__marker {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .flat__content-compas {
    width: auto;
  }

  .genplan-plan .genplan-plan__compas {
    display: block;
  }

  .genplan-plan .genplan-plan__compas .flat__content-corp-svg {
    display: none;
  }

  .genplan-plan__bg svg {
    order: 3;
  }

  .genplan-plan__bg .genplan-plan__compas {
    order: 2;
    width: 100%;
    margin: 1em 0;
  }
}

.genplan__tabs {
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .breadcrumbs {
    white-space: nowrap;
    overflow-x: auto;
  }
}

.loko-widgets {
  position: fixed;
  bottom: 70px;
  z-index: 1000;
}

.loko-widgets.active {
  position: fixed;
  left: 60px;
  bottom: 70px;
  z-index: 1000;
}

.loko-widget {
  position: fixed;
  bottom: 65px;
  left: 60px;
  width: 56px;
  height: 56px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 148, 123, 1);
  transition: bottom 0.3s ease 0s;
}

.loko-widget__ring {
  position: absolute;
  z-index: -1;
  width: 56px;
  height: 56px;
  background-color: inherit;
  border-radius: 100%;
  opacity: 0.8;
}

.loko-widget__close {
  display: none;
}

.loko-widget__close.active {
  display: flex;
}

.loko-widget__close.active svg {
  display: flex !important;
}

.loko-widget__image {
  display: flex;
}

.loko-widget__image.pause {
  display: none;
}

.loko-widget__ring.pause {
  display: none;
}

.loko-widget__item {
  padding: 15px 24px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  width: fit-content;
  cursor: pointer;
}

.loko-widget__link {
  display: flex;
  align-items: center;

  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: rgba(71, 81, 87, 1);
  margin: 0;
  text-transform: none;
}

.loko-widget__list {
  opacity: 0;
  visibility: hidden;
  position: relative;
  z-index: 1000;
  top: -70px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loko-widget__list.active {
  opacity: 1;
  visibility: visible;
}

.loko-widgets.active .loko-widget__list {
  opacity: 1;
  visibility: visible;
}

body.active-modal .loko-widgets,
.menu-active .loko-widgets,
.menu-active .loko-widget,
body.active-modal .loko-widget {
  z-index: 1;
}

@media (max-width: 1150px) {
  .loko-widget {
    left: 30px;
  }

  .loko-widgets {
    left: 30px;
  }

  .loko-widgets.active {
    left: 30px;
  }
}

@media (max-width: 576px) {

  /* .loko-widget__list {
    top: -60px;
  } */
  .loko-widget {
    /* bottom: 180px; */
    left: 15px;
  }

  .loko-widgets {
    /* bottom: 195px; */
    left: 15px;
  }

  .loko-widgets.active {
    /* bottom: 195px; */
    left: 15px;
  }
}

.call-banner {
  display: none;
}

.main-view {
  background-color: #fdfcfb;
  margin: 0;
}

.main-view img {
  max-width: 100%;
  display: block;
  translate: 0 calc(clamp(3.125rem, calc(0.893rem + 5.58vw), 6.25rem) * -1);
}

.main-plans {
  padding-top: 2.25em;
}

body.lock-scroll {
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: hsl(0 0% 0% / .7);
  transition: all 300ms ease;
}

.modal-overlay[aria-hidden=true] {
  visibility: hidden;
  opacity: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: grid;
  place-items: center;
  overflow: hidden;
}

.modal-wrapper {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  max-height: 100svh;
  overflow: auto;
  background-color: #475157;
  color: #fdfcfb;
  padding: clamp(1.5rem, calc(0.875rem + 1.563vw), 2.375rem)
    /* min: 24px, max: 38px */
    clamp(1.5rem, calc(0.429rem + 2.679vw), 3rem)
    /* min: 24px, max: 48px */
  ;

  animation: modal-open 300ms ease;
}

.modal[aria-hidden=true] .modal-wrapper {
  animation: modal-close 300ms ease;
}

.modal-bg-img {
  position: absolute;
  inset: 0;
}

.modal-bg-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: brightness(.6);
}

.modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-bottom: clamp(1.5rem, calc(1.143rem + 0.893vw), 2rem);
  /* min: 24px, max: 32px */
}

.modal-header button {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  color: currentColor;
}

.modal-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.modal-body {
  position: relative;
  z-index: 2;
}

.modal-footer .button {
  display: inline-flex;
}

[data-focus-guard] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

@keyframes modal-open {
  from {
    opacity: 0;
    visibility: hidden;
    translate: 0 50px;
  }

  to {
    opacity: 1;
    visibility: visible;
    translate: 0;
  }
}

@keyframes modal-close {
  from {
    opacity: 1;
    visibility: visible;
    translate: 0;
  }

  to {
    opacity: 0;
    visibility: hidden;
    translate: 0 50px;
  }
}