.home-title-wrapper{
  display: none;
}

/* RESET */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* MAIN */

a,
button,
a:hover,
a img,
button:hover,
a:hover img,
button:hover img,
button img {
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

._h2 {
  font: normal 600 21px/130% var(--title-font);
  color: var(--title-color);
  margin-bottom: 30px;
}

._grey-bg {
  background: var(--block-background);
}

._standard-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  white-space: nowrap;
  border-radius: 30px;
  outline-offset: 10px;
  font: 500 14px/130% var(--text-font);
  letter-spacing: .1em;
  padding: 16px 30px;
  text-transform: uppercase;
  margin: 10px;
}

._white-btn {
  background-color: var(--background);
  color: var(--title-color);
  outline: 1px solid var(--background);
}

._standard-btn:hover {
  outline: 1px solid transparent;
}

@media screen and (min-width: 641px) {
  ._h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 1000px) {
  ._h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }
}

/* end MAIN */
/* COMMON */

/* main block */
.main-block {
  padding: 0;
  position: relative;
}

.main-block__text {
  font: 400 14px/130% var(--title-font);
  color: var(--background);
  line-height: 130%;
  margin-top: 20px;
  max-width: 320px;
}

.main-block__house-name {
  font: 400 14px/130% var(--title-font);
  font-weight: 600;
  color: var(--background);
  position: absolute;
  left: 0;
  bottom: 188px;
}

.main-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.00) 40.18%), center center / cover url('./img/main-block/375-1.jpg') no-repeat;
}

.main-block__features {
  margin-top: -50px;
  gap: 20px;
}

.main-block__feature {
  width: 100%;
  box-shadow: 1px 1px 9px 0px #B6B4B440;
  padding: 21px 20px 29px;
}

.main-block__feature::before {
  top: 20px;
}

.main-block__feature:first-of-type::before {
  background: center center / cover url('./img/main-block/1.svg') no-repeat;
}

.main-block__feature:nth-of-type(2)::before {
  background: center center / cover url('./img/main-block/2.svg') no-repeat;
}

.main-block__feature:last-of-type::before {
  background: center center / cover url('./img/main-block/3.svg') no-repeat;
}

.main-block .wrapper {
  display: flex;
  justify-content: center;
}

.main-block__body {
  width: 100%;
  min-height: 600px;
  box-sizing: border-box;
  padding: 40px 0;
}

.main-block__btn {
  width: calc(100% - 20px);
  position: absolute;
  bottom: 90px;
  left: 10px;
  margin: 10px auto;
}

.main-block__feature--title {
  font-family: var(--title-font);
  font-weight: 600;
  line-height: 130%;
  display: flex;
  min-height: 70px;
  align-items: center;
  color: var(--title-color);
  margin-left: 90px;
}

.main-block__feature--text {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  width: 96%;
  margin-top: 16px;
  margin-bottom: 0;
}

.main-block__title {
  font: normal 400 42px/110% var(--title-font);
  color: var(--background);
  letter-spacing: normal;
  font-size: 30px;
  max-width: 320px;
}

._card {
  border-radius: 20px;
  background-color: var(--background);
  padding: 30px;
}

._card-icon {
  position: relative;
}

._card-icon::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 60px;
  height: 60px;
  border-radius: 100%;
}

._flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.main-block__feature--arrow {
  display: none;
}

.main-block .j-drop-down .j-dd-wrapper {
  display: block !important;
}

.main-block .j-drop-down {
  pointer-events: none;
}

@media screen and (max-width: 640px) {
  .main-block .j-drop-down .j-dd-wrapper {
    display: none !important;
  }

  .main-block .j-drop-down.active .j-dd-wrapper {
    display: block !important;
  }

  ._card {
    padding: 25px 30px;
  }

  .main-block__feature--title {
    margin-left: 80px;
    display: flex;
    justify-content: space-between;
  }

  .main-block__feature--arrow {
    display: block;
    margin-left: 10px;
    transition: all .1s ease;
  }

  .main-block .j-drop-down.active .main-block__feature--arrow {
    transform: rotate(180deg);
    transition: all .1s ease;
  }

  .main-block .j-drop-down {
    pointer-events: all;
  }
}

@media screen and (min-width: 641px) {

  /* main block */
  .main-block::before {
    height: 640px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.00) 40.18%), center / cover url('./img/main-block/768-1.jpg') no-repeat;
  }

  .main-block__body {
    min-height: 640px;
    box-sizing: border-box;
    padding: 40px 0;
  }

  .main-block__title {
    font-size: 36px;
    max-width: 400px;
  }

  .main-block__text {
    font-size: 16px;
    line-height: 130%;
    max-width: 470px;
    margin-top: 21px;
  }

  .main-block__house-name {
    bottom: 100px;
    right: auto;
    left: 0;
  }

  .main-block__btn {
    width: calc(100% - 20px);
    max-width: 260px;
    position: initial;
    bottom: 300px;
    left: 10px;
    margin: 40px 10px;
  }

  .main-block__features {
    margin-top: -70px;
    gap: 10px;
  }

  .main-block__feature {
    width: 100%;
    padding: 31px 30px 30px;
  }

  .main-block__feature--text {
    margin-left: 90px;
    width: auto;
  }

  .main-block__feature--title {
    min-height: auto;
    margin-left: 90px;
  }

  .main-block__feature::before {
    top: 30px;
  }
}

