.main-section {
  height: 100vh;
  padding-top: var(--header-height);
  min-height: 745px;
}

.main-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.main-slider .embla__viewport {
  height: 100%;
}

.main-slider .embla__container {
  height: 100%;
}

.main-slider .embla__slide {
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.main-slider .embla__slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.main-slider__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  z-index: 5;
  height: 100%;
  padding-top: 48px;
  padding-bottom: 76px;
}

.main-slider__content h1 {
  text-wrap: balance;
}

.main-slider__content .button-primary {
  margin-top: 32px;
  width: 100%;
}

.main-slider__content .container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main-slider__text {
  flex-grow: 1;
}

.main-slider__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.main-slider__btn .button-light {
  width: 100%;
}

.main-slider__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: auto;
  padding-bottom: 24px;
  width: 100%;
}

.main-slider .slider-counter {
  display: none;
}

.main-slider .embla__pagination {
  width: 100%;
}

.main-slider .embla__dot {
  flex: 0 0 60px;
}

.welcome-section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image-opacity {
  position: relative;
}

.image-opacity__image {
  opacity: 0;
  width: 100%;
  padding-right: 24px;
}

.image-opacity__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.text-block-come {
  position: relative;
  z-index: 2;
  margin-left: 24px;
  margin-top: -100px;
  max-width: 460px;
}

.text-block-come__wrapper {
  position: relative;
  padding: 24px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: var(--color-light);
  color: var(--color-lilac);
  transform: translateX(100%);
}

.image-text {
  transform: translateY(100%);
}

.image-text img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.image-text .lines {
  margin: 24px 0;
}

.plan-section__info {
  background-color: #fff;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 24px;
}

.plan-section__info .subtitle {
  color: var(--color-lilac);
}

.plan-section__info .lines {
  margin: 24px 0;
}

.plan-section__image {
  position: relative;
}

.plan-section__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-top-right-radius: 6px;
}

.genplan-section__header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 24px;
  border-radius: 6px;
  background-color: var(--color-light);
  margin-bottom: -100px;
}

.genplan__wrapper {
  position: relative;
}

.genplan__image-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  height: 650px;
}

.genplan__image {
  position: relative;
  min-width: 1250px;
}

.genplan__image img {
  width: 100%;
  height: auto;
}

.genplan__statuses {
  margin-top: 32px;
  padding: 0 24px;
}

.genplan__statuses .subtitle {
  margin-bottom: 8px;
  text-align: center;
}

.genplan-status {
  background-color: #fff;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.genplan-status + .genplan-status {
  margin-top: 4px;
}

.genplan-status::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 3px;
}

.genplan-status--not::before {
  background-color: #4c649e;
}

.genplan-status--sell::before {
  background-color: #43840a;
}

.genplan-status--done::before {
  background-color: #aaaaaa;
}

.akcii-section__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.akcia {
  position: relative;
  background-color: var(--color-lilac);
  border-radius: 6px;
  padding: 24px;
  color: #fff;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-property: color, background-color, border-radius;
}

.akcia:hover {
  background-color: var(--color-beige);
  border-radius: 30px;
  color: var(--color-black);
}

.akcia:hover .link-arrow {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.akcia__bg-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: end;
}

.akcia__bg-icon img {
  width: 240px;
  height: 240px;
}

.akcia--family .akcia__bg-icon img {
  margin-right: -57px;
  margin-bottom: 12px;
}

.akcia--it .akcia__bg-icon img {
  margin-bottom: 12px;
  margin-right: -43px;
}

.akcia--rassrochka .akcia__bg-icon img {
  margin-right: -50px;
  margin-bottom: 12px;
}

.fos-akcia {
  padding: 24px;
  background-color: #fff;
  border-radius: 6px;
}

.fos-akcia__form {
  margin-top: 24px;
}

.fos-akcia form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.view-section__images-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.view-section__image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.view-bg {
  z-index: 2;
}

.view-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-mountain {
  z-index: 4;
  padding-top: 130px;
  transform: translateY(75%);
}

.view-mountain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-mountain__shadow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 67.11%);
  opacity: 0;
}

.view-top {
  z-index: 6;
}

.view-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-text {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  padding: 24px;
  color: #fff;
  max-width: 360px;
  transform: translateY(160%);
}

.view-text .lines {
  margin: 24px 0;
}

.window-section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.window-image {
  position: relative;
  height: 500px;
}

.window-image__image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.window-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.568);
}

.window-info {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--color-light);
  padding: 24px;
  border-top-left-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
}

.window-info__row .subtitle {
  color: var(--color-lilac);
}

