.h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}

.h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}
.h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.info {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: #c1c3c5;
}

.h-pb {
  margin: 0;
  padding: 0 0 32px 0;
}

.checkbox-round {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f4f6fb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkbox-round._active {
  background-color: #e1e1dc;
}

.button-light,
.button-primary {
  display: inline-block;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  -webkit-user-select: none;
  user-select: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.button-light:disabled,
.button-primary:disabled {
  cursor: default;
}

.button-light {
  display: inline-block;
  padding: 16px 48px;
  background-color: #fff;
  color: #000;
  border-radius: 60px;
  text-align: center;
}

.button-primary {
  display: inline-block;
  padding: 16px 48px;
  background-color: #000;
  color: #fff;
  border-radius: 60px;
  transition: background-color 0.2s ease-out;
  text-align: center;
}

.button-primary:hover {
  background-color: #ddd;
}

.input {
  width: 100%;
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  padding: 0 0 6px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: inherit;
  background-color: transparent;
  color: #aaafad;
  border-bottom: 1px solid #aaafad;
}

.input::placeholder {
  color: inherit;
}

.input:focus,
.input._fill {
  outline: none;
}

.input::-webkit-inner-srpin-button,
.input::-webkit-outer-srpin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input::-ms-clear {
  display: none;
}

.main-section {
  position: relative;
}

.main-section__bg {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 980px;
  object-fit: cover;
  display: block;
}

.main-section__wrapper {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  padding-top: 100px;
  color: #fff;
}

.main-section h1 {
  max-width: 895px;
}

/**/

.choose-section {
  max-width: 100vw;
  overflow: hidden;
}

.choose-section__grid {
  display: grid;
  grid-template-columns: 100%;
}

.choose-filter {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.choose-filter__checkboxes {
  display: flex;
  gap: 8px;
}

.choose-filter__remont-checkbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choose-filter__remont-checkbox .button-outlined {
  padding: 16px 24px;
  text-wrap: nowrap;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-property: color, background-color, border;
  flex-grow: 1;
}

.choose-filter__remont-checkbox .button-outlined._active {
  background-color: var(--color-orange);
  color: #fff;
  border: 1px solid var(--color-orange);
}

.choose-preview {
  border-radius: 16px;
  padding: 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.choose-preview__image {
  flex-grow: 1;
}

.choose-preview__image {
  margin-bottom: 48px;
}

.choose-preview__image img {
  height: 250px;
  margin: 0 auto;
  object-fit: contain;
}

.choose-preview__btn {
  margin-top: 32px;
}

.choose-preview__btn a,
.choose-preview__btn button {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.choose-preview__info {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 0;
}

.choose-preview__info-item .info {
  margin-bottom: 4px;
}

.choose-preview__info-item:first-child {
  grid-column: 1/7;
}

.choose-preview__info-item:nth-child(2),
.choose-preview__info-item:nth-child(3),
.choose-preview__info-item:nth-child(4) {
  grid-column: span 2;
}

.choose-preview__info-item:nth-child(3),
.choose-preview__info-item:nth-child(4),
.choose-preview__info-item:nth-child(6) {
  position: relative;
  padding-left: 16px;
}

.choose-preview__info-item:nth-child(3)::before,
.choose-preview__info-item:nth-child(4)::before,
.choose-preview__info-item:nth-child(6)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 30px;
  border-left: 1px solid #c1c3c5;
}

.choose-preview__info-item:nth-child(5),
.choose-preview__info-item:nth-child(6) {
  grid-column: span 3;
  padding-top: 16px;
  border-top: 1px solid #c1c3c5;
}

.choose-slider {
  width: 100%;
  padding-top: 32px;
}

.choose-slider .subtitle {
  margin-bottom: 16px;
}

.choose-slider .button-primary {
  width: 100%;
}

.floors-swiper {
  overflow: hidden;
  position: relative;
}

.floors-swiper .swiper-wrapper {
  width: 100%;
}

.floors-swiper .swiper-slide {
  padding: 24px;
  background-color: transparent;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid #e1e1dc;
}

.floors-swiper .swiper-slide._active {
  border: 1px solid #000000;
  background-color: #e1e1dc;
}

.floors-swiper__image {
  margin-bottom: 16px;
}

.floors-swiper__image img {
  width: 100%;
}

.floors-swiper-pagination {
  margin-bottom: 16px;
}

.swiper-pagination2 {
  display: flex;
  gap: 16px;
}

.swiper-pagination2 .swiper-pagination-bullet {
  background-color: var(--color-grey);
  width: 8px;
  height: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-property: width;
}

.swiper-pagination2 .swiper-pagination-bullet-active {
  cursor: default;
  width: 150px;
  background-color: var(--color-orange);
}

.remont-section {
  overflow: hidden;
}

.remont {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.remont__list {
  margin-top: 32px;
}

.remont__list li div {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  color: #fff;
  padding-bottom: 16px;
}

.remont__list li div::after {
  content: "";
  display: block;
  margin-bottom: 7px;
  border-top: 1px solid #aaafad;
  flex-grow: 1;
}

.remont__image {
  position: relative;
}

.remont__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.rpin {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  border-radius: 50%;
  background-color: #fff;
  padding: 8px;
}

.rpin::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #e1e1dc;
}

.rpin__content {
  display: none;
}

.content-grey {
  padding: 48px 24px;
  background-color: #f4f6fb;
  margin: 0 -24px;
}

.section-header p {
  margin-top: 24px;
}

[data-tab] {
  display: none;
}

.tabs {
  margin-top: 32px;
}

.tabs__arrow {
  flex: 0 0 24px;
  rotate: none;
  transition: rotate 0.2s ease-out;
}

.tabs li {
  -webkit-user-select: none;
  user-select: none;
}

.tab-image-wrapper {
  position: relative;
}

.tab-image-wrapper__img {
  position: relative;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
}

.tab-image-wrapper__img::before {
  content: "";
  position: absolute;
  background: linear-gradient(293.25deg, rgba(0, 0, 0, 0) 37.35%, rgba(0, 0, 0, 0.2) 99.98%);
  inset: 0;
  z-index: 2;
}

ul.list {
  list-style: none;
}

ul.list li {
  position: relative;
  padding-left: 24px;
}

ul.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #000;
}

ul.list li + li {
  margin-top: 20px;
}

ol.list {
  list-style: none;
}

ol.list li {
  position: relative;
  padding-left: 29px;
}

ol.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}

ol.list li:nth-child(1)::before {
  content: "1.";
}

ol.list li:nth-child(2)::before {
  content: "2.";
}

ol.list li:nth-child(3)::before {
  content: "3.";
}

ol.list li:nth-child(4)::before {
  content: "4.";
}

ol.list li:nth-child(5)::before {
  content: "5.";
}

ol.list li:nth-child(6)::before {
  content: "6.";
}

ol.list li + li {
  margin-top: 20px;
}

.blur-block {
  background-color: #fff;
  padding: 32px 24px;
  margin-top: 24px;
  color: #000;
}

.blur-block li + li {
  margin-top: 24px;
}

.blur-block p {
  margin-top: 24px;
}

.label-white {
  padding: 10px 16px;
  background-color: #f6f5f0;
  color: #000;
}

.cards-3 {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.card {
  background-color: #f6f5f0;
  padding: 24px;
  overflow: hidden;
}

.card ul,
.card ol {
  margin-top: 24px;
}

.card--blue {
  position: relative;
  background-color: #000;
  color: #fff;
}

.card .label-white {
  margin-top: 24px;
}

.card__icon {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 11px;
  right: 17px;
}

.fos1 .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fos1__img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.fos1__p {
  margin-top: 32px;
}

.fos1__form {
  margin-top: 32px;
}

.fos1__form form {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
}

.fos1 .info {
  margin-top: 6px;
}

.fos1 .info a {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 380px) {
  .choose-filter__remont-checkbox {
    flex-direction: row;
  }
}

@media (min-width: 767px) {
  .choose-section__grid {
    grid-template-columns: 48% 1fr;
    grid-template-rows: repeat(2, auto);
    gap: 32px 30px;
  }

  .choose-preview {
    grid-column: 2;
    grid-row: 1/3;
    margin-top: 0;
  }

  .choose-preview__image img {
    height: auto;
    width: 100%;
    max-width: 330px;
  }

  .choose-slider {
    padding-top: 0;
  }

  .choose-slider .button-primary {
    margin-top: 16px;
  }

  .floors-swiper::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f6f5f0 100%);
  }

  .floors-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    max-width: 48vw;
  }

  .floors-swiper__image {
    height: 115px;
  }

  .floors-swiper__image img {
    height: 100%;
    object-fit: contain;
  }

  .floors-swiper-pagination {
    display: none !important;
  }
}