@media screen and (min-width: 1200px) {

  /* main block */
  .main-block::before {
    height: 680px;
    background: center center / cover url('./img/main-block/1920-1.jpg') no-repeat;
  }

  .main-block__body {
    max-width: 1076px;
    min-height: 680px;
    box-sizing: border-box;
    padding: 70px 0;
  }

  .main-block__text {
    font: normal 500 18px/130% var(--title-font);
    line-height: 130%;
    width: 64%;
    max-width: 530px;
    margin-top: 30px;
  }

  .main-block__house-name {
    display: block;
    bottom: 88px;
    left: auto;
    right: 0;
  }

  .main-block__btn {
    margin: 39px 10px;
  }

  .main-block__features {
    margin-top: -60px;
    gap: 30px;
  }

  .main-block__feature {
    width: calc(100%/3 - 20px);
    padding: 31px 60px 29px 30px;
  }

  .main-block__house-name {
    font: normal 600 18px/130% var(--title-font);
  }

  .main-block__feature--title {
    max-width: 200px;
  }

  .main-block__title {
    font-size: 42px;
    max-width: 100%;
  }
}

/* end main block */

/* play__btn */

.play__btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.play__btn {
  position: relative;
  background-color: var(--main-color);
  color: var(--background);
  outline: 1px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-align: center;
  white-space: nowrap;
  border-radius: 30px;
  outline-offset: 10px;
  font: 500 14px/130% var(--text-font);
  letter-spacing: .1em;
  padding: 13px 22px;
  text-transform: uppercase;
  margin: 10px;
}

.play__btn img {
  width: 24px;
  margin-right: 10px;
}

.play__btn:hover {
  outline: 1px solid transparent;
}

@media (min-width: 1000px) {
  .play__btn-wrapper {
    display: none;
  }
}

@media (max-width: 374px) {
  .play__btn {
    white-space: normal;
  }
}

/* finishing */

.finishing {
  padding: 0;
  margin-top: 60px;
}

.finishing__items {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
}

.finishing__item {
  width: calc(100%/2 - 10px);
}

.finishing__item img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.finishing__item p {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  margin-top: 5px;
  margin-bottom: 0px;
}

@media screen and (min-width: 641px) {
  .finishing {
    padding: 0;
    margin-top: 80px;
  }

  .finishing__item {
    width: calc(100%/3 - 20px);
  }

  .finishing__items {
    gap: 30px;
  }

  .finishing__item p {
    margin-top: 9px;
  }
}

@media screen and (min-width: 1000px) {


  .finishing__item {
    width: calc(20% - 24px);
  }


  .finishing__item p {
    font-size: 18px;
  }

  .finishing__item p {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .finishing {
    padding: 0;
    margin-top: 125px;
  }
}

/* video-block */
.video-block {
  padding: 0;
  margin-top: 60px;
}

.video-block .wrapper {
  position: relative;
  min-height: 700px;
  padding: 40px 0;
}

.video-block::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 700px;
  background: center center/cover url(./img/video/video-375.jpg) no-repeat;
}

.video-block__title {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 21px;
  line-height: 130%;
  color: var(--background);
  max-width: 320px;
  margin-bottom: 20px;
}

.video-block__time {
  width: fit-content;
  font: 500 16px/130% var(--text-font);
  color: var(--background);
  border: 1px solid var(--background);
  border-radius: 22px;
  padding: 7px 15px;
}

.video-block__btn {
  display: block;
  width: 90px;
  height: 90px;
  border-radius: 100%;
  outline-offset: 29px;
  outline: 1px solid var(--background);
  margin: 128px auto 31px;
}

a:hover .video-block__btn {
  outline: 1px solid transparent;
}

.video-block__list {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 11px;
  bottom: 27px;
}

.video-block__item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}

.video-block__item--title {
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--background);
}

.video-block__item--text {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--background);
}

.video-block__item:nth-of-type(3) .video-block__item--title {
  text-transform: lowercase;
}

.video-block__item:nth-of-type(3) .video-block__item--title sup {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  position: relative;
  top: 0;
  left: 0;
  margin-right: 2px;
}

@media (min-width: 641px) {
  .video-block::before {
    background: center center/cover no-repeat url(./img/video/video-1024.jpg);
  }

  .video-block__title {
    max-width: 660px;
  }

  .video-block .wrapper {
    padding: 30px 0;
  }

  .video-block__btn {
    margin: 140px auto 31px;
  }

  .video-block__list {
    flex-direction: row;
    gap: 10px;
    bottom: 30px;
  }

  .video-block__item {
    width: calc(25% - 8px);
    flex-direction: column;
  }

  .video-block {
    margin-top: 80px;
  }

  .video-block__item:nth-of-type(3) .video-block__item--title sup {
    font-size: 14px;
    top: 2px;
  }

  .video-block__item--text {
    font-size: 16px;
  }

}

