/* База «Московская» — дизайн-система 2026 (по мотивам holmyresort.ru).
   Подключается только на страницах нового дизайна (body.mb). */

@font-face { font-family: "Bounded"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/bounded-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/mont-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/mont-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/mont-600.woff2") format("woff2"); }

:root {
  --mb-primary: #4c4f2f;
  --mb-primary-dark: #3d3f25;
  --mb-second: #b29576;
  --mb-cream: #f6f6f0;
  --mb-sand: #efe9df;
  --mb-white: #fff;
  --mb-ink: #121212;
  --mb-muted: #6b6b63;
  --mb-line: rgba(18, 18, 18, .12);
  --mb-font-alt: "Bounded", "Arial", sans-serif;
  --mb-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mb-gutter: 16px;
  --mb-max: 1312px;
  --mb-section: 64px;
  --mb-radius: 0px;
  --mb-ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 640px) { :root { --mb-gutter: 24px; --mb-section: 80px; } }
@media (min-width: 1024px) { :root { --mb-gutter: 32px; --mb-section: 112px; } }

/* ---------- База ---------- */
body.mb { margin: 0; background: var(--mb-cream); color: var(--mb-ink); font: 400 15px/1.6 var(--mb-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
@media (min-width: 1024px) { body.mb { font-size: 16px; } }
.mb *, .mb *::before, .mb *::after { box-sizing: border-box; }
:where(.mb) img { max-width: 100%; height: auto; display: block; }
:where(.mb) a { color: inherit; text-decoration: none; }
.mb button { font: inherit; color: inherit; cursor: pointer; }
:where(.mb) :is(h1, h2, h3, h4) { margin: 0; font-weight: 400; }
:where(.mb) p { margin: 0; }
:where(.mb) ul { margin: 0; padding: 0; list-style: none; }
.mb .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb .skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--mb-white); color: var(--mb-ink); }
.mb :focus-visible { outline: 2px solid var(--mb-second); outline-offset: 3px; }

.mb-container { width: 100%; max-width: calc(var(--mb-max) + var(--mb-gutter) * 2); margin: 0 auto; padding-left: var(--mb-gutter); padding-right: var(--mb-gutter); }
.mb-section { padding-top: var(--mb-section); padding-bottom: var(--mb-section); }
.mb-section--white { background: var(--mb-white); }
.mb-center { text-align: center; }

.mb-title { font-family: var(--mb-font-alt); font-size: clamp(24px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.01em; }
.mb-title span { display: block; }
.mb-lead { font-size: clamp(15px, 1.2vw, 18px); color: var(--mb-ink); }
.mb-muted { color: var(--mb-muted); }
.mb-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mb-dash { display: block; width: 24px; height: 1px; margin: 0 auto 18px; background: var(--mb-second); }
.mb-note { font-size: 11px; line-height: 1.5; color: var(--mb-muted); }

/* ---------- Кнопки ---------- */
.mb-btn { --b: var(--mb-primary); --t: var(--mb-white); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border: 1px solid var(--b); border-radius: 999px; background: var(--b); color: var(--t) !important; font: 500 14px/1.2 var(--mb-font); text-align: center; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.mb-btn:hover { --b: var(--mb-primary-dark); }
.mb-btn--lg { min-height: 56px; padding: 0 36px; font-size: 15px; }
.mb-btn--sm { min-height: 40px; padding: 0 20px; font-size: 13px; }
.mb-btn--white { --b: var(--mb-white); --t: var(--mb-ink); }
.mb-btn--white:hover { --b: var(--mb-cream); }
.mb-btn--ghost { background: transparent; --t: var(--mb-ink); border-color: var(--mb-line); }
.mb-btn--ghost:hover { --b: var(--mb-primary); background: var(--mb-primary); --t: var(--mb-white); }
.mb-btn--ghost-white { background: transparent; --t: var(--mb-white); border-color: rgba(255, 255, 255, .55); }
.mb-btn--ghost-white:hover { background: var(--mb-white); --t: var(--mb-ink); border-color: var(--mb-white); }
.mb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.mb-arrow { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--mb-line); border-radius: 50%; background: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.mb-arrow:hover { background: var(--mb-primary); border-color: var(--mb-primary); color: var(--mb-white); }
.mb-arrow svg { width: 22px; height: 22px; }
.mb-arrow[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Появление при скролле (только когда JS работает) ---------- */
.mb-js .mb-reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--mb-ease), transform .8s var(--mb-ease); }
.mb-js .mb-reveal.is-visible { opacity: 1; transform: none; }
.mb-js .mb-reveal[data-delay="1"] { transition-delay: .1s; }
.mb-js .mb-reveal[data-delay="2"] { transition-delay: .2s; }
.mb-js .mb-reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .mb-js .mb-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Шапка ---------- */
.mb-header { position: absolute; z-index: 30; top: 0; left: 0; right: 0; color: var(--mb-white); }
.mb-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
@media (min-width: 1024px) { .mb-header__bar { padding-top: 32px; padding-bottom: 20px; } }
.mb-header__left, .mb-header__right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mb-header__right { justify-content: flex-end; }
.mb-header__phone { font-size: 15px; font-weight: 500; white-space: nowrap; }
.mb-social { display: flex; gap: 8px; }
.mb-social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .92); transition: background-color .2s; }
.mb-social a:hover { background: var(--mb-white); }
.mb-social img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0); opacity: .85; }
.mb-weather { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 500; }
.mb-weather li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mb-weather li::before { content: ""; width: 16px; height: 16px; background: center / contain no-repeat; }
.mb-weather .mb-air::before { background-image: url("/media/images/svg/wms_icons_air_temp.svg"); filter: brightness(0) invert(1); }
.mb-weather .mb-water::before { background-image: url("/media/images/svg/wms_icons_water_temp.svg"); filter: brightness(0) invert(1); }
.mb-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit; text-align: center; }
.mb-logo__mark { width: 30px; height: 36px; }
.mb-logo__name { font-family: var(--mb-font-alt); font-size: 22px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.mb-logo__sub { font-size: 9px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
@media (min-width: 1024px) { .mb-logo__mark { width: 36px; height: 44px; } .mb-logo__name { font-size: 28px; } .mb-logo__sub { font-size: 10px; } }
.mb-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: transparent; color: inherit; }
.mb-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; }
.mb-nav { border-top: 1px solid rgba(255, 255, 255, .2); }
.mb-nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; padding: 14px 0; }
.mb-nav__list a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .9; transition: opacity .2s; }
.mb-nav a:hover, .mb-nav .is-current a { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.mb-only-desktop { display: none !important; }
@media (min-width: 1024px) {
  .mb-only-desktop { display: flex !important; }
  .mb-only-mobile { display: none !important; }
}
@media (max-width: 1023px) {
  .mb-nav { display: none; }
  .mb-header__left .mb-header__phone, .mb-header__left .mb-social, .mb-header__right .mb-btn { display: none; }
}
.mb-icon-btn { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.mb-icon-btn svg { width: 20px; height: 20px; }

/* Мобильное меню */
.mb-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--mb-primary); color: var(--mb-white); padding: 16px var(--mb-gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.mb-menu.is-open { visibility: visible; opacity: 1; }
.mb-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mb-menu__close { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: none; font-size: 28px; line-height: 1; }
.mb-menu__nav a { display: block; padding: 12px 0; font-family: var(--mb-font-alt); font-size: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mb-menu__contacts { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; font-size: 16px; }
.mb-menu__contacts .mb-btn { margin-top: 14px; }
body.mb-menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.mb-hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; min-height: max(640px, 100svh); color: var(--mb-white); background: #1d1f14; overflow: hidden; }
.mb-hero__bg { position: absolute; inset: 0; scale: 1.04; animation: mb-hero-zoom 12s var(--mb-ease) forwards; will-change: translate; }
.mb-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@keyframes mb-hero-zoom { to { scale: 1; } }
/* «Рассвет»: фото проявляется из утренних сумерек */
.mb-js .mb-hero__bg { animation: mb-hero-zoom 12s var(--mb-ease) forwards, mb-hero-dawn 2.6s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes mb-hero-dawn { from { filter: brightness(.35) saturate(.4) hue-rotate(-12deg); } to { filter: none; } }
.mb-hero__water { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.mb-hero__water.is-ready { opacity: 1; }
.mb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .7) 100%); }
.mb-hero__content { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: 48px; text-align: center; }
@media (min-width: 1024px) { .mb-hero__content { padding-bottom: 72px; } }
.mb-hero .wms_hero_eyebrow { margin-bottom: 18px; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; opacity: .9; }
.mb-hero h1 { font-family: var(--mb-font-alt); font-size: clamp(28px, 5vw, 68px); line-height: 1.08; letter-spacing: -.01em; }
.mb-hero h1 > span:not(.mb-hero__word) { display: block; }
/* Вход текста: буквы поднимаются из-под «линии воды», остальное — следом */
.mb-hero__word { display: inline-block; white-space: nowrap; overflow: hidden; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; vertical-align: top; }
.mb-hero__char { display: inline-block; }
.mb-js .mb-hero__char { transform: translateY(105%) rotate(6deg); opacity: 0; filter: blur(6px); transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .7s ease, filter .9s ease; transition-delay: calc(.55s + var(--line-delay, 0) * .012s + var(--i) * .028s); }
.mb-js .mb-hero.is-intro .mb-hero__char { transform: none; opacity: 1; filter: none; }
.mb-js .mb-hero [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1), letter-spacing 1.6s cubic-bezier(.2, .8, .2, 1); }
.mb-js .mb-hero [data-hero="0"] { letter-spacing: .6em; transform: none; transition-delay: .3s; }
.mb-js .mb-hero [data-hero="1"] { transition-delay: 1.5s; }
.mb-js .mb-hero [data-hero="2"] { transition-delay: 1.75s; }
.mb-js .mb-hero.is-intro [data-hero] { opacity: 1; transform: none; }
.mb-js .mb-hero.is-intro [data-hero="0"] { opacity: .9; letter-spacing: .24em; }
@media (prefers-reduced-motion: reduce) {
  .mb-js .mb-hero__bg { animation: none; scale: 1; }
  .mb-js .mb-hero__char, .mb-js .mb-hero [data-hero] { transform: none; opacity: 1; filter: none; transition: none; }
  .mb-js .mb-hero [data-hero="0"] { letter-spacing: .24em; opacity: .9; }
}
.mb-hero .wms_hero_subtitle { max-width: 640px; margin: 20px auto 0; font-size: clamp(15px, 1.3vw, 18px); opacity: .92; }
.mb-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.mb-hero__actions ul { display: contents; }
.mb-hero__actions li { list-style: none; }
.mb-hero__actions .wms_help { font-size: inherit; }

/* ---------- Вступление ---------- */
.mb-intro__mark { width: 44px; height: 54px; margin: 0 auto 28px; color: var(--mb-primary); }
.mb-intro .mb-title { max-width: 900px; margin: 0 auto; }
.mb-intro__sub { max-width: 640px; margin: 20px auto 0; color: var(--mb-muted); }
.mb-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; margin-top: 48px; text-align: center; }
@media (min-width: 1024px) { .mb-facts { grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; } }
.mb-facts h3 { font-size: clamp(17px, 1.6vw, 22px); margin-bottom: 10px; }
.mb-facts p { font-size: 13px; line-height: 1.5; color: var(--mb-muted); }
.mb-intro__cta { margin-top: 48px; }

