
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 150px;
  }
  .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 {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
  .footer__inner .footer-nav {
    order: 2;
  }
  .footer__info {
    max-width: none;
    margin-top: 40px;
  }
  .footer__phone {
    font-size: 28px;
    margin-top: 40px;
  }
  .footer__socials {
    justify-content: center;
    order: -1;
    margin-top: 0;
  }
  .footer__image-wrapper {
    display: block;
    margin-top: 40px;
    max-width: 320px;
    width: 100%;
  }
  .footer__links {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }
  .notfound {
    background-position: left top;
    background-size: 100%;
  }
  .notfound .container {
    padding-top: 110px;
  }
  .notfound .container p {
    max-width: 300px;
    font-size: 18px;
    line-height: 21px;
    margin-top: 2px;
  }
  .notfound .button {
    margin-top: 40px;
  }
  .form-house__form-wrapper.container {
    padding: 60px clamp(10px, 3vw, 26px) 360px;
  }
  .form-house__form-wrapper .title {
    max-width: 500px;
    width: 100%;
    font-weight: 500;
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
  .form-house__form-wrapper .form {
    width: 100%;
    align-items: center;
  }
  .form-house__form-wrapper .form__input, .form-house__form-wrapper .form__submit {
    width: 100%;
    max-width: 500px;
    height: 50px;
  }
  .form-house__form-wrapper .form__label {
    max-width: 500px;
  }
  .form-house__form-wrapper .form .button {
    order: 3;
    padding: 17px 0 !important;
  }
  .form-house_type2 .form-house__form-wrapper.container {
    padding: 60px clamp(10px, 3vw, 26px) 390px;
  }
  .form-house_type2 .form-house__image-wrapper {
    top: unset;
    right: 0;
    left: 0;
    max-height: 350px;
  }
  .form-image .container {
    background-image: url("../images/logoFormBg.svg");
    background-position: center bottom;
    background-size: contain;
    padding: 60px clamp(10px, 3vw, 26px) 140px;
  }
  .form-image__photo {
    display: none;
  }
  .form-image__form-wrapper {
    margin-top: 0;
  }
  .form-image__form-wrapper .title {
    text-align: center;
  }
  .form-image__form-wrapper .form {
    width: 100%;
    align-items: center;
  }
  .form-image__form-wrapper .form__input, .form-image__form-wrapper .form__submit {
    max-width: 460px;
  }
  .form-image__form-wrapper .form__label {
    max-width: 460px;
  }
  .form-image_light .container {
    background-image: url("../images/logoFormBg_light.svg");
  }
  .form-image_light .form-image__form-wrapper {
    margin: 0 auto;
  }
  .form-image_light .form-image__form-wrapper .form-image__subtitle {
    text-align: center;
  }
  .form-journal__form-wrapper.container {
    padding: 60px clamp(10px, 3vw, 26px) 370px;
  }
  .form-journal__form-wrapper .title {
    width: 100%;
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
  .form-journal__form-wrapper .form {
    width: 100%;
    max-width: 600px;
  }
  .form-journal__form-wrapper .form {
    align-items: center;
  }
  .form-journal__form-wrapper .form__input, .form-journal__form-wrapper .form__submit {
    width: 100%;
    max-width: 500px;
    height: 50px;
  }
  .form-journal__form-wrapper .form__label {
    max-width: 500px;
  }
  .form-journal__form-wrapper .form .button {
    order: 3;
    padding: 17px 0 !important;
  }
  .form-journal__image-wrapper {
    display: block;
  }
  .form-photos__form-wrapper.container {
    padding: 60px clamp(10px, 3vw, 26px) 290px;
  }
  .form-photos__form-wrapper .title {
    max-width: 500px;
    width: 100%;
    font-weight: 500;
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
  .form-photos__form-wrapper .form {
    width: 100%;
    align-items: center;
  }
  .form-photos__form-wrapper .form__input, .form-photos__form-wrapper .form__submit {
    width: 100%;
    max-width: 500px;
    height: 50px;
  }
  .form-photos__form-wrapper .form__label {
    max-width: 500px;
  }
  .form-photos__form-wrapper .form .button {
    order: 3;
    padding: 17px 0 !important;
  }
  .form-photos__image-wrapper {
    height: 250px;
    top: unset;
    left: 0;
    width: 100%;
  }
  .form-photos__image-wrapper img {
    object-position: top;
  }
  .form-section .container {
    max-width: 480px;
    background-image: none;
  }
  .form-section .form__input {
    max-width: unset;
  }
  .form-section .form__submit.button {
    max-width: unset;
    width: 100%;
    line-height: 23px;
  }
  .form {
    max-width: 400px;
    margin: 30px auto 0;
    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 .button-wa {
    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;
  }
  .contacts {
    padding-top: 130px;
  }
  .contacts__info.container {
    margin-bottom: 45px;
  }
  .house-detail__card {
    margin-top: 20px;
  }
  .house-detail {
    padding-top: 10px;
  }
  .house-detail__top-links {
    margin-top: -10px;
  }
  .house-detail__equipment_type2 .house-detail__equipment-info .button {
    max-width: unset;
  }
  .house-detail__equipment-content {
    gap: 30px;
  }
  .house-detail__equipment-slider .swiper-wrapper {
    height: clamp(220px, 50vw, 360px);
  }
  .house-detail__equipment-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .house-detail__equipment-buttons .button {
    max-width: unset;
  }
  .house-detail__morerooms-content {
    padding: 30px 12px;
  }
  .house-detail__morerooms-content .title {
    font-size: 30px;
  }
  .house-detail__morerooms-content .title span {
    display: inline-block;
  }
  .house-detail__morerooms-content .text-wrapper {
    margin-top: 12px;
  }
  .house-detail__morerooms-image {
    height: auto;
  }
  .house-detail__calculator-subtitle {
    font-size: 20px;
    margin-top: 30px;
  }
  .house-detail__calculator-buttons .button {
    max-width: unset;
  }
  .houses .filter {
    margin-top: 0;
  }
  .houses__filter-sort {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
  }
  .houses__mobile-buttons {
    display: flex;
  }
  .banner {
    height: 610px;
  }
  .banner_line::before {
    display: none;
  }
  .banner .swiper-wrapper {
    height: 560px;
  }
  .banner .swiper-wrapper .swiper-slide .container .subtitle_line::before {
    display: none;
  }
  .banner__swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
  }
  .banner__buttons {
    display: none;
  }
  .banner__escrou {
    display: none;
  }
  .banner .swiper-wrapper .swiper-slide .banner__partners .banner__escrou {
    display: flex;
  }
  .banner .swiper-wrapper .swiper-slide .banner__partners {
    display: grid;
    grid-template-areas: "escrou banks";
    grid-template-columns: 170px 1fr;
    grid-template-rows: auto;
    align-items: end;
    bottom: 60px;
  }
  .index-catalog .house-card {
    width: 100%;
  }
  .index-catalog .button-primary {
    display: flex;
    max-width: unset;
    margin-top: 30px;
  }
  .gallery .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .gallery .swiper .swiper-controls .prev-btn, .gallery .swiper .swiper-controls .next-btn {
    display: none;
  }
  .gallery .swiper .swiper-controls .swiper-scrollbar {
    display: block;
  }
  .index-about__cell:nth-child(2n) {
    border-right: none;
    padding-left: 24px;
  }
  .index-about__cell:first-child {
    display: flex;
    align-items: center;
  }
  .index-about__cell:first-child div {
    max-width: 200px;
    font-weight: 400;
  }
  .map-block .map {
    height: 500px;
  }
  .index-news .flex-row {
    margin-top: 30px;
  }
  .index-news .button {
    max-width: none;
  }
  .reviews__review {
    width: 100%;
  }
  .reviews .button-secondary {
    margin: 30px auto 0;
  }
  .townships .flex-row {
    margin-top: 30px;
  }
  .news-article > .container {
    margin-bottom: 50px;
  }
  .news-article__images.swiper {
    height: clamp(250px, 55vw, 430px);
  }
  .news > .container {
    margin-bottom: 50px;
  }
  .news > .container .flex-row {
    row-gap: 30px;
    margin-bottom: 50px;
  }
  .news > .container .button-secondary {
    display: flex;
    margin: 0 auto;
  }
  .partners-card {
    width: 100%;
  }
  .partners-card__button {
    width: 44px;
    height: 44px;
  }
  .payments__bank {
    width: 100%;
    padding: 16px 20px;
  }
  .payments__bank span {
    font-size: 20px;
  }
  .payments__bank-image {
    width: 130px;
  }
  .video-reviews > .container {
    margin-bottom: 50px;
  }
  .video-reviews > .container .flex-row {
    row-gap: 30px;
    margin-bottom: 50px;
  }
  .video-reviews__review {
    width: 100%;
  }
  .video-reviews__labels span {
    font-size: 18px;
    margin-top: 2px;
  }
  .stroika {
    padding-top: 0;
  }
  .stroika__about {
    padding-top: 130px;
  }
  .stroika__about-text .text-wrapper_accent {
    max-width: unset;
  }
  .stroika__about-text .text-wrapper:not(.text-wrapper_accent) {
    max-width: unset;
    margin: 0;
  }
  .stroika__equipments-items {
    flex-direction: column;
  }
  .stroika__equipments-item {
    width: 100%;
    font-size: 16px;
    gap: 18px;
  }
  .stroika__gallery .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .style {
    padding-top: 0;
  }
  .style__about-gallery > div {
    width: 100%;
  }
  .team > .container {
    margin-bottom: 50px;
  }
  .team > .container .flex-row {
    margin-bottom: 50px;
  }
  .team > .container .button-secondary {
    display: flex;
    margin: 0 auto;
  }
  .works__about-stat:nth-child(1) {
    padding-right: 22px;
  }
  .works__about-stat:nth-child(2) {
    padding: 0 22px;
  }
  .works__about-stat:nth-child(3) {
    padding-left: 22px;
  }
  .works__about-stat div {
    font-size: 30px;
  }
  .works__about-stat div span {
    font-size: 35px;
  }
  .works__about-stat span {
    font-size: 18px;
    margin-top: 6px;
  }
  .popup-excurs .container {
    background-image: url("../images/popupExcursBgBottom.svg");
    background-position: bottom;
    background-size: 100%;
    padding: 60px clamp(10px, 3vw, 26px) 150px;
  }
  .popup-pres .container {
    padding: 60px clamp(10px, 3vw, 26px) 115px;
  }
  .popup-pres .container .form {
    margin-top: 20px;
  }
  .popup-pres .container .form .button, .popup-pres .container .form__input {
    max-width: unset;
  }
  .popup-pres__journal {
    display: block;
    right: 0;
    left: 0;
    bottom: -120px;
    width: 60%;
    min-width: 260px;
    margin: auto;
  }
  .popup.popup-share {
    width: 440px;
  }
  .popup.popup-share .popup__close::after {
    transform: scale(0.8);
  }
  .popup.popup-share .popup__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px clamp(10px, 4vw, 20px) 30px;
  }
  .popup.popup-share .popup__title {
    font-size: 27px;
    margin-bottom: 0;
  }
  .popup.popup-share .popup__subtitle {
    font-size: 16px;
    margin-top: 0;
  }
  .popup.popup-share input {
    max-width: unset;
  }
  .popup.popup-share .popup__title,
  .popup.popup-share .popup__subtitle {
    text-align: center;
  }
  .popup.popup-share .popup-share__socials {
    align-items: center;
  }
  .popup .form__submit.button-primary {
    max-width: unset;
  }
  .breadcrumbs {
    padding-top: 70px;
    margin-bottom: 40px;
  }
  .button-photos {
    width: auto;
    height: auto;
    flex: unset;
    display: flex;
    gap: 14px;
    background-color: transparent;
    border-radius: unset;
    transform: scale(1);
  }
  .button-photos span {
    display: block;
    color: #76B742;
    font-weight: 600;
    max-width: 90px;
  }
  .button-photos::after {
    display: none;
  }
  .button-photos::before {
    position: static;
    width: 50px;
    height: 51px;
    background: url(../images/sprites/icons-sprite-7cb028c4.svg) -708px -1px no-repeat;
    background-size: auto 110px;
  }
  .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";
  }
  .title-row .button-primary {
    display: none;
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .cottage-card {
    height: auto;
    width: 100%;
  }
  .cottage-card__images-wrapper {
    height: 280px;
  }
  .filter-input {
    width: 100%;
  }
  .filter-input:nth-child(3) {
    width: 100%;
  }
  .filter {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    z-index: 2;
    padding-top: 100px;
  }
  .filter__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .filter__content-inputs {
    order: 2;
    margin-top: 30px;
  }
  .filter__content-tags {
    order: 1;
  }
  .filter__content-controls {
    flex-direction: column;
    order: 3;
    gap: 20px;
    margin-top: 30px;
  }
  .filter__buttons {
    display: none;
  }
  .house-card__image-wrapper {
    height: clamp(280px, 70vw, 520px);
  }
  .hypothec-calculator__inputs {
    gap: 4px;
  }
  .hypothec-calculator__info-elem div span {
    margin: 0 2px;
  }
  .hypothec-calculator__bank {
    width: calc(50% - 8px);
    padding: 20px 14px;
  }
  .hypothec .flex-row {
    margin-top: 30px;
  }
  .hypothec .flex-row .hypothec-card {
    height: auto;
    min-height: 430px;
    width: 100%;
  }
  .hypothec .flex-row .hypothec-card__image-wrapper {
    height: 280px;
  }
  .hypothec .flex-row .hypothec-card__content .button {
    max-width: unset;
    margin-top: auto;
  }
  .hypothec .flex-row .hypothec-card__subtitle {
    line-height: 150%;
    margin-bottom: 12px;
  }
  .map {
    height: 360px;
  }
  .mobile-buttons {
    display: flex;
    gap: 12px;
  }
}