.window-info__row .h1 {
  margin-left: 24px;
  margin-right: 16px;
}

.window-text {
  margin: 0;
  transform: translateX(100%) scaleY(0.86);
}

.window-text .subtitle {
  color: var(--color-lilac);
  margin-top: 32px;
}

.window-text .lines {
  margin-top: 32px;
}

.kids-section {
  --round-width: 100%;
  --round-height: calc(100vw - 48px);
  overflow: hidden;
}

.kids-section__wrapper {
  position: relative;
}

.kids-title {
  position: relative;
  z-index: 10;
}

.kids-text {
  position: relative;
  z-index: 5;
  margin-top: 32px;
}

.kids-text p {
  margin-top: 16px;
}

.kids-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

.kids-bg div {
  width: var(--round-width);
  height: var(--round-height);
  background-color: #fff;
  border-radius: 50%;
  margin: 0 auto;
}

.kids-image {
  position: relative;
  z-index: 7;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 48px;
  width: var(--round-width);
  height: var(--round-height);
}

.kids-image img {
  width: 100%;
  height: 100%;
}

.holl-section__wrapper {
  position: relative;
}

.holl-section__info {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.holl-slider {
  position: relative;
}

.holl-slider .embla__viewport {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.holl-slider .embla__slide + .embla__slide {
  margin-left: 16px;
}

.holl-slider .embla__slide img {
  width: 100%;
  object-fit: cover;
  height: 400px;
}

.holl-slider__actions {
  display: none;
}

.holl-slider .embla__pagination {
  margin-top: 10px;
}

.parking-section__wrapper {
  position: relative;
}

.parking-section__image {
  position: relative;
  margin-top: 32px;
}

.parking-section__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.parking-title {
  transform: translateX(-120%);
}

.parking-title__subtitle {
  margin-top: 24px;
}

.parking-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
}

.parking-info__wrapper {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: var(--color-light);
  padding: 24px;
}

.parking-info__content {
  padding: 16px;
  background-color: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
}

.buy-section__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 30px;
}

.buy-section__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.buy-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 360px;
  transition: border-radius 0.6s ease-in-out;
}

.buy-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-card__overlay {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: flex;
  transform: translateY(0);
  transition: transform 0.6s ease-in-out;
}

.buy-card__overlay .subtitle {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
}

.buy-card__image {
  height: 100%;
  width: auto;
  flex: 0 0 322px;
  width: 322px;
}
.buy-card__overlay img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.buy-card__overlay::before {
  content: '';
  display: block;
  flex-grow: 1;
  background-color: var(--color-beige);
}

.buy-card:hover {
  border-radius: 30px;
}

.buy-card:hover .buy-card__overlay {
  transform: translateY(100%);
}

.ipoteka-section__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.ipoteka-card {
  background-color: #fff;
  border-radius: 6px;
  padding: 24px;
}

.ipoteka-card__title {
  margin-bottom: 32px;
}

.ipoteka-card [data-range-input-wrapper] label {
  margin-bottom: 8px;
  color: var(--color-grey);
}

.ipoteka-card [data-range-input-wrapper] + [data-range-input-wrapper] {
  margin-top: 24px;
}

.ipoteka-card .button-primary {
  width: 100%;
  margin-top: 24px;
}

.bank-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-beige);
}

.bank-row + .bank-row {
  margin-top: 16px;
}

.bank-row__bank-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bank-row__costs-wrapper {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
}

.bank-row__title {
  margin-right: auto;
}

.bank-row img,
.bank-row__title {
  grid-row: 1 / 3;
}