/* ---------- Территория / карта ---------- */
.mb-territory__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.mb-territory__head p { margin-top: 16px; color: var(--mb-muted); }
.mb-territory .wms_panorama_map_split { display: block; }
.mb-territory .wms_panorama_col { display: none; }
.wms-panorama-modal .wms_panorama_col { display: block !important; width: min(1200px, 100%); }
.mb-territory .wms_map_col { background: var(--mb-white); padding: 16px; }
@media (min-width: 1024px) { .mb-territory .wms_map_col { padding: 24px; } }
.mb-territory__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.mb-home .wms_open_panorama_btn { display: inline-flex !important; align-items: center; gap: 12px; min-height: 56px; padding: 0 32px 0 10px; border: 0; border-radius: 999px; background: var(--mb-primary); color: var(--mb-white); font-weight: 500; font-size: 15px; transition: background-color .2s; }
.mb-home .wms_open_panorama_btn:hover { background: var(--mb-primary-dark); }
.mb-home .wms_open_panorama_btn__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--mb-white); color: var(--mb-primary); font-size: 11px; font-weight: 600; }

/* Интерактивная карта (разметка и логика прежние, меняется только вид) */
.mb-home .wms_imap_widget_wrapper { display: grid; gap: 20px; }
@media (min-width: 1024px) { .mb-home .wms_imap_widget_wrapper { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; } }
.mb-home .wms_imap_top p { margin-bottom: 12px; font-size: 13px; color: var(--mb-muted); }
.mb-home .wms_imap_center { position: relative; }
.mb-home .wms_imap_center > img { width: 100%; }
.mb-home #wms_imap_objects_list li { position: absolute; z-index: 2; list-style: none; }
.mb-home #wms_imap_objects_list li a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: 50%; background-color: var(--mb-white); color: var(--mb-primary); font-size: 12px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; transition: transform .2s, background-color .2s, color .2s; }
.mb-home #wms_imap_objects_list li a:hover, .mb-home #wms_imap_objects_list li.wms_highlighted a { transform: scale(1.18); background-color: var(--mb-primary); color: var(--mb-white); }
@media (min-width: 1024px) { .mb-home #wms_imap_objects_list li a { font-size: 13px; } }
.mb-home #wms_imap_buildings_list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; }
@media (min-width: 1024px) { .mb-home #wms_imap_buildings_list { grid-template-columns: 1fr; } }
.mb-home #wms_imap_buildings_list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--mb-line); font-size: 13px; cursor: pointer; transition: color .2s; }
.mb-home #wms_imap_buildings_list li:hover, .mb-home #wms_imap_buildings_list li#wms_active { color: var(--mb-primary); font-weight: 600; }
.mb-home #wms_imap_buildings_list .wms_number { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--mb-cream); font-size: 11px; font-weight: 600; }
.mb-home #wms_imap_buildings_list .wms_strong { font-weight: inherit; }
.mb-home .wms_popup_window { position: absolute; z-index: 5; left: 50%; top: 50%; width: min(340px, 92%); transform: translate(-50%, -50%) scale(.96); background: var(--mb-white); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.mb-home .wms_popup_window.wms_active { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.mb-home .wms_popup_window .wms_image_wrapper img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mb-home .wms_popup_window .wms_content_wrapper { padding: 14px 18px 18px; }
.mb-home .wms_popup_window .wms_help { font-family: var(--mb-font-alt); font-size: 16px; }
.mb-home .wms_popup_window .wms_close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mb-white); font-size: 26px; line-height: 1; transform: rotate(45deg); cursor: pointer; }

/* ---------- Фото-коллаж ---------- */
.mb-collage { display: grid; gap: 16px; }
@media (min-width: 768px) { .mb-collage { grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; } }
.mb-collage figure { margin: 0; overflow: hidden; }
.mb-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mb-ease); }
.mb-collage figure:hover img { transform: scale(1.04); }
.mb-collage__big { aspect-ratio: 16 / 10; }
.mb-collage__tall { aspect-ratio: 3 / 4; }
@media (min-width: 768px) { .mb-collage__tall { margin-top: 0; aspect-ratio: auto; height: 100%; min-height: 100%; } .mb-collage__tall img { aspect-ratio: 5 / 7; } }