@media (min-width: 1023px) {
  .h-pb {
    padding: 0 0 48px 0;
  }

  .button-light {
    padding: 16px 93px;
  }

  .choose-preview__image img {
    max-height: 500px;
  }

  .floors-swiper .swiper-slide._active {
    border: none;
    background-color: #e1e1dc;
  }

  .choose-section__grid {
    grid-template-columns: 43% 1fr;
  }
  .choose-slider {
    grid-row: span 2;
  }

  .choose-preview__image img {
    width: 100%;
    height: auto;
    max-width: 465px;
  }

  .choose-preview__info {
    grid-template-columns: repeat(4, 1fr);
  }

  .choose-preview__info-item:first-child {
    grid-column: span 1;
  }

  .choose-preview__info-item:nth-child(2) {
    position: relative;
    padding-left: 16px;
  }

  .choose-preview__info-item:nth-child(2)::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 30px;
    border-left: 1px solid #c1c3c5;
  }

  .choose-preview__info-item:nth-child(2),
  .choose-preview__info-item:nth-child(3),
  .choose-preview__info-item:nth-child(4) {
    grid-column: span 1;
  }

  .choose-preview__info-item:nth-child(5),
  .choose-preview__info-item:nth-child(6) {
    grid-column: span 2;
  }

  .floors-swiper .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .remont {
    display: grid;
    grid-template-columns: 1fr 49.5%;
    gap: 32px;
  }

  .remont__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 250px));
    justify-content: space-between;
    gap: 38px 20px;
    margin-top: 48px;
  }

  .remont__image img {
    height: 400px;
  }

  .content-grey {
    border-radius: 10px;
    padding: 64px;
    margin: 0;
  }

  .section-header {
    display: grid;
    grid-template-columns: 1fr 588px;
    gap: 32px;
  }

  .section-header p {
    margin: 0;
  }

  .tabs {
    margin-top: 48px;
  }

  .tabs__current {
    display: none;
  }

  .tabs [data-tab-links-wrapper] {
    display: flex;
    justify-content: space-between;
    padding: 4px;
    border: 1px solid #fff;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
  }

  .tabs li {
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: transparent;
  }

  .tabs li.active {
    background-color: #fff;
    color: #000;
  }

  .blur-block {
    position: absolute;
    top: 48px;
    left: 48px;
    z-index: 5;
    margin: 0;
    max-width: 480px;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card {
    padding: 32px;
  }

  .card ul,
  .card ol {
    margin-top: 32px;
  }

  .card .label-white {
    margin-top: 32px;
  }

  .card__icon {
    width: 87px;
    height: 87px;
    top: 53px;
    right: -29px;
  }

  .fos1 .container {
    display: grid;
    grid-template-columns: 1fr 55%;
    gap: 20px;
  }

  .fos1__img {
    height: 426px;
    order: 2;
  }

  .fos1__content {
    padding: 48px;
    order: 1;
  }

  .fos1__p {
    margin-top: 17px;
  }

  .fos1__form {
    margin-top: 64px;
  }

  .fos1 .info {
    margin-top: 8px;
  }
}

