:root {
    --forest-950: #0b241b;
    --forest-900: #103226;
    --forest-800: #173f31;
    --forest-700: #225943;
    --forest-600: #2f7458;
    --moss: #78966a;
    --cream: #f6f1e7;
    --sand: #dfd2b8;
    --wood: #a46f3c;
    --accent: #e8a842;
    --accent-hover: #f0b85e;
    --snow: #eef5f6;
    --ice: #bed8df;
    --ink: #17221d;
    --muted: #667169;
    --surface: #ffffff;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 38px;
    --shadow: 0 24px 70px rgba(11, 36, 27, .12);
    --shadow-sm: 0 16px 42px rgba(11, 36, 27, .09);
    --season-soft: #edf4e8;
    --season-accent: #78966a;
    --season-image: url('../img/summer-base.webp');
}

html[data-season="winter"] {
    --forest-950: #0c2028;
    --forest-900: #12313b;
    --forest-800: #194451;
    --forest-700: #2e6674;
    --forest-600: #4a8390;
    --moss: #8eb1b8;
    --cream: #f2f6f6;
    --sand: #d8e5e8;
    --wood: #8d6848;
    --accent: #f0aa48;
    --accent-hover: #ffc16b;
    --snow: #f7fbfc;
    --ice: #bad5dc;
    --season-soft: #e8f2f5;
    --season-accent: #6d9eaa;
    --season-image: url('../img/winter-house-night.webp');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.65; overflow-x: hidden; overflow-x: clip; }