/* ---------- Слайдер «Что есть на территории» ---------- */
.mb-slider__head { display: flex; justify-content: center; margin-bottom: 40px; text-align: center; }
.mb-slider__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--mb-gutter); padding: 0 var(--mb-gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.mb-slider__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .mb-slider__track { gap: 24px; padding-left: max(var(--mb-gutter), calc((100vw - var(--mb-max)) / 2)); scroll-padding-left: max(var(--mb-gutter), calc((100vw - var(--mb-max)) / 2)); } }
.mb-slide { position: relative; flex: 0 0 86%; margin: 0; scroll-snap-align: start; overflow: hidden; background: #2b2d1d; color: var(--mb-white); aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .mb-slide { flex-basis: 62%; aspect-ratio: 16 / 10; } }
@media (min-width: 1280px) { .mb-slide { flex-basis: 820px; } }
.mb-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mb-ease); }
.mb-slide:hover img { transform: scale(1.04); }
.mb-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
.mb-slide figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
@media (min-width: 1024px) { .mb-slide figcaption { padding: 32px 36px; } }
.mb-slide h3 { font-family: var(--mb-font-alt); font-size: clamp(18px, 2vw, 28px); }
.mb-slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.mb-slider__arrows { display: flex; align-items: center; gap: 12px; }
@media (max-width: 639px) { .mb-slider__counter { display: none; } .mb-arrow { width: 48px; height: 48px; } }
.mb-slider__counter { font-family: var(--mb-font-alt); font-size: 14px; color: var(--mb-muted); }

/* ---------- Туры ---------- */
.mb-tours__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.mb-tours__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .mb-tours__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mb-home .wms_price_table_wrapper { display: flex; flex-direction: column; height: 100%; padding: 32px 28px; background: var(--mb-white); border: 1px solid var(--mb-line); }
.mb-home .wms_price_table_wrapper.wms_highlighted { background: var(--mb-primary); color: var(--mb-white); border-color: var(--mb-primary); }
.mb-home .wms_price_table_wrapper h3 { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mb-muted); }
.mb-home .wms_price_table_wrapper.wms_highlighted h3 { color: rgba(255, 255, 255, .7); }
.mb-home .wms_price_table_wrapper h3 .wms_strong { font-family: var(--mb-font-alt); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--mb-ink); }
.mb-home .wms_price_table_wrapper.wms_highlighted h3 .wms_strong { color: var(--mb-white); }
.mb-home .wms_price_table_wrapper hr { width: 100%; margin: 22px 0; border: 0; border-top: 1px solid var(--mb-line); }
.mb-home .wms_price_table_wrapper.wms_highlighted hr { border-color: rgba(255, 255, 255, .2); }
.mb-home .wms_price_list { display: grid; gap: 10px; flex: 1; }
.mb-home .wms_price_list li { position: relative; padding-left: 26px; font-size: 14px; }
.mb-home .wms_price_list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border-left: 1.5px solid var(--mb-second); border-bottom: 1.5px solid var(--mb-second); transform: rotate(-45deg); }
.mb-home .wms_price_list li.wms_list_footnote { padding-left: 0; font-size: 11px; opacity: .7; }
.mb-home .wms_price_list li.wms_list_footnote::before { display: none; }
.mb-home .wms_price_amount { font-family: var(--mb-font-alt); font-size: 26px; }
.mb-home .wms_price_table_wrapper .wms_button_block { margin-top: 20px; }
.mb-home .wms_price_table_wrapper .wms_button_1 { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--mb-primary); color: var(--mb-white); font-weight: 500; font-size: 14px; transition: background-color .2s; }
.mb-home .wms_price_table_wrapper .wms_button_1:hover { background: var(--mb-primary-dark); }
.mb-home .wms_price_table_wrapper.wms_highlighted .wms_button_1 { background: var(--mb-white); color: var(--mb-ink); }
.mb-home .wms_price_table_footnote { margin-top: 12px; font-size: 11px; text-align: center; opacity: .7; }
.mb-tours__more { margin-top: 40px; text-align: center; }

/* ---------- Большой баннер ---------- */
.mb-banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; padding: 64px 24px; overflow: hidden; color: var(--mb-white); text-align: center; background: #1d1f14; }
@media (min-width: 1024px) { .mb-banner { min-height: 760px; } }
.mb-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.mb-banner__content { position: relative; z-index: 1; max-width: 820px; }
.mb-banner h2 { font-family: var(--mb-font-alt); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.12; }
.mb-banner h2 .wms_help { display: block; margin-top: 14px; font-family: var(--mb-font); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; }
.mb-banner hr { display: none; }
.mb-banner .wms_button_1, .mb-banner .open-popup-link { display: inline-flex; min-height: 56px; margin-top: 32px; padding: 0 36px; align-items: center; border-radius: 999px; background: var(--mb-white); color: var(--mb-ink); font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s; }
.mb-banner .open-popup-link:hover { background: var(--mb-cream); }

