/* Главная: мобильный макет Main mob, базовая ширина 390px. */
.header { top: 0; transition: transform .2s ease; }
.header.header--hidden { transform: translateY(-100%); }
.header:has(:focus-visible), .header:has(.nav-toggle[open]) { transform: none; }
.site .nav-toggle[open] .nav--mobile { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }
.footer__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site .lightbox { box-sizing: border-box; max-width: 100%; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) { --gutter: 20px; font-size: 14px; line-height: 17px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .home-desktop-copy { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .home-mobile-copy { display: inline; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .container { width: calc(100% - 40px); }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .section { padding-block: 32px; }
.page-home .yandex-reviews { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .section__title,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic .section__title {
  width: 100%; margin: 0 0 24px; color: #847f57;
  font: 500 36px/38px var(--font-heading); text-align: left;
}
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .section__lead { font-size: 14px; line-height: 17px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .btn { font-weight: 400; }

.site .header { top: 0; }
.site .container--header { width: 100%; }
.site .header__bar {
  height: 72.25px; min-height: 0; padding: 20px; gap: 0;
  border-radius: 0 0 20px 20px; box-shadow: var(--header-shadow);
}
.site .header__logo { gap: 7.5px; align-items: center; }
.site .header__mark { flex-basis: 32.25px; }
.site .header__mark svg { width: 32.25px; height: 32.25px; }
.site .header__name { width: 70px; font-size: 14.9457px; line-height: .9; font-weight: 400; }
.site .header__aside { width: auto; gap: 0; margin: 0 0 0 auto; }
.site .header__aside .btn,
.site .header__paw-wrap { display: none; }
.site .header__phone {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 16px; line-height: 18px; letter-spacing: -.02em; font-weight: 400;
  min-height: 44px; margin-right: 4px;
}
.site .header__phone::before {
  content: ''; width: 16px; height: 16px; flex: none; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 18 18'%3E%3Cpath d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.2c1.1.4 2.3.6 3.6.6a1 1 0 011 1V20a1 1 0 01-1 1C10.6 21 3 13.4 3 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.3.2 2.5.6 3.6a1 1 0 01-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.site .nav-toggle { flex: 0 0 44px; }
.site .nav-toggle__button { width: 44px; height: 44px; border-radius: 0; justify-content: flex-end; }
/* Бургер по макету Houses/Main mob: линии 16 / 16 / 9 px, толщина 2, шаг 5, нижняя прижата вправо. */
.site .nav-toggle__button span { font-size: 0; width: 16px; height: 12px; border-top: 2px solid currentColor; position: relative; box-sizing: border-box; }
.site .nav-toggle__button span::after { content: ''; position: absolute; top: 3px; left: 0; width: 16px; border-top: 2px solid currentColor; }
.site .nav-toggle__button span::before { content: ''; position: absolute; top: 8px; right: 0; width: 9px; border-top: 2px solid currentColor; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero { min-height: 570px; height: 570px; padding: 176px 0 0; align-items: start; box-shadow: 0 4px 4px #49494940; }
/* Центр группы остаётся в середине экрана под шапкой на любой высоте. */
.page-home .hero { min-height: 568px; height: 100svh; padding: 72px 0 0; align-items: center; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero::before { background: rgba(0, 0, 0, .5); }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__media::after { background: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__inner { transform: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__title { margin: 0; font-size: 36px; line-height: 38px; font-weight: 700; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__subtitle { margin: 10px 0 0; max-width: none; font-size: 14px; line-height: 17px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__para br,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__description br,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text .section__lead br { display: initial; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__links { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero .searchbar { display: flex; flex-direction: column; gap: 10px; width: 240px; max-width: 100%; margin: 28px auto 0; padding: 0; border: 0; background: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero .searchbar__field { width: 100%; height: 36px; padding: 10px 24px; justify-content: flex-start; font-size: 13px; line-height: 16px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .searchbar__date-desktop,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero .searchbar__field:nth-child(2) { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .searchbar__date-mobile { display: inline; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero .searchbar__cta { width: 100%; height: 44px; margin-top: 10px; padding: 12px 20px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .searchbar__icon { width: 16px; height: 16px; flex-basis: 16px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .sticky-cta { display: none; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about { position: relative; display: block; margin: 0; min-height: 886px; isolation: isolate; }
/* Мобильное фото и затемнение остаются позади текста; декор продолжает
   фон ниже «О нас» в общем контексте главной. */
.page-home .about { isolation: auto; }
.page-home .about__media .home-background .home-background__image--1 { top: 886px; width: 1440px; left: -525px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__media { position: absolute; inset: 0; z-index: -2; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__media :is(picture, img, .ph) { display: block; width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.page-home .about__media > picture:not(.about__mobile-image) { display: none; }
.page-home .about__media .about__mobile-image { display: block; object-fit: cover; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0009, #0002 45%, #000b); }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__panel { padding: 80px 20px 40px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text { max-width: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about .section__title { margin-bottom: 10px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text .rich-text { display: flex; flex-direction: column; gap: 282px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text .rich-text p { margin: 0; font-size: 14px; line-height: 17px; color: #fff; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text > p:not(.split__actions) { margin: 0; font-size: 14px; line-height: 17px; color: #fff; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text > p:not(.split__actions) + p:not(.split__actions) { margin-top: 282px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text .split__actions { flex-direction: column; gap: 10px; margin: 32px 0 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text .split__actions .btn { width: 100%; min-height: 44px; height: 44px; padding: 12px 40px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .about__text .btn--outline { color: #f7f0e6; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote { display: flex; flex-direction: column; gap: 24px; margin: 40px 20px 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__body { padding: 0; width: 100%; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__mark { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__para { margin: 0; font-size: 14px; line-height: 17px; color: #494949; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__para + .quote__para { margin-top: 14px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__media { width: 100%; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .quote__media :is(picture, img, .ph) { display: block; width: 100%; aspect-ratio: 1; border-radius: 20px; }
.page-home .quote__media > picture:not(.quote__mobile-image) { display: none; }
.page-home .quote__media .quote__mobile-image { display: block; object-fit: cover; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .slogan { padding: 0; margin: 40px 0 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .slogan__frame { width: 100%; max-width: 350px; margin: 0 auto; min-height: 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .slogan p { width: calc(100% - 24px); max-width: 326px; margin: 0; font: italic 300 18px/1.1 var(--font-body); letter-spacing: 0; text-align: center; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .slogan__heart { display: block; left: auto; right: 4.5px; top: auto; bottom: 0; width: 22.2px; height: 22.2px; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--houses,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--nearby { display: flex; gap: 10px; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--houses::-webkit-scrollbar,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--nearby::-webkit-scrollbar,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__tiles::-webkit-scrollbar { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--houses > .house,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--nearby > .place { flex: 0 0 100%; scroll-snap-align: start; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) #houses { padding-top: 53px; padding-bottom: 47px; }
.page-home .slogan + #houses { padding-top: 60px; }
/* 06.10, новый Main mob: сердце как у слогана «О нас» — ink 339–360, на 2 px ниже верха второй строки. */
/* 06.10, новый Main mob: от точек карусели домиков до «Наша территория» 66 px (было 84). */
.page-home .home-after-hero > .section--pattern { padding-top: 14px; }
.page-home .slogan__frame .slogan__heart { right: 8px; bottom: -10px; width: 26px; height: 26px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house { aspect-ratio: 350 / 287.39; border-radius: 12.3167px; padding: 18px 18.5px 20px; gap: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__title { margin: 0; font-size: 16px; line-height: 20px; font-weight: 400; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__meta { margin: 10px 0 0; font-size: 12px; line-height: 15px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__overlay { display: block; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__more { position: absolute; right: 0; top: 0; width: 89px; min-height: 24px; height: 24px; border-width: .574165px; border-radius: 12.3167px; padding: 6px 14px; font-size: 10px; line-height: 12px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__book { min-height: 36px; height: 36px; padding: 8px 24px; font-size: 16px; line-height: 20px; font-weight: 400; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__price { right: 17.45px; width: 54.4px; height: 73.9px; padding: 16px 3px 0; font-size: 10px; line-height: 12px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__price > span { font-size: 9px; line-height: 11px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__price b { font-size: 10px; line-height: 12px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__dots { display: flex; top: 56.7%; gap: 3.44px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__dot { width: 4.11px; height: 4.11px; min-width: 0; min-height: 0; padding: 0; }
.mobile-carousel-dots { display: flex; justify-content: center; gap: 3.44px; height: 4.11px; margin: 10px 0 0; }
.mobile-carousel-dot { position: relative; display: block; flex: none; width: 4.11px; height: 4.11px; border: 0; border-radius: 50%; padding: 0; background: #c7c3ae; cursor: pointer; }
.mobile-carousel-dot[aria-current="true"] { background: #847f57; }
.mobile-carousel-dot::after { content: ''; position: absolute; inset: -8px -1.72px; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__head { grid-column: 1 / -1; margin-bottom: 14px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic .section__title { width: 290px; max-width: none; margin-bottom: 8px; }
.site .mosaic__head { min-width: 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__head .section__lead { margin: 0; font-size: 13px; line-height: 16px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__item { min-height: 0; aspect-ratio: 170 / 179; border-radius: 6px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__item--empty { display: none; }
.site .territory-card .mosaic__caption { position: absolute; inset: 0; min-height: 0; justify-content: flex-end; padding: 12px 16px; gap: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, .48) 100%); }
/* Касание оставляет :hover/:focus-within: отступы закрытого состояния
   должны перекрывать десктопное правило и после повторного нажатия. */
.site .territory-card:not(.is-open) .mosaic__caption { justify-content: flex-end; padding: 12px 16px; }
/* Затемнение и размытие только по нажатию: в статике плитка — чистый кадр. */
.site .territory-card:not(.is-open)::after { opacity: 0; }
.site .territory-card.is-open::after { opacity: 1; }
.site .territory-card .mosaic__caption :is(h2, h3) { margin: 0; font-size: 14px; line-height: 17px; font-weight: 600; }
.site .territory-card .territory-card__details { display: none; }
.site .territory-card:is(:hover, :focus-within):not(.is-open) > picture,
.site .territory-card:is(:hover, :focus-within):not(.is-open) > .ph { filter: none; }
.site .territory-card.is-open .territory-card__details { display: block; }
/* Кнопка у нижнего края, как на десктопе; длинное описание прокручивается
   внутри оставшегося места, сохраняя заголовок и кнопку видимыми. */
.site .territory-card.is-open .mosaic__caption { overflow: hidden; justify-content: flex-end; padding: 12px 10px; gap: 8px; background: none; }
.site .territory-card.is-open .mosaic__caption > * { flex-shrink: 0; }
.site .territory-card.is-open .territory-card__details { display: flex; flex: 0 1 auto; flex-direction: column; align-items: center; min-height: 0; }
.site .territory-card .territory-card__details p { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; width: 100%; font-size: 11px; line-height: 13px; }
.site .territory-card__link { position: relative; flex: none; min-height: 24px; height: 24px; margin-top: 14px; padding: 5px 16px; font-size: 10px; line-height: 14px; }
.site .territory-card__link::before { content: ''; position: absolute; inset: -15px 0 -5px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__item--more { grid-column: 1 / -1; aspect-ratio: auto; margin-top: 14px; height: 44px; border-radius: 100px; background: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__more { height: 44px; min-height: 0; padding: 12px 20px; border: 0; border-radius: 100px; background: #9b5026; color: #fff; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__more-label { width: auto; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__more-label br { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__more::after,
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .mosaic__more-arrow { display: none; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .home-nearby .section__title { max-width: 340px; }
.page-home .home-nearby .section__title { width: 350px; max-width: 100%; }
.page-home .home-nearby .home-mobile-copy { display: block; }
.place__description [data-fit-nearby-copy] { display: block; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .cards--nearby { align-items: stretch; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place { min-height: 493.375px; padding: 24px 16px; gap: 6px; border-radius: 18px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__head { min-height: 82px; gap: 14px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__number { font-size: 24px; line-height: 25px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place .place__title { width: 100%; font-size: 24px; line-height: 25px; white-space: normal; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__title br { display: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__media { position: relative; aspect-ratio: 318 / 192.5; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__media + .place__body { margin-top: 18px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__media > :is(picture, .ph) { position: absolute; inset: 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__media :is(picture, img, .ph) { height: 100%; aspect-ratio: auto; border-radius: 8.75px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__body { gap: 17px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__body .place__description { min-height: 79.38px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__actions { margin: auto 0 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .place__more { min-height: 44px; height: 44px; padding: 12px 35px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .home-nearby .center { margin: 24px 0 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .nearby-more { width: 100%; min-height: 48px; height: 48px; padding: 14px 10px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .nearby-more__arrow { display: none; }

:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .section--gallery { padding-top: 45px; }
/* 06.10, Main mob: заголовок → описание 8 px, описание → фото 24 px (шаг строк 17 уже как в макете). */
.page-home .section--gallery .photo-mosaic__text .section__title { margin-bottom: 8px; }
.page-home .section--gallery .photo-mosaic__text .section__lead { margin-bottom: 24px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .section--gallery + .section,
.page-home .section--gallery + .home-faq-background-anchor > .section { padding-top: 36px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic { display: flex; flex-direction: column; gap: 0; padding: 0; aspect-ratio: auto; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text { display: contents; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text .section__title { order: 0; width: calc(100% - 40px); margin: 0 20px 24px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text .section__lead { order: 1; width: calc(100% - 40px); margin: 0 20px 24px; font-size: 14px; line-height: 17px; text-align: left; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__tiles { order: 2; display: flex; gap: 10px; padding: 0 45px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__item:nth-child(n) { position: static; display: block; flex: 0 0 min(300px, calc(100vw - 90px)); width: 300px; height: 200px; aspect-ratio: auto; border-radius: 10px; scroll-snap-align: center; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__item:nth-child(n + 4) { display: none; }
/* В режиме бесконечной прокрутки лишние кадры скрипт вынимает из
   разметки, а по краям ряда добавляет копии крайних: правило по
   порядковому номеру спрятало бы копию и последний настоящий кадр. */
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__tiles.is-loop .photo-mosaic__item { display: block; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic > .mobile-carousel-dots { order: 3; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text > p:last-child { order: 4; margin: 24px auto 0; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .photo-mosaic__text .btn { width: 177px; min-height: 48px; height: 48px; padding: 14px 40px; font-size: 16px; line-height: 20px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .faq { gap: 10px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .faq__item .faq__question { min-height: 37px; padding: 10px; gap: 20px; font-size: 14px; line-height: 17px; font-weight: 400; border-radius: 10px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .faq__item .faq__question::after { width: 8px; height: 8px; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .faq__item .faq__answer { padding: 16px 10px; font-size: 14px; line-height: 20px; }

.site .footer { margin-top: 32px; padding: 22px 0 20px; }
.site .footer__top { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.site .footer__brand { display: contents; }
.site .footer__logo { order: 0; }
.site .footer__columns { order: 1; display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 7px; }
.site .footer__column:nth-child(1) { order: 0; }
.site .footer__documents { order: 1; width: 100%; }
.site .footer__column:nth-child(2) { order: 2; }
.site .footer__column:nth-child(3) { order: 3; }
.site .footer__column-title { margin: 0; color: #494949; font-size: 20px; line-height: 24px; font-weight: 400; }
.site .footer__toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; padding: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.site .footer__columns .footer__toggle::before { content: ''; position: absolute; inset: -5px 0; }
.site .footer__toggle::after { content: ''; width: 10px; height: 10px; flex: none; background: url("../img/mobile-footer-plus.2b42fe34359f.png") center / contain no-repeat; }
.site .footer__toggle[aria-expanded="true"]::after { background: #847f57; height: 2px; }
.site .footer__column ul,
.site .footer__legal-links { margin-top: 12px; }
.site .footer__columns [hidden] { display: none; }
/* 06.10: раскрытые пункты подвала — плашки как в мобильном меню (макет Menu mobile). */
.site .footer__columns :is(.footer__column ul, .footer__legal-links):not([hidden]) { display: grid; grid-auto-flow: row; grid-template: none / 1fr; gap: 10px; }
.site .footer__columns :is(.footer__column, .footer__documents) li { line-height: 24px; }
.site .footer__columns :is(.footer__column, .footer__documents) li > :is(a, .footer__booking-link) {
  display: flex; align-items: center; justify-content: flex-start; box-sizing: border-box; width: 100%; height: auto; min-height: 40px; padding: 8px 20px;
  border: 0; border-radius: 100px; background: #E0D9C9; color: #494949;
  font: 400 16px/24px var(--font-body); text-align: left; text-decoration: none; white-space: normal;
}
.site .footer__contacts { order: 2; gap: 14px; margin-top: 9px; }
.site .footer__phone { color: #9b5026; font-size: 24px; line-height: 28px; font-weight: 500; }
.site .footer__brand .socials { order: 3; margin: -8px 0 0; }
.site .footer__brand > p { order: 4; margin: 8px 0 0; }
.site .footer__legal { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 60px 0 0; padding: 0; border: 0; background-image: none; text-align: center; }
.site .footer__requisites { order: 0; width: 220px; max-width: 100%; font-size: 14px; line-height: 16px; }
.site .footer__pay { order: 1; margin: 0; transform: translateX(-7px); }
.site .footer__center { order: 2; width: 100%; margin-top: 20px; }
.site .footer__center p { margin: 0; }
.site .footer__center .footer__meta-note { margin-top: 20px; }
.site .footer__center > p:nth-child(2) { margin-top: 22px; text-align: left; padding-left: 27px; }
.site .faq__question { position: relative; }
.site .faq__question::before { content: ''; position: absolute; inset: -3.5px 0; }
.page-home .photo-mosaic__text .section__lead { margin-bottom: 6px; }
.page-home .section--gallery + .home-faq-background-anchor > .section { padding-top: 50px; }

/* «Акции» на мобильном: от последней карточки до блока вопросов 80px и
   столько же от вопросов до подвала. Нижний отступ секции обнулён,
   зазор до подвала держит сам подвал — иначе к нему прибавились бы
   его собственные 32. */
.page-promotions main > .section:last-child { padding-top: 80px; padding-bottom: 0; }
.page-promotions .footer { margin-top: 80px; }

/* Отдельные контуры из Mobile (1).svg привязаны к своим секциям.
   Полные пути сохранены; маски фрейма не обрезают вертикальные края.
   Нижний рисунок подвала взят из исходника (его не было в прежних SVG).
   Координаты локальны: раскрытие FAQ/комплектации не сдвигает следующие слои. */
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) { overflow-x: clip; isolation: isolate; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) #main { position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible; }
.page-home .home-after-hero { background: none; overflow-x: clip; overflow-y: visible; }
.page-home .about__media > .home-background { display: none; }
.page-home .home-after-hero > .section--pattern,
.page-houses .houses-catalog { overflow: visible; isolation: auto; }
:is(.page-home .quote, .page-home .home-nearby, .page-home .home-faq-background-anchor,
    .page-houses .houses-catalog, .page-houses .houses-faq,
    .page-promotions .offers-section, .page-promotions main > .section:last-child,
    .page-house .house-title, .page-house .house-about-section,
    .page-home .footer, .page-houses .footer, .page-promotions .footer, .page-house .footer) { position: relative; }
:is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .footer { background-image: none; overflow: clip; }
:is(.page-home .quote, .page-home .home-after-hero > .section--pattern, .page-home .home-nearby, .page-home .home-faq-background-anchor,
    .page-houses .houses-catalog, .page-houses .houses-faq,
    .page-promotions .offers-section, .page-promotions main > .section:last-child,
    .page-house .house-title, .page-house .house-about-section)::before,
.page-houses .houses-catalog::after, .page-house .house-title::after {
  content: ''; display: var(--bg-pattern-mobile-display); position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% - 195px + var(--mobile-bg-x)); top: var(--mobile-bg-y);
  width: var(--mobile-bg-w); height: var(--mobile-bg-h);
  background: var(--mobile-bg) center / 100% 100% no-repeat;
}
.page-home .quote::before { --mobile-bg: url("../img/mobile-backgrounds/lite/home-quote.a845241d58ec.svg"); --mobile-bg-x: 0px; --mobile-bg-y: -141.00px; --mobile-bg-w: 867px; --mobile-bg-h: 971px; }
.page-home .home-after-hero > .section--pattern::before { --mobile-bg: url("../img/mobile-backgrounds/lite/home-territory.80e8276fb0e8.svg"); --mobile-bg-x: -160px; --mobile-bg-y: -199.07px; --mobile-bg-w: 445px; --mobile-bg-h: 726px; }
.page-home .home-nearby::before { --mobile-bg: url("../img/mobile-backgrounds/lite/home-nearby.1a038fab7a3a.svg"); --mobile-bg-x: -197px; --mobile-bg-y: -236.74px; --mobile-bg-w: 967px; --mobile-bg-h: 957px; }
.page-home .home-faq-background-anchor::before { --mobile-bg: url("../img/mobile-backgrounds/lite/home-faq.7f5c748034ff.svg"); --mobile-bg-x: -255px; --mobile-bg-y: -310.32px; --mobile-bg-w: 748px; --mobile-bg-h: 1130px; }
.page-home .footer { --mobile-bg: url("../img/mobile-backgrounds/home-footer.6320719f2dc0.webp"); --mobile-bg-opacity: .84; --mobile-bg-x: 0px; --mobile-bg-y: 0px; --mobile-bg-w: 390px; --mobile-bg-h: 1100px; }
.page-houses .houses-catalog::after { --mobile-bg: url("../img/mobile-backgrounds/lite/houses-top.e4966c1615fd.svg"); --mobile-bg-x: -86px; --mobile-bg-y: -239.00px; --mobile-bg-w: 456px; --mobile-bg-h: 342px; }
.page-houses .houses-catalog::before { --mobile-bg: url("../img/mobile-backgrounds/lite/houses-catalog.7a02a0617b64.svg"); --mobile-bg-x: 42px; --mobile-bg-y: 214.00px; --mobile-bg-w: 774px; --mobile-bg-h: 867px; }
.page-houses .houses-faq::before { --mobile-bg: url("../img/mobile-backgrounds/lite/houses-faq.ce39c87dde47.svg"); --mobile-bg-x: -205px; --mobile-bg-y: -228.36px; --mobile-bg-w: 601px; --mobile-bg-h: 908px; }
.page-houses .footer { --mobile-bg: url("../img/mobile-backgrounds/houses-footer.0c0b521113d4.webp"); --mobile-bg-opacity: .86; --mobile-bg-x: 0px; --mobile-bg-y: 0px; --mobile-bg-w: 390px; --mobile-bg-h: 1100px; }
.page-promotions .offers-section::before { --mobile-bg: url("../img/mobile-backgrounds/lite/promotions-top.726a2937344f.svg"); --mobile-bg-x: -86px; --mobile-bg-y: -239.00px; --mobile-bg-w: 456px; --mobile-bg-h: 342px; }
.page-promotions main > .section:last-child::before { --mobile-bg: url("../img/mobile-backgrounds/lite/promotions-faq.8b70428e9dbc.svg"); --mobile-bg-x: -255px; --mobile-bg-y: -785.75px; --mobile-bg-w: 748px; --mobile-bg-h: 1130px; }
.page-promotions .footer { --mobile-bg: url("../img/mobile-backgrounds/promotions-footer.f6a4d997ffe8.webp"); --mobile-bg-opacity: .82; --mobile-bg-x: 0px; --mobile-bg-y: 0px; --mobile-bg-w: 390px; --mobile-bg-h: 1100px; }
.page-house .house-title::after { --mobile-bg: url("../img/mobile-backgrounds/lite/house-top.d46dd07b0c9f.svg"); --mobile-bg-x: -86px; --mobile-bg-y: -239.00px; --mobile-bg-w: 456px; --mobile-bg-h: 342px; }
.page-house .house-title::before { --mobile-bg: url("../img/mobile-backgrounds/lite/house-booking.e010358717f8.svg"); --mobile-bg-x: 0px; --mobile-bg-y: 203.00px; --mobile-bg-w: 867px; --mobile-bg-h: 971px; }
/* PNG: начало рисунка 1761, блока «О домике» около 1860 — сдвиг -99. */
.page-house .house-about-section::before { --mobile-bg: url("../img/mobile-backgrounds/lite/house-reviews.17eaf439f5b6.svg"); --mobile-bg-x: -255px; --mobile-bg-y: -99px; --mobile-bg-w: 748px; --mobile-bg-h: 1130px; }
.page-house .footer { --mobile-bg: url("../img/mobile-backgrounds/house-footer.77eb9ac5228c.webp"); --mobile-bg-opacity: .86; --mobile-bg-x: 0px; --mobile-bg-y: 0px; --mobile-bg-w: 390px; --mobile-bg-h: 1100px; }
/* Растр 4× сохраняет пути SVG; прозрачность подобрана по плотности
   PNG в браузере на 390 px / DPR 1. Позиция следует за реквизитами. */
:is(.page-home, .page-houses, .page-promotions, .page-house) .footer__legal { position: relative; }
.site:is(.page-home, .page-houses, .page-promotions, .page-house) .footer::before { content: none; }
:is(.page-home, .page-houses, .page-promotions, .page-house) .footer__legal::before {
  content: ''; display: var(--bg-pattern-mobile-display); position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% - 50vw); top: -400px;
  width: 100vw; height: var(--mobile-bg-h);
  background: var(--mobile-bg) center / 100% 100% no-repeat;
  opacity: var(--mobile-bg-opacity);
}

@media (max-width: 374px) {
  .site .territory-card { min-height: 150px; }
  .site .territory-card.is-open .mosaic__caption { gap: 4px; padding: 9px 6px; }
  .site .territory-card .mosaic__caption :is(h2, h3) { font-size: 12px; line-height: 15px; }
  .site .territory-card .territory-card__details p { font-size: 9px; line-height: 11px; }
  .site .territory-card__link { margin-top: 8px; }
  .page-home .photo-mosaic .section__title { font-size: 32px; line-height: 34px; }
  .site .header__bar { gap: 0; padding-inline: 12px; }
  .site .header__name { width: 62px; font-size: 13px; }
  .site .header__mark { flex-basis: 28px; }
  .site .header__mark svg { width: 28px; height: 28px; }
  .site .header__phone { font-size: 13px; gap: 4px; }
  :is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .hero__title { font-size: 32px; }
  :is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .nearby-more { font-size: 14px; }
  :is(.page-home, .page-houses, .page-promotions, .page-house, .page-nearby, .page-reviews, .page-services, .page-territory) .house__more { width: 75px; padding-inline: 7px; }
}

/* Мобильный поиск: непрозрачные поля вместо стеклянной подложки. */
.site .hero .searchbar__field {
  background: #D5CEBC; color: #494949; border-color: transparent;
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
.site .hero .searchbar:hover .searchbar__field{ background: #E5D0C0; }
}

.site .hero .searchbar:active .searchbar__field { background: #9B5026; color: #F7F0E6; }