main { overflow-x: hidden; overflow-x: clip; }
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.04; }
h3 { font-size: 1.55rem; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container-xxl { max-width: 1440px; }
.section { padding: 110px 0; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--forest-600); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading p, .section-lead { color: var(--muted); font-size: 1.12rem; }

.btn { border-radius: 999px; font-weight: 750; padding: .82rem 1.35rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { color: #152018; background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 25px rgba(232, 168, 66, .25); }
.btn-accent:hover { color: #152018; background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-forest { color: #fff; background: var(--forest-800); border-color: var(--forest-800); }
.btn-forest:hover { color: #fff; background: var(--forest-700); border-color: var(--forest-700); }
.btn-outline-forest { color: var(--forest-800); border-color: rgba(23, 63, 49, .25); background: transparent; }
.btn-outline-forest:hover { color: #fff; background: var(--forest-800); border-color: var(--forest-800); }

.site-header { z-index: 1035; background: linear-gradient(180deg, rgba(7, 25, 18, .96), rgba(7, 25, 18, .82)); border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(18px); }
.navbar { min-height: 82px; padding: 8px 0; }
.navbar-brand img { display: block; width: 220px; height: auto; }
.navbar .nav-link { color: rgba(255,255,255,.76); font-size: .9rem; font-weight: 700; padding: .65rem .75rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 750; white-space: nowrap; }
.header-phone i { margin-right: 7px; color: var(--accent); }
.season-switch { display: flex; padding: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); }
.season-switch__button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: rgba(255,255,255,.65); background: transparent; border: 0; border-radius: 999px; font-size: .75rem; font-weight: 750; }
.season-switch__button.active { color: var(--forest-950); background: #fff; }

.hero { position: relative; min-height: 900px; height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #071710; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { z-index: 0; opacity: .76; }
.hero__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(6,24,17,.92) 0%, rgba(6,24,17,.58) 50%, rgba(6,24,17,.14) 100%), linear-gradient(0deg, rgba(6,24,17,.88) 0%, transparent 54%); }
html[data-season="winter"] .hero__overlay { background: linear-gradient(90deg, rgba(7,26,33,.92) 0%, rgba(7,26,33,.55) 50%, rgba(7,26,33,.14) 100%), linear-gradient(0deg, rgba(7,26,33,.92) 0%, transparent 54%); }
.hero__content { position: relative; z-index: 3; width: 100%; padding-bottom: 110px; color: #fff; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: rgba(255,255,255,.78); font-size: .88rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow i { color: var(--accent); }
.hero h1 { max-width: 980px; margin-bottom: 28px; font-size: clamp(3.3rem, 7vw, 7.4rem); line-height: .94; text-wrap: balance; }
.hero__lead { max-width: 810px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.6vw, 1.34rem); line-height: 1.65; }
.hero-facts { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); background: rgba(10,31,23,.52); backdrop-filter: blur(14px); }
.hero-fact { display: flex; align-items: center; gap: 15px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.08); }
.hero-fact__icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--forest-950); background: var(--accent); font-size: 1.25rem; }
.hero-fact strong, .hero-fact small { display: block; }
.hero-fact small { color: rgba(255,255,255,.65); font-size: .82rem; line-height: 1.4; }
.offline-mode { position: relative; padding-top: 0; background: var(--cream); }
.offline-mode__panel { position: relative; z-index: 4; margin-top: -54px; padding: clamp(34px, 5vw, 72px); overflow: hidden; color: rgba(255,255,255,.75); border-radius: var(--radius-lg); background: radial-gradient(circle at 84% 15%, rgba(255,255,255,.1), transparent 32%), var(--forest-900); box-shadow: var(--shadow); }
.offline-mode h2 span { color: var(--accent); }
.offline-mode p { max-width: 580px; font-size: 1.08rem; }
.offline-card { height: 100%; min-height: 180px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); }
.offline-card i { display: block; margin-bottom: 18px; color: var(--accent); font-size: 1.8rem; }
.offline-card strong, .offline-card span { display: block; }
.offline-card strong { color: #fff; font-size: 1.08rem; }
.offline-card span { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .9rem; line-height: 1.5; }

.about { background: var(--cream); }
.fit-block { padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(23,63,49,.1); border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(250,247,240,.95)); box-shadow: var(--shadow-sm); }
.fit-block__heading { max-width: 820px; margin-bottom: 30px; }
.fit-block__heading .section-kicker { justify-content: center; }
.fit-block__heading h2 { margin-bottom: 14px; font-size: clamp(2.5rem, 4.5vw, 4.25rem); }
.fit-block__heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.fit-block__cards { margin-top: 4px; }
.fit-card { height: 100%; padding: 26px; border: 1px solid rgba(23,63,49,.12); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(11,36,27,.06); }
.fit-card > span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; margin-bottom: 18px; padding: 0 14px; color: #fff; background: var(--forest-800); border-radius: 16px; font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.fit-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.fit-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.about-story { margin-top: clamp(70px, 9vw, 120px); overflow: hidden; color: #fff; border-radius: var(--radius-lg); background: var(--forest-950); box-shadow: var(--shadow); }
.about-story__content { height: 100%; padding: clamp(34px, 5vw, 72px); }
.about-story__content h2 { max-width: 760px; margin-bottom: 22px; color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
.about-story__lead { max-width: 760px; margin-bottom: 34px; color: rgba(255,255,255,.68); font-size: 1.08rem; }
.about-story__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.about-story__fact { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 24px 20px 24px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.about-story__fact:nth-child(odd) { padding-right: 28px; }
.about-story__fact:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.about-story__fact > span { color: var(--accent); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.about-story__fact strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.about-story__fact p { margin: 0; color: rgba(255,255,255,.58); font-size: .87rem; line-height: 1.5; }
.about-story__media { position: relative; height: 100%; min-height: 650px; margin: 0; overflow: hidden; }
.about-story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,24,17,.8), transparent 45%); }
.about-story__media img { width: 100%; height: 100%; object-fit: cover; }
.about-story__media figcaption { position: absolute; z-index: 1; right: 28px; bottom: 28px; left: 28px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: .86rem; font-weight: 750; }
.about-story__media figcaption i { color: var(--accent); }