/* ---------- Отчёты (коллаж + карточка) ---------- */
.mb-reports { position: relative; display: grid; gap: 16px; }
.mb-reports figure { margin: 0; overflow: hidden; }
.mb-reports img { width: 100%; height: 100%; object-fit: cover; }
.mb-reports__a { aspect-ratio: 4 / 3; }
.mb-reports__b { display: none; }
.mb-reports__card { position: relative; z-index: 2; padding: 32px 24px; background: var(--mb-white); box-shadow: 0 20px 60px rgba(0, 0, 0, .06); }
@media (min-width: 1024px) {
  .mb-reports { grid-template-columns: repeat(12, 1fr); grid-template-rows: 80px auto 120px auto; gap: 0; }
  .mb-reports__a { grid-column: 1 / 7; grid-row: 1 / 4; aspect-ratio: auto; min-height: 560px; }
  .mb-reports__card { grid-column: 6 / 11; grid-row: 2 / 3; padding: 56px 48px; align-self: start; }
  .mb-reports__b { display: block; grid-column: 7 / 13; grid-row: 3 / 5; margin-top: -40px; aspect-ratio: 16 / 9; }
}
.mb-reports__card p { margin-top: 16px; color: var(--mb-muted); }
.mb-home .wms_season_buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mb-home .wms_season_buttons .wms_button_1 { display: inline-flex; min-height: 44px; padding: 0 22px; align-items: center; border: 1px solid var(--mb-line); border-radius: 999px; font-weight: 500; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.mb-home .wms_season_buttons .wms_button_1:hover { background: var(--mb-primary); border-color: var(--mb-primary); color: var(--mb-white); }
.mb-home .wms_center { margin-top: 28px; }
.mb-home .wms_center .wms_inner_link, .mb-home .mb-tours__more .wms_inner_link { display: inline-flex; min-height: 52px; padding: 0 32px; align-items: center; border-radius: 999px; background: var(--mb-primary); color: var(--mb-white); font-weight: 500; font-size: 14px; transition: background-color .2s; }
.mb-home .wms_center .wms_inner_link:hover, .mb-home .mb-tours__more .wms_inner_link:hover { background: var(--mb-primary-dark); }

/* ---------- Контакты + форма ---------- */
.mb-contacts { display: grid; gap: 40px; }
@media (min-width: 1024px) { .mb-contacts { grid-template-columns: 1fr 480px; gap: 64px; align-items: start; } }
.mb-contacts__info > p { margin-top: 28px; max-width: 520px; }
.mb-contacts__label { display: block; margin-top: 28px; margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mb-muted); }
.mb-home .wms_adress_list { display: grid; gap: 8px; font-size: 18px; }
.mb-home .wms_adress_list a:hover { color: var(--mb-primary); }
.mb-contacts__route { margin-top: 20px; }
.mb-contacts__map { margin-top: 48px; background: var(--mb-sand); }
.mb-contacts__map iframe { display: block; width: 100%; height: 420px; border: 0; }
.mb-contacts__map p { margin: 0; }

.mb-form-card { padding: 32px 24px; background: var(--mb-white); box-shadow: 0 20px 60px rgba(0, 0, 0, .06); }
@media (min-width: 640px) { .mb-form-card { padding: 40px; } }
.mb-form-card__title { font-family: var(--mb-font-alt); font-size: 24px; line-height: 1.2; margin-bottom: 10px; }

/* Формы Contact Form 7 (разметка сохранена ради отправки заявок) */
.mb-home .wpcf7 form { margin: 0; }
.mb-home .wms_form_heading p { font-size: 14px; color: var(--mb-muted); }
.mb-home .wms_form_heading h2 { font-family: var(--mb-font-alt); font-size: 24px; margin-bottom: 10px; }
.mb-home .wms_form_content { display: grid; gap: 14px; margin-top: 24px; }
.mb-home .wpcf7-form-control-wrap { display: block; position: relative; }
.mb-home .wpcf7 input[type="text"], .mb-home .wpcf7 input[type="number"], .mb-home .wpcf7 input[type="tel"], .mb-home .wpcf7 input[type="email"], .mb-home .wpcf7 textarea { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--mb-line); border-radius: 0; background: var(--mb-white); color: var(--mb-ink); font: 400 15px var(--mb-font); transition: border-color .2s; }
.mb-home .wpcf7 input:focus { outline: none; border-color: var(--mb-primary); }
.mb-home .wpcf7 input[type="submit"] { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--mb-primary); color: var(--mb-white); font: 500 15px var(--mb-font); cursor: pointer; transition: background-color .2s; -webkit-appearance: none; }
.mb-home .wpcf7 input[type="submit"]:hover { background: var(--mb-primary-dark); }
.mb-home .wpcf7-response-output { margin: 14px 0 0; font-size: 14px; }
.mb-home .wpcf7-response-output:empty { display: none; }
.mb-home .wpcf7-response-output.is-error { color: #af4949; }
.mb-home .wpcf7-response-output.is-success { color: var(--mb-primary); font-weight: 500; }
.mb-home .wpcf7-not-valid-tip, .mb .wms-field-error { display: block; margin-top: 6px; color: #af4949; font-size: 12px; }
.mb-home .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mb-form-consent { margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--mb-muted); }
.mb-form-consent a { text-decoration: underline; }

/* Всплывающая форма */
.mb .mfp-hide { display: none !important; }
.mb-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(18, 18, 18, .6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mb-modal.is-open { opacity: 1; visibility: visible; }
.mb-modal__box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 40px 24px 28px; background: var(--mb-white); transform: translateY(16px); transition: transform .3s var(--mb-ease); }
@media (min-width: 640px) { .mb-modal__box { padding: 48px 40px 36px; } }
.mb-modal.is-open .mb-modal__box { transform: none; }
.mb-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--mb-line); border-radius: 50%; background: none; font-size: 24px; line-height: 1; }
.mb-modal .mfp-hide { display: block !important; }
body.mb-modal-open { overflow: hidden; }

