
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 50px;
  }
  .footer__main {
    flex-direction: column;
  }
  .footer .footer-logo-wrapper__logo {
    display: none;
  }
  .footer .footer-logo-wrapper {
    order: 1;
  }
  .footer .footer-logo-wrapper .button {
    margin-top: 0;
  }
  .footer__inner {
    gap: 40px;
    margin-right: 0;
    flex-direction: column;
  }
  .footer__inner {
    gap: 40px;
    margin-right: 0;
    align-items: center;
    margin: auto;
  }
  .footer__inner .footer-nav {
    order: 2;
  }
  .footer__info {
    max-width: 100%;
    width: 100%;
  }
  .footer__phone {
    margin: 40px auto 30px;
    text-align: center;
  }
  .footer__paragraph--light {
    margin-bottom: 12px;
  }
  .footer__paragraph--light:nth-last-child(2) {
    margin-bottom: 0;
    margin-top: 12px;
  }
  .footer__socials {
    justify-content: center;
    margin-top: 20px;
  }
  .footer__image-wrapper {
    height: 62px;
    display: block;
    margin-top: 40px;
    max-width: 320px;
  }
  .footer__image-wrapper img {
    object-position: left;
  }
  .footer__text-title {
    font-size: 16px;
  }
  .footer__links {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: 40px;
  }
  .notfound__row {
    padding: 150px 0 90px 0;
    flex-direction: column;
    width: 320px;
    gap: 140px;
  }
  .notfound__left {
    font-size: 48px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    gap: 12px;
  }
  .notfound__left:after {
    content: "";
    display: flex;
    position: absolute;
    left: 50%;
    height: 100px;
    width: 1px;
    background: var(--beige2);
    top: 70px;
  }
  .notfound__right {
    padding: 0;
    margin: 0;
    border-left: none;
    gap: 28px;
    align-items: center;
    text-align: center;
  }
  .notfound .container p {
    font-size: 14px;
    text-align: left;
  }
  .notfound .container .button {
    max-width: unset;
  }
  .form-section .title {
    font-size: 25px;
  }
  .form-section__subtitle {
    margin: 18px 0 24px;
  }
  .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__list li {
    margin-top: 20px;
  }
  .header-nav-mobile__link {
    font-size: 16px;
  }
  .header-nav-mobile__phone {
    display: block;
  }
  .header-nav-mobile__location {
    display: flex;
  }
  .header-nav-mobile__item {
    gap: 10px;
    width: fit-content;
  }
  .header-nav-mobile__item .footer-socials {
    display: none;
  }
  .header-nav {
    display: none;
  }
  .header {
    height: 50px;
    border-bottom: none;
  }
  .header__logo {
    max-width: 195px;
    margin-right: 15px;
  }
  .header__content {
    height: 50px;
  }
  .header__right-content {
    display: none;
  }
  .header__right-content-mobile {
    margin-left: auto;
  }
  .header__right-content-mobile a {
    display: grid;
  }
  .header__burger {
    margin-left: 20px;
  }
  .header__phone-button {
    display: grid;
  }
  .news-detail__wrapper {
    gap: 20px;
  }
  .news-detail__row {
    margin-top: 20px;
  }
  .news-detail__images {
    height: auto;
    gap: 10px;
    flex-direction: column;
  }
  .news-detail__images img {
    width: 100%;
  }
  .news-detail__gallery {
    gap: 10px;
  }
  .news-detail__gallery-item {
    width: calc(50% - 5px);
  }
  .news-detail__prev-btn, .news-detail__next-btn {
    font-size: 15px;
    gap: 10px;
  }
  .news .title {
    margin-bottom: 24px;
  }
  .news .news-card:first-child .button {
    margin-top: 20px;
  }
  .catalog .title {
    margin-bottom: 20px;
  }
  .developers__top {
    margin-bottom: 20px;
  }
  .developers__left {
    gap: 20px;
  }
  .developers__title {
    font-size: 25px;
  }
  .developers__text {
    font-size: 14px;
  }
  .developers__right {
    margin-top: 30px;
  }
  .developers__logo {
    width: 100px;
  }
  .developers__item {
    height: 100%;
  }
  .developers__item-image {
    max-height: 260px;
  }
  .developers__slider {
    height: 320px;
  }
  .gallery .title {
    margin-bottom: 20px;
  }
  .gallery__wrapper {
    display: flex;
    flex-direction: column;
  }
  .gallery .tag {
    height: 30px;
    font-size: 14px;
  }
  .genplan__wrapper {
    position: relative;
    overflow: auto;
  }
  .genplan__wrapper img {
    width: 1010px;
  }
  .genplan__bottom {
    bottom: 30px;
  }
  .genplan__title {
    font-size: 25px;
  }
  .hotel__wrapper {
    position: relative;
    z-index: 3;
    overflow: auto;
  }
  .hotel__wrapper img {
    width: 900px;
  }
  .hotel__title {
    font-size: 25px;
  }
  .hotel__subtitle {
    font-size: 16px;
  }
  .hotel__text {
    width: 100%;
    font-size: 14px;
    line-height: 140%;
    margin: 20px 0 24px;
  }
  .inf-index .title {
    margin-bottom: 20px;
  }
  .inf-index__item {
    width: 100%;
    height: clamp(300px, 50vw, 470px);
  }
  .inf-index__item:nth-child(2), .inf-index__item:nth-child(3), .inf-index__item:nth-child(4) {
    width: 100%;
  }
  .inf-index__item .tag {
    height: 30px;
    font-size: 14px;
  }
  .info__top {
    gap: 20px;
  }
  .info__left-text {
    font-size: 14px;
    margin-top: 20px;
  }
  .info__location {
    font-size: 20px;
    margin-top: 20px;
  }
  .info__title {
    font-size: 26px;
  }
  .info__bottom {
    flex-direction: column;
    gap: 30px;
  }
  .info__item-title {
    font-size: 48px;
    margin-bottom: 10px;
  }
  .info__item-subtitle {
    font-size: 14px;
  }
  .letters {
    height: clamp(200px, 50vw, 290px);
  }
  .letters__image {
    height: 300%;
  }
  .letters__text {
    flex-direction: column;
    gap: 4px;
    margin-top: 30px;
  }
  .letters__text div {
    width: 100%;
    font-size: 15px;
    text-align: center;
  }
  .letters__text span {
    display: none;
  }
  .main {
    height: 560px;
    margin-bottom: 230px;
  }
  .main__content {
    gap: 30px;
    bottom: 30px;
  }
  .main__title {
    font-size: 36px;
  }
  .main__row div {
    font-size: 14px;
  }
  .main__text {
    text-align: center;
  }
  .main__text-wrapper {
    bottom: -230px;
    flex-direction: column;
    gap: 24px;
  }
  .news-index .title {
    margin-bottom: 20px;
  }
  .news-index .flex-row {
    gap: 20px;
  }
  .partners__items {
    flex-wrap: wrap;
    margin-left: calc(clamp(20px, 3vw, 30px) * -1);
    margin-right: calc(clamp(20px, 3vw, 30px) * -1);
  }
  .partners__item:first-child {
    padding: 40px 20px 34px;
    width: 100%;
    min-height: 170px;
    border-bottom: 2px solid var(--beige);
  }
  .partners__item:nth-child(2) {
    min-height: 220px;
    padding: 34px 27px 27px;
    width: 50%;
    border-left: none;
  }
  .partners__item:last-child {
    min-height: 220px;
    width: 50%;
    padding: 34px 27px 27px;
  }
  .partners__item:last-child .partners__icon {
    width: 61px;
  }
  .partners__row {
    flex-direction: row;
    align-items: center;
  }
  .partners__bank {
    max-width: 140px;
  }
  .partners__def {
    width: 105px;
    height: 28px;
  }
  .partners__text {
    font-size: 13px;
  }
  .resort__wrapper {
    gap: 30px;
  }
  .resort__title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .resort__text {
    font-size: 14px;
  }
  .resort__list {
    gap: 4px;
    margin-top: 20px;
  }
  .resort__item {
    font-size: 15px;
  }
  .resort__item:before {
    width: 8px;
    height: 8px;
  }
  .season.block-mt {
    margin-top: 40px;
  }
  .season__row .season__image-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .season__left {
    margin-bottom: 40px;
  }
  .season__left div {
    font-size: 48px;
  }
  .season__left span {
    font-size: 14px;
  }
  .season__image-wrapper {
    width: 100%;
  }
  .season__bottom {
    flex-direction: column;
    gap: 30px;
  }
  .season__image-item {
    gap: 12px;
  }
  .season__image-item_left {
    width: 80%;
    margin-left: auto;
  }
  .season__image-item_right {
    width: 100%;
  }
  .popup-excurs .container .button {
    max-width: unset;
  }
  .popup-excurs .container {
    background-image: none;
  }
  .popup-excurs .container .form {
    margin-top: 20px;
  }
  .popup-excurs__subtitle {
    margin-top: 16px;
  }
  .popup-main {
    vertical-align: bottom;
    position: unset;
  }
  .popup-main .form__input {
    width: 100%;
  }
  .popup-main .form__submit {
    width: 100%;
    order: 3;
  }
  .popup-main .container {
    padding: 40px clamp(20px, 3vw, 30px) 50px;
  }
  .popup-main .container .popup__close {
    top: 20px;
    right: 20px;
  }
  .popup-main__title.title {
    font-size: 25px;
    text-align: center;
  }
  .popup-main__subtitle {
    text-align: center;
  }
  .popup-success .container {
    padding: 40px 24px;
  }
  .popup-success .popup__title {
    font-size: 26px;
  }
  .breadcrumbs {
    margin-bottom: 50px;
  }
  .button-border {
    height: 56px;
  }
  .flex-row {
    gap: 30px;
  }
  .text-wrapper {
    font-size: 14px;
  }
  .title, h1 {
    font-size: 25px;
  }
  .block-mt {
    margin-top: 60px;
  }
  .block-mb {
    margin-bottom: 60px;
  }
  .block-pt {
    padding-top: 50px;
  }
  .block-pb {
    padding-bottom: 60px;
  }
  .fancy-gallery .fancybox-navigation .fancybox-button[disabled] {
    opacity: 0.4;
  }
  .fancy-gallery .button-next, .fancy-gallery .button-prev {
    top: calc(50% - 16px);
  }
  .fancy-gallery .button-next[disabled], .fancy-gallery .button-prev[disabled] {
    opacity: 0.4;
  }
  .fancy-gallery .button-next {
    right: 20px;
  }
  .fancy-gallery .button-prev {
    left: 20px;
  }
  .fancybox-slide--html {
    padding: 0;
  }
  .flat-card {
    width: 100%;
  }
  .flat-card__image-wrapper {
    height: 220px;
  }
  .flat-card__image-wrapper .tag {
    right: auto;
    top: 44px;
    left: 16px;
  }
  .flat-card__image-wrapper .type {
    font-size: 20px;
    left: 16px;
    top: 16px;
  }
  .flat-card__content {
    padding: 30px 10px 10px;
  }
  .flat-card__image {
    margin-top: -70px;
    height: 200px;
  }
  .flat-card__items {
    gap: 40px;
  }
  .flat-card__item {
    font-size: 20px;
  }
  .flat-card__info {
    font-size: 15px;
  }
  .genplan-card_page.active {
    margin: 20px 0 0;
    display: block;
  }
  .mobile-button {
    display: flex;
    align-items: center;
  }
  .news-card {
    width: 100%;
  }
  .news-card:nth-child(n+3) {
    display: flex;
  }
  .news-card__title {
    min-height: 44px;
    font-size: 20px;
  }
  .news-card__subtitle {
    font-size: 14px;
  }
  .detail-drop {
    margin-top: 20px;
  }
  .detail-select .select2-selection--single {
    height: unset;
  }
}