@media (min-width: 1024px) {
  .h1 {
    font-size: 64px;
  }

  .h2 {
    font-size: 48px;
  }
  .h3 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 22px;
  }
}

@media (min-width: 1299px) {
  .choose-filter {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .choose-preview {
    padding: 48px;
  }

  .choose-preview__image img {
    max-width: 535px;
  }

  .choose-slider .subtitle {
    margin-bottom: 24px;
  }

  .floors-swiper .swiper-wrapper {
    height: 700px;
  }

  .choose-preview__image img {
    max-width: 625px;
  }

  .choose-preview__info {
    display: flex;
  }

  .choose-preview__info-item {
    flex: 1 1 auto;
  }

  .choose-preview__info-item:nth-child(5) {
    position: relative;
    padding-left: 16px;
  }

  .choose-preview__info-item:nth-child(5)::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 30px;
    border-left: 1px solid #c1c3c5;
  }

  .choose-preview__info-item:nth-child(5),
  .choose-preview__info-item:nth-child(6) {
    padding-top: 0;
    border-top: none;
  }

  .floors-swiper__image {
    height: 130px;
  }

  .tabs li {
    padding: 12px 48px;
  }
}

@media (min-width: 1600px) {
  .remont {
    gap: 64px;
  }

  .floors-swiper .swiper-wrapper {
    height: 730px;
  }
}