/* ---------- Подвал ---------- */
.mb-footer { background: var(--mb-primary); color: var(--mb-white); }
.mb-footer__top { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 900px) { .mb-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; } }
.mb-footer .mb-logo { align-items: flex-start; text-align: left; }
.mb-footer .mb-social { margin-top: 24px; }
.mb-footer__title { margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.mb-footer__menu { display: grid; gap: 10px; }
.mb-footer__menu a, .mb-footer__contacts a { opacity: .92; transition: opacity .2s; }
.mb-footer__menu a:hover, .mb-footer__contacts a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; color: inherit; }
.mb-footer__contacts { display: grid; font-size: 15px; gap: 10px; }
.mb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; opacity: .8; }
@media (max-width: 1023px) { .mb-footer__bottom { padding-bottom: 96px; } }
.mb-footer .wms_footer_right a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Совместимость с общими скриптами static-site.js ---------- */
.mb .wms-back-to-top { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--mb-primary); color: var(--mb-white); font-size: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mb .wms-back-to-top.is-visible { opacity: 1; visibility: visible; }
@media (max-width: 1023px) { .mb .wms-back-to-top { display: none; } }
.mb .wms-mobile-actions { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(76, 79, 47, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); transition: transform .3s var(--mb-ease), opacity .3s; }
.mb .wms-mobile-actions.is-suppressed { transform: translateY(140%); opacity: 0; }
@media (min-width: 1024px) { .mb .wms-mobile-actions { display: none; } }
.mb .wms-mobile-actions__icon { display: inline-flex; flex: 0 0 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.mb .wms-mobile-actions__icon span { width: 20px; height: 20px; background: center / contain no-repeat; filter: brightness(0) invert(1); }
.mb .wms-mobile-actions__phone span { background-image: url("/media/images/svg/wms_contacts_icons_phone.svg"); }
.mb .wms-mobile-actions__whatsapp span { background-image: url("/media/images/svg/wms_whatsapp_icon.svg"); }
.mb .wms-mobile-actions__primary { display: flex; flex: 1; align-items: center; justify-content: center; border-radius: 999px; background: var(--mb-white); color: var(--mb-ink); font-weight: 500; font-size: 14px; }
.mb .wms-panorama-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 56px 12px 12px; background: rgba(0, 0, 0, .88); }
.mb .wms-panorama-modal[hidden] { display: none; }
.mb .wms-panorama-modal iframe { display: block; width: 100%; height: min(78vh, 720px); border: 0; }
.mb .wms-panorama-modal .wms_yandex_panorama_link { margin-top: 10px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .8); text-decoration: underline; }
.mb .wms-panorama-modal__close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: none; color: #fff; font-size: 26px; }

/* Координаты пинов карты (перенесены из старой темы) и иконки объектов */
.mb-home #wms_imap_objects_list { position: absolute; inset: 0; margin: 0; }
.mb-home #wms_imap_objects_list li { width: 28px; height: 28px; }
@media (min-width: 1024px) { .mb-home #wms_imap_objects_list li { width: 34px; height: 34px; } }
.mb-home #wms_imap_objects_list .wms_imap_item1 {left: 20%; top: 31%;}
.mb-home #wms_imap_objects_list .wms_imap_item2 {left: 36%; top: 31%;}
.mb-home #wms_imap_objects_list .wms_imap_item3 {left: 50%; top: 31%;}
.mb-home #wms_imap_objects_list .wms_imap_item4 {left: 60%; top: 31%;}
.mb-home #wms_imap_objects_list .wms_imap_item5 {left: 68.5%; top: 47%;}
.mb-home #wms_imap_objects_list .wms_imap_item6 {left: 50.5%; top: 47%;}
.mb-home #wms_imap_objects_list .wms_imap_item7 {left: 31.2%; top: 47%;}
.mb-home #wms_imap_objects_list .wms_imap_item8 {left: 10%; top: 11%;}
.mb-home #wms_imap_objects_list .wms_imap_item9 {left: 88%; top: 31%;}
.mb-home #wms_imap_objects_list .wms_imap_item10 {left: 34%; top: 11%;}
.mb-home #wms_imap_objects_list .wms_imap_item11 {left: 69.5%; top: 17%;}
.mb-home #wms_imap_objects_list .wms_imap_item12 {left: 77%; top: 17%;}
.mb-home #wms_imap_objects_list .wms_imap_item13 {left: 47.6%; top: 17%;}
.mb-home #wms_imap_objects_list .wms_imap_item14 {left: 80%; top: 70.5%;}
.mb-home #wms_imap_objects_list .wms_imap_item15 {left: 16%; top: 20%;}
.mb-home #wms_imap_objects_list .wms_imap_item16 {left: 28%; top: 79%;}
.mb-home #wms_imap_objects_list .wms_imap_item17 {left: 59%; top: 50%;}
.mb-home #wms_imap_objects_list .wms_imap_item18 {left: 36.5%; top: 70%;}
.mb-home #wms_imap_objects_list .wms_imap_item19 {left: 82.5%; top: 20%;}
.mb-home #wms_imap_objects_list .wms_imap_item20 {left: 81%; top: 12%;}
.mb-home #wms_imap_objects_list .wms_imap_item21 {left: 50%; top: 76%;}
.mb-home #wms_imap_objects_list .wms_imap_item11 a, .mb-home #wms_imap_buildings_list .wms_list_item11 .wms_number { background-image: url("/media/images/svg/map/wms-map-restaurant-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item12 a, .mb-home #wms_imap_buildings_list .wms_list_item12 .wms_number { background-image: url("/media/images/svg/map/wms-map-bar-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item13 a, .mb-home #wms_imap_buildings_list .wms_list_item13 .wms_number { background-image: url("/media/images/svg/map/wms-map-spa-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item14 a, .mb-home #wms_imap_buildings_list .wms_list_item14 .wms_number { background-image: url("/media/images/svg/map/wms-map-anchor-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item15 a, .mb-home #wms_imap_buildings_list .wms_list_item15 .wms_number { background-image: url("/media/images/svg/map/wms-map-tennis-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item16 a, .mb-home #wms_imap_buildings_list .wms_list_item16 .wms_number { background-image: url("/media/images/svg/map/wms-map-hut-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item17 a, .mb-home #wms_imap_buildings_list .wms_list_item17 .wms_number { background-image: url("/media/images/svg/map/wms-map-playground-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item18 a, .mb-home #wms_imap_buildings_list .wms_list_item18 .wms_number { background-image: url("/media/images/svg/map/wms-map-volleyball-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item19 a, .mb-home #wms_imap_buildings_list .wms_list_item19 .wms_number { background-image: url("/media/images/svg/map/wms-map-barbeque-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item20 a, .mb-home #wms_imap_buildings_list .wms_list_item20 .wms_number { background-image: url("/media/images/svg/map/wms-map-fireplace-black.svg"); }
.mb-home #wms_imap_objects_list .wms_imap_item21 a, .mb-home #wms_imap_buildings_list .wms_list_item21 .wms_number { background-image: url("/media/images/svg/map/wms-map-beach-black.svg"); }
.mb-home #wms_imap_objects_list li.wms_map_pupup a, .mb-home #wms_imap_buildings_list .wms_map_pupup .wms_number { background-color: var(--mb-white); background-position: center; background-repeat: no-repeat; background-size: 62%; border: 0; }
.mb-home #wms_imap_objects_list li.wms_map_pupup a:hover, .mb-home #wms_imap_objects_list li.wms_map_pupup.wms_highlighted a { background-color: var(--mb-second); }

/* Хелперы форм и декоративный слой из static-site.js */
.mb .wms-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mb .wms-form-consent { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--mb-muted); text-align: center; }
.mb .wms-form-consent a { text-decoration: underline; }
.mb .wms-field-error { display: none; margin-top: 6px; color: #af4949; font-size: 12px; }
.mb .wms-field-error.is-visible { display: block; }
.mb input.wms-field-invalid { border-color: #af4949 !important; }
.mb .wms-submit-busy { cursor: wait; opacity: .7; }
.mb-home .wpcf7 input[type="number"] { -moz-appearance: textfield; }
/* Поплавок и рыбы в первом экране главной (static-site.js addFishingCompanion) */
.mb-fishing { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mb-fishing--water { z-index: 1; }
.mb-fishing--air { z-index: 4; opacity: 0; transition: opacity .25s ease; }
.mb-fishing--air.is-visible { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .mb-fishing { display: none !important; } }

/* Hero на телефоне: главная кнопка на всю ширину, вторичные — в ряд */
@media (max-width: 639px) {
  .mb-hero__content { padding-bottom: 104px; }
  .mb-hero__actions { gap: 10px; }
  .mb-hero__actions > .mb-btn { width: 100%; }
  .mb-hero__actions li { flex: 1 1 0; }
  .mb-hero__actions li .mb-btn { width: 100%; min-height: 48px; padding: 0 12px; font-size: 13px; }
}

/* Иконки-телефоны: CMS подменяет текст во всех tel:-ссылках, поэтому иконка — фоном, текст скрыт */
.mb-icon-btn--phone, .mb .wms-mobile-actions__phone { font-size: 0 !important; color: transparent; }
.mb-icon-btn--phone::before { content: ""; width: 20px; height: 20px; background: currentColor; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h3.2l1.6 4.2-2.2 1.4a11 11 0 0 0 7.3 7.3l1.4-2.2 4.2 1.6V19a1.5 1.5 0 0 1-1.6 1.5A16.5 16.5 0 0 1 3.5 5.1 1.5 1.5 0 0 1 5 3.5z' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h3.2l1.6 4.2-2.2 1.4a11 11 0 0 0 7.3 7.3l1.4-2.2 4.2 1.6V19a1.5 1.5 0 0 1-1.6 1.5A16.5 16.5 0 0 1 3.5 5.1 1.5 1.5 0 0 1 5 3.5z' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.mb .wms-mobile-actions__phone::before { content: ""; width: 20px; height: 20px; background: url("/media/images/svg/wms_contacts_icons_phone.svg") center / contain no-repeat; filter: brightness(0) invert(1); }
.mb .wms-mobile-actions__phone span { display: none; }
.mb .wms-back-to-top { bottom: 72px; }

/* ---------- Карточка объекта рядом с картой ---------- */
.mb-home .wms_imap_widget_wrapper { transition: grid-template-columns .5s var(--mb-ease); }
@media (min-width: 1024px) {
  .mb-home .wms_imap_widget_wrapper { grid-template-columns: minmax(0, 1fr) 288px 0px; column-gap: 0; }
  .mb-home .wms_imap_widget_wrapper.mb-map--card-open { grid-template-columns: minmax(0, 1fr) 0px 448px; }
  .mb-home .wms_imap_side { padding-left: 28px; overflow: hidden; }
  .mb-home .wms_imap_widget_wrapper.mb-map--card-open .wms_imap_side { visibility: hidden; }
  .mb-home .mb-map-card { margin-left: 28px; align-self: start; }
}
.mb-home .wms_imap_side { min-width: 0; }
.mb-home .wms_popup_window { display: none !important; }
.mb-map-card { position: relative; min-width: 0; background: var(--mb-cream); animation: mb-card-in .5s var(--mb-ease); }
.mb-map-card[hidden] { display: none; }
@keyframes mb-card-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .mb-map--card-open .wms_imap_side { display: none; } @keyframes mb-card-in { from { opacity: 0; transform: translateY(16px); } } }
.mb-map-card__close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); font-size: 24px; line-height: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.mb-map-card__photo { position: relative; aspect-ratio: 4 / 3; background: var(--mb-sand); overflow: hidden; }
.mb-map-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.mb-map-card__nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--mb-ink); }
.mb-map-card__nav svg { width: 18px; height: 18px; }
.mb-map-card__nav--prev { left: 12px; }
.mb-map-card__nav--next { right: 12px; }
.mb-map-card__count { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; }
.mb-map-card__body { padding: 22px 24px 26px; }
.mb-map-card__kicker { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mb-muted); }
.mb-map-card__title { margin-top: 6px !important; font-family: var(--mb-font-alt); font-size: 24px; line-height: 1.2; }
.mb-map-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.mb-map-card__tags li { padding: 5px 10px; border: 1px solid var(--mb-line); border-radius: 999px; background: var(--mb-white); font-size: 12px; }
.mb-map-card__text { margin-top: 14px !important; font-size: 14px; line-height: 1.55; color: #3b3b35; }
.mb-map-card__text strong { font-weight: 600; color: var(--mb-ink); }
.mb-map-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mb-map-card__actions .mb-btn { flex: 1 1 auto; }
.mb-map-card__photo img.is-plan { object-fit: contain; padding: 12px; background: #fff; }

/* Логотип (старый, до редизайна знака) */
.mb-logo--img .mb-logo__img { width: auto; height: 64px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .25)); }
@media (min-width: 1024px) { .mb-logo--img .mb-logo__img { height: 92px; } .mb-header__bar { padding-top: 20px; padding-bottom: 14px; } }
.mb-footer .mb-logo--img .mb-logo__img { height: 96px; filter: none; }

