
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 50px;
  }
  .footer__main {
    position: unset;
    flex-direction: column;
  }
  .footer__inner {
    gap: 30px;
    margin-right: 0;
    flex-direction: column-reverse;
  }
  .footer__inner .footer-logo-wrapper {
    position: unset;
    order: 1;
  }
  .footer__inner .footer-logo-wrapper__logo {
    display: none;
  }
  .footer__inner .footer-logo-wrapper .button {
    max-width: none;
    width: 100%;
    margin-top: 0;
  }
  .footer__inner .footer-nav {
    order: 2;
  }
  .footer__info {
    padding-top: 0;
    max-width: 350px;
    margin-top: 40px;
  }
  .footer__phone {
    margin-top: 40px;
  }
  .footer__paragraph--light {
    margin-top: 24px;
  }
  .footer__time {
    margin-top: 20px;
  }
  .footer__socials {
    position: unset;
    justify-content: center;
    order: -1;
    margin-top: 0;
  }
  .footer__image-wrapper {
    height: 62px;
    display: block;
    margin-top: 40px;
    max-width: 280px;
  }
  .footer__image-wrapper img {
    object-position: left;
  }
  .footer__links {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: 40px;
  }
  .notfound__image-wrapper {
    height: 500px;
  }
  .notfound .title {
    font-size: 40px;
    margin-bottom: 10px;
  }
  .notfound p {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
  }
  .notfound .button {
    margin-top: 25px;
  }
  .form-section .title {
    text-align: center;
    max-width: 320px;
    font-size: 25px;
  }
  .form-section_image {
    padding-bottom: 16px;
  }
  .form-section_image .form-section__wrapper {
    padding-bottom: 0;
    align-items: center;
    gap: 20px;
  }
  .form-section__image {
    position: unset;
    order: 3;
    margin-bottom: -16px;
  }
  .form-section__subtitle {
    font-size: 12px;
    line-height: 140%;
  }
  .form-section__wrapper {
    padding: 30px 20px;
    align-items: center;
  }
  .form-section .form {
    max-width: 320px;
  }
  .form-section .form__input {
    max-width: unset;
    width: 100%;
  }
  .form-section .form__submit.button {
    max-width: unset;
    width: 100%;
    line-height: 23px;
    order: 2;
  }
  .form {
    gap: 16px;
    flex-direction: column;
  }
  .form__input {
    width: 100%;
    padding: 20px;
  }
  .header-nav-mobile__list {
    padding: 90px 0 12px 50px;
  }
  .header-nav-mobile__link {
    font-size: 18px;
  }
  .header-nav-mobile__row {
    flex-direction: column;
    align-items: flex-start;
    order: 2;
    gap: 10px;
    width: 100%;
  }
  .header-nav-mobile__row .button-green {
    max-width: 100%;
  }
  .header-nav-mobile__second-row {
    width: 100%;
  }
  .header-nav {
    display: none;
  }
  .header {
    height: 60px;
    border-bottom: none;
  }
  .header__logo {
    max-width: 97px;
  }
  .header__content {
    height: 60px;
  }
  .header__right-content-mobile {
    gap: 21px;
  }
  .header__phone a {
    font-size: 14px;
  }
  .header__phone div {
    font-size: 12px;
  }
  .apartments_genplan {
    padding: 0;
    margin-top: 24px;
  }
  .apartments__subtitle {
    font-size: 18px;
  }
  .apartments__filter .title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .apartments__filter .filter-sticky {
    margin-top: 24px;
  }
  .apartments__switch-item {
    font-size: 12px;
  }
  .flat-card {
    width: 100%;
  }
  .flat-detail__card {
    flex-direction: column;
    margin-top: 20px;
  }
  .flat-detail__card-info {
    flex-basis: fit-content;
  }
  .flat-detail__top-links {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 35px;
  }
  .flat-detail__top-links .title {
    font-size: 25px;
  }
  .flat-detail__block .title-second {
    margin-bottom: 12px;
    font-size: 18px;
  }
  .flat-detail__row-item span {
    font-size: 14px;
  }
  .flat-detail__equipment-slider .swiper-wrapper {
    height: clamp(220px, 50vw, 360px);
  }
  .flat-detail__tabs-slider-content {
    padding: 20px clamp(10px, 3vw, 26px);
  }
  .flat-detail__tabs-slider-content div {
    font-size: 20px;
    line-height: 22px;
  }
  .flat-detail__tabs-slider-content p {
    font-size: 14px;
  }
  .flat-detail__tabs-slider-content ul li {
    font-size: 14px;
  }
  .flat-detail__slider .swiper-wrapper {
    height: clamp(220px, 50vw, 350px);
  }
  .flat-detail__slider-counter {
    font-size: 16px;
  }
  .flat-detail .block-color-bg {
    padding: 90px 0 136px;
  }
  .flat-detail__flats .flex-row {
    margin-top: 30px;
  }
  .flat-detail__genplan .leaflet-control-container {
    display: none;
  }
  .flat-detail__genplan-flat-info {
    font-size: 16px;
    gap: 20px;
  }
  .flat-detail__genplan-card-number {
    display: none;
  }
  .floors .container .title:not(.form-section__title) {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .floors__wrapper {
    margin-top: 30px;
    padding-bottom: 0;
  }
  .floors__genplan-compass {
    width: 75px;
    bottom: auto;
    top: -120px;
    right: 0;
    left: auto;
  }
  .floors__buttons {
    margin-bottom: 20px;
  }
  .floors .leaflet-popup-content .genplan-card {
    display: none;
  }
  .floors .leaflet-popup {
    display: none;
  }
  .floors .leaflet-control-container {
    display: none;
  }
  .genplan {
    padding-top: 60px;
  }
  .genplan__main .js-genplan-map-main {
    aspect-ratio: unset;
    height: 500px;
  }
  .genplan__bottom .button {
    display: none;
  }
  .genplan__button {
    display: block;
  }
  .genplan__button .button {
    margin: 16px auto;
  }
  .genplan__compass {
    width: 60px;
    height: 60px;
    left: clamp(10px, 3vw, 26px);
    bottom: 24px;
  }
  .genplan__hand {
    display: block;
    z-index: 10;
    position: absolute;
    right: clamp(10px, 3vw, 26px);
    top: 80px;
    animation: touchAnim 0.85s linear forwards infinite;
  }
  .hypothec-card__content p {
    margin-bottom: 16px;
    font-size: 14px;
  }
  .hypothec-card__content .button {
    max-width: 100%;
  }
  .hypothec-card__title {
    font-size: 20px;
  }
  .hypothec h1, .hypothec .title {
    margin-bottom: 24px;
  }
  .purchase-card {
    width: 100%;
  }
  .purchase-card__title {
    font-size: 20px;
  }
  .purchase-card p {
    font-size: 14px;
    margin: 12px 0 20px;
  }
  .purchase-card .button {
    max-width: 100%;
  }
  .cards .title {
    margin-bottom: 20px;
  }
  .cards__wrapper {
    gap: 12px;
  }
  .cards__item {
    width: calc(50% - 6px);
  }
  .cards__text {
    font-size: 12px;
  }
  .developers__top {
    margin-bottom: 20px;
  }
  .developers__left {
    gap: 20px;
  }
  .developers__text {
    font-size: 14px;
  }
  .developers__right {
    margin-top: 30px;
  }
  .developers__item {
    height: 100%;
  }
  .developers__item-image {
    max-height: 260px;
  }
  .developers__slider {
    height: 320px;
  }
  .growth .title {
    margin-bottom: 20px;
  }
  .growth__image-wrapper {
    height: max-content;
  }
  .growth__second-title {
    margin-bottom: 20px;
  }
  .growth__item {
    width: 100%;
  }
  .hero__image {
    height: 610px;
    margin: auto calc(clamp(10px, 3vw, 26px) * -1);
    width: calc(100% + clamp(10px, 3vw, 26px) + clamp(10px, 3vw, 26px));
  }
  .hero__images img {
    border-radius: 0;
  }
  .hero__title-wrapper div:last-of-type {
    flex-direction: column-reverse;
    gap: 18px;
  }
  .hero__title-wrapper div:last-of-type span {
    font-size: 40px;
  }
  .hero__span {
    display: none;
  }
  .hero__title {
    font-size: 40px;
  }
  .hero__subtitle {
    font-weight: 500;
    text-align: center;
  }
  .hero__info {
    gap: 10px;
    left: clamp(10px, 3vw, 26px);
    right: clamp(10px, 3vw, 26px);
    flex-direction: column;
  }
  .hero__offer {
    padding: 16px;
    width: 100%;
  }
  .hero__main-block .button {
    max-width: 100%;
  }
  .hero__main-block {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    font-size: 20px;
    margin-top: 16px;
  }
  .index-catalog .title {
    margin-bottom: 20px;
  }
  .index-genplan .title {
    margin-bottom: 20px;
  }
  .index-genplan__image-wrapper {
    margin-right: calc(clamp(10px, 3vw, 26px) * -1);
    margin-left: calc(clamp(10px, 3vw, 26px) * -1);
    width: calc(100% + clamp(10px, 3vw, 26px) + clamp(10px, 3vw, 26px));
    overflow-x: auto;
    position: unset;
  }
  .index-genplan__image-wrapper img {
    border-radius: 0;
    width: 768px;
  }
  .index-genplan__tags {
    width: 100%;
    position: unset;
    flex-direction: column;
    align-items: stretch;
  }
  .index-genplan__tag {
    align-items: center;
    justify-content: flex-start;
    background: #E8EBEE;
    color: var(--indigo);
  }
  .index-genplan__flats {
    background: #E8EBEE;
    max-width: 100%;
    border-radius: 16px;
  }
  .index-genplan__flats img {
    width: 187px;
    height: 90px;
    border-radius: 10px;
  }
  .index-genplan__flats span {
    font-size: 15px;
  }
  .index-genplan .button {
    order: 3;
    margin-top: 10px;
    max-width: 100%;
  }
  .index-genplan__bottom {
    left: 0;
    bottom: 350px;
    right: auto;
  }
  .index-genplan__item {
    font-size: 9px;
    padding: 0 8px;
    height: 18px;
  }
  .index-genplan__item:after {
    width: 8.4px;
    height: 15px;
    background: url(../images/sprites/icons-sprite-a9e4e2aa.svg) -36px -0.6px no-repeat;
    background-size: auto 23.4px;
  }
  .index-genplan__bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    justify-content: unset;
    margin-top: 20px;
  }
  .index-genplan__hand {
    display: block;
    z-index: 2;
    position: absolute;
    left: 16px;
    top: 16px;
    animation: touchAnim 0.85s linear forwards infinite;
  }
  .index-hypo .title {
    margin-bottom: 20px;
  }
  .index-hypo__item {
    min-height: unset;
    gap: 20px;
  }
  .index-hypo__title {
    max-width: 200px;
  }
  .index-infra.container {
    margin-top: 16px;
  }
  .index-infra__image {
    height: 505px;
  }
  .index-infra__title {
    top: 20px;
    left: 20px;
  }
  .index-infra__rows {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .index-infra__row-item {
    padding: 10px;
    gap: 4px;
  }
  .index-infra__row-item div {
    font-size: 28px;
  }
  .index-infra__row-item span {
    font-size: 12px;
  }
  .index-infra__row-block {
    height: 48px;
    justify-content: center;
    padding: 12px 10px;
    font-size: 12px;
    width: calc(50% - 5px);
  }
  .index-infra__row-block:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .index-news.container {
    padding-bottom: 90px;
  }
  .index-news .flex-row {
    margin-top: 30px;
  }
  .index-news .news-card:nth-child(n+3) {
    display: flex;
  }
  .index-news .button {
    margin: 20px auto 0;
  }
  .plan__image-wrapper {
    height: 260px;
  }
  .plan__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .plan__info {
    gap: 20px;
    top: 20px;
    left: 20px;
    right: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .plan__item-top {
    font-size: 50px;
  }
  .plan__item-top span {
    margin-left: 10px;
  }
  .plan__item-bottom {
    margin-top: 0;
  }
  .plan__row {
    margin-top: 30px;
  }
  .plan-card {
    flex-direction: column-reverse;
  }
  .plan-card__image-wrapper {
    height: 290px;
    width: 100%;
  }
  .plan-card__content {
    width: 100%;
    padding: 0;
    background-color: var(--white);
    border-radius: 0;
  }
  .plan-card__title {
    font-size: 20px;
    line-height: 120%;
  }
  .plan-card__text {
    font-size: 14px;
  }
  .transport .title {
    margin-bottom: 20px;
  }
  .transport__image-wrapper {
    margin-right: calc(clamp(10px, 3vw, 26px) * -1);
    margin-left: calc(clamp(10px, 3vw, 26px) * -1);
    width: calc(100% + clamp(10px, 3vw, 26px) + clamp(10px, 3vw, 26px));
    overflow-x: auto;
    height: 400px;
  }
  .transport__image-wrapper .image-cover {
    border-radius: 0;
    width: 768px;
  }
  .transport__block {
    font-size: 14px;
    margin-top: 10px;
  }
  .transport__top {
    border-radius: 4px;
    max-width: 120px;
    font-size: 9px;
    padding: 8px;
  }
  .transport__bottom {
    left: 20px;
    bottom: 16px;
  }
  .transport__bottom img {
    width: 111px;
  }
  .transport__hand {
    display: block;
  }
  .uk-block .title {
    margin-bottom: 20px;
  }
  .uk-block__image-wrapper {
    height: 250px;
  }
  .uk-block__main {
    gap: 10px;
  }
  .uk-block__item {
    width: 100%;
  }
  .uk-block__item span {
    font-size: 16px;
  }
  .uk-block__item-column .button {
    max-width: 100%;
  }
  .uk-block__item-column ul li {
    font-size: 16px;
  }
  .news-detail__wrapper {
    gap: 20px;
  }
  .news-detail__row {
    margin-top: 20px;
    font-size: 18px;
  }
  .news-detail__images {
    height: auto;
  }
  .news-detail__images:has(:not(:only-child)) {
    flex-direction: column;
    gap: 10px;
  }
  .news-detail__images:has(:not(:only-child)) img {
    width: 100%;
  }
  .news-detail__gallery {
    gap: 10px;
  }
  .news-detail__gallery-item {
    width: 100%;
  }
  .news-detail__prev-btn, .news-detail__next-btn {
    font-size: 15px;
    gap: 10px;
  }
  .news .container {
    margin-bottom: 50px;
  }
  .news .container .flex-row {
    row-gap: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .news__tabs {
    margin-top: 20px;
  }
  .popup-excurs .container .title {
    font-size: 25px;
  }
  .popup-excurs .container .button {
    max-width: unset;
  }
  .popup-excurs .container .popup__close {
    top: -42px;
    right: 0px;
  }
  .popup-excurs .container .button-primary {
    max-width: 100%;
  }
  .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__title {
    font-size: 28px;
  }
  .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 {
    padding: 72px clamp(10px, 3vw, 26px) 0;
    margin-bottom: 36px;
  }
  .breadcrumbs_absolute {
    left: 0;
    top: 0;
  }
  .breadcrumbs__item {
    font-size: 12px;
  }
  .card-item {
    width: 100%;
  }
  .flex-row {
    gap: 10px;
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .block-color-bg:not(:empty) {
    padding: 60px 0 120px;
  }
  .filter-sort__button-group {
    align-items: center;
    flex-direction: column;
  }
  .filter-sort__button-item {
    margin-right: 0;
  }
  .filter-sort__wrapper {
    width: 100%;
    justify-content: space-between;
    order: 2;
    margin-top: 25px;
  }
  .filter-sort__sort {
    display: none;
  }
  .filter {
    padding: 24px 20px 20px;
    margin-top: 20px;
  }
  .filter__apart-page {
    margin-top: 80px;
  }
  .filter__index {
    margin-top: 80px;
  }
  .filter__item-inner {
    width: 100%;
  }
  .filter__item-wrapper {
    margin-bottom: 0;
    flex-direction: column;
  }
  .filter__check-wrapper {
    width: 100%;
    padding-right: 0;
  }
  .filter__item {
    width: 100%;
    margin-bottom: 7px;
  }
  .filter__item_check {
    width: unset;
  }
  .filter__item_index {
    margin-right: 0;
  }
  .filter__item_select {
    width: unset;
  }
  .filter__button {
    width: 100%;
    margin-right: 0;
  }
  .filter__buttons {
    display: none;
    position: relative;
    flex-direction: column;
    align-items: unset;
  }
  .filter__radio-text {
    align-items: baseline;
    margin-bottom: 10px;
  }
  .filter__button-group {
    margin-left: unset;
  }
  .filter__clear {
    display: none;
  }
  .filter__bottom-wrapper .filter__clear {
    display: flex;
  }
  .filter__bottom-wrapper {
    display: flex;
  }
  .filter__more-button {
    display: flex;
    align-items: center;
  }
  .input-item_center {
    align-items: unset;
  }
  .genplan-card_page.active {
    margin: 20px 0 0;
    display: block;
  }
  .genplan-card__cross {
    display: flex;
  }
  .house-card__price-info {
    flex-direction: column;
    gap: 8px;
  }
  .index-card {
    width: 100%;
  }
  .index-card__area {
    margin-bottom: 16px;
  }
  .index-card__image-wrapper {
    height: 240px;
    margin-bottom: 16px;
  }
  .index-card__tags {
    margin-top: 16px;
  }
  .mobile-buttons {
    display: flex;
    gap: 12px;
  }
  .news-card {
    width: 100%;
  }
  .news-card__title {
    font-size: 18px;
  }
  .detail-drop {
    margin-top: 20px;
  }
  .detail-select .select2-selection--single {
    height: unset;
  }
}