:root {
  --bread-crumbs: #878787;
  --brand: #ed1c24;
  --text-dark: #1d1d27;
  --text-light: #fff;
  --text-gray: #9a9a9a;
  --inter: rgb(29 29 39 / 50%);
  --text-secondary-gray: #878787;
  --text-brand-light: #f4f5f9;
  --filter-btn-bg: #dbdbdb;
  --border-color: rgb(29 29 39 / 10%);
  --filter-border-color: rgb(244 245 249 / 10%);
  --label-sale: #00e;
  --label-available: #22c55e;
  --label-reserve: #f59e0b;
  --label-sold: #6b7280;
  --dark-bg-main: #000;
  --light-bg-main: #f5f5f5;
  --light-bg-secondary: #fff;
}

.filter-residential {
  display: flex;
  gap: 1.0416666667vw;
  align-items: center;
  justify-content: flex-start;
  padding: 1.4583333333vw;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
@media (max-width: 1025px) {
  .filter-residential {
    gap: 0.5215123859vw;
    padding: 3.1290743155vw 0;
  }
}
@media (max-width: 767px) {
  .filter-residential {
    gap: 1.0666666667vw;
    padding: 4.2666666667vw 0;
    overflow-x: auto;
  }
}
.filter-residential button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.1875vw;
  padding: 0 0.8333333333vw;
  line-height: 100%;
  color: var(--text-dark);
  white-space: nowrap;
  background: var(--filter-btn-bg);
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .filter-residential button {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-residential button {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .filter-residential button {
    height: 4.5632333768vw;
    padding: 0 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-residential button {
    height: 9.3333333333vw;
    padding: 0 4.2666666667vw;
  }
}
.filter-residential button.active {
  height: 2.1875vw;
  padding: 0 0.8333333333vw;
  color: var(--text-light);
  background-color: var(--brand);
}
@media (max-width: 1025px) {
  .filter-residential button.active {
    height: 4.5632333768vw;
    padding: 0 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-residential button.active {
    height: 9.3333333333vw;
    padding: 0 4.2666666667vw;
  }
}

.filter-district {
  position: relative;
}
.filter-district__toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 2.1875vw;
  padding: 0 1.0416666667vw;
  font-family: 0.9375vw;
  line-height: 100%;
  color: var(--text-dark);
  cursor: pointer;
  background: #dbdbdb;
  border: none;
}
@media (max-width: 1025px) {
  .filter-district__toggle {
    height: 5.4758800522vw;
    padding: 0 2.6075619296vw;
    font-family: 2.3468057366vw;
  }
}
@media (max-width: 767px) {
  .filter-district__toggle {
    height: 11.2vw;
    padding: 0 5.3333333333vw;
    font-family: 4.8vw;
  }
}
.filter-district__icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.filter-district.is-open .filter-district__icon {
  transform: rotate(180deg);
}
.filter-district__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: none;
  width: 16.6666666667vw;
  padding: 1.25vw 0 1.25vw 1.25vw;
  background: var(--text-light);
}
@media (max-width: 1025px) {
  .filter-district__dropdown {
    width: 39.1134289439vw;
    padding: 3.1290743155vw 0 3.1290743155vw 3.1290743155vw;
  }
}
@media (max-width: 767px) {
  .filter-district__dropdown {
    position: fixed;
    top: 82.6666666667vw;
    left: 29.3333333333vw;
    width: 66.6666666667vw;
    padding: 6.4vw 0 6.4vw 6.4vw;
  }
}
.filter-district.is-open .filter-district__dropdown {
  display: block;
}
.filter-district__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0.8333333333vw;
  margin-bottom: 0.8333333333vw;
}
@media (max-width: 1025px) {
  .filter-district__header {
    padding-right: 2.0860495437vw;
    margin-bottom: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-district__header {
    padding-right: 4.2666666667vw;
    margin-bottom: 4.2666666667vw;
  }
}
.filter-district__title {
  color: var(--text-dark);
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .filter-district__title {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-district__title {
    font-size: 4.2666666667vw;
  }
}
.filter-district__clear {
  margin-top: none !important;
  color: var(--text-gray) !important;
  cursor: pointer;
  background: none !important;
  border: none !important;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.625vw;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .filter-district__clear {
    font-size: 1.5645371578vw;
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .filter-district__clear {
    font-size: 3.2vw;
    font-size: 12px;
  }
}
.filter-district__clear:hover {
  color: var(--text-dark);
}
.filter-district__scroll {
  max-height: 21.875vw;
  overflow: hidden auto;
}
@media (max-width: 1025px) {
  .filter-district__scroll {
    max-height: 54.7588005215vw;
  }
}
@media (max-width: 767px) {
  .filter-district__scroll {
    max-height: 58.6666666667vw;
  }
}
.filter-district__scroll::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}
.filter-district__scroll::-webkit-scrollbar-thumb {
  background: var(--bread-crumbs);
}
.filter-district__group-title {
  display: block;
  margin-bottom: 0.8333333333vw;
  font-weight: 700 !important;
  color: var(--text-dark);
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .filter-district__group-title {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-district__group-title {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .filter-district__group-title {
    margin-bottom: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-district__group-title {
    margin-bottom: 4.2666666667vw;
  }
}
.filter-district__item {
  display: flex;
  gap: 0.7291666667vw;
  align-items: center;
  padding: 0.4166666667vw 0;
  font-weight: 400;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .filter-district__item {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .filter-district__item {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .filter-district__item {
    gap: 1.8252933507vw;
    padding: 1.0430247718vw 0;
  }
}
@media (max-width: 767px) {
  .filter-district__item {
    gap: 3.7333333333vw;
    padding: 2.1333333333vw 0;
  }
}
.filter-district__item input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.filter-district__checkbox {
  position: relative;
  flex-shrink: 0;
  width: 1.0416666667vw;
  height: 1.0416666667vw;
  border: 1.5px solid var(--bread-crumbs);
  transition: border-color 0.15s ease, background 0.15s ease;
}
@media (max-width: 1025px) {
  .filter-district__checkbox {
    width: 2.6075619296vw;
    height: 2.6075619296vw;
  }
}
@media (max-width: 767px) {
  .filter-district__checkbox {
    width: 5.3333333333vw;
    height: 5.3333333333vw;
  }
}
.filter-district__checkbox::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 0.2604166667vw;
  height: 0.5208333333vw;
  content: "";
  border: solid var(--text-light);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}
@media (max-width: 1025px) {
  .filter-district__checkbox::after {
    left: 6px;
    width: 0.6518904824vw;
    height: 1.3037809648vw;
  }
}
@media (max-width: 767px) {
  .filter-district__checkbox::after {
    top: 3px;
    left: 7px;
    width: 1.3333333333vw;
    height: 2.6666666667vw;
  }
}
input:checked + .filter-district__checkbox {
  background: var(--text-dark);
  border-color: var(--text-dark);
}
input:checked + .filter-district__checkbox::after {
  opacity: 1;
}
.filter-district__label {
  color: var(--text-dark);
}
.filter-district__divider {
  height: 1px;
  margin: 0.8333333333vw 1.25vw 1.0416666667vw 0;
  background: var(--text-brand-light);
}
@media (max-width: 1025px) {
  .filter-district__divider {
    margin: 2.0860495437vw 3.1290743155vw 2.6075619296vw 0;
  }
}
@media (max-width: 767px) {
  .filter-district__divider {
    margin: 4.2666666667vw 6.4vw 5.3333333333vw 0;
  }
}

#residential-page .container {
  max-width: none;
}

.projects {
  padding: 3.125vw 6.7708333333vw;
}
@media (max-width: 1025px) {
  .projects {
    padding: 5.2151238592vw 3.1290743155vw;
  }
}
@media (max-width: 767px) {
  .projects {
    padding: 8.5333333333vw 4.2666666667vw;
  }
}

.projects-title-description-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4583333333vw;
}
@media (max-width: 1025px) {
  .projects-title-description-block {
    margin-bottom: 3.1290743155vw;
  }
}
@media (max-width: 767px) {
  .projects-title-description-block {
    flex-direction: column;
    gap: 4.2666666667vw;
    align-items: flex-end;
    margin-bottom: 6.4vw;
  }
}

.projects-title {
  line-height: 1.3;
  color: var(--text-dark);
  text-transform: uppercase;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 1.875vw;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (max-width: 1025px) {
  .projects-title {
    font-size: 4.6936114733vw;
  }
}
@media (max-width: 767px) {
  .projects-title {
    font-size: 8.5333333333vw;
  }
}
@media (max-width: 767px) {
  .projects-title {
    margin-right: auto;
  }
}

.projects-description {
  max-width: 9.8958333333vw;
  color: var(--text-dark);
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .projects-description {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .projects-description {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .projects-description {
    max-width: 24.7718383312vw;
  }
}
@media (max-width: 767px) {
  .projects-description {
    max-width: 44.8vw;
  }
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.0416666667vw;
  margin-top: 2.0833333333vw;
  margin-bottom: 6.25vw;
}
@media (max-width: 1025px) {
  .projects-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.0860495437vw;
    margin-top: 3.1290743155vw;
    margin-bottom: 13.037809648vw;
  }
}
@media (max-width: 767px) {
  .projects-list {
    display: flex;
    flex-direction: column;
    gap: 8.5333333333vw;
    margin-top: 6.4vw;
    margin-bottom: 21.3333333333vw;
  }
}

.project_card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 29.1666666667vw;
  padding-top: 1.4583333333vw;
  transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
@media (max-width: 1025px) {
  .project_card {
    height: 67.7966101695vw;
    padding-top: 3.6505867014vw;
  }
}
@media (max-width: 767px) {
  .project_card {
    height: 117.3333333333vw;
    padding-top: 7.4666666667vw;
  }
}
@media (width >= 1024px) {
  .project_card:hover .project_card__bg img {
    transform: scale(1.1);
  }
}
.project_card__bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project_card__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.project_card::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 73.96%, #000 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 56.94%, #000 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 56.94%, #000 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 56.94%, #000 100%);
}
.project_card__note span {
  position: absolute;
  top: 0.8333333333vw;
  right: 0.3125vw;
  z-index: 3;
  display: flex;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  height: 1.6666666667vw;
  padding-left: 0.5208333333vw;
  white-space: nowrap;
  background: var(--label-sale);
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
@media (max-width: 1025px) {
  .project_card__note span {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__note span {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .project_card__note span {
    top: 2.0860495437vw;
    right: 0.7822685789vw;
    height: 4.1720990874vw;
  }
}
@media (max-width: 767px) {
  .project_card__note span {
    top: 4.2666666667vw;
    right: 1.6vw;
    height: 8.5333333333vw;
  }
}
.project_card__note span::after {
  position: absolute;
  top: 0;
  right: -0.5208333333vw;
  z-index: 2;
  display: block;
  width: 0.5208333333vw;
  height: 2.6041666667vw;
  content: "";
  background-image: url("../images/label-decor.svg");
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 1025px) {
  .project_card__note span::after {
    right: -1.3037809648vw;
    width: 1.3037809648vw;
    height: 6.518904824vw;
  }
}
@media (max-width: 767px) {
  .project_card__note span::after {
    right: -2.6666666667vw;
    width: 2.6666666667vw;
    height: 13.3333333333vw;
  }
}
.project_card__top {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.project_card__top span:first-child {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .project_card__top span:first-child {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__top span:first-child {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .project_card__top span:first-child {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__top span:first-child {
    font-size: 4.2666666667vw;
  }
}
.project_card__top span:last-child {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 1.875vw;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -1.08px;
}
@media (max-width: 1025px) {
  .project_card__top span:last-child {
    font-size: 4.6936114733vw;
  }
}
@media (max-width: 767px) {
  .project_card__top span:last-child {
    font-size: 8.5333333333vw;
  }
}
.project_card__top span:last-child {
  font-size: 1.875vw;
}
@media (max-width: 1025px) {
  .project_card__top span:last-child {
    font-size: 4.6936114733vw;
  }
}
@media (max-width: 767px) {
  .project_card__top span:last-child {
    font-size: 8.5333333333vw;
  }
}
.project_card__bottom {
  margin-top: auto;
}
.project_card__address {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .project_card__address {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__address {
    font-size: 4.2666666667vw;
  }
}
.project_card__address {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0.625vw;
  align-items: center;
  justify-content: center;
  padding: 1.4583333333vw 0;
  font-size: 0.8333333333vw;
  text-transform: uppercase;
}
@media (max-width: 1025px) {
  .project_card__address {
    gap: 1.5645371578vw;
    padding: 3.6505867014vw 0;
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__address {
    gap: 3.2vw;
    padding: 7.4666666667vw 0;
    font-size: 4.2666666667vw;
  }
}
.project_card__address svg {
  flex-shrink: 0;
  width: 0.8333333333vw;
  height: 0.8333333333vw;
}
@media (max-width: 1025px) {
  .project_card__address svg {
    width: 2.0860495437vw;
    height: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__address svg {
    width: 4.2666666667vw;
    height: 4.2666666667vw;
  }
}
.project_card__price {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
  margin-bottom: 1.4583333333vw;
  text-align: center;
}
@media (max-width: 1025px) {
  .project_card__price {
    gap: 1.5645371578vw;
    margin-bottom: 3.6505867014vw;
  }
}
@media (max-width: 767px) {
  .project_card__price {
    gap: 3.2vw;
    margin-bottom: 7.4666666667vw;
  }
}
.project_card__price span:first-child {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 0.8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 1025px) {
  .project_card__price span:first-child {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__price span:first-child {
    font-size: 4.2666666667vw;
  }
}
@media (max-width: 1025px) {
  .project_card__price span:first-child {
    font-size: 2.0860495437vw;
  }
}
@media (max-width: 767px) {
  .project_card__price span:first-child {
    font-size: 4.2666666667vw;
  }
}
.project_card__price span:last-child {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 1.875vw;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -1.08px;
}
@media (max-width: 1025px) {
  .project_card__price span:last-child {
    font-size: 4.6936114733vw;
  }
}
@media (max-width: 767px) {
  .project_card__price span:last-child {
    font-size: 8.5333333333vw;
  }
}
@media (max-width: 1025px) {
  .project_card__price span:last-child {
    font-size: 4.6936114733vw;
    font-size: 4.6936114733vw;
  }
}
@media (max-width: 767px) {
  .project_card__price span:last-child {
    font-size: 4.1720990874vw;
  }
}