/* ================= Блоки-истории (как у holmy): фото + наезжающая карточка ================= */
.mb-full { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.mb-story { display: grid; gap: 16px; align-items: center; }
.mb-story__media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.mb-story__media img { width: 100%; height: 100%; object-fit: cover; }
.mb-story__small { display: none; margin: 0; overflow: hidden; }
.mb-story__small img { width: 100%; height: 100%; object-fit: cover; }
.mb-story__card { position: relative; z-index: 2; padding: 28px 24px; background: var(--mb-white); box-shadow: 0 24px 60px rgba(0, 0, 0, .07); }
.mb-story__card .mb-eyebrow { color: var(--mb-second); }
.mb-story__card h2 { margin: 10px 0 0 !important; font-family: var(--mb-font-alt) !important; font-weight: 400 !important; font-size: clamp(24px, 2.8vw, 40px) !important; line-height: 1.15 !important; text-transform: none !important; color: var(--mb-ink) !important; text-align: left !important; }
.mb-story__card p { margin: 16px 0 0 !important; font: 400 15px/1.65 var(--mb-font) !important; color: #3b3b35 !important; }
.mb-story__card .mb-btn { margin-top: 24px; }
@media (min-width: 1024px) {
  .mb-story { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto; gap: 0; }
  .mb-story__media { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 16 / 11; }
  .mb-story__card { grid-column: 7 / 12; grid-row: 1; padding: 56px 48px; }
  .mb-story__small { display: block; grid-column: 10 / 13; grid-row: 1; align-self: end; aspect-ratio: 3 / 4; margin-bottom: -80px; z-index: 3; box-shadow: 0 24px 60px rgba(0, 0, 0, .15); }
  .mb-story--flip .mb-story__media { grid-column: 6 / 13; }
  .mb-story--flip .mb-story__card { grid-column: 2 / 7; }
  .mb-story--flip .mb-story__small { grid-column: 1 / 4; }
}

/* ================= Лента фото (горизонтальная, тянется мышью/пальцем) ================= */
.mb-strip__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.mb-strip__head h2 { margin: 0 !important; font-family: var(--mb-font-alt) !important; font-weight: 400 !important; font-size: clamp(24px, 3vw, 44px) !important; line-height: 1.15 !important; text-transform: none !important; color: var(--mb-ink) !important; text-align: left !important; }
.mb-strip__hint { font-size: 13px; color: var(--mb-muted); }
.mb-strip__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--mb-gutter) 8px; scrollbar-width: none; cursor: grab; }
.mb-strip__track::-webkit-scrollbar { display: none; }
.mb-strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
@media (min-width: 1024px) { .mb-strip__track { gap: 24px; padding-left: max(var(--mb-gutter), calc((100vw - var(--mb-max)) / 2)); } }
.mb-strip__item { flex: 0 0 78%; margin: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .mb-strip__item { flex-basis: 42%; } }
@media (min-width: 1280px) { .mb-strip__item { flex-basis: 480px; } }
.mb-strip__item:nth-child(3n+2) { margin-top: 48px; }
.mb-strip__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--mb-sand); }
.mb-strip__item:nth-child(odd) .mb-strip__img { aspect-ratio: 4 / 3; }
.mb-strip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mb-ease); pointer-events: none; -webkit-user-drag: none; }
.mb-strip__item:hover .mb-strip__img img { transform: scale(1.05); }
.mb-strip__item figcaption { margin-top: 14px; }
.mb-strip__item figcaption strong { display: block; font: 400 18px/1.25 var(--mb-font-alt); color: var(--mb-ink); }
.mb-strip__item figcaption span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--mb-muted); }