.bank-row__cost {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank-row__cost .subtitle {
  text-wrap: nowrap;
}
.bank-row__cost .grey {
  line-height: 1.1;
}

.hod-section__settings-end {
  display: none;
}

.hod-section .custom-select [data-dropdown-list] {
  background-color: #fff;
}

.hod-slider {
  background-color: #fff;
  margin: 0 -24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hod-slider__labels {
  display: flex;
  gap: 8px;
}

.hod-slider .embla__viewport {
  flex: 0 0 67%;
}

.hod-slider__img-1 {
  transition: opacity 0.3s ease-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hod-slider__img-2 {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hod-slider__img-1 {
  opacity: 1;
}

.hod-slider__img-2 {
  z-index: 2;
  opacity: 0;
}

.hod-slider .embla__slide {
  position: relative;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.hod-slider .embla__slide + .embla__slide {
  margin-left: 20px;
}

.hod-slider .embla__slide:hover .link-arrow {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.hod-slider .embla__slide:hover .hod-slider__img-1 {
  opacity: 0;
}

.hod-slider .embla__slide:hover .hod-slider__img-2 {
  opacity: 1;
}

.hod-slider__content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.docs-section__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-section__docs {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-item {
  background-color: var(--color-beige);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 6px;
}

.doc-item__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.fos-section {
  position: relative;
}

.parallax-bg {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.parallax-bg img {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 170%;
  width: 100%;
  object-fit: cover;
}

.popup-akcia [data-popup-container] {
  padding: 64px 32px 32px;
  max-width: 825px;
  background-color: #fff;
}

.popup-akcia .h3 {
  margin-bottom: 32px;
}

.popup-akcia__subtitle {
  margin-top: 32px;
}

.popup-akcia ul {
  margin-top: 16px;
}

.popup-akcia__address {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--color-beige);
}

.popup-akcia .lilac {
  margin-top: 24px;
}

.popup-akcia .lilac + .lilac {
  margin-top: 16px !important;
}

@media (min-width: 490px) {
  .kids-section {
    --round-width: 445px;
    --round-height: 445px;
  }
}

@media (min-width: 767px) {
  .buy-card__image {
    flex: 0 0 712px;
    width: 712px;
  }
  .main-slider__content {
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .main-slider__content .button-primary {
    margin-top: 64px;
    width: auto;
  }

  .main-slider__btn {
    margin-left: auto;
  }

  .main-slider__btn .button-light {
    width: auto;
  }

  .main-slider__actions {
    width: auto;
    padding-right: 0 !important;
    padding-bottom: 32px;
  }

  .main-slider .slider-counter {
    display: block;
    margin-bottom: 24px;
    color: #fff;
  }

  .main-slider .embla__pagination {
    display: none;
  }

  .welcome-section__wrapper {
    gap: 32px;
  }

  .image-opacity__image {
    padding-right: 0;
  }

  .image-opacity__image img {
    height: 500px;
    width: 83.3%;
  }

  .text-block-come {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
  }

  .text-block-come__wrapper {
    border-bottom-left-radius: 0;
  }

  .image-text .lines {
    margin: 48px 0 32px;
  }

  .plan-section__info {
    padding: 32px;
  }

  .plan-section__info .lines {
    margin: 32px 0;
  }

  .genplan-section__header {
    padding: 0 32px 32px;
    gap: 24px;
    margin-bottom: -118px;
  }

  .genplan__image-wrapper {
    height: 700px;
  }

  .genplan__statuses {
    position: absolute;
    left: 40px;
    bottom: 32px;
    margin: 0;
    padding: 24px 8px 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 6px;
    width: 200px;
  }

  .genplan__statuses .subtitle {
    color: #fff;
  }

  .akcii-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .akcia {
    padding: 32px;
  }

  .akcia--rassrochka {
    grid-column: 1/3;
  }

  .akcia--rassrochka .akcia__bg-icon img {
    width: 380px;
    height: 380px;
    margin-right: 48px;
    margin-bottom: -127px;
  }

  .fos-akcia {
    grid-column: 1/3;
    padding: 32px;
  }

  .fos-akcia__form {
    margin-top: 48px;
  }

  .fos-akcia form {
    flex-direction: row;
    gap: 30px;
  }

  .fos-akcia input {
    width: auto;
    flex-grow: 1;
  }

  .view-mountain img {
    height: auto;
  }

  .view-text {
    width: 276px;
    max-width: none;
    padding: 0;
    top: 80px;
    right: 13%;
  }

  .window-info {
    display: grid;
    grid-template-columns: repeat(2, 290px);
    gap: 30px;
  }

  .kids-text {
    margin-top: 48px;
  }

  .kids-text p {
    margin-top: 24px;
  }

  .holl-section__info {
    padding: 48px;
  }

  .holl-section__info .lines {
    margin: 8px 0;
  }

  .holl-slider .embla__slide + .embla__slide {
    margin-left: 30px;
  }

  .parking-title__subtitle {
    margin-top: 32px;
  }

  .parking-info__wrapper {
    width: 300px;
  }

  .parking-info__content {
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .buy-card__overlay .subtitle {
    top: 32px;
    left: 32px;
  }

  .ipoteka-section__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ipoteka-card .button-primary {
    margin-top: 32px;
  }

  .hod-slider {
    margin: 0;
    border-radius: 6px;
  }

  .hod-slider .embla__slide {
    flex: 0 0 62%;
  }

  .hod-slider__content {
    padding: 32px;
  }

  .doc-item__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .popup-akcia [data-popup-container] {
    padding: 100px 80px 80px;
  }

  .popup-akcia__subtitle {
    margin-top: 48px;
  }

  .popup-akcia__address {
    padding-top: 48px;
    margin-top: 48px;
  }

  .popup-akcia .lilac {
    margin-top: 32px;
  }
}

@media (min-width: 1023px) {
  .main-slider__labels {
    margin-top: 90px;
  }
  .buy-card__image {
    flex: 0 0 977px;
    width: 977px;
  }

  .image-opacity__image img {
    width: 87.5%;
  }

  .view-section__images-wrapper {
    height: 700px;
  }

  .view-text {
    width: 342px;
    top: 143px;
    right: 15.62%;
    transform: translateY(250%);
  }

  .window-info {
    grid-template-columns: repeat(2, 345px);
  }

  .kids-section {
    --round-width: 500px;
    --round-height: 500px;
  }

  .kids-section__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .kids-title {
    width: 340px;
  }

  .kids-text {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    width: 360px;
  }

  .kids-text p {
    margin-top: 32px;
  }

  .kids-bg {
    width: auto;
  }

  .kids-bg div {
    margin: 0;
  }

  .kids-image {
    margin: 0;
  }

  .hod-slider .embla__slide {
    flex: 0 0 calc(50% - 10px);
  }

  .docs-section__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .docs-section__header .custom-select {
    width: 418px;
  }
}

@media (min-width: 1299px) {
  .buy-card__image {
    flex: 0 0 384px;
    width: 384px;
  }
  .main-section {
    min-height: 750px;
  }

  .main-slider__content {
    padding-top: 80px;
  }

  .main-slider__labels {
    margin-top: 24px;
    gap: 16px;
  }

  .welcome-section__wrapper {
    display: grid;
    grid-template-columns: 48.8% 32.9%;
    justify-content: space-between;
  }

  .image-opacity__image img {
    width: 100%;
    height: 705px;
  }

  .text-block-come {
    width: 59.8%;
    right: -100px;
    max-width: none;
  }

  .text-block-come__wrapper {
    padding: 48px;
    transform: translateX(250%);
  }

  .image-text {
    padding-left: 0;
  }

  .plan-section .container {
    display: grid;
    grid-template-columns: 32% 1fr;
  }

  .plan-section__info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .plan-section__info .lines {
    margin: 48px 0;
  }

  .plan-section__image img {
    height: 600px;
  }

  .genplan-section__header {
    padding: 0 32px 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    flex-direction: row;
    align-items: end;
    margin-bottom: -28px;
    gap: 32px;
  }

  .genplan__image-wrapper {
    overflow: hidden;
  }

  .genplan__statuses {
    left: 48px;
  }

  .akcii-section__grid {
    grid-template-columns: 1fr 1fr 40.2%;
    grid-template-rows: repeat(2, 335px);
    gap: 30px;
  }

  .akcia {
    height: auto;
  }

  .akcia__bg-icon img {
    width: 380px;
    height: 380px;
  }

  .akcia--family {
    grid-row: 1/3;
  }

  .akcia--family .akcia__bg-icon img {
    margin-bottom: 140px;
    margin-right: -70px;
  }

  .akcia--it {
    grid-row: 1/3;
  }

  .akcia--it .akcia__bg-icon img {
    margin-bottom: 120px;
    margin-right: -70px;
  }

  .akcia--rassrochka {
    grid-column: span 1;
  }

  .fos-akcia {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: span 1;
  }

  .fos-akcia .subtitle {
    max-width: 490px;
  }

  .view-text {
    width: 380px;
    /* top: 180px; */
    top: 18%;
    right: 11.53%;
    transform: translateY(140%);
  }

  .view-text .lines {
    margin: 48px 0;
  }

  .window-section__wrapper {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .window-image {
    height: 760px;
    flex: 0 0 56.76%;
  }

  .window-info {
    grid-template-columns: repeat(2, 470px);
    padding: 48px;
    right: -515px;
    transform: translateX(110%);
  }

  .window-text {
    flex: 0 0 32.92%;
    padding-left: 0;
    padding-top: 120px;
  }

  .window-text .lines {
    margin-top: 64px;
  }

  .kids-title {
    width: 380px;
  }

  .kids-text {
    width: 300px;
  }

  .holl-section__wrapper {
    display: grid;
    grid-template-columns: 31.6% 1fr;
  }

  .holl-section__info {
    justify-content: space-between;
  }

  .holl-section__info .lines {
    margin: 0;
  }

  .holl-slider .embla__slide img {
    height: 600px;
  }

  .holl-slider__actions {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
  }

  .holl-slider .embla__pagination {
    display: none;
  }

  .parking-section__image {
    margin-top: 0;
  }

  .parking-section__image img {
    height: 700px;
  }

  .parking-title {
    position: absolute;
    top: 64px;
    left: 0;
    z-index: 5;
    color: #fff;
    width: 400px;
  }

  .parking-title__subtitle {
    color: #fff;
  }

  .parking-info__wrapper {
    width: 350px;
    padding: 48px;
  }

  .parking-info__content {
    padding: 48px 24px;
    gap: 24px;
  }

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

  .buy-section__item:nth-child(2) {
    flex-direction: column-reverse;
  }

  .buy-card {
    height: 500px;
  }

  .buy-card__overlay .subtitle {
    top: 48px;
    left: 48px;
  }

  .ipoteka-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .ipoteka-card [data-range-input-wrapper] + [data-range-input-wrapper] {
    margin-top: 32px;
  }

  .ipoteka-card .button-primary {
    margin-top: 48px;
  }

  .bank-row__costs-wrapper {
    grid-template-columns: 100px 1fr;
  }

  .hod-section__settings {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hod-section__settings-end {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hod-section .embla__pagination {
    display: none;
  }

  .hod-slider {
    padding: 48px;
    flex-direction: row;
  }

  .hod-slider .embla__slide {
    flex: 0 0 56%;
  }

  .hod-slider .embla__slide + .embla__slide {
    margin-left: 30px;
  }

  .docs-section__docs {
    margin-top: 64px;
  }

  .doc-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
  }

  .doc-item__footer {
    justify-content: start;
    margin-top: 0;
    gap: 48px;
  }

  .parallax-bg {
    height: 700px;
  }
}

@media (min-width: 1399px) {
  .kids-text {
    width: 300px;
  }
}

@media (min-width: 1400px) {
  .kids-section {
    --round-width: 600px;
    --round-height: 600px;
  }
}

@media (min-width: 1600px) {
  .buy-card__image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .main-section {
    min-height: 900px;
  }

  .bank-row__costs-wrapper {
    grid-template-columns: 150px 1fr;
  }

  .main-slider__content {
    padding-top: 100px;
  }

  .main-slider__labels {
    margin-top: 32px;
  }

  .welcome-section__wrapper {
    grid-template-columns: 49.4% 33.7%;
  }

  .text-block-come {
    width: 59.9%;
    right: -150px;
  }

  .image-text img {
    height: 445px;
  }

  .genplan-section__header {
    padding: 0 48px 48px;
    margin-bottom: -44px;
    gap: 46px;
  }

  .genplan-section__header .h2 {
    margin-bottom: -16px;
  }

  .genplan__image-wrapper {
    height: 900px;
  }

  .genplan__statuses {
    left: 80px;
  }

  .akcii-section__grid {
    grid-template-columns: 1fr 1fr 40.6%;
  }

  .view-section__images-wrapper {
    height: 900px;
  }

  .view-text {
    width: 418px;
    /* top: 340px; */
    top: 38%;
    right: 19.68%;
    transform: translateY(200%);
  }

  .window-info {
    right: -745px;
  }

  .window-text {
    flex: 0 0 33.75%;
  }

  .kids-title {
    width: 567px;
  }

  .kids-text {
    width: 425px;
  }

  .kids-text p {
    margin-top: 48px;
  }

  .holl-section__wrapper {
    grid-template-columns: 32.2% 1fr;
  }

  .holl-section__info {
    justify-content: center;
    gap: 48px;
  }

  .parking-section__image img {
    height: 900px;
  }

  .parking-info__content {
    padding: 45px 24px 85px;
  }

  .buy-card__overlay {
    flex-direction: column;
  }

  .ipoteka-card {
    padding: 32px;
  }

  .hod-slider .embla__slide {
    flex: 0 0 37.5%;
  }

  .parallax-bg {
    height: 800px;
  }
}
@media (min-width: 1800px) {
  .kids-section {
    --round-width: 740px;
    --round-height: 740px;
  }
}

@media (min-width: 2000px) {
  .window-info {
    transform: translateX(140%);
  }
  .genplan__image-wrapper {
    height: 1000px;
  }
  .view-section__images-wrapper {
    height: 1000px;
  }
  .window-image {
    height: 860px;
  }
  .parking-section__image img {
    height: 1100px;
  }
  .parallax-bg {
    height: 900px;
  }
}

@media (max-width: 767px) {
  .main-slider__btns {
    display: none;
  }
}

@media (max-width: 370px) {
  .buy-card__overlay {
    flex-direction: column;
  }

  .buy-card__image {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 767px) and (max-width: 1299px) {
  .ipoteka-card:nth-child(1) {
    grid-column: 1/3;
  }
}

.popup-gallery-slider__text {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}
