
@media (max-width: 768px) {
  html body {
    --header-height: 60px;
  }
  html body {
    height: 60px;
  }
  .footer {
    padding-bottom: 64px;
  }
  .footer__inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .footer__inner .footer-logo-wrapper {
    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 {
    flex-direction: column;
    max-width: 350px;
    margin-top: 40px;
  }
  .footer__phone {
    margin-top: 40px;
  }
  .footer__paragraph--light {
    margin-top: 10px;
  }
  .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;
    gap: 11px;
    margin-top: 30px;
  }
  .footer__links a:last-child {
    margin-left: 0;
  }
  .map__zoom {
    width: 40px;
    height: 40px;
  }
  .notfound__wrapper {
    padding: 140px 0 100px;
  }
  .notfound__title {
    font-size: 46px;
  }
  .notfound__subtitle {
    font-size: 16px;
  }
  .notfound .button {
    margin-top: 40px;
  }
  .form-section .title {
    text-align: center;
    max-width: 320px;
    font-size: 28px;
  }
  .form-section__subtitle {
    font-size: 12px;
    line-height: 140%;
  }
  .form-section__wrapper {
    border-radius: 16px;
    padding: 60px 0;
    align-items: center;
  }
  .form-section .form {
    max-width: 320px;
  }
  .form-section .form__submit.button {
    max-width: unset;
    width: 100%;
    line-height: 23px;
    order: 2;
  }
  .form {
    gap: 16px;
    flex-direction: column;
  }
  .form__input {
    width: calc(100% - 16px - 88px);
    padding: 20px;
  }
  .form .form-messenger__list {
    left: auto;
    right: 0;
  }
  .form--download {
    flex-direction: column;
    align-items: stretch;
  }
  .header-nav-mobile {
    margin: auto;
  }
  .header-nav-mobile__list {
    padding: 90px 0 12px 0;
  }
  .header-nav-mobile__list li {
    margin-top: 14px;
  }
  .header-nav-mobile__link {
    font-size: 18px;
    line-height: 150%;
  }
  .header {
    --header-height: 60px;
  }
  .header {
    height: 60px;
    border-bottom: none;
  }
  .header__logo {
    max-width: 130px;
  }
  .header__content {
    height: 60px;
  }
  .header__right-content {
    gap: 0;
  }
  .header__burger {
    width: 35px;
    height: 28px;
  }
  .header__burger span {
    top: 13px;
    width: 35px;
  }
  .header__start {
    font-size: 12px;
    height: 20px;
    padding: 0 10px;
  }
  .header__phone {
    display: none;
  }
  .about__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .about__list {
    gap: 40px;
  }
  .about__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "slider" "text";
    row-gap: 10px;
  }
  .about__card--reverse {
    grid-template-areas: "slider" "text";
  }
  .about__card--last {
    grid-template-areas: "slider" "text" "button";
    row-gap: 10px;
  }
  .about__slider {
    height: 206px;
    border-radius: 12px;
  }
  .about__text {
    gap: 2px;
  }
  .about__subtitle {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
  }
  .about__button {
    justify-self: stretch;
    margin-top: 20px;
  }
  .developer__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .developer__head {
    gap: 16px;
  }
  .developer__stats {
    gap: 40px;
  }
  .developer__stat--projects {
    width: 93px;
  }
  .developer__stat--flats {
    width: 181px;
  }
  .developer__stat-value {
    font-weight: 600;
    font-size: 46px;
  }
  .developer__stat-label {
    font-size: 12px;
    line-height: 1.2;
  }
  .developer__text {
    font-size: 15px;
  }
  .developer__cards {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px 12px;
  }
  .developer__card {
    justify-content: flex-start;
    gap: 4px;
    padding: 0;
  }
  .developer__card-image {
    position: static;
    height: 98px;
    border-radius: 12px;
  }
  .developer__card-name {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 0;
    text-align: center;
    background: #F4F4F8;
  }
  .download {
    margin-top: 60px;
  }
  .download__box:before {
    width: 100%;
    height: 160px;
    background-image: url("../images/form/forma-md.svg");
  }
  .download__box {
    gap: 20px;
    max-width: none;
    min-height: 474px;
    padding: 190px 20px 28px;
  }
  .download__title {
    max-width: none;
  }
  .download .form {
    max-width: none;
  }
  .download__image img {
    object-fit: contain;
  }
  .download__image {
    top: -31px;
    width: 100%;
    height: 206px;
  }
  .excursion {
    height: auto;
    background: var(--white);
  }
  .excursion__map {
    position: relative;
    height: 360px;
  }
  .excursion__container.container {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .excursion__form {
    gap: 20px;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
  }
  .excursion__text {
    gap: 10px;
  }
  .excursion__fields {
    justify-content: flex-start;
    height: auto;
    gap: 16px;
  }
  .excursion__button {
    color: var(--dark);
  }
  .facade.block-mt {
    margin-top: 60px;
  }
  .facade__inner {
    min-height: 0;
    padding-bottom: 320px;
  }
  .facade__inner:before {
    height: 204px;
    background-image: url("../images/facade/forma-md.svg");
  }
  .facade__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .facade__text {
    width: 100%;
  }
  .facade__text p {
    margin-bottom: 12px;
  }
  .facade__list {
    gap: 5px;
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
    color: var(--dark);
  }
  .facade__item {
    gap: 17px;
  }
  .facade__image {
    right: 1px;
    width: 267px;
    height: 313px;
  }
  .hero {
    padding: 80px 0 20px;
  }
  .hero__inner {
    gap: 12px;
  }
  .hero__head {
    gap: 12px;
  }
  .hero__eyebrow {
    font-size: 15px;
    font-weight: 400;
  }
  .hero__title {
    font-size: 45px;
    font-weight: 600;
  }
  .hero__card {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 12px;
  }
  .hero__card-title {
    flex: none;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
    text-align: center;
  }
  .hero__card-button {
    width: 100%;
  }
  .hero__image {
    border-radius: 12px;
  }
  .lobby__title {
    padding-bottom: 0;
    font-size: 24px;
  }
  .lobby__subtitle {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
  }
  .lobby__subtitle--line {
    padding-bottom: 10px;
  }
  .lobby__text {
    font-size: 15px;
  }
  .lobby__item {
    font-size: 15px;
    font-weight: 400;
  }
  .lobby__image {
    height: 200px;
    border-radius: 12px;
  }
  .location-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    margin-top: 20px;
  }
  .location-gallery__item {
    min-height: 0;
    gap: 4px;
    padding: 0;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 0;
  }
  .location-gallery__item:nth-child(3) {
    order: 4;
  }
  .location-gallery__item:nth-child(4) {
    order: 3;
  }
  .location-gallery__item:nth-child(n+5) {
    order: 5;
  }
  .location-gallery__media {
    position: relative;
    inset: auto;
    height: 140px;
    border-radius: 12px;
  }
  .location-gallery__img {
    object-position: var(--pos-md);
  }
  .location-gallery__name {
    order: 0;
    min-height: 36px;
    padding: 4px 10px;
    border-color: var(--grey3);
    border-radius: 12px;
    background: var(--grey3);
    text-align: center;
  }
  .location-gallery__time {
    order: 0;
    align-self: stretch;
  }
  .location-map__scroll {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .location-map__scroll::-webkit-scrollbar {
    display: none;
  }
  .location-map__inner {
    flex: none;
    width: 720px;
    margin: 0 calc(clamp(16px, 3vw, 24px) * -1);
    aspect-ratio: 720/350;
    border-radius: 0;
  }
  .location-map__hint {
    display: block;
    position: absolute;
    left: clamp(16px, 3vw, 24px);
    top: 24px;
    pointer-events: none;
  }
  .location-map__hint:before {
    content: "";
    display: block;
    width: 57px;
    height: 32.68px;
    background: url(../images/sprites/icons-sprite-a94a9de9.svg) -192px -1px no-repeat;
    background-size: auto 43px;
  }
  .location__title {
    margin-bottom: 10px;
    font-size: 24px;
  }
  .location__metro {
    gap: 10px;
    margin-bottom: 19px;
    font-size: 16px;
    line-height: 1.5;
  }
  .payment__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .payment__grid {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .payment__promo {
    height: 250px;
    border-radius: 12px;
  }
  .payment__button {
    display: none;
  }
  .payment__card {
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.2;
  }
  .plans__head {
    gap: 10px;
    margin-bottom: 20px;
  }
  .plans__title {
    font-size: 24px;
  }
  .plans__text {
    font-size: 15px;
  }
  .plans__list {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
  .plans__button {
    width: 100%;
  }
  .sticky-offer__toggle.button {
    display: flex;
  }
  .sticky-offer__panel {
    display: none;
    height: auto;
    overflow: visible;
    background: var(--violet2);
    border-radius: 12px 12px 0 0;
  }
  .sticky-offer_open .sticky-offer__toggle.button {
    display: none;
  }
  .sticky-offer_open .sticky-offer__panel {
    display: block;
    animation: sticky-offer-open 0.4s ease both;
  }
  .sticky-offer_open .sticky-offer__close {
    display: block;
  }
  .sticky-offer__inner {
    display: block;
    height: auto;
    padding: 20px 16px;
  }
  .sticky-offer__manager {
    width: calc(100% - 46px);
    margin-bottom: 40px;
  }
  .sticky-offer__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
  }
  .sticky-offer__form:before, .sticky-offer__form:after {
    display: none;
  }
  .sticky-offer__title {
    margin: -16px 0 4px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.14;
  }
  .sticky-offer__input {
    height: 52px;
    font-size: 18px;
  }
  .sticky-offer__button.button {
    order: 3;
    height: 52px;
    color: var(--dark);
  }
  .sticky-offer__agreement {
    order: 2;
    font-size: 15px;
    line-height: 1.5;
  }
  .tech__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .tech__image {
    height: 164px;
    border-radius: 12px;
  }
  .tech__cards {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .tech__card-title {
    margin-bottom: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
  }
  .popup-magazine {
    width: 328px;
    padding-top: 20px;
  }
  .popup-magazine__box:before {
    top: 0;
    height: 133px;
    background-image: url("../images/popup-magazine/forma-md.svg");
  }
  .popup-magazine__box {
    padding: 160px 20px 40px;
    border-radius: 12px;
  }
  .popup-magazine__image {
    top: -30px;
    width: 280px;
    height: 175px;
  }
  .popup-magazine__content {
    gap: 30px;
  }
  .popup-magazine__content .form--download {
    width: 100%;
  }
  .popup-magazine__title {
    font-size: 24px;
  }
  .popup-magazine__subtitle {
    max-width: 300px;
    margin: 0 auto;
  }
  .popup.popup-main {
    padding: 40px 20px;
  }
  .popup-main {
    width: 328px;
    border-radius: 12px;
  }
  .popup-main__wrapper {
    gap: 30px;
  }
  .popup-main__wrapper .form--download {
    width: 100%;
  }
  .popup-main__text {
    max-width: 300px;
    margin: 0 auto;
  }
  .popup-main__title {
    font-size: 24px;
  }
  .popup__close {
    top: 30px;
    right: 20px;
  }
  .breadcrumbs {
    padding: 72px clamp(16px, 3vw, 24px) 0;
    margin-bottom: 25px;
  }
  .breadcrumbs_absolute {
    left: 0;
    top: 0;
  }
  .breadcrumbs__item {
    font-size: 12px;
  }
  .flex-row {
    gap: 12px;
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .block-pb {
    padding-bottom: 50px;
  }
  .block-color-bg:not(:empty) {
    padding: 60px 0 120px;
  }
  .house-card__price-info {
    flex-direction: column;
    gap: 8px;
  }
}