/* ================= Баннер с параллаксом ================= */
.mb-banner--parallax > img { top: -12%; height: 124%; will-change: transform; }
.mb-banner__sub { margin-top: 16px; font-size: clamp(15px, 1.3vw, 18px); opacity: .92; }
.mb-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ================= Анимации: раскрытие фото ================= */
.mb-js .mb-reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.2s var(--mb-ease); }
.mb-js .mb-reveal-img img { transform: scale(1.18); transition: transform 1.6s var(--mb-ease); }
.mb-js .mb-reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.mb-js .mb-reveal-img.is-visible img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .mb-js .mb-reveal-img, .mb-js .mb-reveal-img img { clip-path: none; transform: none; transition: none; } }

/* ================= Прилипающая шапка при прокрутке вверх ================= */
.mb-header.is-sticky { position: fixed; background: rgba(61, 63, 37, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transform: translateY(-100%); transition: transform .4s var(--mb-ease); }
.mb-header.is-sticky.is-shown { transform: none; }
.mb-header.is-sticky .mb-nav { display: none; }
.mb-header.is-sticky .mb-header__bar { padding-top: 10px; padding-bottom: 10px; }
.mb-header.is-sticky .mb-logo--img .mb-logo__img { height: 52px; }
/* правка: маленькое фото — под большим, внахлёст на его нижний край, не перекрывая карточку */
@media (min-width: 1024px) {
  .mb-story { grid-template-rows: auto auto; }
  .mb-story__small { grid-column: 5 / 8; grid-row: 2; align-self: start; margin: -140px 0 0 0; aspect-ratio: 4 / 3; }
  .mb-story--flip .mb-story__small { grid-column: 6 / 9; }
}
.mb-strip__track { padding-left: var(--mb-gutter) !important; padding-right: var(--mb-gutter) !important; }
@media (min-width: 1024px) { .mb-strip__track { padding-left: max(var(--mb-gutter), calc((100vw - var(--mb-max)) / 2)) !important; } }
.mb-strip__track { scroll-padding-left: var(--mb-gutter); }
@media (min-width: 1024px) {
  .mb-strip__track { scroll-padding-left: max(var(--mb-gutter), calc((100vw - var(--mb-max)) / 2)); }
  .mb-story__small { grid-column: 3 / 6; margin-top: -120px; }
  .mb-story--flip .mb-story__small { grid-column: 8 / 11; }
}
/* overflow:hidden у предков ломает position:sticky — clip режет так же, но не создаёт контейнер прокрутки */
html:has(body.mb), body.mb { overflow: visible !important; overflow-x: clip !important; }
body.mb #outer-wrap, body.mb #wrap { overflow: visible !important; overflow-x: clip !important; }

/* ================= Фотомозаика (как галерея holmy): 1 большое + 4 малых ================= */
.mb-mosaic__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.mb-mosaic__head h2, .mb-mosaic__head .mb-mosaic__title { margin: 0 !important; font-family: var(--mb-font-alt) !important; font-weight: 400 !important; font-size: clamp(24px, 3vw, 44px) !important; line-height: 1.15 !important; text-transform: none !important; color: var(--mb-ink) !important; text-align: left !important; }
.mb-mosaic__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 768px) { .mb-mosaic__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 260px); gap: 16px; } }
.mb-mosaic__item { position: relative; margin: 0; overflow: hidden; background: var(--mb-sand); aspect-ratio: 1; }
@media (min-width: 768px) { .mb-mosaic__item { aspect-ratio: auto; } .mb-mosaic__item:first-child { grid-column: span 2; grid-row: span 2; } }
.mb-mosaic__item:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .mb-mosaic__item:first-child { aspect-ratio: auto; } }
.mb-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mb-ease); }
.mb-mosaic__item:hover img { transform: scale(1.06); }
.mb-mosaic__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6)); color: #fff; font: 500 13px/1.3 var(--mb-font); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.mb-mosaic__item:hover figcaption, .mb-mosaic__item:first-child figcaption { opacity: 1; transform: none; }
@media (hover: none) { .mb-mosaic__item figcaption { opacity: 1; transform: none; } }
.mb-mosaic__item:first-child figcaption { padding: 40px 24px 20px; font: 400 clamp(16px, 1.6vw, 22px)/1.25 var(--mb-font-alt); }
@media (min-width: 1024px) { :root { --mb-section: 96px; } }
body.mb-inner:has(.mb-extra > .mb-banner:last-child) .mb-footer { margin-top: 0 !important; }
body.mb-inner:has(.mb-extra > .mb-banner:last-child) #main, body.mb-inner:has(.mb-extra > .mb-banner:last-child) #content-wrap, body.mb-inner:has(.mb-extra > .mb-banner:last-child) #content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.mb-extra > .mb-section:first-child { padding-top: calc(var(--mb-section) * .75); }