.houses { background: #fff; }
.facilities { background: #fff; }
.house-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.house-filter { padding: 10px 18px; color: var(--muted); background: #fff; border: 1px solid rgba(23,63,49,.14); border-radius: 999px; font-size: .88rem; font-weight: 750; }
.house-filter.active, .house-filter:hover { color: #fff; background: var(--forest-800); border-color: var(--forest-800); }
.house-grid__item { transition: opacity .25s ease, transform .25s ease; }
.house-grid__item.is-hidden { display: none; }
.house-card { height: 100%; overflow: hidden; border: 1px solid rgba(23,63,49,.12); border-radius: 28px; background: #fff; box-shadow: 0 12px 34px rgba(11,36,27,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.house-card:hover { transform: translateY(-7px); border-color: rgba(23,63,49,.22); box-shadow: var(--shadow); }
.house-card__media { position: relative; height: 300px; overflow: hidden; background: var(--season-soft); }
.house-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,17,.35), transparent 32%, rgba(6,24,17,.14)); pointer-events: none; }
.house-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.house-card:hover .house-card__media img { transform: scale(1.045); }
.house-card__tag, .house-card__photo-count { position: absolute; z-index: 1; top: 16px; padding: 7px 12px; color: #fff; background: rgba(11,36,27,.82); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; backdrop-filter: blur(8px); font-size: .75rem; font-weight: 800; }
.house-card__tag { left: 16px; }
.house-card__photo-count { right: 16px; display: inline-flex; align-items: center; gap: 7px; }
.house-card__body { display: flex; flex-direction: column; min-height: 330px; padding: 28px; }
.house-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 13px; color: var(--forest-600); font-size: .8rem; font-weight: 750; }
.house-card h3 { margin-bottom: 11px; font-size: 1.9rem; }
.house-card p { color: var(--muted); font-size: .94rem; }
.house-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: auto -28px -28px; padding: 20px 28px; color: #fff; background: var(--forest-950); }
.house-card__price strong, .house-card__price span { display: block; }
.house-card__price strong { font-family: Georgia, serif; color: #fff; font-size: 1.4rem; line-height: 1.15; }
.house-card__price span { margin-top: 4px; color: rgba(255,255,255,.58); font-size: .72rem; }
.house-card__footer .btn { flex: 0 0 auto; padding-inline: 18px; }
.houses-note { display: flex; align-items: flex-start; gap: 12px; max-width: 980px; margin: 34px auto 0; padding: 18px 22px; color: var(--muted); background: var(--season-soft); border-radius: 18px; font-size: .88rem; }
.houses-note i { color: var(--season-accent); font-size: 1.15rem; }

.territory { color: #fff; background: radial-gradient(circle at 70% 0%, rgba(255,255,255,.08), transparent 33%), var(--forest-950); }
.territory-showcase { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .7fr); gap: 20px; }
.territory-showcase__video { position: relative; min-height: 620px; overflow: hidden; border-radius: 32px; background: #000; }
.territory-showcase__video video { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.territory-showcase__label { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(8,27,20,.72); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 750; }
.territory-showcase__details { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 32px; background: rgba(255,255,255,.06); }
.territory-detail { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.07); }
.territory-detail i { color: var(--accent); font-size: 1.45rem; }
.territory-detail strong, .territory-detail span { display: block; }
.territory-detail span { color: rgba(255,255,255,.58); font-size: .85rem; }

.activities { background: var(--cream); }
.activity-card { position: relative; min-height: 360px; height: 100%; overflow: hidden; color: #fff; border-radius: 24px; background: var(--forest-900); box-shadow: var(--shadow-sm); }
.activity-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,20,.94) 0%, rgba(8,28,20,.1) 70%); }
.activity-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-card:hover img { transform: scale(1.05); }
.activity-card > div { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; }
.activity-card span { color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.activity-card h3 { margin: 6px 0 7px; font-size: 1.7rem; }
.activity-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.5; }

.gallery-section { background: #fff; transition: background-color .35s ease; }
html[data-season="winter"] .gallery-section { background: #f4f8f9; }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: end; gap: 40px; margin-bottom: 40px; }
.gallery-season-control { display: flex; justify-content: flex-end; }
.gallery-season-copy { display: none; max-width: 940px; margin-bottom: 34px; padding-left: 22px; border-left: 3px solid var(--season-accent); }
.gallery-season-copy p { margin: 0; color: var(--muted); font-size: 1.06rem; }
html[data-season="summer"] .gallery-season-copy--summer, html[data-season="winter"] .gallery-season-copy--winter { display: block; }
.gallery-slider { display: none; overflow: hidden; padding-bottom: 38px; }
html[data-season="summer"] .gallery-slider--summer, html[data-season="winter"] .gallery-slider--winter { display: block; }
.gallery-slider__item { width: clamp(300px, 29vw, 410px); }
.gallery-slider__item--wide { width: clamp(440px, 47vw, 680px); }
.gallery-slide { position: relative; display: block; height: clamp(430px, 40vw, 560px); overflow: hidden; color: #fff; border-radius: 28px; background: var(--season-soft); box-shadow: var(--shadow-sm); }
.gallery-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,24,17,.75), transparent 55%); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-slide:hover img { transform: scale(1.04); }
.gallery-slide span { position: absolute; z-index: 2; left: 22px; bottom: 20px; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700; }
.gallery-slide:focus-visible { outline-offset: 5px; }
.splide__arrow { width: 48px; height: 48px; background: #fff; box-shadow: var(--shadow-sm); opacity: 1; }
.splide__arrow i { font-size: 1.15rem; }
.splide__arrow--prev { left: .75rem; }
.splide__arrow--next { right: .75rem; }
.splide__pagination { bottom: -2.5rem; }
.splide__pagination__page.is-active { background: var(--forest-800); }

.route { color: #fff; background: var(--forest-900); }
.route__lead { color: rgba(255,255,255,.66); font-size: 1.05rem; }
.route-steps { display: grid; gap: 12px; margin: 35px 0; }
.route-step { display: flex; gap: 15px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.05); }
.route-step > span { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--forest-950); background: var(--accent); border-radius: 50%; font-weight: 850; }
.route-step strong, .route-step p { display: block; }
.route-step p { margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: .86rem; }
.route-links { display: flex; flex-wrap: wrap; gap: 10px; }
.route-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; text-decoration: none; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .84rem; font-weight: 750; }
.route-links a:hover { background: rgba(255,255,255,.13); }
.route-map { min-height: 600px; overflow: hidden; border-radius: 30px; background: var(--snow); }
.route-warning { display: flex; gap: 14px; margin-top: 18px; padding: 18px 20px; color: var(--ink); background: var(--accent); border-radius: 18px; }
.route-warning i { font-size: 1.35rem; }
.route-warning strong, .route-warning span { display: block; }
.route-warning span { font-size: .84rem; }

.booking { position: relative; padding: 110px 0; overflow: hidden; background: var(--forest-950); }
.booking__image, .booking__overlay { position: absolute; inset: 0; }
.booking__image { background: var(--season-image) center/cover no-repeat; transition: background-image .4s ease; }
.booking__overlay { background: linear-gradient(90deg, rgba(6,24,17,.96) 0%, rgba(6,24,17,.82) 45%, rgba(6,24,17,.45) 100%); }
.booking h2 { color: #fff; }
.booking p { color: rgba(255,255,255,.68); }
.booking-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 30px; }
.booking-contact span { color: rgba(255,255,255,.55); font-size: .8rem; }
.booking-contact a { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.booking-form { padding: clamp(25px, 4vw, 44px); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.booking-form .form-label { color: var(--forest-800); font-size: .8rem; font-weight: 800; }
.booking-form .form-control, .booking-form .form-select { border-color: rgba(23,63,49,.14); border-radius: 14px; font-size: 1rem; }
.booking-form .form-control:focus, .booking-form .form-select:focus { border-color: var(--forest-600); box-shadow: 0 0 0 .2rem rgba(47,116,88,.12); }
.contact-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 14px 16px; background: var(--season-soft); border-radius: 14px; font-size: .88rem; }
.contact-choice > span { font-weight: 800; }
.contact-choice label { display: inline-flex; align-items: center; gap: 6px; }
.booking-form__policy { margin: 0; color: var(--muted) !important; text-align: center; font-size: .75rem; }
.booking-form__policy a { color: var(--forest-700); }

.site-footer { padding: 75px 0 0; color: rgba(255,255,255,.65); background: #071710; }
.footer-logo { width: 280px; height: auto; margin-bottom: 20px; }
.footer-title { margin-bottom: 18px; color: #fff; font-family: "Segoe UI", Arial, sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-nav a, .footer-contacts a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-nav a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts { display: grid; gap: 11px; }
.footer-contacts a, .footer-contacts span { display: flex; align-items: flex-start; gap: 10px; }
.footer-contacts i { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 62px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }

.house-modal { overflow: hidden; border: 0; border-radius: 30px; }
.house-modal > .btn-close { position: absolute; z-index: 3; top: 18px; right: 18px; padding: 11px; background-color: rgba(255,255,255,.8); border-radius: 50%; }
.house-modal__gallery { position: relative; height: 460px; background: var(--forest-950); }
.house-modal__gallery .splide__track, .house-modal__gallery .splide__list, .house-modal__gallery .splide__slide { height: 100%; }
.house-modal__gallery .splide__slide a { display: flex; align-items: center; justify-content: center; height: 100%; }
.house-modal__gallery img { display: block; width: 100%; height: 100%; object-fit: contain; }
.house-modal__gallery .splide__pagination { bottom: 16px; }
.house-modal__gallery .splide__pagination__page { background: rgba(255,255,255,.65); }
.house-modal__gallery .splide__pagination__page.is-active { background: var(--accent); }
.house-modal__content { padding: clamp(26px, 4vw, 44px); }
.house-modal__content h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.house-modal__meta { display: flex; justify-content: space-between; gap: 20px; margin: 24px 0; padding: 15px 0; border-top: 1px solid rgba(23,63,49,.1); border-bottom: 1px solid rgba(23,63,49,.1); }
.house-modal__meta strong { color: var(--forest-700); }
.house-modal__content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.house-modal__content li { position: relative; padding-left: 23px; color: var(--muted); }
.house-modal__content li::before { content: "✓"; position: absolute; left: 0; color: var(--forest-600); font-weight: 900; }
.scheme-modal { overflow: hidden; border: 0; border-radius: 24px; }
.scheme-modal .modal-header { padding: 22px 26px; border-bottom-color: rgba(23,63,49,.1); }
.scheme-modal .modal-body { padding: 20px; }
.territory-map { position: relative; min-height: 620px; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #dfe8d5 0%, #f1eadb 48%, #d8e6d7 100%); box-shadow: inset 0 0 0 1px rgba(23,63,49,.08); }
.territory-map::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.9) 0 2px, transparent 3px), radial-gradient(circle at 70% 65%, rgba(23,63,49,.15) 0 1px, transparent 2px); background-size: 43px 43px, 31px 31px; }
.territory-map__forest { position: absolute; z-index: 1; width: 28%; height: 100%; opacity: .82; background-image: radial-gradient(ellipse at bottom, #1f6044 0 25%, transparent 26%), radial-gradient(ellipse at bottom, #2f7458 0 24%, transparent 25%); background-position: 0 0, 24px 31px; background-size: 55px 74px; }
.territory-map__forest--left { left: -8%; top: -4%; transform: rotate(-4deg); }
.territory-map__forest--right { right: -12%; top: 3%; transform: rotate(5deg); }
.territory-map__road { position: absolute; z-index: 2; left: 0; bottom: 40px; width: 42%; height: 70px; transform: rotate(-8deg); border: 2px dashed rgba(255,255,255,.7); border-left: 0; border-right: 0; background: #9c876b; }
.territory-map__road span { position: absolute; left: 30px; bottom: 18px; padding: 5px 10px; color: #fff; border-radius: 8px; background: rgba(42,31,20,.72); font-size: .75rem; font-weight: 800; }
.territory-map__object { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; min-width: 120px; padding: 10px 12px; color: var(--forest-950); border: 1px solid rgba(23,63,49,.12); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 10px 24px rgba(23,63,49,.12); font-size: .8rem; font-weight: 800; }
.territory-map__object i { flex: 0 0 auto; color: var(--forest-600); font-size: 1.25rem; }
.territory-map__parking { left: 21%; bottom: 15%; }
.territory-map__small-houses { left: 27%; top: 21%; }
.territory-map__hunter { left: 48%; top: 12%; }
.territory-map__forester { right: 22%; top: 25%; }
.territory-map__tourist { left: 47%; top: 43%; }
.territory-map__bath { left: 24%; bottom: 36%; }
.territory-map__play { left: 48%; bottom: 13%; }
.territory-map__grill { right: 24%; top: 55%; }
.territory-map__pond { position: absolute; z-index: 2; right: 27%; bottom: 5%; display: grid; place-items: center; width: 210px; height: 105px; color: #24546a; border: 4px solid rgba(255,255,255,.75); border-radius: 47% 53% 62% 38% / 49% 46% 54% 51%; background: linear-gradient(135deg, #7bc5d4, #a9dbe5); box-shadow: inset 0 8px 14px rgba(255,255,255,.32); font-weight: 900; }
.territory-map__river { position: absolute; z-index: 2; right: -4%; top: 5%; width: 26%; height: 93%; transform: rotate(7deg); border-radius: 55% 0 0 46%; background: linear-gradient(90deg, #9ed9e1, #70b7ca); }
.territory-map__river span { position: absolute; top: 45%; left: 22%; color: #24546a; font-size: .85rem; font-weight: 900; writing-mode: vertical-rl; }
.territory-map__note { max-width: 820px; margin: 16px auto 0; color: var(--muted); text-align: center; font-size: .84rem; }
.mobile-actions { display: none; }

@media (max-width: 1199.98px) {
    .offcanvas { --bs-offcanvas-width: 390px; background: var(--forest-950) !important; }
    .navbar-brand img { width: 190px; }
    .header-actions { align-items: stretch; flex-direction: column; }
    .header-phone { margin: 10px 0; font-size: 1.05rem; }
    .season-switch { width: fit-content; }
    .hero { min-height: 840px; height: auto; padding-top: 160px; }
    .hero__content { padding-bottom: 105px; }
    .territory-showcase { grid-template-columns: 1fr; }
    .territory-showcase__details { display: grid; grid-template-columns: 1fr 1fr; }
    .territory-showcase__details .btn { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    .section { padding: 80px 0; }
    .territory-showcase__video, .territory-showcase__video video { min-height: 480px; }
    .route-map { min-height: 450px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 767.98px) {
    .territory-map { min-height: 720px; }
    .territory-map__forest { width: 34%; }
    .territory-map__object { min-width: 105px; max-width: 145px; padding: 8px 9px; font-size: .7rem; }
    .territory-map__parking { left: 7%; bottom: 12%; }
    .territory-map__small-houses { left: 9%; top: 18%; }
    .territory-map__hunter { left: 38%; top: 8%; }
    .territory-map__forester { right: 8%; top: 25%; }
    .territory-map__tourist { left: 32%; top: 39%; }
    .territory-map__bath { left: 8%; bottom: 38%; }
    .territory-map__play { left: 35%; bottom: 12%; }
    .territory-map__grill { right: 8%; top: 53%; }
    .territory-map__pond { right: 18%; bottom: 2%; width: 160px; height: 82px; }
    .territory-map__road { width: 52%; }

    body { font-size: 16px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .site-header { position: absolute !important; }
    .navbar { min-height: 72px; }
    .navbar-brand img { width: 165px; }
    .hero { min-height: 760px; padding-top: 115px; }
    .hero__content { padding-bottom: 90px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
    .hero__lead { font-size: 1rem; }
    .hero .btn-lg { width: 100%; }
    .offline-mode__panel { margin-top: -35px; border-radius: 26px; }
    .fit-block__item { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
    .house-card__media { height: 250px; }
    .territory-showcase__details { grid-template-columns: 1fr; }
    .territory-showcase__details .btn { grid-column: auto; }
    .territory-showcase__video, .territory-showcase__video video { min-height: 360px; }
    .gallery-slide { height: 420px; }
    .route-map { min-height: 380px; }
    .route-map > * { min-height: 380px !important; }
    .house-modal__content ul { grid-template-columns: 1fr; }
    .mobile-actions { position: fixed; z-index: 1040; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 1px; background: rgba(255,255,255,.94); border: 1px solid rgba(23,63,49,.12); border-radius: 20px; box-shadow: 0 18px 40px rgba(11,36,27,.16); backdrop-filter: blur(16px); }
    .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; color: var(--forest-800); text-decoration: none; font-size: .74rem; font-weight: 850; text-align: center; }
    .mobile-actions a:first-child { border-radius: 18px 0 0 18px; background: #fff; }
    .mobile-actions a:last-child { color: #17221d; border-radius: 0 18px 18px 0; background: var(--accent); }
}

@media (max-width: 575.98px) {
    .section { padding: 68px 0; }
    h2 { font-size: 2.45rem; }
    .fit-block { padding: 20px 18px; border-radius: 28px; }
    .fit-block__heading { margin-bottom: 22px; }
    .fit-card { padding: 20px; border-radius: 20px; }
    .fit-card > span { min-width: 40px; height: 40px; margin-bottom: 14px; border-radius: 14px; }
    .hero-fact { padding: 11px; }
    .hero-fact__icon { flex-basis: 42px; width: 42px; height: 42px; }
    .offline-card { min-height: 155px; }
    .house-card__body { min-height: 290px; padding: 22px; }
    .house-card__footer { align-items: flex-start; flex-direction: column; }
    .house-card__footer { margin: auto -22px -22px; padding: 18px 22px; }
    .house-card__footer .btn { width: 100%; }
    .territory-showcase__details { padding: 16px; }
    .activity-card { min-height: 320px; }
    .booking-form { padding: 22px; border-radius: 22px; }
    .contact-choice { align-items: flex-start; flex-direction: column; }
    .footer-logo { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .hero__video { display: none; }
}

.hero-season-note { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; color: rgba(255,255,255,.78); font-size: .88rem; }
.hero-season-note span { display: inline-flex; align-items: center; gap: 10px; }
.hero-season-note i { color: var(--accent); }

.season-switch--surface { padding: 4px; border-color: rgba(23,63,49,.12); background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.season-switch--surface .season-switch__button { color: var(--muted); }
.season-switch--surface .season-switch__button.active { color: #fff; background: var(--forest-800); }

.seasonal-row { display: none; }
html[data-season="summer"] .seasonal-row--summer { display: flex; }
html[data-season="winter"] .seasonal-row--winter { display: flex; }

@media (max-width: 991.98px) {
    .hero-season-note { font-size: .8rem; }
    .gallery-heading { grid-template-columns: 1fr; gap: 16px; }
    .gallery-season-control { justify-content: flex-start; }
    .about-story__media { min-height: 480px; }
}

@media (max-width: 767.98px) {
    .hero-season-note { flex-direction: column; gap: 10px; }
    .about-story__facts { grid-template-columns: 1fr; }
    .about-story__fact, .about-story__fact:nth-child(odd), .about-story__fact:nth-child(even) { padding: 20px 0; border-left: 0; }
    .about-story__media { min-height: 390px; }
    .gallery-heading { margin-bottom: 26px; }
    .gallery-season-copy { margin-bottom: 26px; padding-left: 16px; }
    .gallery-slider__item, .gallery-slider__item--wide { width: calc(100vw - 48px); }
    .splide__arrow--prev { left: .5rem; }
    .splide__arrow--next { right: .5rem; }
}

@media (max-width: 575.98px) {
    .fit-block h2 { font-size: 2.45rem; }
    .about-story { border-radius: 26px; }
    .about-story__content { padding: 30px 24px; }
    .about-story__media { min-height: 340px; }
    .gallery-slider__item, .gallery-slider__item--wide { width: calc(100vw - 40px); }
    .house-modal__gallery { height: 320px; }
    .gallery-slide { height: 390px; border-radius: 22px; }
}

.header-message-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.messenger-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.messenger-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); text-decoration: none; font-size: .86rem; font-weight: 750; transition: background .2s ease, border-color .2s ease; }
.messenger-link:hover { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.32); }
.messenger-link--whatsapp i { color: #34d17a; }
.messenger-link--telegram i { color: #4fb6f5; }
.messenger-link--max i { color: var(--accent); }

.contact-note { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.07); }
.contact-note i { flex: 0 0 auto; margin-top: 3px; color: var(--accent); font-size: 1.15rem; }
.contact-note p { margin: 0; color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1.55; }

.footer-contacts + .messenger-links { margin-top: 16px; }
.footer-note { margin: 4px 0 0; color: rgba(255,255,255,.45); font-size: .78rem; line-height: 1.5; }

.apartment-breadcrumbs { margin-bottom: 26px; }
.apartment-breadcrumbs .breadcrumb { margin: 0; font-size: .84rem; }
.apartment-breadcrumbs a { color: var(--muted); text-decoration: none; }
.apartment-breadcrumbs a:hover { color: var(--forest-700); }
.apartment-breadcrumbs .breadcrumb-item.active { color: var(--ink); font-weight: 700; }

.apartment-heading { max-width: 760px; margin-bottom: 32px; }
.apartment-heading p { margin: 6px 0 0; color: var(--muted); font-size: 1.05rem; }

.apartment-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.apartment-fact { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid rgba(23,63,49,.12); border-radius: 18px; background: var(--season-soft); }
.apartment-fact i { color: var(--forest-600); font-size: 1.3rem; }
.apartment-fact strong, .apartment-fact span { display: block; }
.apartment-fact strong { color: var(--ink); font-size: 1rem; }
.apartment-fact span { color: var(--muted); font-size: .76rem; }

.apartment-gallery.gallery-slider { display: block; margin-bottom: 44px; padding-bottom: 38px; }

.apartment-description { max-width: 780px; margin-bottom: 8px; color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.apartment-description :where(h2, h3) { margin-top: 1.3em; font-family: Georgia, "Times New Roman", serif; }
.apartment-description p { margin: 0 0 1em; }
.apartment-description ul, .apartment-description ol { padding-left: 1.3em; }
.apartment-description img { max-width: 100%; border-radius: var(--radius-sm); }
.apartment-actions { margin-top: 28px; }

.apartment-cta__inner { display: flex; flex-direction: column; gap: 44px; max-width: 720px; margin: 0 auto; }
.apartment-cta__intro p { max-width: 560px; }

@media (max-width: 575.98px) {
    .apartment-fact { padding: 12px 16px; }
    .messenger-link, .contact-note { font-size: .82rem; }
}
