
@media (max-width: 960px){
  .form-grey {
    padding: 60px 0;
  }
  .form-grey .form__input {
    flex: 1;
  }
  .form-grey .form__submit {
    flex: 1;
    max-width: 280px;
    width: 100%;
  }
  .form-journal__form-wrapper .form__input, .form-journal__form-wrapper .form__submit {
    width: 280px;
  }
  .form-manager .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 50px 68px;
  }
  .form-manager__manager {
    flex-direction: row;
    align-items: center;
  }
  .form-manager__manager-photo {
    width: 80px;
    height: 80px;
  }
  .form-manager .form {
    gap: 16px;
  }
  .form-participant {
    padding: 90px 70px;
  }
  .form-participant.block-mt {
    margin-top: 0;
  }
  .form-participant .subtitle {
    margin-top: 20px;
  }
  .form-participant .form {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "organisation name" "phone submit" "label label";
  }
  .form-participant .form__submit {
    max-width: unset;
  }
  .form-photos_flats .form-photos__form-wrapper {
    padding-bottom: 80px;
  }
  .form-photos {
    overflow: hidden;
  }
  .form-photos_reversed .container .form-photos__form-wrapper {
    max-width: unset;
  }
  .form-photos__form-wrapper {
    width: 100%;
    max-width: unset;
    padding: 60px 0 260px;
  }
  .form-photos__form-wrapper .title {
    text-align: center;
  }
  .form-photos__form-wrapper .form {
    justify-content: center;
    margin-top: 20px;
  }
  .form-photos__form-wrapper .form__input, .form-photos__form-wrapper .form__submit {
    width: 280px;
  }
  .form-photos__image:nth-child(1) {
    width: clamp(420px, 60vw, 500px);
    height: auto;
    top: unset;
    left: unset;
    right: -50px;
    bottom: -60px;
  }
  .form-photos__image:nth-child(2) {
    width: clamp(290px, 50vw, 360px);
    height: auto;
    right: unset;
    left: -50px;
    bottom: -10%;
  }
  .form-photos__image:nth-child(3) {
    width: clamp(260px, 50vw, 460px);
    height: auto;
    bottom: -140px;
    top: unset;
    right: 20%;
    left: unset;
  }
  .form-photos_reversed .form-photos__image:nth-child(1) {
    width: clamp(420px, 60vw, 500px);
    height: auto;
    top: unset;
    left: unset;
    right: -50px;
    bottom: -60px;
  }
  .form-photos_reversed .form-photos__image:nth-child(2) {
    width: clamp(290px, 50vw, 360px);
    height: auto;
    bottom: -10%;
  }
  .form-photos_reversed .form-photos__image:nth-child(3) {
    width: clamp(260px, 50vw, 460px);
    height: auto;
    bottom: -140px;
    top: unset;
    right: 20%;
    left: unset;
  }
  .form-section .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 68px;
  }
  .form-section .title {
    text-align: center;
  }
  .form-section__subtitle {
    text-align: center;
  }
  .form-section .form {
    justify-content: center;
    max-width: unset;
  }
  .form-section .form__input, .form-section .form__submit {
    max-width: 280px;
  }
  .form-section .form__submit {
    order: 2;
  }
  .form-section .form__label {
    order: 3;
  }
  .header-nav__list li:last-child {
    display: none;
  }
  .header .button-wa {
    margin-right: 16px;
  }
  .header .button-panorama {
    display: none;
  }
  .header .button-live {
    display: none;
  }
  .about-description {
    flex-direction: column;
    gap: 35px;
  }
  .about-description.container {
    padding: 70px clamp(10px, 3vw, 26px);
  }
  .about-description .text-wrapper {
    max-width: unset;
  }
  .about-description__info {
    max-width: 590px;
    align-self: flex-end;
    gap: 30px;
  }
  .about-page__concept {
    margin: 35px 0 0;
  }
  .about-page__concept-item {
    font-size: 10px;
    gap: 3px;
  }
  .about-page__concept-item::before {
    width: 15px;
    height: 15px;
    background: url(../images/sprites/icons-sprite-a0e2af78.svg) -840px -1px no-repeat;
    background-size: auto 123px;
  }
  .about-page__developers {
    gap: 18px;
  }
  .area-cottages__card {
    margin-top: 30px;
  }
  .area-detail {
    margin-top: 80px;
  }
  .area-detail__equipment-info {
    max-height: fit-content;
  }
  .area-detail__equipment-info-item {
    width: 100%;
  }
  .area-detail__map-wrapper {
    margin-top: 25px;
  }
  .area-detail__area-info {
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 80px;
    margin-top: 40px;
  }
  .area-detail__area-info .button {
    margin-left: unset;
  }
  .area-detail__area-info-price span {
    font-size: 40px;
  }
  .area-detail__catalog-buttons {
    margin: 30px auto 0;
  }
  .area-detail__catalog-list {
    margin-top: 30px;
  }
  .area-detail__catalog-list .house-card {
    width: calc(50% - 16px);
  }
  .area-detail__card {
    margin-top: 20px;
  }
  .areas__menu .container {
    gap: 20px;
  }
  .areas__toggle span {
    font-size: 14px;
  }
  .areas__legends {
    gap: 12px;
  }
  .areas__legend {
    font-size: 10px;
    gap: 4px;
  }
  .contacts {
    padding-bottom: 450px;
  }
  .contacts__info h1, .contacts__info .title {
    margin-bottom: 30px;
  }
  .cottages {
    margin-top: 80px;
  }
  .cottages__developers {
    gap: 35px;
    margin-top: 35px;
  }
  .developer-cottages {
    margin-top: 80px;
  }
  .developer-cottages h1, .developer-cottages .title {
    margin-bottom: 25px;
  }
  .developer-cottages__cottages .flex-row .house-card {
    width: calc(50% - 8px);
  }
  .developer-cottages__cottages .button-border {
    display: flex;
  }
  .developer-cottages__about {
    padding: 70px 0;
  }
  .developer-cottages__map-wrapper {
    margin-top: 25px;
  }
  .developer-cottages__block > .title {
    margin: 0;
  }
  .flat-detail {
    margin-top: 80px;
  }
  .flat-detail__card {
    margin-top: 20px;
  }
  .floors {
    margin-top: 30px;
  }
  .house-detail__card {
    margin-top: 20px;
  }
  .house-detail {
    margin-top: 80px;
  }
  .house-detail__equipment-info {
    max-height: fit-content;
  }
  .house-detail__equipment-info-item {
    width: 100%;
  }
  .house-detail__catalog .button {
    margin: 30px auto 0;
  }
  .house-detail__catalog-list .house-card {
    width: calc(50% - 16px);
  }
  .index-areas__map {
    height: 660px;
  }
  .index-areas__container {
    flex-direction: column-reverse;
  }
  .index-areas__button {
    height: 100px;
    width: 100px;
    flex: unset;
  }
  .index-areas__button::after {
    width: 84px;
    height: 78px;
    background: url(../images/sprites/icons-sprite-a0e2af78.svg) -2494px -1px no-repeat;
    background-size: auto 123px;
  }
  .index-areas__button::before {
    width: 40px;
    height: 40px;
    background: url(../images/sprites/icons-sprite-a0e2af78.svg) -1503px -1px no-repeat;
    background-size: auto 123px;
  }
  .index-catalog .flex-row .house-card {
    width: calc(50% - 8px);
  }
  .index-catalog__buttons {
    grid-template-areas: "dark border";
    grid-template-columns: repeat(2, 1fr);
  }
  .index-catalog__buttons .button-dark {
    justify-self: start;
  }
  .index-news .flex-row {
    margin-top: 30px;
  }
  .locationPage {
    margin-top: 80px;
  }
  .locationPage h1, .locationPage .title {
    margin-top: 25px;
  }
  .locationPage .infrastructure {
    margin-top: 90px;
  }
  .locationPage .infrastructure__image-wrapper {
    margin-top: 30px;
  }
  .about {
    gap: 30px;
  }
  .about__images_type1 {
    margin-top: 30px;
    flex-direction: column;
  }
  .about__images_type1 .about__image-wrapper span {
    width: 60%;
  }
  .about__images_type2 {
    margin-top: 30px;
  }
  .about__image-wrapper {
    margin-top: 24px;
  }
  .news-article {
    margin-top: 80px;
  }
  .news-article__block {
    margin-bottom: 30px;
  }
  .news-article__block .label-block__image-wrapper + .text-wrapper {
    margin-top: 30px;
  }
  .news-article__collage {
    margin-bottom: 30px;
  }
  .news-article__collage-item {
    width: calc(50% - 15px);
  }
  .news-article__vertical .label-block__content {
    gap: 30px;
  }
  .news {
    margin-top: 80px;
  }
  .openvillage {
    margin-top: 80px;
  }
  .openvillage h1, .openvillage .title {
    margin-bottom: 25px;
  }
  .openvillage__content {
    flex-direction: column;
    gap: 30px;
    margin-top: 25px;
  }
  .openvillage__content .text-wrapper {
    flex: unset;
  }
  .openvillage__video-container {
    flex: unset;
  }
  .openvillage__video {
    margin-bottom: 20px;
  }
  .openvillage__map-wrapper img {
    position: relative;
    left: -26px;
    right: 0;
    width: 100vw;
    z-index: 1;
  }
  .openvillage__map-legends {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
    top: 0;
    left: 0;
    margin-bottom: 16px;
  }
  .openvillage__map-legend {
    flex: 1;
    margin-bottom: 0;
  }
  .openvillage__map-legend::before {
    transform: scale(0.85);
  }
  .brokers__realt {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 30px;
  }
  .brokers__realt .button {
    max-width: 278px;
  }
  .brokers__realt-logo {
    width: 150px;
    height: 30px;
  }
  .brokers__realt-info div {
    font-size: clamp(24px, 5vw, 30px);
  }
  .brokers__realt-info span {
    font-size: clamp(14px, 3vw, 16px);
  }
  .brokers__document {
    padding: 30px 20px;
  }
  .brokers__document-info div {
    font-size: 18px;
  }
  .brokers__document-buttons {
    gap: 12px;
  }
  .brokers__button {
    width: 44px;
    height: 44px;
  }
  .builders__image-wrapper {
    margin-top: 30px;
  }
  .builders__collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    row-gap: 30px;
    column-gap: 24px;
    margin-top: 30px;
  }
  .builders__collage-label {
    margin-top: 12px;
  }
  .partners {
    margin-top: 80px;
  }
  .partners .contacts {
    padding-top: 90px;
  }
  .paymentsPage .block-color-bg {
    padding: 180px 0 100px;
  }
  .popup-excurs .container .popup__close {
    top: 10px;
    right: 10px;
    transform: scale(0.6);
  }
  .popup-pres .container .popup__close {
    top: 10px;
    right: 10px;
    transform: scale(0.6);
  }
  .popup-share .popup__close {
    top: 5px;
    right: 10px;
  }
  .popup-share .popup__close::after {
    transform: scale(0.7);
  }
  .blocks__block {
    gap: 40px;
  }
  .breadcrumbs {
    margin-bottom: 0;
  }
  .collage-type-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px;
    grid-template-areas: "item3 item3" "item1 item2";
    gap: 12px;
    margin-top: 24px;
  }
  .collage-type-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px;
    grid-template-areas: "item1 item1" "item2 item3";
    gap: 12px;
    margin-top: 24px;
  }
  .collage-type-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px;
    grid-template-areas: "item3 item3" "item1 item2";
    gap: 12px;
    margin-top: 24px;
  }
  .collage-type-5 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, clamp(200px, 50vw, 250px));
    grid-template-areas: "item1 item2" "item3 item4";
    gap: 6px;
  }
  .ribbon {
    max-width: unset;
    font-size: 18px;
    line-height: 20px;
    margin-left: 0;
  }
  .ribbon::after, .ribbon::before {
    display: none;
  }
  .block-pt {
    padding-top: 90px;
  }
  .developer {
    padding-bottom: 35px;
  }
  .developer__person {
    grid-template-columns: 80px auto;
  }
  .developer__photo {
    width: 80px;
    height: 80px;
  }
  .developer__title {
    font-size: 28px;
    margin-top: 0;
  }
  .developer__count {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .developer__house-count {
    font-size: 16px;
    line-height: 27px;
  }
  .developer__types-count {
    font-size: 16px;
    line-height: 27px;
  }
  .developer__houses {
    margin-top: 35px;
  }
  .developer__houses > .swiper-wrapper .house-card.swiper-slide {
    width: calc(50% - 8px);
  }
  .developer .button-border {
    margin: 35px auto 0;
  }
  .filter-input__label {
    font-size: 13px;
  }
  .filter .filter-input:nth-child(2) {
    flex: 1;
  }
  .filter__submit {
    flex: 0 0 170px;
  }
  .flat-filter {
    margin-top: -40px;
  }
  .flat-filter .filter-input:nth-child(2) {
    flex: 1;
  }
  .flat-filter__submit {
    flex: 0 0 170px;
  }
  .hypothec-calculator__info {
    column-gap: 30px;
    row-gap: 16px;
    flex-wrap: wrap;
  }
  .hypothec-calculator__info-elem div {
    font-size: 24px;
    line-height: 28px;
  }
  .hypothec-calculator__info-elem div span {
    font-size: 28px;
    line-height: 32px;
  }
  .hypothec-calculator__buttons {
    margin-top: 30px;
  }
  .hypothec .flex-row {
    margin-top: 35px;
  }
  .label-block .title {
    margin-bottom: 25px;
  }
  .label-block .ribbon + .text-wrapper {
    margin-top: 25px;
  }
  .label-block .text-wrapper + .label-block__video-wrapper {
    margin-top: 30px;
  }
  .label-block__image-wrapper {
    margin-top: 30px;
  }
  .legends {
    row-gap: 16px;
    grid-template-columns: 178px 198px 236px;
  }
  .legends__legend img {
    flex: 0 0 28.5px;
    transform: scale(0.95);
  }
  .location__content {
    flex-direction: column;
    margin-top: 38px;
  }
  .location__map {
    flex: unset;
    height: clamp(222px, 70vw, 640px);
  }
  .location__map img.image-contain {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .location__info ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .location__info ul li {
    width: calc(50% - 15px);
  }
  .location_reversed .location__content {
    flex-direction: column;
  }
  .location_reversed .location__content .location__map {
    flex: unset;
    height: auto;
  }
  .map {
    height: 520px;
  }
  .ymaps-2-1-79-controls__control {
    inset: 137px auto auto 10px !important;
  }
  .photo-block__block {
    width: calc(50% - 15px);
    row-gap: 56px;
  }
  .pinned {
    height: 60px;
  }
  .pinned_type1 .image-wrapper {
    transform: scale(0.8);
  }
  .pinned_type1 .button {
    height: 42px;
    font-size: 16px;
  }
  .pinned_type2 .container {
    gap: 30px;
  }
  .pinned_type2 .button {
    max-width: 260px;
    height: 42px;
    font-size: 16px;
  }
  .pinned_type3 .container {
    gap: 30px;
  }
  .pinned_type3 .image-wrapper {
    height: 42px;
  }
  .pinned_type3 .image-wrapper:nth-child(-n+2) {
    display: none;
  }
  .pinned_type3 .button {
    max-width: 157px;
    height: 42px;
    font-size: 16px;
  }
  .pinned_type4 .container {
    gap: 30px;
  }
  .pinned_type4 .image-wrapper {
    height: 42px;
  }
  .pinned_type4 .image-wrapper:nth-child(-n+2) {
    display: none;
  }
  .pinned_type4 .button {
    max-width: 216px;
    height: 42px;
    font-size: 16px;
  }
}