/* ================= Мобилка: маленькие кнопки вместо плашки + облегчённые анимации ================= */
body.mb .wms-mobile-actions.mb-fab { position: fixed !important; left: auto !important; right: 12px !important; bottom: 16px !important; top: auto !important; width: auto !important; z-index: 60; display: flex !important; flex-direction: column; gap: 10px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; transition: opacity .25s ease !important; }
body.mb .wms-mobile-actions.mb-fab.is-suppressed { opacity: 0 !important; pointer-events: none; transform: none !important; }
@media (min-width: 1024px) { body.mb .wms-mobile-actions.mb-fab { display: none !important; } }
body.mb .mb-fab > a, body.mb .mb-fab > button { display: inline-flex !important; flex: 0 0 auto !important; width: 44px !important; height: 44px !important; min-height: 0 !important; padding: 0 !important; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25) !important; border-radius: 50% !important; background: rgba(61, 63, 37, .72) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .18) !important; font-size: 0 !important; -webkit-tap-highlight-color: transparent; }
body.mb .mb-fab svg { width: 20px; height: 20px; }
body.mb .mb-fab .wms-mobile-actions__phone::before { width: 18px !important; height: 18px !important; }
body.mb .mb-fab .wms-mobile-actions__primary { background: rgba(178, 149, 118, .92) !important; }
body.mb .mb-fab > a span { display: none !important; }
body.mb:has(.mb-menu.is-open) .mb-fab, body.mb.mb-modal-open .mb-fab { opacity: 0 !important; pointer-events: none; }

@media (max-width: 1023px), (pointer: coarse) {
  /* дешёвое появление вместо clip-path и масштабирования */
  .mb-js .mb-reveal { transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
  .mb-js .mb-reveal-img { clip-path: none !important; opacity: 0; transition: opacity .5s ease; }
  .mb-js .mb-reveal-img.is-visible { opacity: 1; }
  .mb-js .mb-reveal-img img { transform: none !important; transition: none !important; }
  .mb-hero__bg img { animation: none; transform: none; }
  .mb-header.is-sticky { display: none; }
  .mb-banner--parallax > img { top: 0; height: 100%; transform: none !important; }
  .mb-slide img, .mb-strip__img img, .mb-mosaic__item img, .mb-collage img { transition: none; }
  .mb-story__card, .mb-form-card, .mb-reports__card { box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
}
/* цена «от … в день» в карточках туров */
.wms_price_amount .wms_price_per { font-family: var(--mb-font); font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: .75; white-space: nowrap; }

/* ================= Ближайший заезд (блок туров на главной) ================= */
.mb-nearest { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border: 1px solid var(--mb-line); border-radius: 999px; background: var(--mb-cream); color: var(--mb-ink); font-size: 14px; line-height: 1.35; text-align: left; transition: border-color .2s, background-color .2s; }
.mb-nearest:hover { border-color: var(--mb-primary); }
.mb-nearest b { font-weight: 600; }
.mb-nearest__dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #7a9a3a; box-shadow: 0 0 0 4px rgba(122, 154, 58, .18); animation: mb-pulse 2s ease-in-out infinite; }
.mb-nearest--limited .mb-nearest__dot { background: #d08a2c; box-shadow: 0 0 0 4px rgba(208, 138, 44, .2); }
.mb-nearest--critical .mb-nearest__dot { background: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .2); }
.mb-nearest--critical b { color: #b2342b; }
.mb-nearest--event .mb-nearest__dot { background: #8a6bbf; box-shadow: 0 0 0 4px rgba(138, 107, 191, .2); }
.mb-nearest__arrow { color: var(--mb-primary); transition: transform .2s; }
.mb-nearest:hover .mb-nearest__arrow { transform: translateX(3px); }
@keyframes mb-pulse { 50% { box-shadow: 0 0 0 7px rgba(122, 154, 58, 0); } }
@media (prefers-reduced-motion: reduce) { .mb-nearest__dot { animation: none; } }

/* ================= Отзывы с Яндекс.Карт ================= */
.mb-reviews__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .mb-reviews__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }
.mb-reviews__info .mb-eyebrow { color: var(--mb-second); }
.mb-reviews__rating { margin-top: 8px !important; font-family: var(--mb-font-alt); font-size: clamp(64px, 9vw, 120px); line-height: 1; color: var(--mb-ink); }
.mb-reviews__stars { margin-top: 6px !important; font-size: 28px; letter-spacing: 4px; color: #e0a526; }
.mb-reviews__text { max-width: 420px; margin-top: 18px !important; color: var(--mb-muted); }
.mb-reviews__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mb-reviews__widget { background: var(--mb-white); box-shadow: 0 24px 60px rgba(0, 0, 0, .06); overflow: hidden; }
.mb-reviews__widget iframe { display: block; width: 100%; height: 560px; border: 0; }
@media (max-width: 639px) { .mb-reviews__widget iframe { height: 520px; } .mb-reviews__actions .mb-btn { flex: 1 1 auto; } }
.mb-reviews__count { margin-top: 10px !important; font-weight: 600; font-size: 17px; color: var(--mb-ink); } .mb-reviews__count:empty { display: none; }

/* ================= Форма «Узнать цену на мои даты» ================= */
.mb-price-form .mb-pf__title { margin: 0 0 6px !important; font-family: var(--mb-font-alt); font-size: 24px; line-height: 1.2; color: var(--mb-ink); text-transform: none; }
.mb-price-form .wms_form_heading p:not(.mb-pf__title) { font-size: 14px; color: var(--mb-muted); }
.mb .mb-pf { display: grid; gap: 12px; margin-top: 20px; }
.mb .mb-pf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mb .mb-pf__label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--mb-muted); }
.mb .mb-price-form input[type="date"], .mb .mb-price-form input[type="number"], .mb .mb-price-form select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--mb-line); border-radius: 0; background: var(--mb-white); color: var(--mb-ink); font: 400 15px var(--mb-font); -webkit-appearance: none; appearance: none; }
.mb .mb-price-form select { background: var(--mb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; }
.mb .mb-price-form input:focus, .mb .mb-price-form select:focus { outline: none; border-color: var(--mb-primary); }
.mb .mb-pf__row > *, .mb .mb-pf__label { min-width: 0; } .mb .mb-price-form input, .mb .mb-price-form select { min-width: 0; max-width: 100%; box-sizing: border-box; } .mb .mb-price-form input[type="date"] { padding: 0 10px; }
@media (max-width: 380px) { .mb .mb-pf__row { grid-template-columns: 1fr; } }
/* строка «для кого» в карточке тура */
.mb .wms_price_table_wrapper .wms_tour_lead, body.mb-inner #wrap #content .wms_price_table_wrapper .wms_tour_lead { margin: 10px 0 0 !important; font: 400 15px/1.45 var(--mb-font) !important; color: var(--mb-muted) !important; text-align: left !important; }
.mb .wms_price_table_wrapper.wms_highlighted .wms_tour_lead, body.mb-inner #wrap #content .wms_price_table_wrapper.wms_highlighted .wms_tour_lead { color: rgba(255, 255, 255, .78) !important; }
