/* ============================================
   ЗЕМЕЛЬНЫЙ УЧАСТОК ТАБЛОВО
   High-Conversion Architectural Style v4.0
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #e5e7eb;
    --color-card-bg: #ffffff;
    --color-card-muted: #fafafa;
    --color-dark: #121212;
    --color-text: #2c2c2c;
    --color-muted: #666666;
    --color-line: rgba(18, 18, 18, 0.08);
    --color-accent: #000000;
    --color-btn-bg: #ffffff;
    --color-btn-text: #121212;
    --color-btn-hover: #f0f0f0;
    --color-cta-bg: #121212;
    --color-cta-text: #ffffff;
    --color-featured-bg: #121212;
    --color-featured-text: #ffffff;
    --color-featured-muted: rgba(255, 255, 255, 0.7);
    --color-hero-cta-bg: #ffffff;
    --color-hero-cta-text: #121212;
    --route-line-color: rgba(18, 18, 18, 0.3);
    --route-dot-glow: rgba(18, 18, 18, 0.08);
    --site-header-height: 48px;
    --photo-overlay: linear-gradient(to bottom,
            rgba(0, 12, 28, 0.18) 0%,
            rgba(0, 12, 28, 0.5) 100%),
        linear-gradient(to right,
            rgba(0, 12, 28, 0.45) 0%,
            rgba(0, 12, 28, 0.2) 45%,
            rgba(0, 12, 28, 0) 85%);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 40px;
    --space-lg: 80px;
    --space-xl: 130px;
}

html[data-theme="dark"] {
    --color-bg: #0f1113;
    --color-bg-alt: #15181c;
    --color-card-bg: #161a1f;
    --color-card-muted: #1b2026;
    --color-dark: #f2f2f2;
    --color-text: #d8dde4;
    --color-muted: #9aa3ad;
    --color-line: rgba(255, 255, 255, 0.08);
    --color-accent: #f2f2f2;
    --color-btn-bg: #1b2026;
    --color-btn-text: #f2f2f2;
    --color-btn-hover: #232a32;
    --color-cta-bg: #f2f2f2;
    --color-cta-text: #121212;
    --color-featured-bg: #f2f2f2;
    --color-featured-text: #121212;
    --color-featured-muted: rgba(18, 18, 18, 0.7);
    --color-hero-cta-bg: #f2f2f2;
    --color-hero-cta-text: #121212;
    --route-line-color: rgba(255, 255, 255, 0.35);
    --route-dot-glow: rgba(242, 242, 242, 0.12);
    --photo-overlay: linear-gradient(to bottom,
            rgba(0, 12, 28, 0.18) 0%,
            rgba(0, 12, 28, 0.5) 100%),
        linear-gradient(to right,
            rgba(0, 12, 28, 0.45) 0%,
            rgba(0, 12, 28, 0.2) 45%,
            rgba(0, 12, 28, 0) 85%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    touch-action: manipulation;
}

* {
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-mobile,
.sticky-cta-mobile {
    display: none;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section.bg-alt {
    background: var(--color-bg-alt);
}

.section-num {
    display: none;
}

/* ============================================
   Typography
   ============================================ */
h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-text-area {
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}



.hero-tagline {
    display: block;
    margin-bottom: 24px;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    will-change: transform, opacity;
}

.hero-tag-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    line-height: 1.4;
}

.hero-ijc-badge {
    display: inline-block;
    background: #ffffff;
    color: #000;
    padding: 2px 12px;
    border-radius: 4px;
    font-weight: 700;
    margin: 0 8px;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-top: -6px;
}

.hero-title-new {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 32px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    will-change: transform, opacity;
}

.hero-invest-badge-wrap {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    will-change: transform, opacity;
}

.hero-invest-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.invest-label {
    background: #fff;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 40px;
}

.invest-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 40px;
    max-width: 750px;
    line-height: 1.6;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    will-change: transform, opacity;
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    will-change: transform, opacity;
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-line:first-child {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .hero-title-line:first-child {
        white-space: normal;
    }
}

.hero-title-main {
    font-size: 1em;
    letter-spacing: -0.01em;
}


h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    /* Уменьшено с lg для плотности */
    letter-spacing: -0.02em;
    text-align: center;
}

.section h2 {
    font-weight: 500;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.features-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--color-text);
}

