
@media (max-width: 768px){
  .banner__title {
    font-size: 48px;
    line-height: 56px;
  }
  .footer {
    padding: 60px 0 50px;
  }
  .footer__main {
    flex-direction: column;
  }
  .footer__inner {
    gap: 40px;
    margin-right: 0;
  }
  .footer__inner .footer-logo-wrapper {
    order: 1;
  }
  .footer__inner .footer-logo-wrapper__logo {
    display: none;
  }
  .footer__inner .footer-logo-wrapper .button {
    max-width: none;
    margin-top: 0;
  }
  .footer__inner .footer-nav {
    order: 2;
  }
  .footer__info {
    max-width: 350px;
    margin-top: 40px;
  }
  .footer__phone {
    margin-top: 40px;
  }
  .footer__socials {
    justify-content: center;
    order: -1;
    margin-top: 0;
  }
  .footer__image-wrapper {
    display: block;
    margin-top: 50px;
    max-width: 320px;
    width: 100%;
  }
  .footer__links {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }
  .notfound.container {
    padding-top: 110px;
  }
  .notfound p {
    font-size: 18px;
    line-height: 21px;
    margin-top: 24px;
  }
  .notfound .button {
    margin-top: 40px;
  }
  .form-image .container {
    background-image: none;
  }
  .form-image__form-wrapper .title {
    width: 100%;
    text-align: center;
  }
  .form-image__form-wrapper .form__submit {
    line-height: 15px;
  }
  .form-image__form-wrapper .form__input, .form-image__form-wrapper .form__submit {
    height: 50px;
  }
  .form-image__photo {
    display: none;
  }
  .form-journal {
    background-image: none;
  }
  .form-journal.container {
    padding: 60px clamp(10px, 3vw, 26px) clamp(60px, 30vw, 180px);
  }
  .form-journal__form-wrapper .title {
    width: 100%;
    text-align: center;
  }
  .form-journal__form-wrapper .form__input, .form-journal__form-wrapper .form__submit {
    width: 100%;
    height: 50px;
  }
  .form-journal__subtitle {
    font-size: 18px;
    line-height: 100%;
    text-align: center;
  }
  .form-journal__image-wrapper {
    display: block;
    left: 0;
    right: 0;
    bottom: -100px;
    width: clamp(310px, 70vw, 430px);
    height: auto;
    margin: auto;
    transform: scale(1);
  }
  .form-section_bg {
    padding: 86px 0;
  }
  .form-section .container {
    background-image: none;
  }
  .form-section .form__submit.button {
    max-width: unset;
    width: 100%;
    line-height: 23px;
  }
  .form {
    flex-direction: column;
  }
  .form__input {
    width: 100%;
  }
  .form__submit {
    order: 3;
    padding: 17px 0 !important;
  }
  .header-nav {
    display: none;
  }
  .header {
    height: 50px;
    border-bottom: none;
  }
  .header__logo {
    margin-right: 15px;
  }
  .header__content {
    height: 50px;
  }
  .header__right-content {
    display: none;
  }
  .header__right-content-mobile {
    display: flex;
    gap: 20px;
  }
  .location > .container {
    padding-top: 100px;
  }
  .location .contacts {
    margin-bottom: 50px;
  }
  .location__info-item span {
    font-size: 16px;
    line-height: 18px;
  }
  .about-page.container {
    padding: 50px 0 0 0;
  }
  .about-page__slide:last-child {
    margin-bottom: 0;
  }
  .about-page__slides {
    gap: 0;
  }
  .about-page__slide-inner .title {
    font-size: 23px;
    line-height: 26px;
    margin-bottom: 20px;
  }
  .about-page__slide-inner .form-journal {
    margin-top: 30px;
    margin-bottom: clamp(50px, 30vw, 100px);
  }
  .about-page__slide-inner .button {
    max-width: unset;
    margin-top: 20px;
  }
  .about-page__slide-inner {
    display: none;
    padding: 0 clamp(10px, 3vw, 26px) 30px;
  }
  .about-page__content div ul li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .about-page__content .about-page__image-wrapper {
    margin: 0 auto;
  }
  .about-page__slide-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .about-page__slide-mobile .title {
    margin: 0;
  }
  .about-page__images {
    flex-direction: column;
    margin-top: 20px;
    gap: 8px;
  }
  .about-page__images a {
    height: 300px;
  }
  .about-page__houses {
    flex-direction: column;
  }
  .about-page__houses .house-card {
    width: 100%;
  }
  .about-page .open {
    border-bottom: 2px solid #DCDFE0;
  }
  .about-page .open .about-page__slide-mobile {
    border-color: transparent;
  }
  .about-page .open .about-page__slide-mobile .about-page__slide-mobile-icon span:last-child {
    opacity: 0;
  }
  .area-detail {
    padding-top: 100px;
  }
  .area-detail__top-links {
    margin-top: -10px;
  }
  .area-detail__methods .flex-row {
    margin-top: 20px;
  }
  .area-detail__method {
    padding: 15px;
  }
  .area-detail__method div {
    font-size: 22px;
    line-height: 26px;
  }
  .area-detail__houses .title {
    margin-bottom: 20px;
  }
  .area-detail__houses .text-wrapper {
    margin-bottom: 20px;
  }
  .area-detail__house {
    width: 100%;
  }
  .area-detail__buttons {
    margin-top: 20px;
  }
  .area-detail__buttons .button-primary {
    max-width: unset;
  }
  .area-detail__buttons .button-secondary {
    max-width: unset;
  }
  .area-detail__buttons {
    flex-direction: column;
  }
  .area-detail .block-color-bg {
    padding-bottom: 60px;
  }
  .area-detail__card {
    margin-top: 20px;
  }
  .areas-list {
    padding-top: 50px;
  }
  .areas-list__map-wrapper {
    display: none;
  }
  .areas {
    padding-top: 50px;
  }
  .areas__map-wrapper {
    height: unset;
  }
  .areas__map {
    height: unset;
  }
  .areas__bottom-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: -10px;
  }
  .areas__compass {
    transform: scale(0.9);
  }
  .contacts > .container {
    padding-top: 100px;
  }
  .contacts .map .button {
    display: none;
  }
  .house-detail__card {
    margin-top: 20px;
  }
  .house-detail {
    padding-top: 100px;
  }
  .house-detail__top-links {
    margin-top: -10px;
  }
  .house-detail__equipment-content {
    gap: 30px;
  }
  .house-detail__equipment-slider .swiper-wrapper {
    height: clamp(220px, 50vw, 360px);
  }
  .house-detail__tabs-slider-content {
    padding: 20px clamp(10px, 3vw, 26px);
  }
  .house-detail__tabs-slider-content div {
    font-size: 20px;
    line-height: 22px;
  }
  .house-detail__tabs-slider-content p {
    font-size: 16px;
    line-height: 22px;
  }
  .houses {
    padding-top: 100px;
  }
  .houses__list {
    flex-direction: column;
  }
  .houses__item {
    width: 100%;
  }
  .houses__item-content-top {
    flex-direction: row;
    align-items: center;
    column-gap: 30px;
  }
  .houses__item-hypothec {
    font-size: 18px;
  }
  .houses__container-content {
    gap: 20px;
    margin-top: 20px;
  }
  .houses__slider .swiper-wrapper {
    height: clamp(220px, 50vw, 350px);
  }
  .houses__text ul li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .index-catalog .flex-row {
    margin-top: 30px;
  }
  .gallery .collage-type-1 {
    margin-top: 30px;
  }
  .gallery__text {
    margin-top: 20px;
    gap: 20px;
    margin-bottom: 20px;
  }
  .gallery__text .button {
    margin-top: 20px;
  }
  .layout .title {
    margin-bottom: 30px;
  }
  .layout__image {
    margin-top: 30px;
  }
  .layout__item span {
    font-size: 10px;
  }
  .layout__item_right {
    width: 31px;
    transition: width 0.2s linear;
  }
  .layout__item_left span {
    transform: translateX(120%);
    padding: 6px 25px 6px 12px;
  }
  .index-location__info .button {
    order: 4;
  }
  .index-location__info {
    flex-direction: column;
  }
  .index-location__legend {
    flex: unset;
    width: 100%;
  }
  .index-location__legend:nth-child(1) {
    order: 1;
  }
  .index-location__legend:nth-child(2) {
    order: 2;
  }
  .index-location__legend:nth-child(3) {
    order: 3;
  }
  .index-news .flex-row {
    margin-top: 30px;
  }
  .infrastructure > .container {
    padding-top: 100px;
    margin-bottom: 50px;
  }
  .infrastructure__images {
    margin: 20px 0 20px 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
    grid-template-areas: "item1 item2" "item3 item4" "item5 item5";
  }
  .infrastructure__legends {
    justify-content: unset;
  }
  .news-article.container {
    padding-top: 60px;
  }
  .news-article__images {
    flex-direction: column;
    height: auto;
    margin-top: 16px;
  }
  .news-article__image-wrapper {
    flex: none;
    height: clamp(220px, 45vw, 300px);
  }
  .news-article__gallery {
    flex-direction: column;
    height: auto;
    margin-top: 16px;
  }
  .news-article__gallery .news-article__image-wrapper {
    width: 100%;
  }
  .news .container {
    padding-top: 100px;
    margin-bottom: 50px;
  }
  .news .container .flex-row {
    row-gap: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .paymentsPage .block-color-bg {
    padding-bottom: 50px;
  }
  .paymentsPage .block-color-bg .hypothec {
    margin-bottom: 50px;
  }
  .paymentsPage {
    padding-top: 100px;
  }
  .popup-bron .container .popup__close::after {
    transform: scale(0.8);
  }
  .popup-bron .container {
    padding: 55px clamp(6px, 3vw, 10px) 30px;
  }
  .popup-bron .container .title {
    font-weight: 600;
    font-size: 24px;
  }
  .popup-bron__info {
    row-gap: 20px;
    column-gap: 60px;
  }
  .popup-bron__info-elem:first-child {
    width: 100%;
  }
  .popup-bron__form {
    padding: 30px clamp(6px, 3vw, 20px);
  }
  .popup-bron__form .form__input, .popup-bron__form .form__submit {
    width: 100%;
    max-width: unset;
  }
  .popup-excurs .container {
    background-image: none;
  }
  .popup-excurs .container .button {
    max-width: unset;
  }
  .popup-hypothec .popup__close::after {
    transform: scale(0.8);
  }
  .popup-hypothec .container {
    padding: 40px 20px 50px;
  }
  .popup-hypothec .container .title {
    font-weight: 600;
    font-size: 24px;
  }
  .popup-hypothec__info {
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 30px;
  }
  .popup-hypothec__info-elem:first-child {
    width: 100%;
  }
  .popup-hypothec__inputs {
    gap: 0;
  }
  .popup-hypothec__banks {
    flex-direction: column;
  }
  .popup-hypothec__bank {
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 100px;
  }
  .popup-hypothec__bank img {
    width: fit-content;
    min-width: 200px;
    margin-bottom: 0;
  }
  .popup-hypothec__bank span {
    font-size: 14px;
    font-weight: 600;
  }
  .popup-hypothec__bank a {
    font-size: 14px;
    margin-left: 0;
  }
  .popup-hypothec__bank_best::before {
    display: none;
  }
  .popup-hypothec__form .form {
    padding: 30px 20px;
    padding-bottom: 10px;
  }
  .popup-hypothec__form .form__input {
    width: 100%;
    max-width: unset;
  }
  .popup-hypothec__form .form__submit {
    width: 100%;
    max-width: unset;
  }
  .popup-hypothec__form-text {
    padding: 0 20px;
  }
  .popup-phone .form__input:first-child {
    display: block;
  }
  .popup-share .popup__close::after {
    transform: scale(0.8);
  }
  .popup-share .popup__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px clamp(10px, 4vw, 20px) 30px;
  }
  .popup-share .popup__subtitle {
    font-size: 16px;
  }
  .popup-share input {
    max-width: unset;
  }
  .popup-share .popup__title,
  .popup-share .popup__subtitle {
    text-align: center;
  }
  .popup-share__socials {
    align-items: center;
  }
  .breadcrumbs {
    display: none;
  }
  .calculator__item {
    width: 100%;
    gap: 20px;
  }
  .collage-type-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, clamp(220px, 45vw, 300px));
    grid-template-areas: "item3" "item1" "item2";
    gap: 10px;
    margin-top: 20px;
  }
  .collage-type-3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, clamp(220px, 45vw, 300px));
    grid-template-areas: "item1" "item2" "item3";
    gap: 10px;
    margin-top: 20px;
  }
  .collage-type-4 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, clamp(220px, 45vw, 300px));
    grid-template-areas: "item3" "item1" "item2";
    gap: 10px;
    margin-top: 20px;
  }
  .collage-type-5 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, clamp(220px, 50vw, 250px));
    grid-template-areas: "item1" "item2" "item3" "item4";
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .filter-input {
    width: calc(50% - 8px);
  }
  .filter-input:nth-child(2n) {
    margin-right: 0;
  }
  .filter-input:nth-child(3) {
    margin-right: 16px;
  }
  .filter__content {
    display: none;
    margin-bottom: 30px;
    background-color: #F6F4EC;
    margin-top: 40px;
    order: 2;
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    padding: 0 10px 20px;
    z-index: 2;
  }
  .filter__submit {
    flex: 1;
  }
  .filter__submit .button {
    flex: 1;
    max-width: unset;
  }
  .filter__buttons {
    display: none;
  }
  .filter__mobile-buttons {
    display: flex;
    justify-content: space-between;
  }
  .house-card {
    height: 420px;
  }
  .hypothec-calculator__inputs {
    gap: 4px;
    margin-bottom: 20px;
  }
  .hypothec-calculator__banks {
    flex-direction: column;
  }
  .hypothec-calculator__bank {
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    flex: none;
    flex-wrap: wrap;
    border-radius: 100px;
  }
  .hypothec-calculator__bank img {
    width: fit-content;
  }
  .hypothec-calculator__bank span {
    font-size: 14px;
    font-weight: 600;
  }
  .hypothec-calculator__bank a {
    font-size: 14px;
    margin-left: 0;
  }
  .hypothec-calculator__bank_best::before {
    display: none;
  }
  .hypothec .flex-row {
    margin-top: 30px;
  }
  .map {
    height: 360px;
  }
  .mobile-buttons {
    display: flex;
    gap: 12px;
  }
  .payments {
    margin-bottom: 50px;
  }
  .payments__steps {
    margin-top: 20px;
    gap: 30px;
  }
  .payments__equipment {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }
  .payments__step-number {
    font-size: 14px;
    line-height: 16px;
  }
  .payments__step-title {
    font-size: 20px;
    line-height: 24px;
  }
  .payments__total {
    margin-top: 16px;
  }
  .payments__total-price span {
    font-size: 28px;
    margin-left: 10px;
  }
  .payments__buttons {
    flex-direction: column;
  }
  .payments__buttons .button {
    width: 100%;
    max-height: 56px;
    max-width: unset;
  }
  .payments__slider-controls {
    display: none !important;
  }
  .payments__scrollbar {
    display: block;
  }
  .progress {
    display: none;
  }
}