
@media (max-width: 600px){
  .footer {
    padding: 40px 0 50px;
  }
  .footer__inner .footer-logo-wrapper {
    width: 100%;
  }
  .footer__image-wrapper {
    max-width: 190px;
  }
  .hero__image {
    height: 290px;
    margin-top: 26px;
  }
  .hero__switch {
    left: calc(50% - 117px);
  }
  .notfound .button {
    max-width: unset;
  }
  .form-image__subtitle {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }
  .form-image__form-wrapper .title {
    text-align: center;
  }
  .form-image__form-wrapper .form__input, .form-image__form-wrapper .form__submit {
    height: 50px;
  }
  .form-image__photo {
    display: none;
  }
  .form-section__subtitle {
    margin: 20px 0 24px;
  }
  .form-section .form__submit.button {
    height: 50px;
    line-height: 100%;
  }
  .form {
    flex-direction: column;
  }
  .form__submit {
    order: 3;
    padding: 17px 0 !important;
  }
  .form__submit, .form__input {
    width: 100%;
    max-width: unset;
  }
  .about-page__legend {
    flex-basis: calc(33.3333333333% - 14px);
  }
  .about-page__genplan-legends {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-page__infos {
    row-gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .about-page__info {
    flex-basis: fit-content;
  }
  .about-page__info div {
    font-size: 30px;
    line-height: 33px;
  }
  .about-page__info span {
    font-size: 16px;
    line-height: 24px;
  }
  .contacts .map {
    margin-top: 0;
  }
  .flat-detail__row {
    justify-content: space-between;
    column-gap: 14px;
  }
  .flat-detail__row div {
    font-size: 14px;
  }
  .flat-detail__row div span {
    font-size: 20px;
  }
  .flat-detail__card-info-top {
    display: flex;
    justify-content: space-between;
  }
  .flat-detail__card-info-top div {
    font-size: 20px;
    line-height: 22px;
  }
  .flat-detail__card-info-top div:first-child {
    margin-right: 0;
  }
  .flat-detail__card-info-top div span {
    font-size: 32px;
    line-height: 35px;
  }
  .flat-detail__buttons .button {
    width: 100%;
    max-width: unset;
    max-height: 56px;
    flex: unset;
  }
  .flat-detail__buttons {
    flex-direction: column;
  }
  .flat-detail__block .button {
    max-width: unset;
  }
  .flat-detail__flats .flex-row {
    margin-top: 24px;
  }
  .flat-detail__flats .button {
    margin: 24px auto 0;
  }
  .flat-detail__genplan-sunrise {
    width: 33px;
    right: -42px;
    top: 19%;
  }
  .flat-detail__genplan-sunset {
    width: 33px;
    left: -42px;
    top: 20%;
  }
  .flat-detail__genplan-sea {
    bottom: -40px;
    height: 20px;
  }
  .flat-detail__genplan-flat-info {
    top: -20px;
    font-size: 14px;
  }
  .flat-detail__genplan-flat-info div {
    margin-bottom: 6px;
  }
  .floors__wrapper {
    margin-top: 24px;
  }
  .genplan .apartments .flex-row {
    margin-top: 24px;
  }
  .genplan__main {
    margin-top: 24px;
  }
  .index-catalog .flex-row {
    margin-top: 20px;
  }
  .description__block {
    margin-top: 30px;
  }
  .index-news.container {
    padding-bottom: 60px;
  }
  .index-news .flex-row {
    margin-top: 20px;
    gap: 30px;
  }
  .news-article__buttons a {
    font-size: 14px;
  }
  .news-article__images-row .news-article__image-wrapper {
    width: 100%;
  }
  .news__tab {
    padding: 12px 6px;
    border-radius: 8px;
  }
  .partners__content {
    grid-template-areas: "block1" "block2" "block3" "ad" "docs";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 110px) 288px auto;
  }
  .partners__links a {
    display: block;
    width: fit-content;
    margin-left: 0;
  }
  .popup-excurs .container .popup__close {
    top: 14px;
    right: 14px;
  }
  .popup-excurs .container .button-primary {
    max-width: unset;
  }
  .popup-hypothec__bank {
    border-radius: 16px;
  }
  .popup-phone .container {
    padding: 48px 14px;
  }
  .popup-phone .container .title {
    font-size: 30px;
    line-height: 33px;
  }
  .popup-phone .container .popup__close {
    top: 14px;
    right: 14px;
  }
  .popup-phone__subtitle {
    font-size: 16px;
    line-height: 19px;
  }
  .popup__close {
    transform: scale(0.8);
  }
  .flex-row {
    row-gap: 20px;
  }
  .block-color-bg {
    padding: 60px 0;
  }
  .filter-input {
    width: 100%;
    margin-right: 0;
    flex: unset;
  }
  .filter-input:nth-child(1) {
    flex: unset;
  }
  .filter-input:nth-child(2) {
    flex: unset;
  }
  .filter-input:nth-child(3) {
    flex: unset;
  }
  .filter-input {
    width: 100%;
  }
  .house-card {
    width: 100%;
    height: fit-content;
  }
  .house-card__tags {
    margin-top: 12px;
  }
  .hypothec-calculator__bank {
    border-radius: 16px;
  }
  .hypothec .flex-row {
    margin-top: 20px;
  }
  .hypothec .flex-row .hypothec-card {
    width: 100%;
  }
  .infrastructure__legends {
    grid-template-columns: 1fr 160px;
    grid-template-rows: repeat(3, 34px);
  }
  .infrastructure__legend {
    gap: 5px;
  }
  .infrastructure__legend-time {
    font-size: 16px;
    line-height: 16px;
  }
  .infrastructure__legend-title {
    font-size: 13px;
  }
  .news-card {
    width: 100%;
  }
}