.feature-item strong {
    font-weight: 600;
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .features-text-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 22px 54px;
    background: var(--color-btn-bg);
    color: var(--color-btn-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.btn:hover {
    background: var(--color-btn-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero .btn,
[data-theme="light"] .sticky-cta-mobile .btn {
    border: 1px solid rgba(18, 18, 18, 0.35);
    background: rgba(18, 18, 18, 0.18);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.btn-white {
    background: #ffffff;
    color: #121212;
    border: 1px solid rgba(18, 18, 18, 0.18);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .hero .btn-white,
[data-theme="light"] .sticky-cta-mobile .btn-white {
    background: #ffffff;
    color: #121212;
    border: 1px solid rgba(18, 18, 18, 0.18);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}


.btn-outline {
    display: inline-block;
    padding: 19px 40px;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.btn-outline:hover {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
    transform: translateY(-2px) scale(1.02);
}

.btn-text {
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.btn-text:hover {
    border-color: var(--color-dark);
    transform: translateY(-2px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    background: #000;
    color: white;
    overflow: hidden;
}

/* ============================================
   Navigation Drawer & Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1200;
    background: transparent !important;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
}

.site-header.is-scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.site-header.is-scrolled .header-phone-btn {
    color: var(--color-dark);
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled .header-phone-btn:hover {
    background: var(--color-dark);
    color: var(--color-bg);
}

.site-header.is-scrolled .burger-bar {
    background: var(--color-dark);
}

.site-header.is-scrolled .burger-menu {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled .burger-menu:hover {
    background: var(--color-dark);
}

.site-header.is-scrolled .burger-menu:hover .burger-bar {
    background: var(--color-bg);
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-phone-btn:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

.header-phone-btn svg {
    width: 20px;
    height: 20px;
}

.header-phone {
    display: none;
    /* Hide old text version */
}

.burger-menu {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1301;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.burger-menu:hover {
    background: white;
    transform: scale(1.05);
}

.burger-menu:hover .burger-bar {
    background: black;
}

.burger-bar {
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Nav Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 85%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1300;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
}

.nav-drawer.is-active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1299;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.drawer-link {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-dark);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    letter-spacing: -0.02em;
}

.drawer-link:hover {
    transform: translateX(10px);
    color: var(--color-muted);
}

.drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-close {
    position: absolute;
    top: 24px;
    right: 40px;
    background: transparent;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    cursor: pointer;
}

/* Gallery Collage */
.gallery-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 300px);
    gap: 16px;
    margin-top: 40px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover img {
    transform: scale(1.05);
}

.collage-item--1 {
    grid-column: span 6;
    grid-row: span 2;
}

.collage-item--2 {
    grid-column: span 3;
}

.collage-item--3 {
    grid-column: span 3;
}

.collage-item--4 {
    grid-column: span 3;
}

.collage-item--5 {
    grid-column: span 3;
}

.collage-item--6 {
    grid-column: span 4;
}

.collage-item--7 {
    grid-column: span 4;
}

.collage-item--8 {
    grid-column: span 4;
}

.collage-item--9 {
    grid-column: span 6;
}

.collage-item--10 {
    grid-column: span 6;
}

@media (max-width: 900px) {
    .gallery-collage {
        grid-template-rows: none;
        grid-auto-rows: 200px;
    }

    .collage-item--1 {
        grid-column: span 12;
        grid-row: span 1;
    }

    .collage-item--2,
    .collage-item--3,
    .collage-item--4,
    .collage-item--5 {
        grid-column: span 6;
    }

    .collage-item--6,
    .collage-item--7,
    .collage-item--8 {
        grid-column: span 4;
    }

    .collage-item--9,
    .collage-item--10 {
        grid-column: span 6;
    }
}

@media (max-width: 600px) {
    .nav-drawer {
        width: 50%;
        max-width: 50%;
        padding: 80px 20px 24px;
    }

    .drawer-link {
        font-size: 1.5rem;
    }

    .header-phone {
        font-size: 0.95rem;
    }
}

section {
    scroll-margin-top: calc(var(--site-header-height) + 16px);
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    /* Placeholder for layout */
}

.hero {
    scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.hero-bg {
    position: absolute;
    inset: -100px 0;
    z-index: 0;
    will-change: transform;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Мягкий вертикальный градиент для контраста + легкий акцент слева */
    background: var(--photo-overlay);
    z-index: 1;
}

/* Snowflake Effect */
.winter-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    /* Higher than content to see it fall over text */
    overflow: hidden;
}


.snowflake {
    position: absolute;
    top: -20px;
    background: white;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    animation: snowfall linear infinite;
    filter: blur(1px);
    /* Soft look */
    will-change: transform;
}

.sf-1 {
    left: 5%;
    width: 4px;
    height: 4px;
    animation-duration: 65s;
    animation-delay: -2s;
    opacity: 0.2;
}

@keyframes snowfall {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, 110vh, 0);
    }
}

.sf-2 {
    left: 15%;
    width: 3px;
    height: 3px;
    animation-duration: 90s;
    animation-delay: -5s;
    opacity: 0.15;
    filter: blur(1px);
}

.sf-3 {
    left: 25%;
    width: 5px;
    height: 5px;
    animation-duration: 75s;
    animation-delay: -10s;
    opacity: 0.25;
}

.sf-4 {
    left: 35%;
    width: 3px;
    height: 3px;
    animation-duration: 100s;
    animation-delay: -1s;
    opacity: 0.15;
    filter: blur(1px);
}

.sf-5 {
    left: 45%;
    width: 4px;
    height: 4px;
    animation-duration: 68s;
    animation-delay: -15s;
    opacity: 0.2;
}

.sf-6 {
    left: 55%;
    width: 6px;
    height: 6px;
    animation-duration: 78s;
    animation-delay: -8s;
    opacity: 0.3;
}

.sf-7 {
    left: 65%;
    width: 3px;
    height: 3px;
    animation-duration: 95s;
    animation-delay: -3s;
    opacity: 0.1;
    filter: blur(1px);
}

.sf-8 {
    left: 75%;
    width: 4px;
    height: 4px;
    animation-duration: 72s;
    animation-delay: -12s;
    opacity: 0.2;
}

.sf-9 {
    left: 85%;
    width: 3px;
    height: 3px;
    animation-duration: 88s;
    animation-delay: -6s;
    opacity: 0.15;
}

.sf-10 {
    left: 95%;
    width: 5px;
    height: 5px;
    animation-duration: 70s;
    animation-delay: -18s;
    opacity: 0.25;
}

.sf-11 {
    left: 50%;
    width: 3px;
    height: 3px;
    animation-duration: 85s;
    animation-delay: -2s;
    opacity: 0.1;
}

.sf-12 {
    left: 80%;
    width: 6px;
    height: 6px;
    animation-duration: 65s;
    animation-delay: -5s;
    opacity: 0.2;
    filter: blur(2px);
}


@keyframes snowfall {
    0% {
        transform: translateY(-20px) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: inherit;
    }

    90% {
        opacity: inherit;
    }

    100% {
        transform: translateY(110vh) translateX(30px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding-top: calc(var(--site-header-height) + 20px);
    padding-bottom: var(--space-md);
}

.header {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-phone {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.theme-toggle {
    border: 1px solid var(--color-line);
    background: var(--color-card-muted);
    color: var(--color-dark);
    padding: 12px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    width: 100%;
    margin-top: 10px;
}

.theme-toggle:hover {
    background: var(--color-dark);
    color: var(--color-bg);
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.header .theme-toggle {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.header-mobile .theme-toggle {
    color: var(--color-dark);
    border-color: var(--color-line);
}

.hero-text-area {
    max-width: 1040px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    max-width: 700px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--space-lg);
    max-width: 760px;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hero-trust-pill--main {
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.16em;
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.hero-benefits-list {
    margin-bottom: var(--space-lg);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 0 8px var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.hero-benefits-list p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
    font-weight: 400;
}

.hero-price-info {
    margin-bottom: var(--space-lg);
}

.price-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-actions {
    margin-top: var(--space-md);
}

.hero .btn {
    background: var(--color-hero-cta-bg);
    color: var(--color-hero-cta-text);
}

.btn-subtext {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Snowdrift Divider */
.snow-drift-container {
    position: absolute;
    bottom: -2px;
    /* Прижимаем плотнее к краю */
    left: 0;
    width: 100%;
    height: 100px;
    /* Уменьшим высоту, чтобы не лезло на текст */
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.snow-drift-svg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -5px 10px rgba(255, 255, 255, 0.3));
    /* Мягкое свечение вместо сильного размытия */
}

.snow-drift-path {
    fill: var(--color-bg-alt);
    /* Основной цвет сугроба совпадает со следующим экраном */
}

.snow-drift-path.is-white {
    fill: var(--color-bg);
}

.snow-drift-path-2 {
    fill: #ffffff;
    opacity: 0.7;
    transform: translateY(10px);
    /* Less aggressive offset */
}

.snow-drift-path-2.is-alt {
    fill: var(--color-bg-alt);
}

.snow-drift-container.is-flipped {
    top: -1px;
    bottom: auto;
    transform: scaleY(-1);
    z-index: 5;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 20;
    /* Keep above snowdrift */
    pointer-events: none;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-label {
    opacity: 0.7;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* ============================================
   Location & Configuration
   ============================================ */
.location-lead {
    max-width: 720px;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.location-section .location-lead {
    margin-bottom: var(--space-sm);
    font-size: 1.02rem;
}

.location-hint {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-sm);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.location-section .location-grid {
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.location-card {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    padding: var(--space-md);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.location-section .location-card {
    padding: 18px;
}

.location-section .location-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.location-section .location-card p {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.location-card.is-active {
    border-color: rgba(18, 18, 18, 0.2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

html[data-theme="dark"] .location-card.is-active {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

@media (hover: hover) and (pointer: fine) {
    .location-card:hover {
        border-color: rgba(18, 18, 18, 0.14);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
        transform: translateY(-6px);
    }

    html[data-theme="dark"] .location-card:hover {
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    }
}

.location-card:focus-visible {
    outline: 2px solid rgba(18, 18, 18, 0.3);
    outline-offset: 3px;
}

.location-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-muted);
    display: block;
    margin-bottom: 12px;
}

.location-section .location-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.location-route {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.route-schematic {
    position: relative;
    display: block;
    border: 1px solid transparent;
    background: var(--color-card-bg);
    border-radius: 16px;
}

.route-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.route-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px 16px;
    position: relative;
    z-index: 1;
}

.route-border rect {
    fill: none;
    stroke: var(--route-line-color);
    stroke-width: 1;
    stroke-dasharray: 6 10;
    stroke-linecap: round;
    animation: routeDash 6s linear infinite;
}

.route-point {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    z-index: 1;
    background: var(--color-card-bg);
}

.route-point:focus,
.route-point:focus-visible {
    outline: none;
    box-shadow: none;
}

.route-point .route-dot {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.route-point.is-active .route-dot {
    transform: scale(1.25);
    box-shadow: 0 0 0 8px var(--route-dot-glow);
}

.route-point.is-active .route-title {
    color: var(--color-dark);
}

.route-point.is-active .route-sub {
    color: var(--color-text);
}

.route-point.is-active {
    background: var(--color-card-muted);
    border-color: var(--color-line);
}

.route-point.is-center .route-title {
    color: var(--color-dark);
}

.route-point:active {
    transform: translateY(0) scale(0.99);
}

.route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-dark);
    box-shadow: 0 0 0 6px var(--route-dot-glow);
}

.route-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.route-time {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: var(--color-card-muted);
    min-height: 26px;
}

.route-time--here {
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-muted);
    background: transparent;
    border-color: transparent;
    text-transform: uppercase;
}

.route-sub {
    font-size: 0.85rem;
    color: var(--color-text);
    max-width: 160px;
}

@media (hover: hover) and (pointer: fine) {
    .route-point:hover {
        background: var(--color-card-muted);
        border-color: var(--color-line);
        transform: translateY(-2px);
    }
}

@keyframes routeFlow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 200px 0;
    }
}

@keyframes routeDash {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -72;
    }
}

.location-gallery {
    margin-top: var(--space-sm);
}

.gallery-stage {
    position: relative;
    width: 100%;
    height: clamp(280px, 36vw, 380px);
    border: 1px solid var(--color-line);
    background: var(--color-card-muted);
    overflow: hidden;
    touch-action: pan-y;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.38s ease-out, transform 0.38s ease-out;
    will-change: opacity, transform;
}

.gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    backdrop-filter: blur(6px);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}

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

.gallery-nav:active {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(0.9);
}

.gallery-nav--prev {
    left: 12px;
}

.gallery-nav--next {
    right: 12px;
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.caption-title {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.caption-text {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.config-layout {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

.config-section .config-layout {
    gap: var(--space-md);
}

.config-diagram {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.config-section .config-diagram {
    padding: 24px;
}

.plot-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.plot-road {
    fill: #f5f5f5;
}

html[data-theme="dark"] .plot-road {
    fill: #2a2a2a;
}

.plot-road-label {
    fill: #777;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    pointer-events: none;
}

.plot-entrance-arrow {
    fill: #ff4757;
    stroke: white;
    stroke-width: 1px;
    pointer-events: none;
}

.plot-svg {
    width: 100%;
    height: auto;
    cursor: pointer;
    overflow: visible;
    touch-action: pan-y;
}

.plot {
    fill: transparent;
    stroke: var(--color-dark);
    stroke-width: 2.5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.plot:hover {
    fill: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .plot:hover {
    fill: rgba(255, 255, 255, 0.1);
}

.plot.active {
    fill: rgba(25, 118, 210, 0.12);
    stroke: #1976d2;
    stroke-width: 3.5;
}

.plot-divider {
    stroke: var(--color-line);
    stroke-dasharray: 6 6;
    stroke-width: 1.5;
    pointer-events: none;
}

.plot-label {
    fill: var(--color-dark);
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px white;
}

.plot-label.hide {
    opacity: 0;
}

.plot-dim {
    fill: var(--color-dark);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    pointer-events: none;
    text-anchor: middle;
}

.plot-card {
    margin-top: 20px;
    padding: 20px;
    background: var(--color-card-muted);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.diagram-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--color-muted);
    text-align: center;
}

.config-section .tabs-nav {
    margin-bottom: var(--space-md);
}

.config-section h2 {
    margin-bottom: var(--space-sm);
    text-align: center;
}

.gpzu-block {
    margin-top: var(--space-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
}

.config-section .gpzu-block {
    margin-top: var(--space-md);
    gap: var(--space-md);
}

.gpzu-figure {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    overflow: hidden;
}

.gpzu-figure img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: 50% 12%;
    display: block;
}

.config-section .gpzu-figure img {
    height: 300px;
}

.gpzu-text h3 {
    margin-bottom: var(--space-sm);
}

.gpzu-text p {
    color: var(--color-muted);
    margin-bottom: var(--space-sm);
}

.config-section .gpzu-text h3 {
    margin-bottom: 8px;
}

.config-section .gpzu-text p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* ============================================
   Benefits & Lifestyle
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 24px;
    /* Increased vertical gap to allow for overflowing images */
    margin-top: 80px;
}

.benefit-card {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    padding: 30px;
    padding-top: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.benefit-card:hover {
    border-color: var(--color-dark);
    transform: translateY(4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.benefit-model-wrap {
    width: 100%;
    height: 160px;
    margin-top: -90px;
    /* Negative margin to pop out of the card */
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    /* Align to the 'floor' of the pop-out area */
    justify-content: center;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}

.benefit-model-img {
    height: 100%;
    width: auto;
    max-width: 120%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Soft shadow specifically for the 3D model to give it depth */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.benefit-card:hover .benefit-model-img {
    transform: translateY(-8px) scale(1.08);
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}

.benefit-card p {
    margin-bottom: 16px;
}

.benefit-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.benefit-kpi {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text);
    border: 1px solid currentColor;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    background: var(--color-card-muted);
    font-weight: 500;
}

.benefit-micro {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.35;
}

.benefit-micro li {
    position: relative;
    padding-left: 18px;
}

.benefit-micro li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--color-muted);
    border-bottom: 2px solid var(--color-muted);
    transform: rotate(-45deg);
    opacity: 0.7;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lifestyle-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.lifestyle-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--color-dark);
}

.lifestyle-card h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    max-width: 90%;
}

.lifestyle-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.metric {
    background: var(--color-card-muted);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    border: 1px solid var(--color-line);
}

.metric-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-top: 6px;
}

.lifestyle-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.lifestyle-group {
    position: relative;
    padding-left: 56px;
}

.lifestyle-group-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-card-muted);
    border: 1px solid var(--color-line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
}

.lifestyle-group-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.lifestyle-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lifestyle-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.lifestyle-list li {
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 6px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: 99px;
    transition: all 0.2s ease;
}

.lifestyle-list li:hover {
    border-color: var(--color-dark);
    background: var(--color-card-muted);
}

.lifestyle-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    color: var(--color-text);
}

.lifestyle-list li::before {
    content: '―';
    position: absolute;
    left: 0;
    color: var(--color-line);
}

.lifestyle-footnote {
    color: var(--color-muted);
    margin-top: 22px;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 20px;
}

.info-cta {
    margin-top: var(--space-md);
}

/* ============================================
   Forms Styling
   ============================================ */
.card-form {
    background: var(--color-card-bg);
    padding: var(--space-lg);
    border: 1px solid var(--color-line);
}

.docs-form-wrap {
    margin-top: var(--space-md);
}

.form-intro {
    text-align: left;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.card-form h3 {
    text-align: left;
    margin-bottom: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    padding: 18px;
    border: 1px solid var(--color-line);
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--color-card-muted);
    color: var(--color-text);
}

.form-fields input,
.form-fields select,
.form-fields textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--color-line);
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--color-card-muted);
    color: var(--color-text);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: var(--color-muted);
}

.form-fields input::placeholder,
.form-fields textarea::placeholder {
    color: var(--color-muted);
}

.form-grid textarea {
    grid-column: span 2;
    height: 120px;
    resize: none;
}

.form-fields textarea {
    grid-column: span 2;
    height: 120px;
    resize: none;
}

.checkbox-label {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text);
}

.form-grid .btn {
    grid-column: span 2;
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
}

.form-status {
    grid-column: span 2;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.form-status.is-error {
    color: #b12a2a;
}

.form-status.is-success {
    color: #1a6b3a;
}

/* ============================================
   Partnership Block (Compact Split)
   ============================================ */
.partner-form-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-md);
    align-items: flex-start;
}

.partner-text h2 {
    text-align: center;
    margin-bottom: var(--space-md);
    max-width: none;
}

.partner-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: var(--space-md);
}

.partner-benefits-list li {
    font-size: 1.05rem;
    color: var(--color-text);
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.partner-benefits-list li::before {
    content: '―';
    position: absolute;
    left: 0;
    top: 0.1em;
    /* Идеальное выравнивание по линии шрифта */
    color: var(--color-line);
}

.compact-form input,
.compact-form select,
.compact-form textarea {
    padding: 14px;
    font-size: 0.95rem;
}

/* ============================================
   Viewing Block (Centered & Airy)
   ============================================ */
.view-form-center {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.view-form-center h3 {
    margin-bottom: 8px;
}

.view-sub {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.card-form-compact {
    max-width: 550px;
    margin: 0 auto;
    padding: var(--space-md);
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .full-width {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .partner-form-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .config-layout {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-section .location-card {
        padding: 16px;
    }

    @media (max-width: 600px) {
        .location-grid {
            grid-template-columns: 1fr;
        }
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 100px 0;
        margin-top: 100px;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .lifestyle-card {
        padding: 24px;
    }

    .lifestyle-metrics {
        margin-bottom: 24px;
    }

    .metric {
        min-width: 100px;
        padding: 12px 16px;
    }

    .lifestyle-group {
        padding-left: 48px;
    }

    .lifestyle-group-icon {
        width: 36px;
        height: 36px;
    }

    .lifestyle-list {
        gap: 6px 8px;
    }

    .lifestyle-list li {
        font-size: 0.85rem;
        padding: 4px 10px;
    }

    .metric-val {
        font-size: 0.95rem;
    }

    .metric-label {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .lifestyle-group {
        margin-top: 0;
    }

    .lifestyle-groups {
        grid-template-rows: repeat(3, auto);
        row-gap: 12px;
    }

    .lifestyle-group-title {
        margin-bottom: 8px;
    }

    .lifestyle-list li {
        margin-bottom: 6px;
    }

    .lifestyle-footnote {
        margin-top: auto;
        padding-top: 16px;
    }

    .docs-trust-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .docs-info,
    .docs-form-box {
        padding: var(--space-md);
    }

    .gpzu-block {
        grid-template-columns: 1fr;
    }

    .gpzu-figure img {
        height: 240px;
    }

}

.options-architecture h2 {
    margin-bottom: var(--space-lg);
}

.comparison-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: var(--space-md);
    align-items: stretch;
    margin-bottom: var(--space-md);
}

.comp-item {
    padding: var(--space-md);
    border: 1px solid var(--color-line);
    background: var(--color-card-muted);
    display: flex;
    flex-direction: column;
}

.comp-divider {
    display: none;
}

.comp-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    margin-bottom: var(--space-sm);
}

.comp-area {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.comp-specs {
    list-style: none;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.comp-specs li {
    margin-bottom: 6px;
    line-height: 1.3;
}

.comp-item.featured {
    background: var(--color-featured-bg);
    color: var(--color-featured-text);
    padding: var(--space-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: none;
}

.comp-item.featured .comp-area {
    font-size: 3.5rem;
    color: var(--color-featured-text);
}

.comp-item.featured .comp-label,
.comp-item.featured .comp-specs {
    color: var(--color-featured-muted);
}

.comp-details {
    max-width: 400px;
}

.comp-details p {
    margin-bottom: 8px;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--color-featured-text);
}

.comp-mobile-cta {
    display: block;
    margin-top: auto;
    /* Push to bottom */
    padding: 18px 24px;
    background: var(--color-btn-bg);
    color: var(--color-btn-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
}

.comp-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.comp-item:not(.featured) .comp-mobile-cta {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
}

.comp-note {
    font-size: 0.85rem !important;
    color: var(--color-muted);
    margin-top: var(--space-sm);
    font-style: italic;
}

.comparison-cta {
    margin-top: var(--space-md);
    text-align: right;
}

/* ============================================
   Audience Section (Tabs)
   ============================================ */
.tabs-nav {
    display: flex;
    gap: var(--space-md);
    border-bottom: 2px solid var(--color-line);
    margin-bottom: var(--space-lg);
}

.tab-btn {
    padding: 16px 0;
    border: none;
    background: none;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-muted);
    cursor: pointer;
    position: relative;
}

.config-section .tab-btn {
    padding: 12px 0;
    font-size: 1rem;
}

.tab-btn.active {
    color: var(--color-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-dark);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audience-list {
    list-style: none;
    max-width: 800px;
}

.audience-list li {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    padding-left: 24px;
    position: relative;
}

.audience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    bottom: 0.4em;
    width: 2px;
    background: var(--color-dark);
}

.panel-cta {
    margin-top: var(--space-lg);
}

/* ============================================
   Passport / Specs
   ============================================ */
.passport-grid {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-line);
}

.spec-row span {
    color: var(--color-muted);
}

.spec-row strong {
    font-weight: 500;
}

/* ============================================
   Card Accent & Docs
   ============================================ */
.card-accent {
    background: var(--color-card-muted);
    padding: var(--space-md) var(--space-lg);
}

.card-accent h2 {
    margin-bottom: var(--space-sm);
}

.docs-list {
    list-style: none;
    margin: var(--space-sm) 0 var(--space-md);
}

.docs-list li {
    margin-bottom: 4px;
    font-weight: 500;
}

.docs-cta {
    margin-top: var(--space-lg);
}

.microtext {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: var(--space-sm);
}

/* ============================================
   Compact adjustments for specific sections
   ============================================ */
.docs-trust-section {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.docs-trust-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    align-items: stretch;
}

.docs-intro {
    margin-bottom: var(--space-md);
}

.docs-info,
.docs-form-box {
    background: var(--color-card-bg);
    border: 1px solid var(--color-line);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    box-sizing: border-box;
}

.docs-info h3,
.docs-form-box h3 {
    text-align: left;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.docs-info p,
.docs-form-box p {
    text-align: left;
    margin-bottom: 20px;
}

.docs-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-muted);
    margin-bottom: 20px;
    max-width: 520px;
}

.docs-trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-trust-list li {
    font-size: 1rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
    color: var(--color-text);
}

.docs-trust-list li::before {
    content: '―';
    position: absolute;
    left: 0;
    color: var(--color-line);
}

.docs-trust-list strong {
    font-weight: 500;
    color: var(--color-dark);
}

.docs-trust-section .info-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.docs-trust-section .btn-tg--primary,
.docs-form-box .btn {
    width: 100%;
    padding: 20px 28px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.docs-form-box .btn {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
    border: none;
}

.compact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-sm);
    margin: 0;
}

.compact-form .btn {
    margin-top: auto;
}

.form-status {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-status.is-success {
    color: #2e7d32;
    font-weight: 500;
}

.form-status.is-error {
    color: #d32f2f;
}

.docs-form-box .compact-form {
    flex: 1;
}

.docs-trust-section .consent-check {
    line-height: 1.4;
    margin-top: 4px;
}

/* ============================================
   Video & Map
   ============================================ */
.video-container {
    background: #000;
    margin-bottom: var(--space-sm);
}

.video-sub {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.video-standalone-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.video-standalone-section .section-num {
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.6;
}

.video-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.video-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--photo-overlay);
}

.video-layout {
    position: relative;
    z-index: 1;
}

.video-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.video-header {
    margin-bottom: 48px;
    text-align: center;
}

.video-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: white;
    margin: 0;
    line-height: 1.1;
}

.video-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.video-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.video-features {
    list-style: none;
    padding: 0;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.6;
}

.video-media {
    display: flex;
    justify-content: center;
}

.video-vertical-wrap {
    width: 340px;
    position: relative;
}

.video-phone-frame {
    position: relative;
    padding: 12px;
    background: #111;
    border-radius: 40px;
    box-shadow: 0 0 0 4px #222, 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.video-9-16 {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    mask-image: radial-gradient(white, black);
    /* Fix for rounded corners on some browsers */
}

.video-9-16 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 900px) {
    .video-glass-card {
        padding: 40px 24px;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
    }

    .video-body {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .video-text h2 {
        text-align: center !important;
    }

    .video-features {
        align-items: center;
    }

    .video-vertical-wrap {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ============================================
   Final Contacts
   ============================================ */
.final-cta {
    background: var(--color-card-bg);
    text-align: center;
}

.contacts-block {
    margin: var(--space-lg) 0;
}

.big-phone {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-dark);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.btn-wa,
.btn-tg {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-tg {
    background: #0088cc;
    color: white;
}

.btn-tg--primary {
    padding: 14px 28px;
    font-size: 0.95rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-wa:hover,
.btn-tg:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.04);
}

.reply-note {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.tg-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.consent-check {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.consent-check input {
    margin-top: 2px;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: var(--color-card-muted);
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.consent-check input:hover {
    border-color: var(--color-muted);
    background: var(--color-bg);
}

.consent-check input:checked {
    background: var(--color-dark);
    border-color: var(--color-dark);
}

.consent-check input::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.consent-check input:checked::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

html[data-theme="dark"] .consent-check input {
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .consent-check input:checked::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='%23121212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.consent-check input:focus-visible {
    outline: 2px solid var(--color-line);
    outline-offset: 2px;
}

.consent-check a {
    color: inherit;
    text-decoration: underline;
}

.consent-check--form {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.consent-check--compact {
    font-size: 0.82rem;
    margin-top: 8px;
    max-width: 360px;
}

.tg-consent-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta .consent-check {
    justify-content: center;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .consent-check span {
    display: inline-block;
}

.consent-btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.legal-page {
    background: var(--color-bg);
    color: var(--color-text);
}

.legal-header {
    padding: 24px 0 12px;
    border-bottom: 1px solid var(--color-line);
}

.legal-content {
    padding: var(--space-lg) 0 var(--space-xl);
}

.legal-content h1 {
    color: var(--color-dark);
    text-shadow: none;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.legal-list {
    margin-top: 24px;
    padding-left: 20px;
}

.legal-list ul {
    padding-left: 18px;
    margin-top: 10px;
}

.final-btns {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer {
    padding: var(--space-lg) 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--color-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-dark);
    border-color: currentColor;
}

/* ============================================
   Winter Atmosphere (Architectural subtle haze)
   ============================================ */
.winter-atmosphere {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.blur-flake {
    position: absolute;
    border-radius: 50%;
    background: white;
    filter: blur(60px);
    opacity: 0.04;
    animation: drift linear infinite;
}

.flake-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-duration: 45s;
}

.flake-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -50px;
    animation-duration: 60s;
    animation-direction: reverse;
}

.flake-3 {
    width: 500px;
    height: 500px;
    top: 30%;
    right: 10%;
    opacity: 0.02;
    animation-duration: 80s;
}

/* ============================================
   Gallery & Carousel
   ============================================ */
.gallery-overview h2 {
    margin-bottom: var(--space-lg);
}

.carousel-wrapper {
    position: relative;
    margin-bottom: var(--space-xl);
    overflow: hidden;
    /* Скрываем выходящие фото */
    touch-action: pan-x pan-y;
}

.carousel-main {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    gap: 0;
    /* Убираем gap для точного расчета процентов */
}

.carousel-main::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    background: var(--color-card-muted);
}

.carousel-cap {
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.carousel-nav {
    position: absolute;
    top: calc(300px - 25px);
    /* Center of 600px img */
    width: 50px;
    height: 50px;
    background: var(--color-card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav:hover {
    background: var(--color-dark);
    color: white;
}

.carousel-nav.prev {
    left: 30px;
}

.carousel-nav.next {
    right: 30px;
}

.mt-lg {
    margin-top: var(--space-lg);
}

/* ============================================
   Video (9:16 Vertical)
   ============================================ */
.video-vertical-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0;
    align-self: flex-end;
}

.video-intro-text {
    text-align: left;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    max-width: 480px;
}

.video-9-16 {
    position: relative;
    padding-top: 177.77%;
    /* 16 / 9 * 100 */
    width: 100%;
    overflow: hidden;
}

.video-9-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-center-sub {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ============================================
   Map Section (Split Layout + Photo BG)
   ============================================ */
.map-section {
    position: relative;
    background: #000;
    color: white;
    overflow: hidden;
}

.map-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.map-section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.map-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--photo-overlay);
}

.map-section .container {
    position: relative;
    z-index: 2;
}

.map-section h2,
.map-section .section-num {
    color: white;
}

.map-section .section-num {
    opacity: 0.6;
}

.map-section .btn {
    background: var(--color-hero-cta-bg);
    color: var(--color-hero-cta-text);
}

.map-coords {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.container-map-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.map-widget {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    overflow: hidden;
}

.map-iframe-wrap {
    position: relative;
    width: 100%;
}

.map-iframe-wrap iframe {
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: var(--color-card-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--color-line);
}

.map-placeholder .btn {
    max-width: 250px;
}


@media (max-width: 600px) {
    :root {
        --space-md: 24px;
        --space-lg: 48px;
        --space-xl: 64px;
        --site-header-height: 86px;
    }

    body {
        font-size: 16px;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .location-grid,
    .benefits-grid,
    .lifestyle-grid,
    .config-layout {
        grid-template-columns: 1fr;
    }

    .location-route {
        flex-direction: column;
        align-items: flex-start;
    }

    .route-schematic {
        text-align: left;
    }

    .route-points {
        grid-template-columns: 1fr;
        padding: 12px 16px;
    }

    .route-border {
        inset: 0;
    }

    .route-point {
        align-items: flex-start;
        text-align: left;
    }

    .route-dot {
        position: absolute;
        left: -26px;
        top: 6px;
    }

    .route-sub {
        max-width: 100%;
    }

    .gallery-stage {
        height: 260px;
    }

    .gallery-caption {
        left: 16px;
        bottom: 16px;
    }

    .caption-title {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }

    .caption-text {
        font-size: 0.85rem;
    }

    .location-section .location-lead {
        font-size: 0.95rem;
        margin-bottom: var(--space-sm);
    }

    .location-section .location-card {
        padding: 14px;
    }

    .route-schematic {
        padding: 10px 14px;
    }

    .route-title {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .route-sub {
        font-size: 0.82rem;
    }

    .site-header {
        display: block;
        height: auto;
        padding: 12px 0;
        background: transparent !important;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 20px !important;
    }

    .site-nav {
        width: 100%;
        gap: 16px;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .nav-link {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
        flex-shrink: 0;
    }

    .site-header .header-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-phone-btn,
    .burger-menu {
        width: 48px !important;
        height: 48px !important;
    }

    /* Fixed Header & CTA */
    .sticky-cta-mobile {
        display: block;
        position: fixed;
        bottom: 16px;
        left: 50%;
        right: auto;
        z-index: 1000;
        transform: translate(-50%, 150%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sticky-cta-mobile.visible {
        transform: translate(-50%, 0);
    }

    .sticky-cta-mobile .btn {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.7);
        padding: 8px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        border-radius: 999px;
        box-shadow: none;
        width: auto;
        backdrop-filter: blur(8px);
    }

    /* Hero Mobile */
    .hero {
        height: auto;
        min-height: 100svh;
        padding-top: 86px;
    }

    .hero-bg img {
        object-position: 65% center;
    }

    .hero-bg::after {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.5) 0%,
                rgba(0, 0, 0, 0.8) 100%);
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.22;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 1.02rem;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .hero-trust {
        gap: 6px;
        margin-bottom: var(--space-sm);
        font-size: 0.82rem;
    }

    .hero-trust-pill {
        font-size: 1em;
        padding: 5px 8px;
        letter-spacing: 0.08em;
    }

    .hero-trust-pill--main {
        font-size: 1.06em;
        letter-spacing: 0.12em;
    }

    .hero-actions .btn {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .btn-subtext {
        margin-top: 10px;
        font-size: 0.82rem;
    }

    .scroll-cue {
        bottom: 55px;
        font-size: 0.65rem;
    }

    /* Video Mobile */
    .video-body {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .video-text {
        margin-top: 24px;
        order: 2;
    }

    .video-media {
        order: 1;
        justify-content: center;
    }

    .video-vertical-wrap {
        max-width: 300px;
        margin: 0 auto;
    }

    .header {
        display: none;
        /* Hide desktop phone in hero area */
    }



    /* Key Features (Screen 01b) */
    .features-text-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .feature-item p {
        font-size: 1.05rem;
        border-bottom: 1px solid var(--color-line);
        padding-bottom: 12px;
    }

    /* Options (Screen 02) */
    .comparison-layout {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
    }

    .comp-divider {
        display: none;
    }

    .comp-item {
        padding: 24px;
        border: 1px solid var(--color-line);
        background: var(--color-card-bg);
        display: flex;
        flex-direction: column;
    }

    .comp-item.featured {
        background: var(--color-featured-bg);
        color: var(--color-featured-text);
        border: none;
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .comp-item.featured .comp-area,
    .comp-item.featured .comp-label,
    .comp-item.featured .comp-specs,
    .comp-item.featured .comp-details p {
        color: var(--color-featured-text);
    }

    .comp-area,
    .comp-item.featured .comp-area {
        font-size: 1.8rem;
        font-weight: 500;
        margin: 8px 0 16px;
        letter-spacing: -0.02em;
    }

    .comp-details p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .comp-mobile-cta {
        margin-top: 24px;
        padding: 16px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }

    .comp-item.featured .comp-mobile-cta {
        background: var(--color-btn-bg);
        color: var(--color-btn-text);
    }

    .comp-specs li {
        font-size: 1rem;
        padding: 8px 0;
    }

    .comparison-cta {
        margin-top: var(--space-md);
    }

    /* Configuration Tabs (Mobile) */
    .tabs-nav {
        display: none;
    }

    .tab-panel {
        display: block !important;
        opacity: 1 !important;
        padding: 0;
        margin-bottom: var(--space-lg);
    }

    .tab-panel:not(:last-child) {
        border-bottom: 1px solid var(--color-line);
        padding-bottom: var(--space-md);
    }

    .tab-panel::before {
        content: attr(id);
        display: block;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 0.8rem;
        margin-bottom: 16px;
        color: var(--color-muted);
    }

    #lot-a::before {
        content: 'Вариант А — 25 соток';
    }

    #lot-b::before {
        content: 'Вариант Б — 12,5 соток';
    }

    /* Specs (Screen 04) */
    .passport-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-line);
    }

    .spec-row:last-child {
        border-bottom: none;
    }

    /* Docs (Screen 06) */
    .docs-trust-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .docs-info h2 {
        text-align: center;
    }

    .docs-desc {
        text-align: center;
        margin-bottom: var(--space-md);
    }

    .docs-trust-list {
        margin-bottom: var(--space-md);
    }

    /* Gallery (Screen 07) */
    .carousel-item img {
        height: 350px;
    }

    .carousel-nav {
        display: flex;
        width: 42px;
        height: 42px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .carousel-nav.prev {
        left: 12px;
    }

    .carousel-nav.next {
        right: 12px;
    }

    .carousel-cap {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Video (Screen 08) */
    .video-vertical-wrap {
        max-width: 100%;
        margin-top: var(--space-md);
    }

    .gpzu-figure img {
        height: 220px;
    }

    /* Map (Screen 09) */
    .container-map-split {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .map-placeholder {
        height: 300px;
        background: var(--color-card-muted);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px dashed var(--color-line);
    }


    /* General Forms */
    .card-form,
    .card-form-compact,
    .partner-form-box {
        padding: var(--space-md) var(--space-sm);
    }

    .compact-form {
        gap: 12px;
    }

    .form-grid,
    .form-fields {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    input,
    select,
    textarea,
    .btn {
        width: 100%;
    }

    /* Final CTA (Screen 14) */
    .contacts-block {
        margin-top: var(--space-md);
    }

    .big-phone {
        font-size: 1.8rem;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .comp-mobile-cta {
        display: inline-block;
        margin-top: 20px;
        padding: 16px;
        font-size: 0.95rem;
    }

    .hide-mobile,
    .final-btns {
        display: none !important;
    }

    .carousel-nav {
        display: flex !important;
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    /* Mobile refinements */
    .container {
        padding: 0 var(--space-sm);
    }

    h1 {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .hero-title-main {
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-text-area {
        max-width: 100%;
        text-align: center;
    }


    .hero-tag-text {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
    }

    .hero-title-new {
        font-size: 2.3rem;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .hero-invest-badge {
        padding: 8px 16px;
        border-radius: 40px;
        width: auto;
        max-width: 90%;
    }

    .invest-desc {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-trust {
        margin-bottom: 32px;
    }

    .hero-trust {
        line-height: 1.2;
        word-break: normal;
    }

    .gallery-stage {
        height: 240px;
    }

    .carousel-item img {
        height: 300px;
    }

    .location-section .location-card p {
        font-size: 0.9rem;
    }

    .route-dot {
        top: 4px;
    }

    .config-section .config-diagram {
        padding: 14px;
    }

    .config-section .config-diagram svg text {
        font-size: 14px;
    }

    .config-section .diagram-note {
        font-size: 0.82rem;
    }

    .gpzu-figure img {
        height: 200px;
    }

    .benefit-card {
        padding: 16px;
    }

    .benefit-icon {
        width: 42px;
        height: 42px;
    }

    .benefit-kpis {
        gap: 6px;
        margin-bottom: 12px;
    }

    .benefit-kpi {
        font-size: 0.66rem;
        padding: 5px 8px;
        letter-spacing: 0.1em;
    }

    .benefit-micro {
        font-size: 0.82rem;
    }

    .lifestyle-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-intro-text {
        font-size: 0.95rem;
    }

    .map-iframe-wrap iframe,
    .map-iframe-wrap>ymaps,
    .map-iframe-wrap>* {
        height: 320px !important;
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-schematic::before {
        animation: none;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-line);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--color-line);
    background: var(--color-card-bg);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-dark);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.faq-item.is-active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.is-active .faq-icon::before {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.faq-item.is-active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

.faq-answer-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 12px;
}

.faq-answer-content li {
    position: relative;
    margin-bottom: 4px;
}

.faq-answer-content li::before {
    content: '―';
    position: absolute;
    left: -20px;
    color: var(--color-line);
}

@media (max-width: 600px) {
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }
}

/* Master FAQ Toggle */
.faq-master-toggle {
    width: 100%;
    background: var(--color-card-muted);
    border: 1px solid var(--color-line);
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-master-toggle:hover {
    border-color: var(--color-dark);
    background: var(--color-bg);
}

.faq-master-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-master-toggle.is-active svg {
    transform: rotate(180deg);
}

.faq-container-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
}

.faq-container-collapsible.is-active {
    max-height: 8000px;
    opacity: 1;
    margin-bottom: 80px;
}

/* ============================================
   Image Lightbox
   ============================================ */
.collage-item,
.gallery-stage {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
}

.lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 19, 0.95);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.is-active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    background: none;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.lightbox-close:hover {
    transform: scale(1.1);
    opacity: 1;
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav--prev {
    left: 30px;
}

.lightbox-nav--next {
    right: 30px;
}

.lightbox-nav svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 600px) {
    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}