@media (min-width: 768px) {
  .video-block__title {
    font-size: 30px;
  }

  .video-block__item--title {
    font-size: 26px;
  }

}

@media (min-width: 1200px) {
  .video-block::before {

    background: center center/cover no-repeat url(./img/video/video-1600.jpg);
  }

  .video-block__title {
    font-size: 36px;
    margin-bottom: 30px;

  }

  .video-block .wrapper {
    padding: 60px 0;
  }

  .video-block__btn {
    width: 110px;
    height: 110px;
    margin: 74px auto 31px;
  }

  .video-block__item {
    width: calc(25% - 23px);
  }

  .video-block__list {
    bottom: 60px;
  }

  .video-block {
    margin-top: 110px;
  }
}

/* scheme */

.scheme {
  padding: 0;
  margin-top: 60px;
}

.scheme__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scheme__item {
  position: relative;
  width: 100%;
  border: 1px solid var(--tab-color);
  border-radius: 20px;
  box-sizing: border-box;
  padding: 30px 30px 29px 29px;
  min-height: 247px;
}

.scheme__item--title {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 1.7px;
  color: var(--title-color);
  text-transform: uppercase;
  margin-bottom: 19px;
}

.scheme__item--text {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--dark-grey-color);
  margin-bottom: 0;
}

.scheme__connect {
  display: none;
  position: absolute;
  top: 67px;
  right: -31px;
  height: 1px;
  width: 30px;
  background: var(--tab-color);
}

@media (min-width: 641px) {
  .scheme {
    margin-top: 80px;
  }

  .scheme ._h2 {
    margin-bottom: 40px;
  }

  .scheme__item {
    min-height: unset;
    padding: 30px 30px 29px;
  }

  .scheme__items {
    gap: 20px;
  }

}

@media (min-width: 1200px) {
  .scheme {
    margin-top: 120px;
  }

  .scheme ._h2 {
    margin-bottom: 40px;
  }

  .scheme__items {
    flex-direction: row;
    gap: 30px;
  }

  .scheme__connect {
    display: block;
  }

  .scheme__item {
    width: calc(100% / 3);
  }

  .scheme__item {
    min-height: 300px;
    padding: 40px 38px 40px 40px;
  }

  .scheme__item--title {
    margin-bottom: 28px;
  }
}

/* wall-pie */

.wall-pie {
  padding: 0;
  margin-top: 60px;
  padding-bottom: 40px;
}

.wall-pie__title {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  gap: 0;
  margin-bottom: 30px;
}

.wall-pie ._h2 {
  margin-bottom: 10px;
}

.wall-pie__title-add {
  height: fit-content;
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: var(--dark-grey-color);

}

.wall-pie__pic {
  min-height: 440px;
  display: flex;
  justify-content: center;
  font-size: 0;
}

.wall-pie__img {
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
}

.wall-pie__items {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px 20px;
  padding: 0;
  margin-top: 31px;
  max-height: 412px;
}

.wall-pie__item {
  width: calc(100%/2 - 10px);
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--dark-grey-color);
}

.wall-pie__text {
  width: 100%;
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--tab-color);
  text-align: left;
  margin-top: 46px;
  max-width: 300px;
}

@media (min-width: 641px) {
  .wall-pie {
    margin-top: 80px;
  }

  .wall-pie ._h2 {
    margin-bottom: 10px;
  }

  .wall-pie__item {
    width: calc(100%/3 - 30px);
  }

  .wall-pie__items {
    gap: 16px 30px;
    max-height: 285px;
    margin-top: 41px;
  }

  .wall-pie__title {
    margin-bottom: 40px;
  }

  .wall-pie__pic {
    height: auto;
  }

  .wall-pie__img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  .wall-pie__text {
    margin-top: 30px;
    max-width: none;
  }

}

@media (min-width: 1000px) {
  .wall-pie__pic {
    height: 640px;
  }

  .wall-pie__img {
    height: 100%;
    width: auto;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  .wall-pie {
    margin-top: 135px;
    padding-bottom: 35px;
  }

  .wall-pie__items {
    max-height: 330px;
    background: var(--background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 2px 9px 0px #B6B4B440;
    gap: 20px 30px;
    padding: 40px 50px;
    margin-top: 40px;
  }

  .wall-pie__title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 30px;
  }

  .wall-pie__title-add {
    font-size: 16px;
  }

  .wall-pie__img {
    border-radius: 20px;
  }

  .wall-pie__item {
    width: calc(100%/4 - 22px);
    font-size: 16px;
  }

  .wall-pie__text {
    font-size: 16px;
    text-align: right;
    margin-top: 30px;
    max-width: none;
  }

}

@media (min-width: 1300px) {
  .wall-pie__items {
    max-height: 280px;
  }
}