@media (max-width: 1022px) {
  .tabs {
    position: relative;
  }

  .tabs__current {
    padding: 12px 32px;
    border-radius: 60px;
    background-color: #e1e1dc;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
  }

  .tabs [data-tab-links-wrapper] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    width: 100%;
    border-radius: 10px;
    background-color: #f4f6fb;
    padding: 32px;
    opacity: 0;
    translate: 0 20px;
    pointer-events: none;
    transition: opacity 0.2s ease-out, translate 0.2s ease-out;
  }

  .tabs [data-tab-links-wrapper] li + li {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #939393;
  }

  .tabs.open .tabs__arrow {
    rotate: -180deg;
  }

  .tabs.open [data-tab-links-wrapper] {
    opacity: 1;
    pointer-events: auto;
    translate: 0 10px;
  }
}

@media (max-width: 400px) {
  .h1 {
    font-size: clamp(1.75rem, -0.25rem + 10vw, 2.25rem);
  }
}

@media (min-height: 500px) {
  .main-section__wrapper {
    padding-top: 200px;
  }
}

/**/

.rpin {
  cursor: pointer;
}

.rpin__content {
  position: absolute;
  left: 100%;
  top: 0;
  height: 100%;
  padding-right: 16px;
  background-color: #fff;
  color: #000;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  display: none;
}

.rpin:hover {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.rpin:hover .rpin__content {
  display: flex !important;
}

.rpin--1 {
  top: 35%;
  left: 25%;
}

.rpin--2 {
  top: 28%;
  left: 7%;
}

.rpin--3 {
  top: 67%;
  left: 20%;
}

.rpin--4 {
  top: 82%;
  left: 37%;
}

.rpin--5 {
  top: 5%;
  left: 40%;
}

@media (min-width: 1023px) {
  .rpin__content {
    font-size: 14px;
  }

  .rpin--1 {
    top: 35%;
    left: 40%;
  }

  .rpin--3 {
    top: 67%;
    left: 29%;
  }

  .rpin--4 {
    top: 82%;
    left: 49%;
  }

  .rpin--5 {
    top: 5%;
    left: 47%;
  }
}
@media (min-width: 1300px) {
  .location-slider.cl .swiper-slide {
    height: 600px;
  }
}

.section-header > p {
  color: fff;
}

.section_block.black {
  background-color: #000;
  color: #fff;
}
.content_title.black {
  background-color: #000;
  color: #fff;
}
.section_block.black .cl-location-controls.cl5 {
  background-color: #000;
}

.section_block.white {
  background-color: #fff;
  color: #000;
}
.content_title.white {
  background-color: #fff;
  color: #e1e1dc;
}

.section_block.black .cl-location-controls.cl5 .locations-text p,
.section_block.black .cl-location-controls.cl5 .locations-text span {
  color: #fff !important;
}

.section_block.dark-gray .content_title .text {
  color: #e1e1dc;
}
.section_block.dark-gray {
  color: #fff;
}
.section_block.black .cl-location-controls.cl5 .location-control path {
  fill: #fff;
}
.section_block.black .cl-location-controls.cl5 .location-control .prev,
.section_block.black .cl-location-controls.cl5 .location-control .next {
  border-color: #fff;
}
.section_block.black .location-swiper .swiper-pagination span {
  background-color: rgba(232, 232, 232, 0.75);
}
.section_block.black .location-swiper .swiper-pagination span .swiper-pagination-bullet-active {
  background-color: #fff;
}

.oplata-section .container,
.tabs-section .section-header {
  padding-right: 80px;
}

.main-section__wrapper .container {
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1800px;
}
@media (min-width: 1024px) {
  .main-section__wrapper .container {
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
  }
}
