@media (max-width: 768px) {
  .footer {
    padding: 60px 0 50px;
  }
}

@media (max-width: 768px) {
  .footer__main {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    gap: 40px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .footer__inner .footer-logo-wrapper {
    order: 1;
    width: 100%;
  }
  .footer__inner .footer-logo-wrapper__logo {
    display: none;
  }
  .footer__inner .footer-logo-wrapper .button {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .footer__inner .footer-nav {
    order: 2;
  }
}

@media (max-width: 768px) {
  .footer__info {
    max-width: 350px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .footer__phone {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .footer__socials {
    order: -1;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .footer__image-wrapper {
    display: block;
    margin-top: 50px;
    max-width: 320px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer__links {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .notfound.container {
    padding-top: 110px;
  }
}

@media (max-width: 768px) {
  .notfound p {
    font-size: 31px;
    line-height: 31px;
  }
}

@media (max-width: 768px) {
  .notfound .button {
    margin-top: 40px;
  }
}


@media (max-width: 768px) {
  .contacts {
    padding-top: 125px;
  }
}

@media (max-width: 768px) {
  .contacts .title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .contacts__row {
    margin-bottom: 30px;
    font-size: 20px;
  }
  .contacts__row:after {
    margin-left: 16px;
  }
}

@media (max-width: 768px) {
  .contacts__gallery {
    gap: 0;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contacts__item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contacts__info {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .contacts__subtitle {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .contacts__paragraph {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .contacts__email {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .contacts .swiper {
    width: calc(100% + var(--padding-side) + var(--padding-side));
    margin: 0 calc(var(--padding-side) * -1) 30px;
  }
}

@media (max-width: 768px) {
  .form-image .container {
    background-image: none;
    flex-direction: column;
    padding: 60px var(--padding-side) 0;
  }
}

@media (max-width: 768px) {
  .form-image__form-wrapper .title {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-image__form-wrapper .form__submit {
    line-height: 15px;
  }
}

@media (max-width: 768px) {
  .form-image__form-wrapper .form__input, .form-image__form-wrapper .form__submit {
    width: 100%;
    max-width: unset;
  }
}

@media (max-width: 768px) {
  .form-image__form-wrapper .form__input, .form-image__form-wrapper .form__submit {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .form-image__form-wrapper .form {
    max-width: 320px;
    flex-direction: column;
    align-items: center;
    margin: 30px auto 0;
  }
}

@media (max-width: 768px) {
  .form-image__photo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .form-image__name {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .form-image__name span {
    width: unset;
  }
}

@media (max-width: 768px) {
  .form-image__image-wrapper {
    flex: unset;
    width: unset;
    height: 240px;
  }
  .form-image__image-wrapper:before {
    transform: translateX(-51%) translateY(-24%) scale(0.5);
  }
  .form-image__image-wrapper .image-contain {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .form-journal .container {
    padding-top: 60px;
    padding-bottom: 0;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .form-journal__form-wrapper .title {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .form-journal__form-wrapper .form {
    max-width: 340px;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .form-journal__form-wrapper .form__input, .form-journal__form-wrapper .form__submit {
    width: 100%;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .form-journal__image-wrapper {
    display: block;
    width: clamp(310px, 70vw, 430px);
    height: auto;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .form-section__title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .form-section .form__submit.button {
    max-width: unset;
    width: 100%;
    line-height: 23px;
  }
}

@media (max-width: 768px) {
  .form {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .form__input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form__submit {
    order: 3;
    padding: 17px 0 !important;
  }
}

@media (max-width: 768px) {
  .header-nav-mobile__list li:last-child {
    font-family: Onest, sans-serif;
    display: block;
    margin-top: 40px;
    padding: 16px 0;
    position: relative;
  }
  .header-nav-mobile__list li:last-child:before, .header-nav-mobile__list li:last-child:after {
    display: flex;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light);
    opacity: 0.5;
  }
  .header-nav-mobile__list li:last-child:before {
    top: 0;
  }
  .header-nav-mobile__list li:last-child:after {
    bottom: 0;
  }
  .header.active .header-nav-mobile .header-nav-mobile__list li:last-child:before, .header.active .header-nav-mobile .header-nav-mobile__list li:last-child:after {
    background: var(--light);
  }
  .header-nav-mobile__list li:last-child:before, .header-nav-mobile__list li:last-child:after {
    background: var(--chocolate);
  }
}

@media (max-width: 768px) {
  .header-nav-mobile__link {
    font-size: 31px;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-nav-mobile__phone {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-nav-mobile__bottom {
    flex-direction: column;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  .header-nav-mobile__svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    height: 80px;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .header__logo {
    max-width: 43px;
    margin: 0 auto;
    order: 2;
  }
}

@media (max-width: 768px) {
  .header__burger {
    order: 3;
    margin-left: 0;
    width: 53px;
    height: 26px;
  }
}

@media (max-width: 768px) {
  .header__burger span {
    width: 30px;
  }
}

@media (max-width: 768px) {
  .header__burger span:nth-child(2) {
    top: 12px;
  }
}

@media (max-width: 768px) {
  .header__burger_active span:nth-child(2) {
    top: 17px;
  }
}

@media (max-width: 768px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 768px) {
  .header__phone-mobile {
    display: grid;
    place-content: center;
    transition: 0.2s linear;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .block-with-slider {
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  .block-with-slider__wrapper {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .block-with-slider__main {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .block-with-slider__side {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .block-with-slider__text span {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .block-with-slider__text span:last-child {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .block-with-slider__text span:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .block-with-slider__subtitle {
    margin-top: 30px;
    position: unset;
    max-width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .block-with-slider__svg {
    width: 100px;
    height: 200px;
    position: unset;
  }
  .block-with-slider__svg svg {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .expert__wrapper {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .expert__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .expert_reversed .expert__wrapper {
    flex-direction: column-reverse;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .expert_reversed .expert__side {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .expert_reversed .expert__side .expert__name {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .expert_reversed .expert__side .expert__post {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .gallery__title {
    font-size: 70px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .gallery__main {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .gallery__image-wrapper {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .gallery__image-wrapper:nth-child(2) {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery__image-wrapper:last-child {
    width: calc(70% - 14px);
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery__svg {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .genplan-block {
    padding-top: 50px;
  }
}

@media (max-width: 768px) {
  .genplan-block__title {
    position: unset;
  }
}

@media (max-width: 768px) {
  .genplan-block__title span, . genplan-block__title h2 {
    font-size: 42px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .genplan-block__title span:nth-child(2) {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .genplan-block__svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .genplan-block__svg-mobile {
    justify-content: center;
    margin-top: 20px;
    display: flex;
  }
}

@media (max-width: 768px) {
  .horizontal-slider__wrapper {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .horizontal-slider__img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .image-block .block-pt {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  .image-block__side {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .image-block__title {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .image-block__text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .image-block__lines {
    display: none;
  }
}

@media (max-width: 768px) {
  .info-block__wrapper {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .info-block__top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .info-block__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .main__svg {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
}

@media (max-width: 768px) {
  .main__svg-mobile {
    animation: svgTop 1s 1.6s forwards;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 3;
    display: flex;
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    opacity: 0;
    width: 120px;
    height: 120px;
  }
  .main__svg-mobile svg {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .main__image-wrapper {
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .map-block {
    padding-top: 50px;
  }
}

@media (max-width: 768px) {
  .map-block__title {
    position: unset;
  }
}

@media (max-width: 768px) {
  .map-block__title span {
    font-size: 46px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .map-block__title span:nth-child(1) {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .map-block__title span:last-child {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .partner {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .partner__wrapper {
    gap: 42px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .partner__title.title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .partner__logos {
    gap: 10px;
    flex-direction: column;
  }
  .partner__logos img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .partner__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .projects__wrapper {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .projects__title {
    font-size: 70px;
    max-width: 320px;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .projects__main {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .projects__item {
    width: calc(50% - 12px);
  }
  .projects__item:last-child {
    width: 100%;
  }
  .projects__item:last-child .projects__image {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .projects__image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .projects__text {
    font-size: 16px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .projects_reversed .projects__wrapper {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .projects_reversed .projects__title {
    max-width: unset;
    text-align: left;
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .news-card__title {
    font-size: 31px;
    min-height: 62px;
  }
}


@media (max-width: 768px) {
  .news-detail {
    padding-top: 125px;
  }
}

@media (max-width: 768px) {
  .news-detail__wrapper {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .news-detail__date {
    font-size: 20px;
  }
  .news-detail__date:after {
    margin-left: 16px;
  }
}

@media (max-width: 768px) {
  .news-detail__image-wrapper {
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .news-detail__image-wrapper img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .news-detail__svg {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 768px) {
  .news-detail .flex-row {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .news-detail__item {
    width: calc(50% - 5px);
  }
}

@media (max-width: 768px) {
  .news .title {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .news__row {
    margin: 0 -16px 40px;
  }
}

@media (max-width: 768px) {
  .news__button {
    font-size: 14px;
    padding: 15px 18px;
    width: fit-content;
    flex-grow: 1;
    --mask-height: 14px;
    --mask-transform: -14px;
  }
}

@media (max-width: 768px) {
  .news-page .title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .news-page h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .news-page {
    padding-top: 125px;
  }
}

@media (max-width: 768px) {
  .news-page .flex-row {
    row-gap: 24px;
  }
}

@media (max-width: 768px) {
  .banner {
    margin: 0 0 12px 0;
  }
}

@media (max-width: 768px) {
  .banner__text {
    left: 24px;
    bottom: 40px;
    right: 24px;
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .breadcrumbs {
    display: none;
  }
}

@media (max-width: 768px) {
  .card_main {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .card__wrapper {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .card__top {
    min-height: 50px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .card__top.banks img {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .block-mt {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .block-mb {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .block-pt {
    padding-top: 50px;
  }
}

@media (max-width: 768px) {
  .block-pb {
    padding-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .flat-card_main {
    width: 100%;
    margin: 0 0 12px 0;
  }
}

@media (max-width: 768px) {
  .hypothec .title {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .map {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .map__link {
    top: auto;
    right: 15px;
    bottom: 35px;
  }
}

@media (max-width: 768px) {
  .map__svg {
    width: 100px;
    height: 100px;
  }
}