/* ---------- ФИРМЕННЫЙ ШРИФТ NAMU PRO ----------
   От заказчика прислан один TTF-файл (NAMU-Pro Black, usWeightClass=900).
   Подключаем его для display-заголовков; основной body-текст — Manrope. */
@font-face {
    font-family: "NAMU";
    src: url("../assets/fonts/namu/NAMU-Pro.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src:
            url('../assets/fonts/RobotoCondensed/RobotoCondensed-Regular.woff') format('woff'),
            url('../assets/fonts/RobotoCondensed/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    /*font-display: swap;*/
}

/* ---------- ДИЗАЙН-СИСТЕМА ---------- */
:root {
    /* фирменные цвета (из ассетов Figma) */
    --brand-color: #0000F8; /* фирменный синий «Мириады», CTA */
    --ml-brand-hover: #2A38FF;
    --ml-navy-2: #0E2240;
    --ml-text: #122A4B;
    --secondary-color: #122A4B;
    --ml-text-mute: #6F7C8F;
    --base-text-color: #0E2545;
    --text-soft-color: #9AA4B4;
    --ml-line: #E5E8EE;
    --ml-line-soft: #EEF1F5;
    --ml-bg: #FFFFFF;
    --ml-bg-mute: #F4F6FA;
    --ml-bg-soft: #FAFBFD;
    --ml-accent: #FF5A2D; /* оранжевый тег «Готовая квартира» */
    --ml-accent-soft: #FFE7DC;
    --success-color: #1FB55B;
    --ml-card-shadow: 0 8px 32px rgba(15, 30, 60, 0.12);
    --ml-soft-shadow: 0 4px 16px rgba(15, 30, 60, 0.06);
    --feature-bg-color: #88BAFF33;
    --special-feature-bg-color: #88FF9633;
    --hot-feature-bg-color: #FE5112CC;

    /* радиусы */
    --ml-r-xs: 6px;
    --ml-r-sm: 8px;
    --ml-r-md: 12px;
    --ml-r-lg: 16px;
    --ml-r-xl: 24px;
    --ml-r-pill: 999px;

    /*--ml-font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;*/
    --ml-font-display: "NAMU", "Inter", system-ui, sans-serif;

    /* сетка на всю ширину окна */
    --ml-container: 100%;
    /* док. ч.3: контент от края ~180px на десктопе */
    --ml-pad-x: clamp(24px, 9.375vw, 180px);

    /* всё внутри */
    font-family: var(--ml-font-display);
    color: var(--base-text-color);
    background: var(--ml-bg);
    font-size: 16px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    --section-title-font-size: 34px;

    --max-visual-width: 2000px;
    --container-width: 1560px;
    --container-inline-padding: 10px;
    --container-width-with-padding: calc(var(--container-width) + 2 * var(--container-inline-padding));

    --play-btn-size: 48px;
    --play-icon-size: 70%;
    --play-btn-bg-color: rgba(0, 0, 0, 0.36);
    --hover-play-btn-bg-color: #000;

    --close-btn-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI2IDI2Ij4KICAgIDxwYXRoIGZpbGw9IiMxMjJhNGIiIGQ9Ik0xNS4yODIgMTIuOTg1IDI1LjQ5NCAyLjc3MkExLjYyMyAxLjYyMyAwIDEgMCAyMy4xOTguNDc2TDEyLjk4NSAxMC42ODggMi43NzIuNDc2QTEuNjIzIDEuNjIzIDAgMSAwIC40NzYgMi43NzJsMTAuMjEzIDEwLjIxM0wuNDc2IDIzLjE5N2ExLjYyMyAxLjYyMyAwIDEgMCAyLjI5NiAyLjI5NmwxMC4yMTMtMTAuMjEyIDEwLjIxMyAxMC4yMTJhMS42MiAxLjYyIDAgMCAwIDIuMjk2IDAgMS42MjMgMS42MjMgMCAwIDAgMC0yLjI5NnoiLz4KPC9zdmc+Cg==");
    --arrow-right-bracket-icon: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNOSA2bDYgNi02IDYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4KPC9zdmc+");
    --arrow-right-bracket-icon-w-16-color-white: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMjciIHZpZXdCb3g9IjAgMCAxNiAyNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY0NTIgMTIuMDc5QzE1LjM1MzggMTIuNzg3NiAxNS4zNTM4IDEzLjkzNjUgMTQuNjQ1MiAxNC42NDUxTDMuMDk3NjcgMjYuMTkyNkMyLjM4OTA2IDI2LjkwMTIgMS4yNDAxNyAyNi45MDEyIDAuNTMxNTU3IDI2LjE5MjZDLTAuMTc3MDU2IDI1LjQ4NCAtMC4xNzcwNTYgMjQuMzM1MSAwLjUzMTU1NyAyMy42MjY1TDEwLjc5NiAxMy4zNjIxTDAuNTMxNTU3IDMuMDk3NjFDLTAuMTc3MDU2IDIuMzg4OTkgLTAuMTc3MDU2IDEuMjQwMTEgMC41MzE1NTcgMC41MzE0OTNDMS4yNDAxNyAtMC4xNzcxMTkgMi4zODkwNiAtMC4xNzcxMTkgMy4wOTc2NyAwLjUzMTQ5M0wxNC42NDUyIDEyLjA3OVpNMTEuNTQ3NiAxMy4zNjIxVjExLjU0NzVIMTMuMzYyMVYxMy4zNjIxVjE1LjE3NjZIMTEuNTQ3NlYxMy4zNjIxWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==");
    --arrow-right-bracket-icon-w-16-color-brand: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMjciIHZpZXdCb3g9IjAgMCAxNiAyNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY0NTEgMTIuMDc5QzE1LjM1MzcgMTIuNzg3NiAxNS4zNTM3IDEzLjkzNjUgMTQuNjQ1MSAxNC42NDUxTDMuMDk3NTUgMjYuMTkyNkMyLjM4ODk0IDI2LjkwMTIgMS4yNDAwNSAyNi45MDEyIDAuNTMxNDM1IDI2LjE5MjZDLTAuMTc3MTc4IDI1LjQ4NCAtMC4xNzcxNzggMjQuMzM1MSAwLjUzMTQzNSAyMy42MjY1TDEwLjc5NTkgMTMuMzYyMUwwLjUzMTQzNSAzLjA5NzYxQy0wLjE3NzE3OCAyLjM4ODk5IC0wLjE3NzE3OCAxLjI0MDExIDAuNTMxNDM1IDAuNTMxNDkzQzEuMjQwMDUgLTAuMTc3MTE5IDIuMzg4OTQgLTAuMTc3MTE5IDMuMDk3NTUgMC41MzE0OTNMMTQuNjQ1MSAxMi4wNzlaTTExLjU0NzUgMTMuMzYyMVYxMS41NDc1SDEzLjM2MlYxMy4zNjIxVjE1LjE3NjZIMTEuNTQ3NVYxMy4zNjIxWiIgZmlsbD0iIzAwMDBGOCIvPgo8L3N2Zz4K");
    --arrow-down-w-13: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDggMTMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0zLjMyODA5IDEyLjM1MzZDMy41MjMzNSAxMi41NDg4IDMuODM5OTMgMTIuNTQ4OCA0LjAzNTE5IDEyLjM1MzZMNy4yMTcxNyA5LjE3MTU3QzcuNDEyNDQgOC45NzYzMSA3LjQxMjQ0IDguNjU5NzMgNy4yMTcxNyA4LjQ2NDQ3QzcuMDIxOTEgOC4yNjkyIDYuNzA1MzMgOC4yNjkyIDYuNTEwMDcgOC40NjQ0N0wzLjY4MTY0IDExLjI5MjlMMC44NTMyMTQgOC40NjQ0N0MwLjY1Nzk1MiA4LjI2OTIgMC4zNDEzNjkgOC4yNjkyIDAuMTQ2MTA3IDguNDY0NDdDLTAuMDQ5MTU1MSA4LjY1OTczIC0wLjA0OTE1NTEgOC45NzYzMSAwLjE0NjEwNyA5LjE3MTU3TDMuMzI4MDkgMTIuMzUzNlpNMy42ODE2NCAwTDMuMTgxNjQgMi4xODU1N2UtMDhMMy4xODE2NCAxMkwzLjY4MTY0IDEyTDQuMTgxNjQgMTJMNC4xODE2NCAtMi4xODU1N2UtMDhMMy42ODE2NCAwWiIgZmlsbD0iIzBFMjU0NSIgZmlsbC1vcGFjaXR5PSIwLjgiLz4KPC9zdmc+Cg==");
    --arrow-down-w-13-dark: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDggMTMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0zLjMyODA5IDEyLjM1MzZDMy41MjMzNSAxMi41NDg4IDMuODM5OTMgMTIuNTQ4OCA0LjAzNTE5IDEyLjM1MzZMNy4yMTcxNyA5LjE3MTU3QzcuNDEyNDQgOC45NzYzMSA3LjQxMjQ0IDguNjU5NzMgNy4yMTcxNyA4LjQ2NDQ3QzcuMDIxOTEgOC4yNjkyIDYuNzA1MzMgOC4yNjkyIDYuNTEwMDcgOC40NjQ0N0wzLjY4MTY0IDExLjI5MjlMMC44NTMyMTQgOC40NjQ0N0MwLjY1Nzk1MiA4LjI2OTIgMC4zNDEzNjkgOC4yNjkyIDAuMTQ2MTA3IDguNDY0NDdDLTAuMDQ5MTU1MSA4LjY1OTczIC0wLjA0OTE1NTEgOC45NzYzMSAwLjE0NjEwNyA5LjE3MTU3TDMuMzI4MDkgMTIuMzUzNlpNMy42ODE2NCAwTDMuMTgxNjQgMi4xODU1N2UtMDhMMy4xODE2NCAxMkwzLjY4MTY0IDEyTDQuMTgxNjQgMTJMNC4xODE2NCAtMi4xODU1N2UtMDhMMy42ODE2NCAwWiIgZmlsbD0iIzBFMjU0NSIvPgo8L3N2Zz4K");
    --arrow-right-w-13: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEzIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMi4zNTM2IDQuMDM1NTZDMTIuNTQ4OCAzLjg0MDMgMTIuNTQ4OCAzLjUyMzcyIDEyLjM1MzYgMy4zMjg0NUw5LjE3MTU3IDAuMTQ2NDczQzguOTc2MzEgLTAuMDQ4Nzg5MyA4LjY1OTczIC0wLjA0ODc4OTMgOC40NjQ0NyAwLjE0NjQ3M0M4LjI2OTIgMC4zNDE3MzUgOC4yNjkyIDAuNjU4MzE4IDguNDY0NDcgMC44NTM1OEwxMS4yOTI5IDMuNjgyMDFMOC40NjQ0NyA2LjUxMDQzQzguMjY5MiA2LjcwNTcgOC4yNjkyIDcuMDIyMjggOC40NjQ0NyA3LjIxNzU0QzguNjU5NzMgNy40MTI4IDguOTc2MzEgNy40MTI4IDkuMTcxNTcgNy4yMTc1NEwxMi4zNTM2IDQuMDM1NTZaTTAgMy42ODIwMUwzLjE5NzM1ZS0xMCA0LjE4MjAxTDEyIDQuMTgyMDFMMTIgMy42ODIwMUwxMiAzLjE4MjAxTC0zLjE5NzM1ZS0xMCAzLjE4MjAxTDAgMy42ODIwMVoiIGZpbGw9IiMwRTI1NDUiIGZpbGwtb3BhY2l0eT0iMC44Ii8+Cjwvc3ZnPgo=");
    --arrow-right-w-13-dark: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEzIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMi4zNTM2IDQuMDM1NTZDMTIuNTQ4OCAzLjg0MDMgMTIuNTQ4OCAzLjUyMzcyIDEyLjM1MzYgMy4zMjg0NUw5LjE3MTU3IDAuMTQ2NDczQzguOTc2MzEgLTAuMDQ4Nzg5MyA4LjY1OTczIC0wLjA0ODc4OTMgOC40NjQ0NyAwLjE0NjQ3M0M4LjI2OTIgMC4zNDE3MzUgOC4yNjkyIDAuNjU4MzE4IDguNDY0NDcgMC44NTM1OEwxMS4yOTI5IDMuNjgyMDFMOC40NjQ0NyA2LjUxMDQzQzguMjY5MiA2LjcwNTcgOC4yNjkyIDcuMDIyMjggOC40NjQ0NyA3LjIxNzU0QzguNjU5NzMgNy40MTI4IDguOTc2MzEgNy40MTI4IDkuMTcxNTcgNy4yMTc1NEwxMi4zNTM2IDQuMDM1NTZaTTAgMy42ODIwMUwzLjE5NzM1ZS0xMCA0LjE4MjAxTDEyIDQuMTgyMDFMMTIgMy42ODIwMUwxMiAzLjE4MjAxTC0zLjE5NzM1ZS0xMCAzLjE4MjAxTDAgMy42ODIwMVoiIGZpbGw9IiMwRTI1NDUiIC8+Cjwvc3ZnPgo=");
    --arrow-right-w29-color-brand: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDI5IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yOC4zNTM2IDQuMDM1NTZDMjguNTQ4OCAzLjg0MDMgMjguNTQ4OCAzLjUyMzcyIDI4LjM1MzYgMy4zMjg0NUwyNS4xNzE2IDAuMTQ2NDczQzI0Ljk3NjMgLTAuMDQ4Nzg5MyAyNC42NTk3IC0wLjA0ODc4OTMgMjQuNDY0NSAwLjE0NjQ3M0MyNC4yNjkyIDAuMzQxNzM1IDI0LjI2OTIgMC42NTgzMTggMjQuNDY0NSAwLjg1MzU4TDI3LjI5MjkgMy42ODIwMUwyNC40NjQ1IDYuNTEwNDNDMjQuMjY5MiA2LjcwNTcgMjQuMjY5MiA3LjAyMjI4IDI0LjQ2NDUgNy4yMTc1NEMyNC42NTk3IDcuNDEyOCAyNC45NzYzIDcuNDEyOCAyNS4xNzE2IDcuMjE3NTRMMjguMzUzNiA0LjAzNTU2Wk0wIDMuNjgyMDFWNC4xODIwMUgyOFYzLjY4MjAxVjMuMTgyMDFIMFYzLjY4MjAxWiIgZmlsbD0iIzAwMDBGOCIvPgo8L3N2Zz4K");
    --arrow-right-w29-color-base: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDI5IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yOC4zNTM2IDQuMDM1NTZDMjguNTQ4OCAzLjg0MDMgMjguNTQ4OCAzLjUyMzcyIDI4LjM1MzYgMy4zMjg0NUwyNS4xNzE2IDAuMTQ2NDczQzI0Ljk3NjMgLTAuMDQ4Nzg5MyAyNC42NTk3IC0wLjA0ODc4OTMgMjQuNDY0NSAwLjE0NjQ3M0MyNC4yNjkyIDAuMzQxNzM1IDI0LjI2OTIgMC42NTgzMTggMjQuNDY0NSAwLjg1MzU4TDI3LjI5MjkgMy42ODIwMUwyNC40NjQ1IDYuNTEwNDNDMjQuMjY5MiA2LjcwNTcgMjQuMjY5MiA3LjAyMjI4IDI0LjQ2NDUgNy4yMTc1NEMyNC42NTk3IDcuNDEyOCAyNC45NzYzIDcuNDEyOCAyNS4xNzE2IDcuMjE3NTRMMjguMzUzNiA0LjAzNTU2Wk0wIDMuNjgyMDFWNC4xODIwMUgyOFYzLjY4MjAxVjMuMTgyMDFIMFYzLjY4MjAxWiIgZmlsbD0iIzBFMjU0NSIvPgo8L3N2Zz4K");
    --dropdown-bracket-arrow-w-30-color-brand: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAzMCAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMUwxNS41IDExTDI4LjUgMSIgc3Ryb2tlPSIjMDAwMEY4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K");
    --heart-icon-soft: url('../assets/img/heart-w-32-color-soft.svg');
    --heart-icon-hilight: url('../assets/img/heart-w-32-color-hilight.svg');
    --play-icon-white: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgPHBhdGggZD0iTTggNXYxNGwxMS03eiI+PC9wYXRoPg0KPC9zdmc+");

    --header-height: 44px;
    --header-top-offset: 12px;

    @media (min-width: 375px) {
        --container-inline-padding: 16px;
    }

    @media (min-width: 641px) {
        --header-top-offset: 16px;
    }

    @media (min-width: 992px) {
        --header-height: 60px;
        --header-top-offset: 39px;
        --container-inline-padding: 24px;
        --play-btn-size: 60px;
        --section-title-font-size: 40px;
    }

    @media (min-width: 1200px) {
        --header-height: 80px;
    }

    @media (min-width: 1400px) {
        --section-title-font-size: 55px;
        --play-btn-size: 100px;
    }

}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

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

html,
body {
    scrollbar-gutter: stable;
}

body {
    margin: 0;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

dl, dt, dd {
    margin: 0;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

label {
    display: block;
}

textarea {
    resize: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

/* ---------- Применение NAMU для display-заголовков ---------- */
h1, h2,
.hero__form-title,
.strip__title,
.build-scale__card-title,
.stat__num,
.promo__title,
.countdown__num,
.plans__title,
.comfort__title,
.quiz__title,
.finishing__title,
.buy__title,
.commerce__title,
.build-progress__title,
.subscribe-banner__title,
.pano__title,
.company-facts__num,
.calc__title-card h3,
.buy__hero-title,
.partners__title,
.flat-card__title,
.comfort-card__name,
.genplan__card-title {
    font-weight: 900;
}

/* ---------- КОНТЕЙНЕРЫ ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container-width) + 2 * var(--ml-pad-x));
    margin: 0 auto;
    padding-left: var(--ml-pad-x);
    padding-right: var(--ml-pad-x);
    box-sizing: border-box;
}

/* ---------- ТИПОГРАФИКА ---------- */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-color);
}

.h1 {
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--secondary-color);
}

.h2 {
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: var(--secondary-color);
}

.h3 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--secondary-color);
}

.h4 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--secondary-color);
}

.text {
    color: var(--ml-text-mute);
    font-size: 16px;
    line-height: 1.5;
}

.text_lg {
    font-size: 18px;
    line-height: 1.55;
}

.text_sm {
    font-size: 14px;
    line-height: 1.45;
}

.text_dark {
    color: var(--ml-text);
}

.page-title {
    font-size: 34px;

    @media (min-width: 992px) {
        font-size: 70px;
    }
}

/* ---------- КНОПКИ ---------- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--btn-height, 40px);
    width: var(--btn-width, 100%);
    padding: 0 22px;
    border-radius: 10px;
    /*font-family: inherit;*/
    font-size: var(--btn-font-size, 18px);
    font-weight: 900;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    user-select: none;
    text-align: center;
}

.btn:active {
    filter: brightness(0.9);
}

.btn_primary {
    background-color: var(--brand-color);
    color: #fff;
}

.btn_primary:hover {
    background-size: 100% 100%;
    color: #fff;
}

@media (hover: hover) {
    .btn_primary {
        background-image: linear-gradient(#25258F, #25258F);
        background-position: center;
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-color: var(--brand-color);
        transition: background-size 0.2s ease;
    }

    .btn_primary:hover {
        background-size: 100% 100%;
        color: #fff;
    }
}

.btn_navy {
    background: var(--secondary-color);
    color: #fff;
}

.btn_navy:hover {
    background: var(--ml-navy-2);
    color: #fff;
}

.btn_ghost {
    background: transparent;
    color: var(--brand-color);
    border: 1.5px solid var(--brand-color);
}

.btn_ghost:hover {
    background: var(--brand-color);
    color: #fff;
}

.btn_ghost-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn_ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn_soft {
    background: var(--ml-bg-mute);
    color: var(--secondary-color);
}

.btn_soft:hover {
    background: #E9EDF3;
    color: var(--secondary-color);
}

.btn_block {
    display: flex;
    width: 100%;
}

.btn_sm {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.btn_lg {
    height: 56px;
    padding: 0 28px;
    font-size: 16px;
}

.btn_icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

.btn_icon-sm {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .btn {
        height: var(--btn-height, 50px);
    }
}

.plans__paginate-btn,
.slide-btn {
    --btn-bg-color: var(--brand-color);
    --hover-btn-bg-color: #fff;
    --btn-icon: var(--arrow-right-bracket-icon-w-16-color-white);
    --btn-border-color: #fff;
    --hover-border-color: var(--brand-color);
    position: relative;
    width: var(--slide-btn-size, 54px);
    height: var(--slide-btn-size, 54px);
    border-radius: 50%;
    background: var(--btn-bg-color);
    border: 2px solid var(--btn-border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
}

.plans__paginate-btn::after,
.slide-btn::after {
    position: absolute;
    inset: 0;
    content: '';
    background-image: var(--btn-icon);
    background-position: 55% center;
    background-repeat: no-repeat;
    background-size: var(--slide-icon-size, 30%);
}

.plans__paginate-btn_prev::after,
.slide-btn_prev::after {
    scale: -1 1;
}

@media (hover: hover) {
    .plans__paginate-btn:hover,
    .slide-btn:hover {
        --btn-bg-color: var(--hover-btn-bg-color);
        --btn-border-color: var(--hover-border-color);
        --btn-icon: var(--arrow-right-bracket-icon-w-16-color-brand);
    }
}

.slide-btn[disabled] {
    background: var(--ml-line);
    color: var(--text-soft-color);
    cursor: not-allowed;
    box-shadow: none;
}

.slider-nav-block {
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-color: #00EEC5;
    --swiper-pagination-bullet-horizontal-gap: 2px;
    display: flex;
    align-items: center;
    gap: 10px;

    .swiper-pagination {
        position: static;
    }

    .swiper-pagination-bullet {
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.5);
    }

    .swiper-pagination-bullet-active {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    }

    .swiper-pagination-bullets.swiper-pagination-horizontal {
        width: auto;
        display: flex;
    }


}

/* ---------- ФОРМЫ ---------- */
.input-base-theme {
    --input-height: 38px;
    --inline-padding: 0;
    --input-font-size: 16px;
    --input-text-color: var(--base-text-color);
    /*--focusInputBoxShadow: 0 0 0 1px #777;*/
    --input-border-color: #0E254599;
    --focus-input-border-color: var(--brand-color);
    --input-border-bottom: 1px solid;
    --placeholder-color: #0E254599;

    @media (min-width: 992px) {
        --input-height: 42px;
    }
}

.input-item {
    input, textarea, select {
        width: var(--input-width, 100%);
        outline: none;
    }
}

.input-item__field {
    height: var(--input-height);
    padding-left: var(--inline-padding, 1em);
    padding-right: var(--inline-padding, 1em);
    font-size: var(--input-font-size);
    color: var(--input-text-color);
    background-color: var(--input-bg-color, transparent);
    border: var(--input-border, none) var(--input-border-color, transparent);
    border-bottom: var(--input-border-bottom, var(--input-border, none)) var(--input-border-color, transparent);
    border-radius: var(--input-border-radius, 0);
    box-shadow: var(--input-box-shadow, none);
}

.input-item__head {
    margin-bottom: var(--top-label-gap, 1em);
    font-size: var(--input-head-font-size);
}

.input-item__head-postfix {
    color: var(--input-head-postfix-color);
}

textarea.input-item__field {
    height: var(--text-area-height, var(--input-height));
    padding-top: calc(var(--input-height) / 2 - 0.5em);
}

.input-item__field::placeholder {
    color: var(--placeholder-color);
}

.input-item__field:focus {
    --input-border-color: var(--focus-input-border-color);
}

.input-item__label-text {
    display: block;
    font-size: var(--top-label-font-size, var(--input-head-font-size));
    line-height: 1;
    color: var(--top-label-color);
}

.textarea {
    padding: 12px 16px;
    min-height: 110px;
    height: auto;
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--brand-color);
    /*box-shadow: 0 0 0 3px rgba(0, 0, 248, 0.10);*/
}

.input::placeholder,
.textarea::placeholder {
    color: var(--text-soft-color);
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-item__box {
    flex-shrink: 0;
    width: var(--checkbox-size, 16px);
    height: var(--checkbox-size, 16px);
    border: 1.5px solid var(--ml-line);
    border-radius: var(--checkbox-radius, 4px);
    background: #fff;
    box-shadow: var(--checkbox-shadow, none);
    position: relative;
    margin-top: 2px;
    margin-right: var(--checkbox-right-margin, 1em);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox-item input:checked + .checkbox-item__box {
    /*border-color: var(--brand-color);*/
}

.checkbox-item input:checked + .checkbox-item__box::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAzMCAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzQzXzI2ODQpIj4KPHBhdGggZD0iTTI5LjMwMjkgNS4wNjY3N0MyOC4zNzQ3IDQuMTA2MzUgMjYuODY3NSA0LjEwNjk1IDI1LjkzOCA1LjA2Njc3TDEwLjc5MzYgMjAuNzE2Nkw0LjA2MjU3IDEzLjc2MTNDMy4xMzMxMyAxMi44MDA4IDEuNjI2NTIgMTIuODAwOCAwLjY5NzA4MSAxMy43NjEzQy0wLjIzMjM2IDE0LjcyMTcgLTAuMjMyMzYgMTYuMjc4NSAwLjY5NzA4MSAxNy4yMzg5TDkuMTEwNTEgMjUuOTMyOEM5LjU3NDk0IDI2LjQxMjcgMTAuMTgzOSAyNi42NTMzIDEwLjc5MyAyNi42NTMzQzExLjQwMiAyNi42NTMzIDEyLjAxMTYgMjYuNDEzMyAxMi40NzYgMjUuOTMyOEwyOS4zMDI5IDguNTQ0MzhDMzAuMjMyNCA3LjU4NDYzIDMwLjIzMjQgNi4wMjcxMyAyOS4zMDI5IDUuMDY2NzdaIiBmaWxsPSIjMDAwMEY4Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfNDNfMjY4NCI+CjxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMSIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");
    background-position: center;
    background-repeat: no-repeat;
    background-size: var(--check-size, 10px);
}

.submit-agreement {
    font-size: var(--agreement-font-size, 12px);
    line-height: 1;
    color: var(--agreement-color, #0E254599);

    a {
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}

.ss-content {
    padding-bottom: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
}

.ss-content .ss-list .ss-option:hover {
    background-color: transparent;
    color: var(--brand-color);
}

.ss-content .ss-list .ss-option.ss-highlighted, .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    background-color: transparent;
    color: var(--brand-color);
}


/* ---------- БЕЙДЖИ И ТЕГИ ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--ml-r-pill);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    background: var(--ml-bg-mute);
    color: var(--secondary-color);
}

.tag_accent {
    background: var(--ml-accent);
    color: #fff;
    font-weight: 600;
}

.tag_brand {
    background: var(--brand-color);
    color: #fff;
}

.tag_soft {
    background: #E7EEFF;
    color: var(--brand-color);
}

.tag_success {
    background: #DCF6E6;
    color: var(--ml-success);
}

.is-modal-open {
    overflow: hidden;
}

.base-modal {
    --close-btn-right-offset: -5px;
    --close-btn-top-offset: 5px;
    --modal-close-size: 40px;
    /*--modal-content-inside-padding: 0;*/
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background-color: var(--modal-outer-bg-color, transparent);
    border: none;
    overflow: hidden;
}

.base-modal:not(._open) {
    display: none;
}

@media (min-width: 992px) {
    .base-modal {
        --modal-close-size: 63px;
        --close-btn-right-offset: 9px;
        --close-btn-top-offset: -9px;
    }
}

.base-modal:not([open]) {
    display: none !important;
}

.base-modal::backdrop {
    background-color: #0E25454D;
}

.base-modal__close {
    position: absolute;
    z-index: 100;
    right: 2px;
    top: 2px;
    padding: 0;
    width: var(--modal-close-size, 24px);
    height: var(--modal-close-size, 24px);
    background-color: #fff;
    background-image: var(--close-btn-icon);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .base-modal__close {
        width: var(--modal-close-size, 63px);
        height: var(--modal-close-size, 63px);
        background-size: 26px;
    }
}

@media (hover: hover) {
    .base-modal__close {
        transition: background-size 0.2s ease, box-shadow 0.2s ease;
    }

    .base-modal__close:hover {
        background-size: 19px;
        box-shadow: inset 0 0 0 1px rgb(212, 212, 212);

        @media (min-width: 992px) {
            background-size: 30px;
        }
    }


}

.base-modal._name_compare {
    .base-modal__close {
        right: 52px;
    }

    .base-modal__inner {
        padding-right: calc(var(--modal-close-size) + var(--close-btn-right-offset) + 60px);
    }

    .base-modal__pagination {
        position: absolute;
        z-index: 100;
        right: 2px;
        bottom: calc(var(--modal-close-size) + var(--close-btn-top-offset));
        display: flex;
        align-items: center;
        justify-content: center;
        width: 106px;
        height: 52px;
        line-height: 1.2;
        font-size: 20px;
        background-color: #fff;
        border-radius: 9999px;
    }
}


.base-modal__content-head {
    margin-bottom: var(--modal-content-head-bottom-margin, 0);
}

.base-modal__content-slot {
    overflow: auto;
    max-height: 100%;
    max-width: var(--modal-max-width, 100%);
}

.base-modal__inner {
    position: relative;
    display: flex;
    justify-content: center;
    max-height: 100%;
    max-width: calc(100% - var(--container-inline-padding));
    height: fit-content;
    padding: calc(var(--modal-close-size) + var(--close-btn-top-offset)) calc(var(--modal-close-size) + var(--close-btn-right-offset));
    overflow: hidden;
}

.base-modal__content {
    width: var(--modal-content-width);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--modal-content-top-padding, var(--modal-content-block-padding)) var(--modal-content-inside-padding) var(--modal-content-bottom-padding, var(--modal-content-block-padding));
    background-color: var(--modal-bg-color, #fff);
    border-radius: var(--modal-border-radius, 45px);
}

.base-modal__content-body {
    overflow: auto;
    flex-grow: 1;
    margin-right: -20px;
    padding-right: 20px;
}

.base-modal__subtitle {
    margin-top: var(--modal-subtitle-top-margin, 0.8em);
    font-size: var(--modal-subtitle-font-size, 22px);
}

.base-modal__subtitle._hide {
    display: none !important;
}

@media (min-width: 992px) {
    .base-modal__subtitle {
        font-size: var(--modal-subtitle-font-size, 30px);
    }
}

.base-modal__title {
    font-weight: 900;
    font-size: var(--modal-title-font-size, 34px);
}

.base-modal__title:empty {
    display: none;
}

@media (min-width: 992px) {
    .base-modal__title {
        font-size: var(--modal-title-font-size, 50px);
    }
}

@media (max-width: 400px) {

    .base-modal {
        --modal-border-radius: 0;
        --modal-content-inside-padding: var(--container-inline-padding);

        align-items: flex-end;
    }

    .base-modal__close {
        top: 15px;
    }

    .base-modal__content {
        height: 100%;
        /*padding-right: var(--container-inline-padding);*/
        /*padding-left: var(--container-inline-padding);*/
    }

    .base-modal__inner {
        flex-grow: 1;
        max-width: 100%;
        width: 100%;
        height: 100%;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
        padding-top: calc(var(--modal-close-size) + 30px);
    }

    .base-modal__content-slot {
        width: 100%;
    }
}

.base-modal_type_complete {
    --modal-subtitle-font-size: 20px;
}

.base-modal_type_gallery {
    --modal-max-width: none;

    .base-modal__inner {
        width: 100%;
    }

    .base-modal__content-slot {
        width: 100%;
        height: 100%;
    }

    .base-modal__content {
        width: 100%;
        height: 100%;
    }

    .gallery-popup__body {
        display: contents;
        padding-top: 40px;
    }

    .gallery-popup__footer {
        display: flex;
        justify-content: space-between;
        padding-bottom: 50px;
        padding-top: 30px;
        font-size: 24px;
        color: #0000F8;
    }

    .gallery-popup__media-box {
        min-height: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding-top: 50px;

        .swiper {
            min-width: 0;
            aspect-ratio: 6/5;
            max-width: 100%;
        }
    }

    .gallery-popup__slide {
        aspect-ratio: 6/5;
        position: relative;
        overflow: hidden;

        img {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .gallery-popup__slide-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        padding: 6px 12px;
        font-size: 18px;
        color: #fff;
        border-radius: 20px;
        border: 1px solid;

        @media (min-width: 992px) {
            top: 26px;
            left: 26px;
            font-size: 42px;
            border-radius: 9px;
            border-width: 3px;
        }
    }

    @media (min-width: 992px) {
        .base-modal__inner {
            height: 100%;
        }

        .gallery-popup__media-box {
            position: relative;
            padding-right: 100px;
            padding-left: 100px;
            max-width: 90%;
            margin-left: auto;
            margin-right: auto;

            .swiper {
                flex-grow: 1;
                border-radius: 40px;
            }

            .swiper-slide {
                height: auto;
            }

            .slide-btn {
                position: absolute;
                z-index: 3;
                top: 50%
            }

            .slide-btn_prev {
                left: 0;
            }

            .slide-btn_next {
                right: 0;
            }
        }

        .slider-nav-block {
            display: contents;
        }
    }

    @media (max-width: 991px) {
        .gallery-popup__media-box {
            height: 100%;
            display: flex;
            flex-direction: column;
            padding-right: 10px;
            padding-left: 10px;

            .swiper {
                width: 100%;
                min-width: 0;
            }
        }

        .gallery-popup__footer {
            margin-top: auto;
            padding-right: 20px;
            padding-left: 20px;
        }

        .slider-nav-block {
            gap: 100px;
            padding-right: 20px;
            padding-left: 20px;
            padding-top: 20px;
            justify-content: center;
        }
    }

    @media (max-width: 575px) {
        .base-modal__inner {
            padding-right: 0;
            padding-left: 0;
        }
    }
}

.base-modal_type_form {
    --modal-max-width: 682px;
    --modal-content-block-padding: 30px;
    --modal-content-inside-padding: 40px;
    --modal-content-head-bottom-margin: 1.5em;
    --modal-subtitle-font-size: 18px;

    @media (min-width: 992px) {
        --agreement-font-size: 18px;
    }
}

.base-modal:not(._name_subscribe) {
    .popup-form-body__input-item_name_mail {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .base-modal_type_form {
        --modal-content-inside-padding: 86px;
        --modal-content-top-padding: 55px;
        --modal-content-bottom-padding: 68px;
        --modal-subtitle-font-size: 27px;
    }
}

.base-modal_type_form .input-base-theme {
    --input-height: 46px;
    --input-font-size: 20px;
}

@media (min-width: 992px) {
    .base-modal_type_form .input-base-theme {
        --input-height: 52px;
        --input-font-size: 24px;
    }
}

.base-modal_type_complete {
    --modal-max-width: 682px;
    --modal-content-block-padding: 30px;
    --modal-content-inside-padding: 40px;
    --modal-content-head-bottom-margin: 1em;
}

@media (min-width: 992px) {
    .base-modal_type_complete {
        --modal-content-inside-padding: 86px;
        --modal-content-top-padding: 55px;
        --modal-content-bottom-padding: 68px;
    }
}

.base-modal_type_media {
    --modal-max-width: none;
    --modal-content-block-padding: 20px;
    --modal-content-inside-padding: 20px;

    .base-modal__inner {
        width: 100%;
        /*height: 100%;*/
        height: auto;
    }

    .base-modal__content-body {
        flex-grow: 0;
    }

    .base-modal__content-head {
        display: none;
    }

    .base-modal__content-slot {
        width: 100%;
        /*height: 100%;*/
    }

    .base-modal__content {
        width: 100%;
        height: auto;
        /*height: 100%;*/
    }

    .media-popup {
        overflow: hidden
    }

    .media-popup__body {
        display: contents;
        /*aspect-ratio: 16/9;*/
        /*position: relative;*/
        /*overflow: hidden;*/

        /*img {*/
        /*    position: absolute;*/
        /*    left: 0;*/
        /*    top: 0;*/
        /*    width: 100%;*/
        /*    height: 100%;*/
        /*    object-fit: cover;*/
        /*}*/
    }

    .media-popup__iframe-container {
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
        border-radius: 10px;
        /*position: absolute;*/
        /*inset: 0;*/

        iframe {
            width: 100%;
            height: 100%;
            border: none;
            /*aspect-ratio: 16/9;*/
        }

        @media (min-width: 992px) {
            border-radius: 24px;
        }
    }

    @media (min-width: 400px) and (max-width: 991px) {
        --modal-border-radius: 16px;
    }

    @media (max-width: 991px) {
        .base-modal__inner {
            padding-right: 0;
            padding-left: 0;
        }
    }

    @media (max-width: 575px) {
        align-items: flex-end;

        .base-modal__inner {
            max-width: 100%;
            padding-bottom: 0;
        }

        .base-modal__content {
            padding-right: 0;
            padding-left: 0;
            border-radius: 0;
        }

        .media-popup__iframe-container {
            border-radius: 0;
        }
    }
}

.base-modal_type_nav {
    --modal-max-width: none;
    --modal-content-width: 700px;
}

@media (min-width: 401px) {
    .base-modal_type_nav {
        --modal-content-inside-padding: 30px;
        --modal-content-block-padding: 30px;
    }
}

@media (min-width: 1200px) {
    .base-modal_type_nav {
        --modal-content-inside-padding: 80px;
        --modal-content-block-padding: 30px;
    }
}

@media (max-width: 400px) {
    .base-modal_type_nav {
        --modal-content-block-padding: 0px;
        --modal-content-inside-padding: 20px;
    }
}

.popup-form-body__agreement {
    --checkbox-size: 24px;
    --check-size: 16px;
    margin-top: 16px;
    max-width: 35ch;
}

.popup-form-body__inputs {
    display: grid;
    gap: 10px;
}

.popup-content-tabs__item-next,
.popup-form-body__submit {
    --btn-font-size: 20px;
    border-radius: 15px;
}

.popup-form-body__submit {
    margin-top: 30px;
}

.popup-nav__link {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 19px;
}

.popup-nav__links {
    display: grid;
    gap: 10px;
    margin-top: 40px;
}

.popup-nav-head {
    padding-top: 40px;
}

.popup-nav-logo img {
    width: 100%;
    max-width: 400px;
}

.popup-nav-phone {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 26px;
    color: #0000F8;
}

.popup-nav-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}

.popup-nav-footer__callback-btn {
    --btn-font-size: 18px;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .popup-content-tabs__item-next,
    .popup-form-body__submit {
        --btn-height: 59px;
        --btn-font-size: 27px;
    }
}

.compare-section__card-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 13px;
    padding: 0.2em 1em;
    border-radius: var(--ml-r-pill);
    font-size: 6px;
    line-height: 1;
    background: var(--hot-feature-bg-color);
    color: #fff;
    pointer-events: none;
}

.compare-section__card-badges {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: grid;
    gap: 5px;
}

.compare-section__card-base-block {
    position: relative;
}

.compare-section__card-img-block {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.compare-section__card-meta {
    font-size: 12px;
    line-height: 1.22;
    color: #0E2545CC;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.compare-section__card-param-item {
    display: flex;
    align-items: center;
    font-size: 18px;

    .currency {
        margin-left: 0.5em;
        font-weight: 900;
    }

    @media (min-width: 992px) {
        font-size: 20px;
    }
}

.compare-section__card-remove {
    position: absolute;
    right: var(--cell-inline-padding);
    top: 10px;
    display: flex;
    width: 11px;
    height: 11px;
    padding: 0;
    color: #0E2545CC;

    &::after {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 30px;
        height: 30px;
        content: '';
        translate: -50% -50%;
    }

    svg {
        width: 100%;
        height: 100%;
    }
}

@media (hover: hover) {
    .compare-section__card-remove {
        transition: color 0.2s;
    }

    .compare-section__card-remove svg {
        transition: scale 0.2s;
    }

    .compare-section__card-remove:hover {
        color: #0e2545;

        svg {
            scale: 1.1;
        }
    }
}

.compare-section__card-title {
    font-size: 16px;

    @media (min-width: 992px) {
        font-size: 30px;
    }
}

.compare-section__footer {
    margin-top: 30px;

    @media (min-width: 992px) {
        display: flex;
        justify-content: flex-end;
    }
}

.compare-section__footer-action {
    @media (min-width: 576px) {
        --btn-width: max-content;
        min-width: 387px;
    }
}

.compare-section__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.compare-section__table {
    --table-border-color: #aaa;
    --table-border: 1px solid var(--table-border-color);
}

.compare-section__table-header-cell {
    font-family: 'Roboto Condensed', system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.22;

    @media (min-width: 992px) {
        font-size: 26px;

        &:first-child {
            font-size: 30px;
        }
    }
}

@media (min-width: 1200px) {
    .compare-section__table-header-cell,
    .compare-section__card-param-item {
        height: var(--cell-height);
        padding-top: var(--cell-block-padding);
        padding-bottom: var(--cell-block-padding);
    }

    .compare-section__table-header-cell:first-child,
    .compare-section__card-base-block {
        height: var(--head-cell-height);
        padding-top: 0;
    }

    .compare-section__card {
        flex-shrink: 0;
        width: 50%;
        border-right: var(--table-border);
    }

    .compare-section__card-base-block {
        display: grid;
        grid-template-columns: 100px 1fr;
        grid-template-areas:
                "img title"
                "img meta";
        column-gap: 10px;
    }

    .compare-section__card-img-block {
        grid-area: img;
    }

    .compare-section__card-meta {
        grid-area: meta;
        margin-top: 22px;
    }

    .compare-section__card-remove {
        top: 0;
        width: 14px;
        height: 14px;
        translate: 100% 0;
    }

    .compare-section__card-title {
        grid-area: title;

        sup {
            font-size: 0.7em;
        }
    }

    .compare-section__card-cell {
        padding-left: var(--cell-inline-padding);
        padding-right: var(--cell-inline-padding);
        border-bottom: var(--table-border);
    }

    .compare-section__card-param-item {
        overflow: auto;
    }

    .compare-section__inner {
        padding-right: 0;
    }

    .compare-section__table {
        --cell-height: 72px;
        --cell-block-padding: 17px;
        --cell-inline-padding: 30px;
        --head-cell-height: 147px;
        display: grid;
        grid-template-columns: max-content 1fr;
    }

    .compare-section__table-body {
        overflow: auto;
        display: flex;
        padding-right: var(--container-inline-padding);
    }

    .compare-section__table-header-cell {
        min-width: 298px;
        padding-right: var(--cell-inline-padding);
        border-bottom: var(--table-border);
        border-right: var(--table-border);

    }

    .compare-section__card-cell_height_lg,
    .compare-section__table-header-cell_height_lg {
        height: 82px;
    }
}

@media (min-width: 1400px) {
    .compare-section__card {
        width: calc(100% / 3);
    }
}

@media (max-width: 1199px) {
    .compare-section__card-base-block {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .compare-section__card-img-block {
        margin-right: 20px;
    }

    .compare-section__card-meta {
        margin-top: 10px;
    }

    .compare-section__card-title {
        margin-top: 10px;
    }

    .compare-section__inner {
        padding-right: 0;
        padding-left: 0;
    }

    .compare-section__table {
        --cell-block-padding: 10px;
        --cell-inline-padding: 10px;
        overflow: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }

    .compare-section__table-body {
        display: contents;
    }

    .compare-section__table-header {
        display: flex;
    }

    .compare-section__table-header-cell,
    .compare-section__card-cell {
        flex-shrink: 0;
        width: 240px;
        padding: var(--cell-block-padding) var(--cell-inline-padding);
        border-left: var(--table-border);
        border-bottom: var(--table-border);
    }

    .compare-section__card {
        display: flex;
    }
    
    .compare-section__table-header-cell {
        padding-top: 0;
    }
    
    .compare-section__card-cell {


    }
}

@media (max-width: 991px) {
    .compare-section__table-header-cell,
    .compare-section__card-cell {
        width: 157px;
    }
}

.favorite-cards-section {
    --items-gap: 17px;

    @media (min-width: 992px) {
        --items-gap: 30px;
    }
}

.favorite-cards-section__card {
    background: #FFFFFF;
}

.favorite-cards-section__card-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 13px;
    padding: 0.2em 1em;
    border-radius: var(--ml-r-pill);
    font-size: 6px;
    line-height: 1;
    background: var(--hot-feature-bg-color);
    color: #fff;
    pointer-events: none;
}

.favorite-cards-section__card-badges {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: grid;
    gap: 5px;
}

.favorite-cards-section__card-meta {
    margin-top: 14px;
    font-size: 12px;
    color: #0E2545CC;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.favorite-cards-section__card-pic {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.favorite-cards-section__card-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #122A4B66;

    svg {
        width: 23px;
    }

    @media (min-width: 992px) {
        svg {
            width: 26px;
        }
    }
}

@media (hover: hover) {
    .favorite-cards-section__card-remove {
        transition: color 0.2s;
    }
    .favorite-cards-section__card-remove:hover {
        color: #0e2545;
    }
}

.favorite-cards-section__card-share {
    display: flex;
    align-items: center;
    gap: 0.5em;
    width: max-content;
    margin-top: 23px;
    padding-right: 25px;
    font-size: 16px;
    color: #0E2545CC;
    background-image: var(--arrow-right-w-13);
    background-position: right 5px top 70%;
    background-repeat: no-repeat;
    background-size: 13px;
}

.favorite-cards-section__card-share:has(svg.favorite-cards-section__card-share-icon) {
    padding-right: 0;
}

.favorite-cards-section__card-share-icon {
    width: 1em;
    height: 1em;
}

@media (hover: hover) {
    .favorite-cards-section__card-share {
        transition: color 0.2s, background-position 0.2s;
    }
    .favorite-cards-section__card-share:hover {
        color: #0e2545;
        background-image: var(--arrow-right-w-13-dark);
        background-position: right top 70%;
    }
}

.favorite-cards-section__card-share_action_remove {
    background-image: none !important;

    .favorite-cards-section__card-share-icon {
        align-self: flex-end;
        width: 0.6em;
        height: 0.6em;
        translate: 0 -0.1em;
    }
}

@media (hover: hover) {
    .favorite-cards-section__card-share_action_remove {
        .favorite-cards-section__card-share-icon {
            transition: scale 0.2s;
        }
    }

    .favorite-cards-section__card-share_action_remove:hover {

        .favorite-cards-section__card-share-icon {
            scale: 1.1;
        }
    }
}

.favorite-cards-section__card-title {
    font-size: 22px;
    line-height: 1.22;

    @media (min-width: 992px) {
        font-size: 30px;
    }
}

.favorite-cards-section__cards {
    display: grid;
    gap: var(--items-gap);
}

.favorite-cards-section__clear-btn {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0.5em;
    font-size: 16px;
    color: #0E2545CC;
}

.favorite-cards-section__clear-btn-icon {
    width: 1em;
    height: 1em;
}

@media (hover: hover) {
    .favorite-cards-section__clear-btn {
        transition: color 0.2s, background-position 0.2s;
    }

    .favorite-cards-section__clear-btn-icon {
        transition: scale 0.2s;
    }

    .favorite-cards-section__clear-btn:hover {
        color: #0e2545;

        .favorite-cards-section__clear-btn-icon {
            scale: 1.1;
        }
    }
}

.favorite-cards-section__footer {
    margin-top: 23px;
    display: flex;
    justify-content: flex-end;
}

.favorite-cards-section__pages {
    display: grid;
    gap: var(--items-gap);
}

.favorite-cards-section__paginate-btn {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0.5em;
    font-size: 16px;
    color: #0E2545CC;
}

.favorite-cards-section__paginate-btn-icon {
    width: 1em;
    height: 1em;
    background-image: var(--arrow-down-w-13);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media (hover: hover) {
    .favorite-cards-section__paginate-btn {
        transition: color 0.2s, background-position 0.2s;
    }

    .favorite-cards-section__paginate-btn-icon {
        transition: translate 0.2s;
    }

    .favorite-cards-section__paginate-btn:hover {
        color: #0e2545;

        .favorite-cards-section__paginate-btn-icon {
            background-image: var(--arrow-down-w-13-dark);
            translate: 0 2px;
        }
    }
}

.favorite-cards-section__pagination {
    margin-top: 23px;
    display: flex;
    justify-content: center;
}

.favorite-cards-section__card_disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (min-width: 768px) {
    .favorite-cards-section__card {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding: 10px 24px 22px 18px;
        box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.2);
        border-radius: 20px;
    }

    .favorite-cards-section__card-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .favorite-cards-section__card-details {
        --btn-width: max-content;
        min-width: 282px;
        margin-top: auto;
        margin-left: auto;
    }

    .favorite-cards-section__card-meta {
        margin-top: 22px;
    }

    .favorite-cards-section__card-pic {
        flex-shrink: 0;
        width: 100px;
        margin-right: 20px;
    }

    .favorite-cards-section__card-remove {
        position: absolute;
        right: 24px;
    }

    .favorite-cards-section__card-share {
        margin-top: 5px;
        margin-right: 40px;
    }


    .favorite-cards-section__card-title-block {
        flex-grow: 1;
    }

    .favorite-cards-section__sub-title-card-share {
        display: none;
    }
}

@media (min-width: 992px) {
    .favorite-cards-section__footer {
        margin-top: 56px;
    }

    .favorite-cards-section__pagination {
        margin-top: 56px;
    }
}

@media (min-width: 1400px) {

    .favorite-cards-section__card-pic {
        margin-right: 26px;
    }

    .favorite-cards-section__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) and (max-width: 1550px) {
    .favorite-cards-section__card-actions {
        margin-left: auto;
    }

    .favorite-cards-section__card-remove {
        top: 10px;
    }

    .favorite-cards-section__card-title-block {
        order: 1;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .favorite-cards-section__card {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        box-shadow: 0px 0px 23.4px rgba(0, 0, 0, 0.2);
        border-radius: 19px;
    }

    .favorite-cards-section__card-actions {
        width: 100%;
        margin-top: 15px;
    }

    .favorite-cards-section__card-pic {
        flex-shrink: 0;
        align-self: flex-start;
        width: 100px;
        margin-right: 12px;
        margin-top: 17px;
    }

    .favorite-cards-section__card-remove {
        margin-left: auto;
    }

    .favorite-cards-section__card-title-block {
        flex-grow: 1;
    }

    .favorite-cards-section__last-col-card-share {
        display: none;
    }
}

.header {
    position: fixed;
    top: var(--header-top-offset);
    left: 0;
    right: 0;
    z-index: 700;
}

.header__callback-btn {
    width: 242px;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 28px);
    height: var(--header-height);
    padding-right: clamp(16px, 2vw, 32px);
    padding-left: clamp(16px, 2vw, 32px);
    background: #fff;
    border-radius: 9999px;
    box-shadow: 0px 0px 11.1px rgba(0, 0, 0, 0.15);
    flex-wrap: nowrap;
    width: 100%;
}

.header__logo {
    flex: 0 0 auto;
    display: block;
    margin-right: 4px;
}

.header__logo img {
    width: 136px;
    height: auto;
}

@media (min-width: 992px) {
    .header__logo img {
        width: 200px;
    }
}

@media (min-width: 1400px) {
    .header__logo img {
        width: 269px;
    }
}

.header__nav {
    /*flex: 1 1 auto;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(18px, 2.2vw, 40px);
    row-gap: 10px;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

.header__nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header__nav-link:hover {
    color: var(--brand-color);
}

.header__phone {
    font-size: 18px;
    font-weight: 700;
    color: #0000F8;
    white-space: nowrap;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

@media (hover: hover) {
    .header__phone {
        transition: scale 0.2s;
    }
    .header__phone:hover {
        scale: 1.05;
    }
}

.header__inner > .btn {
    flex-shrink: 0;
    min-width: 168px;
    padding: 0 24px;
}

.header__burger {
    width: 40px;
    height: 40px;
    background: none;
    margin-left: auto;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .header {
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }

    .header__inner {
        max-width: var(--container-width);
        margin-right: auto;
        margin-left: auto;
        border-radius: 30px;
    }
}

@media (min-width: 1200px) {
    .header__burger {
        display: none;
    }

    .header__inner {
        padding-right: 15px;
        padding-left: 30px;
    }
}

@media (max-width: 1199px) {
    .header__callback-btn {
        display: none;
    }

    .header__nav {
        display: none;
    }
}

@media (max-width: 991px) {
    .header__inner {
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }
}

.popup-nav-logo {

}

.map-placemark {
    display: block;
    width: var(--placemark-size);
    height: var(--placemark-size);
    background-color: var(--placemark-bg-color);
    background-size: var(--placemark--icon-size, contain);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    cursor: pointer;
    translate: -50% -50%;
}

.map-placemark.is-hovered {
    background-color: var(--placemark-hover-bg-color);
}

.map-static-hint {
    position: absolute;
    bottom: calc(100% + 50px); /* хинт сверху от точки привязки */
    left: 50%; /* центрируем по горизонтали */
    transform: translateX(-50%); /* точное центрирование */
    white-space: nowrap;
    padding: 4px 8px;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none; /* чтобы мышь не мешала */
    z-index: 1000;
    box-shadow: var(--ml-card-shadow);
}

/* ----------  ---------- */

.calc,
    /*.comfort,*/
.commerce,
.company-facts,
    /*.gallery,*/
    /*.genplan,*/
.hero,
.mortgage,
    /*.infra,*/
.subscribe-banner,
.partners,
.plans,
.promo,
.quiz,
.strip,
.build-scale {
    max-width: var(--max-visual-width);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 760px;
    padding: 0;
    color: #fff;
    overflow: hidden;
    background: #0b1f3a;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: hero-bg-animation 20s;
    transform-origin: center;
    will-change: transform;
    /*scale: 1.5 1.5;*/
    /*transition: scale 10s ease-out;*/
}

@keyframes hero-bg-animation {
    0% {
        transform: scale(1);
        animation-timing-function: ease-in-out;
        /*animation-timing-function: cubic-bezier(0.465, 0.183, 0.153, 0.946);*/
    }

    50% {
        transform: scale(1.4);
        animation-timing-function: cubic-bezier(.63, .2, .13, .77);
        /*animation-timing-function: cubic-bezier(0.42, 0, 1, 1);*/
    }

    100% {
        transform: scale(1);
    }
}

.hero__bg-layer {
    position: absolute;
    inset: 0;
}

/* затемнение убрано по правкам заказчика — рендер используется как есть */
.hero__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
    position: relative;
    z-index: 2;
    min-height: 760px;
    padding-top: 128px;
    padding-bottom: 200px;
}

.hero__monogram {
    position: absolute;
    z-index: 3;
    top: 108px;
    right: var(--container-inline-padding);
    width: clamp(96px, 10vw, 132px);
    height: clamp(96px, 10vw, 132px);
    display: flex;
    opacity: 0.95;
    pointer-events: none;
    color: #fff;
}

@media (min-width: 1200px) {
    .hero__monogram {
        top: 164px;
        width: 256px;
        height: auto;
    }
}

.hero__monogram svg {
    /*width: 100%;*/
    /*height: 100%;*/
    display: block;
}

.hero__form-agreement {
    margin-top: 10px;
}

.hero__form-block {
    position: relative;
    width: 360px;
    max-width: 100%;
    background: #fff;
    color: var(--base-text-color);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--ml-card-shadow);
}

@media (min-width: 992px) {
    .hero__form-block {
        width: 480px;
    }
}

@media (min-width: 1200px) {
    .hero__form-block {
        padding-right: 46px;
        padding-left: 46px;
        padding-bottom: 52px;
    }
}

.hero__form-inputs {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

@media (min-width: 992px) {
    .hero__form-inputs {
        margin-top: 30px;
    }
}

.hero__form-title {
    font-size: var(--section-title-font-size);
}

.hero__form-subtitle {
    font-size: 18px;
    display: block;
    margin-top: 10px;
    letter-spacing: 0;
}

@media (min-width: 992px) {
    .hero__form-subtitle {
        font-size: 26px;
    }
}

.hero__form-submit {
    display: flex;
    width: 100%;
    margin-top: 22px;
}

.hero__form-block .input:focus {
    box-shadow: none;
    border-color: var(--brand-color);
}

.actions-banner {

}

.actions-banner__title {
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 19px;
}

.actions-banner__item {

}

.actions-banner__item-img-section {
    aspect-ratio: 4/3;
    position: relative;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.actions-banner__item-title {
    margin-top: 13px;
    font-size: 18px;
}

.actions-banner__item-action {
    display: block;
    width: max-content;
    margin-top: 15px;
    padding-bottom: 0.2em;
    font-size: 18px;
    color: var(--brand-color);
}

@media (hover: hover) {
    .actions-banner__item-action-label-text::after {
        transition: translate 0.2s, color 0.2s;
    }

    .actions-banner__item-action:hover {
        color: var(--base-text-color);

        .actions-banner__item-action-label-text::after {
            translate: 3px 0;
            background-image: var(--arrow-right-w29-color-base);
        }
    }
}

.actions-banner__item-action-label-text::after {
    display: inline-flex;
    width: 29px;
    height: 8px;
    margin-left: 0.5em;
    content: "";
    background-image: var(--arrow-right-w29-color-brand);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.actions-banner__foot {
    --slide-btn-size: 30px;
    margin-top: 30px;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.actions-banner__foot .slide-btn {
    flex-shrink: 0;
}

.actions-banner__foot .slide-btn[disabled] {
    background: var(--ml-line);
    color: var(--text-soft-color);
    box-shadow: none;
}

.actions-banner__slider {
    /* box-shadow show */
    padding-top: 10px;
    padding-left: var(--container-inline-padding);
    padding-right: var(--container-inline-padding);
}

@media (min-width: 992px) {

    .hero__inner {
        padding-top: 254px;
    }
}

@media (min-width: 1400px) {
    .actions-banner {
        color: var(--ml-text);
        background: #fff;
        border-radius: 30px 0 0 30px;
        box-shadow: var(--ml-card-shadow);
    }

    .hero-outer-block {
        position: relative;
    }

    .hero-outer-block__actions-banner {
        position: absolute;
        z-index: 4;
        right: 0;
        bottom: 35px;
        width: 605px;
        overflow: hidden;
        padding-top: 35px;
        padding-bottom: 35px;
        padding-left: 36px;
        opacity: 0;

        .actions-banner__slider {
            width: 107%;
            padding-left: 10px;
        }

        &:has(.swiper-initialized) {
            opacity: 1;
        }
    }

}

@media (max-width: 1399px) {
    .hero-outer-block {
        margin-bottom: 35px;
    }

    .hero-outer-block__actions-banner {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero__monogram {
        display: none;
    }
}

.dots {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ml-line);
    transition: background-color 0.2s ease, width 0.2s ease;
}

.dot.is-active {
    background: var(--brand-color);
    width: 20px;
    border-radius: 999px;
}

/* ─────────────────────────────────────────────
   STRIP — узкая тёмная плашка-CTA (повторно используется)
   ─────────────────────────────────────────────*/
.strip {
    background: var(--secondary-color);
    color: #fff;
}

.strip__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 24px;
    column-gap: 30px;
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
    padding-top: 41px;
    padding-bottom: 48px;

    @media (min-width: 768px) {
        padding-top: 49px;
        padding-bottom: 49px;
    }
}

.strip__title {
    font-size: var(--section-title-font-size);
}

@media (min-width: 768px) {
    .strip__action {
        width: max-content;
        min-width: 387px;
    }
}

@media (max-width: 575px) {
    .strip__action {
        width: 100%;
    }
}

/* ─────────────────────────────────────────────
   МАСШТАБЫ БЕЗГРАНИЧНЫ
   ─────────────────────────────────────────────*/
/* «Масштабы безграничны»: рендер на всю высоту секции, чистый (без синего overlay
   — на самом рендере уже есть достаточное затемнение по нижнему краю).
   Цифры прижаты к низу секции и помещаются в одну строку. */
.build-scale {
    position: relative;
    background: #102842;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 880px; /* рендер выше (правка 6) */
}

.build-scale__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/masshtab-bg.jpg");
    background-size: cover;
    background-position: center;
}

/* лёгкий нижний градиент (тёмный, не синий), только чтобы цифры были читабельны */
.build-scale__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
}

.build-scale__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
    padding-top: 56px;
    padding-bottom: 40px;
}

.build-scale__card {
    background: #fff;
    color: var(--base-text-color);
    border-radius: 30px;
    box-shadow: var(--ml-card-shadow);
    padding: 28px 32px;
    max-width: 100%;
}

.build-scale__card-desc {
    p {
        max-width: 50ch;
    }
}

.build-scale__card-title {
    margin-bottom: 0.7em;
    font-size: var(--section-title-font-size);
}

.build-scale__card p + p {
    margin-top: 0;
}

/* Цифры — прижаты к низу секции, должны полностью влезать в одну строку
   (правка 6). Поэтому третья колонка с «1 650 000» получает запас места,
   а кегль слегка уменьшен под обзорный контент. */
.build-scale__stats {
    display: grid;
    grid-template-columns: auto auto;
    gap: 24px;
    margin-top: auto;
    padding-top: 72px;
}

@media (min-width: 1200px) {
    .build-scale__card {
        display: flex;
    }

    .build-scale__card-title {
        flex-grow: 1;
        max-width: 12ch;
        margin-right: 40px;
    }

    .build-scale__inner {
        width: 100%;

    }
}

@media (min-width: 1400px) {
    .build-scale__card {
        padding: 30px 44px;
    }

    .build-scale__card-desc {
        display: flex;
        gap: 30px;
    }

    .build-scale__card-title {
        margin-right: 100px;
    }

    .build-scale__stats {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .build-scale__inner {
        padding-top: 64px;
        padding-bottom: 63px;
    }

    .build-scale__card {
        padding: 24px 24px;
    }

    .build-scale__stats {
        gap: 24px 32px;
    }
}

@media (max-width: 575px) {
    .build-scale__inner {
        padding-top: 36px;
        padding-bottom: 35px;
    }

    .build-scale__card {
        padding: 30px 20px;
    }

    .build-scale__stats {
        gap: 16px;
    }
}

.stat {
    --animationDelayStep: 180ms;
    --animationDelayGap: 60ms;
    min-width: 0;
    transform: translateY(-40px);
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: var(--animationDelayStep);
    transition-timing-function: cubic-bezier(.2, .9, .2, 1);
    will-change: transform, opacity;
}

.stat:nth-child(1) {
    transition-delay: calc(var(--animationDelayStep) + var(--animationDelayGap));
}

.stat:nth-child(2) {
    transition-delay: calc((var(--animationDelayStep) + var(--animationDelayGap)) * 2);
}

.stat:nth-child(3) {
    transition-delay: calc((var(--animationDelayStep) + var(--animationDelayGap)) * 3);
}

.stat:nth-child(4) {
    transition-delay: calc((var(--animationDelayStep) + var(--animationDelayGap)) * 4);
}

.build-scale._visible .stat {
    transform: translateY(0);
    opacity: 1;
}

.stat__num {
    display: block;
    font-size: 31px;
    color: #fff;
    white-space: nowrap;
    /* без overflow/ellipsis — цифра должна влезать полностью (правка 6) */
    @media (min-width: 992px) {
        font-size: 40px;
    }

    @media (min-width: 1200px) {
        font-size: 55px;
    }

    @media (min-width: 1400px) {
        font-size: 81px;
    }
}

.stat__num sup {
    font-size: 0.55em;
    vertical-align: super;
}

.stat__label {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);

    @media (min-width: 992px) {
        font-size: 22px;
    }

    @media (min-width: 1400px) {
        font-size: 39px;
    }
}

/* ─────────────────────────────────────────────
   КАРТА ИНФРАСТРУКТУРЫ
   ─────────────────────────────────────────────*/

/* ─────────────────────────────────────────────
   КАРТА ИНФРАСТРУКТУРЫ (Яндекс.Карты)
   ─────────────────────────────────────────────*/

.infra__categories-list {
    overflow: auto;
}

.infra__category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: var(--ml-r-sm);
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    text-align: left;
    width: 100%;
    background: transparent;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;

    @media (min-width: 992px) {
        font-size: 26px;
    }
}

@media (hover: hover) {
    .infra__category-item:hover {
        color: var(--brand-color);
    }
}

.infra__category-item.is-active {
    color: var(--brand-color);
}

.infra__inner {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: clamp(520px, 72vh, 760px);

    @media (min-width: 992px) {
        min-height: clamp(520px, 82vh, 940px);
    }
}

.infra__inner::after {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    content: '';
}

.infra__map {
    --placemark-size: 42px;
    --placemark-bg-color: var(--secondary-color);
    --placemark-hover-bg-color: var(--brand-color);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--ml-line-soft);

    /* Скрываем лейблы маршрута Яндекс.Карт (расстояние и время над точками) */
    .ymaps-2-1-79-transport-pin {
        display: none !important;
    }
}

.infra__map .ymaps-2-1-79-balloon__content,
.infra__map [class*="balloon__content"] {
    color: var(--secondary-color);
}

.infra__menu {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: max(calc(50% - var(--container-width) / 2), var(--container-inline-padding));
    display: flex;
    pointer-events: auto;
    flex: 0 0 280px;
    max-width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--ml-card-shadow);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    align-self: flex-start;

    @media (min-width: 992px) {
        width: 413px;
        top: 20%;
        max-height: calc(80% - 30px);
    }
}

.infra__menu._dropdown-is-init {
    --dropdown-arrow-size: 30px;
    --right-padding: 16px;
    display: block;
    width: calc(100% - var(--container-inline-padding) * 2);
    max-width: 100%;
    padding: 0;
    padding-right: calc(16px + var(--dropdown-arrow-size) + var(--right-padding));

    .infra__cat-dropdown {
        position: absolute;
        height: 30px;
        width: 30px;
        right: var(--right-padding);
        top: calc(var(--option-height) / 2);
        translate: 0 -50%;

    }

    .infra__cat-dropdown::after {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        content: '';
        background-image: var(--dropdown-bracket-arrow-w-30-color-brand);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .infra__categories-list {
        height: var(--option-height);
        overflow: hidden;
    }

    .infra__category-item {
        height: var(--option-height);
        padding: 8px 10px;
        font-size: 14px;
        gap: 10px;
    }

}

.infra__menu:not(._dropdown-is-init) {
    .infra__cat-dropdown {
        display: none;
    }
}

.infra__menu._open {
    .infra__cat-dropdown::after {
        scale: 1 -1;
    }
}

.infra__menu-category-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.infra__menu-category-icon svg {
    width: 16px;
    height: 16px;
}

.infra__office-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    align-self: flex-start;

    position: absolute;
    z-index: 3;
    pointer-events: auto;
    flex: 0 0 300px;
    max-width: min(300px, 44vw);
    opacity: 0;
    visibility: hidden;
    /*transform: translateY(8px);*/
    translate: -50% calc(-100% + 10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;

    @media (min-width: 992px) {
        width: 255px;
    }
}

.infra__office-card.is-visible {
    opacity: 1;
    visibility: visible;
}

.infra__office-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #e1e6ee;
}

.infra__office-card-body {
    padding: 18px 20px;
}

.infra__office-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.infra__office-card-text {
    font-size: 13px;
    color: var(--ml-text-mute);
    line-height: 1.45;
}

.infra__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.infra__overlay-inner {
    position: relative;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    pointer-events: none;
}

.infra__stage {
    position: relative;
    width: 100%;
    min-height: clamp(520px, 72vh, 760px);
}

.infra__static-label {
    width: fit-content;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 0.7em;
    color: #6F7C8F;
    border-radius: 8px;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    translate: -50% -50%;

    b {
        color: var(--base-text-color);
    }

    @media (min-width: 992px) {
        padding: 8px 0.7em;
        font-size: 23px;
    }
}

.infra__static-label_add-text {

    font-weight: 600;
}

@media (max-width: 991px) {
    .infra__menu {
        flex: 0 0 auto;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-x: auto;
    }

    .infra__menu .infra__category-item {
        flex: 0 0 auto;
    }

    .infra__office-card {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

}

/* ────────────────────*/
.rooms-checkbox-group {
    display: flex;
}

.rooms-checkbox-group__item {
    position: relative;
    /*border-left: 1px solid #e5e5e5;*/
}

.rooms-checkbox-group__item::before {
    position: absolute;
    left: 0;
    bottom: 0.1em;
    top: 0.6em;
    width: 1px;
    content: '';
    background: #000;
}

.rooms-checkbox-group__item:first-child::before {
    display: none;
}

.rooms-checkbox-group__label-text {
    display: block;
    min-width: 2ch;
    font-size: 44px;
    text-align: center;
    cursor: pointer;
}

input:checked ~ .rooms-checkbox-group__label-text {
    color: var(--brand-color);
}

.catalog-filter {
    margin-bottom: 80px;
    padding: 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 23.9px rgba(0, 0, 0, 0.15);
    border-radius: 30px;

    @media (min-width: 992px) {
        padding-top: 12px;
        padding-left: 23px;
    }
}

.catalog-filter__clear-btn {
    --btn-font-size: 20px;
}

.catalog-filter__options-section {
    --option-bg-color: #e5e5e5;
}

.catalog-filter__options-section_name_features {
    --option-bg-color: #88BAFF33;
    --checked-option-bg-color: #00EEC5;
}

.catalog-filter__options-section_name_special {
    --option-bg-color: #88FF9633;
    --checked-option-bg-color: #00EEC5;
    --accent-option-bg-color: var(--hot-feature-bg-color);
    --checked-accent-option-bg-color: #FE5112;
}

.catalog-filter__option {
    height: 42px;
    width: max-content;
    display: flex;
    align-items: center;
    padding-right: 1em;
    padding-left: 1em;
    font-size: 20px;
    white-space: nowrap;
    background-color: var(--option-bg-color);
    border-radius: 9999px;
}

.catalog-filter__option_accent {
    --option-bg-color: var(--accent-option-bg-color);
    color: #fff;
}

.catalog-filter__checkbox-set-item-label-text,
.catalog-filter__options-label {
    font-size: 20px;
}

.checkbox-item {
    background-color: var(--option-bg-color);
    transition: background-color 0.2s ease;
    user-select: none;
}

/* Hover для unchecked состояния */
.checkbox-item__checkbox:not(:checked) + .checkbox-item__label-text:hover {
    /* лейбл не трогаем — hover применяем к родителю */
}

.checkbox-item__checkbox:not(:checked):hover ~ .checkbox-item__label-text {
    /* работаем через родителя */
}

.checkbox-item__checkbox:not(:checked):hover + .checkbox-item__label-text,
.checkbox-item:hover:not(:has(.checkbox-item__checkbox:checked)) {
    /*background-color: var(--hover-option-bg-color, var(--option-bg-color));*/
}

/* Checked состояние */
.checkbox-item__checkbox:checked ~ .checkbox-item,
.checkbox-item:has(.checkbox-item__checkbox:checked) {
    background-color: var(--checked-option-bg-color);
}

.checkbox-item__checkbox:checked ~ .checkbox-item.catalog-filter__option_accent,
.checkbox-item.catalog-filter__option_accent:has(.checkbox-item__checkbox:checked) {
    background-color: var(--checked-accent-option-bg-color);
}

/* Hover для checked состояния */
/*.checkbox-item:has(.checkbox-item__checkbox:checked):hover {*/
/*    background-color: var(--checkbox-capsule-bg-hover-checked);*/
/*}*/

@media (min-width: 576px) {
    .catalog-filter__footer {
        margin-top: 40px;
    }

    .catalog-filter__checkbox-set-item-label-text,
    .catalog-filter__options-label {
        margin-bottom: 18px;
    }

    .catalog-filter__options {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

}

@media (min-width: 576px) and (max-width: 1399px) {
    .catalog-filter__options-section-outer,
    .catalog-filter__options-lists {
        margin-top: 30px;
    }
}

@media (min-width: 1400px) {
    .catalog-filter__clear-btn {
        width: max-content;
    }

    .catalog-filter__footer {
        margin-top: 25px;
        display: flex;
        justify-content: flex-end;
    }

    .catalog-filter__layout {
        display: flex;
        gap: 20px;
    }

    .catalog-filter__checkbox-set-item-label-text,
    .catalog-filter__options-label {
        margin-bottom: 30px;
    }

    .catalog-filter__options-lists {
        display: flex;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .catalog-filter {

    }

    .catalog-filter__checkbox-set-item-label-text {
        margin-bottom: 32px;
        color: #0E2545CC;
    }

    .catalog-filter__footer {
        margin-top: 20px;
    }

    .catalog-filter__options-lists {
        margin-top: 20px;
        display: grid;
        gap: 20px;
    }

    .catalog-filter__options-section {
        position: absolute;
        width: 100%;
        height: var(--head-height);
        background-color: #fff;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
        border-radius: 30px;
    }

    .catalog-filter__options-section._open {
        .catalog-filter__options-label::after {
            scale: 1 -1;
        }
    }

    .catalog-filter__options-section-outer {
        --head-height: 70px;
        height: var(--head-height);
        position: relative;
    }

    .catalog-filter__options-section-outer:has(.catalog-filter__options-section.active) {
        z-index: 3;
    }

    .catalog-filter__options {
        /*position: absolute;*/
        /*z-index: 2;*/
        /*top: var(--head-height);*/
        /*left: 0;*/
        /*right: 0;*/
        /*height: 0;*/
        display: grid;
        gap: 10px;
        padding: 0 20px 20px;
        background-color: #fff;
    }

    .catalog-filter__options-label {
        --arrow-size: 30px;
        --right-padding: 30px;
        position: relative;
        height: var(--head-height);
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        padding-left: 30px;
        padding-right: calc(var(--arrow-size) + var(--right-padding) + 10px);
        font-size: 18px;
    }

    .catalog-filter__options-label::after {
        position: absolute;
        right: 30px;
        top: 0;
        width: var(--arrow-size);
        height: 100%;
        content: '';
        background-image: var(--dropdown-bracket-arrow-w-30-color-brand);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        transition: scale 0.3s ease;
    }
}

/* ─────────────────────────────────────────────
   ГЕНПЛАН — интерактивная карта-картинка с пинами
   ─────────────────────────────────────────────*/
.genplan {
    margin-top: 28px;
    background: #fff;

    @media (min-width: 992px) {
        margin-top: 109px;
    }
}

.genplan__object-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    translate: -50% -50%;
    border-radius: 50%;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    @media (min-width: 992px) {
        width: 53px;
        height: 53px;
    }
}

.genplan__frame {
    /*position: relative;*/
    /*overflow: hidden;*/
    overflow: auto;
    /*height: calc(100vh - 200px);*/
}

.genplan__img {
    width: 100%;

    flex-shrink: 0;

    max-width: none;

    @media (orientation: landscape) {
        width: 100%;
    }

    @media (orientation: portrait) {
        max-height: calc(100vh - 200px);
    }
}

.genplan__img-box {
    position: relative;
    width: 100%;

    @media (orientation: portrait) {
        min-width: max-content;
    }
}

.genplan__schemes {
    position: absolute;
    inset: 0;
}

.genplan__card {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 40%;
    right: auto;
    width: min(300px, fit-content);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 37px 18px;
    background: #fff;
    box-shadow: var(--ml-card-shadow);
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;

    @media (min-width: 992px) {
        padding-bottom: 30px;
    }

    @media (max-width: 991px) {
        position: relative;
        left: auto;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

.genplan__card.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.genplan__card-title {
    font-size: 22px;

    @media (min-width: 992px) {
        font-size: 34px;
    }
}

.genplan__meta {
    width: max-content;
    display: flex;
    align-items: center;
    margin-top: 6px;
    padding-right: 1em;
    padding-left: 1em;
    height: 31px;
    font-size: 15px;
    background-color: #88BAFF33;
    border-radius: 9999px;

    @media (min-width: 992px) {
        height: 42px;
        margin-top: 12px;
        font-size: 20px;
    }
}

.genplan__stats-block {
    margin-top: 16px;
}

.genplan__stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    list-style: none;

    @media (min-width: 992px) {
        gap: 10px;
    }
}

.genplan__stats-title {
    margin-bottom: 0.8em;
    font-size: 14px;
    color: #0E2545CC;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.genplan__stats li {
    font-size: 14px;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.genplan__polygon {
    fill: #00EEC559;
    /*stroke: #00EEC559;*/
    /*stroke-width: 2;*/
    transition: fill 0.2s ease, stroke-width 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
}

.genplan__polygon:hover,
.genplan__polygon.is-active {
    fill: rgba(0, 238, 197, 0.75);
    /*stroke-width: 3;*/
}

.page-options-section {
    margin-top: 46px;
    margin-bottom: 30px;

    @media (min-width: 992px) {
        margin-top: 104px;
        margin-bottom: 53px;
    }
}

.page-options-section__action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 20px;
    text-align: left;

    @media (min-width: 992px) {
        font-size: 26px;
    }
}

.page-options-section__action-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;

    @media (min-width: 992px) {
        width: 42px;
        height: 42px;
    }
}

@media (hover: hover) {
    .page-options-section__action {
        transition: color 0.2s;
    }

    .page-options-section__action:hover {
        color: #0000F8;
    }
}

.page-options-section__back-btn {
    display: flex;
    gap: 10px;
    align-items: center;
    align-self: center;
    font-size: 26px;
}

.page-options-section__back-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
        width: 100%;
        height: 100%;
    }
}

@media (hover: hover) {
    .page-options-section__back-btn {
        transition: color 0.2s;
    }

    .page-options-section__back-btn-icon {
        transition: translate 0.2s;
    }

    .page-options-section__back-btn:hover {
        color: #0000F8;

        .page-options-section__back-btn-icon {
            translate: 5px 0;
        }
    }
}

.page-options-section__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.page-options-section__left {
    display: flex;
    gap: 20px;
}

@media (min-width: 576px) {
    .page-options-section__inner {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .page-options-section__navigation {
        margin-top: 17px;
    }
}

:is(.favorites-main, .compare-main, .product-details-main) {
    padding-top: var(--main-top-padding, calc(15px + var(--header-height) + var(--header-top-offset)));

    @media (min-width: 992px) {
        padding-top: var(--main-top-padding, calc(50px + var(--header-height) + var(--header-top-offset)));
    }
}

.page-title-section__action {
    --btn-width: max-content;
}

.page-title-section__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.page-title-section__note {
    font-size: 20px;
}

@media (min-width: 992px) {
    .page-title-section__action {
        margin-top: 15px;
    }

    .page-title-section__inner {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .page-title-section__note {
        margin-top: 15px;
    }
}

@media (min-width: 1400px) {
    .page-title-section__right {
        display: flex;
        align-items: flex-end;
        gap: 20px;
    }

    .page-title-section__action,
    .page-title-section__note {
        margin-top: 0;
    }
}

@media (min-width: 1500px) {
    .page-title-section__right {
        gap: 50px;
    }
}

@media (max-width: 991px) {
    .page-title-section__action {
        margin-top: 15px;
    }

    .page-title-section__note {
        margin-top: 25px;

    }
}

@media (max-width: 575px) {
    .page-title-section__action {
        --btn-font-size: 14px;
    }
}

.pano {
    background: var(--secondary-color);
    color: #fff;
    padding: 22px 0;
}

.pano__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pano__title {
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.popup-compare-block__desc {
    margin-bottom: 2em;
    font-size: 18px;
    color: #0E254599;

    @media (min-width: 992px) {
        font-size: 24px;
    }
}

.popup-compare-block__footer-action {
    margin-top: 30px;
}

.popup-compare-block__item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-areas:         "img title"        "img meta";
    column-gap: 10px;
    padding-right: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D4D4D4;
    overflow: hidden;

    &:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    @media (min-width: 992px) {
        column-gap: 26px;
        padding-bottom: 20px;
    }
}

.popup-compare-block__items {
    display: grid;
    gap: 10px;

    @media (min-width: 992px) {
        gap: 20px;
    }
}

.popup-compare-block__item-img-block {
    grid-area: img;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.popup-compare-block__item-meta {
    grid-area: meta;
    font-size: 12px;
    line-height: 1.22;
    color: #0E2545CC;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.popup-compare-block__item-remove {
    position: absolute;
    right: 1px;
    top: 0;
    display: flex;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #0E2545CC;

    &::after {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 30px;
        height: 30px;
        content: '';
        translate: -50% -50%;
    }

    svg {
        width: 100%;
        height: 100%;
    }

    @media (min-width: 992px) {
        width: 26px;
        height: 26px;
    }
}

@media (hover: hover) {
    .popup-compare-block__item-remove {
        transition: color 0.2s;
    }

    .popup-compare-block__item-remove svg {
        transition: scale 0.2s;
    }

    .popup-compare-block__item-remove:hover {
        color: #0e2545;

        svg {
            scale: 1.1;
        }
    }
}

.popup-compare-block__item-title {
    grid-area: title;
    font-size: 16px;

    @media (min-width: 992px) {
        font-size: 30px;
    }
}

.popup-content-tabs__item {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    display: none;

    &._visible {
        display: block;
    }
}


.popup-content-tabs__items {
    display: grid;

}

/* ─────────────────────────────────────────────
   АКЦИЯ 3=1 + БАННЕР МАТРЁШЕК
   ─────────────────────────────────────────────*/
.promo {
    margin-top: 33px;

    @media (min-width: 992px) {
        margin-top: 70px;
    }

    @media (min-width: 1400px) {
        margin-top: 103px;
    }
}

.promo__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.promo__row {
    display: grid;
    gap: 32px;
    align-items: center;

    @media (min-width: 992px) {
        grid-template-columns: 1fr minmax(max-content, 1fr);
        gap: 48px;
    }
}

.promo__title {
    font-size: 34px;

    @media (min-width: 992px) {
        font-size: 55px;
    }

    @media (min-width: 1200px) {
        font-size: 70px;
    }
}

.promo__sub {
    margin-top: 14px;
    font-size: 18px;

    @media (min-width: 992px) {
        font-size: 26px;
    }

    @media (min-width: 1200px) {
        font-size: 40px;
    }
}

.promo__btn {
    margin-top: 24px;

    @media (min-width: 576px) {
        max-width: 355px;
    }
}

.countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.countdown__label {
    font-size: 20px;
    margin-bottom: 18px;

    @media (min-width: 992px) {
        margin-bottom: 12px;
    }
}

.countdown__grid {
    --num-font-size: 40px;
    --num-color: var(--brand-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;

    @media (min-width: 992px) {
        --num-font-size: 55px;
    }

    @media (min-width: 1200px) {
        --num-font-size: 70px;
    }
}

.countdown__seg {

}

.countdown__seg_unit_seconds {
    min-width: 2ch;
}

.countdown__num {
    min-width: 1.58ch;
    font-size: var(--num-font-size);
    color: var(--num-color);
}

.countdown__unit {
    display: block;
    margin-top: 20px;
    font-size: 11px;

    @media (min-width: 992px) {
        margin-top: 8px;
        font-size: 20px;
    }
}

.countdown__sep {
    font-size: var(--num-font-size);
    color: var(--num-color);

}

.promo__banner {
    margin-top: 30px;
    border-radius: 30px;
    background-image: url("../assets/img/matreshki-mob.jpg");
    background-size: cover;
    background-position: center;
    background-color: #EEF2F6;
    overflow: hidden;

    @media (min-width: 576px) {
        height: 350px;
        background-image: url("../assets/img/matreshki-desk.jpg");
    }

    @media (min-width: 576px) and (max-width: 992px) {
        background-size: auto 100%;
        background-position: right 27% center;
    }

    @media (min-width: 992px) {
        margin-top: 42px;
        background-position: right center;
    }

    @media (max-width: 575px) {
        aspect-ratio: 6/5;
    }
}

.comfort {

}

.comfort__head {
    display: none;
}

.comfort__viewport {
    position: relative;

}

.comfort__slides {
    /*aspect-ratio: 5/6;*/
}

.comfort-card {
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.comfort__topbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.8fr) auto;
    align-items: start;
    column-gap: 32px;
    padding: 22px 28px;
}

.comfort__slide-text {

}

.comfort-card__name {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.comfort-card__text {
    font-size: 14px;
    color: var(--ml-text);
    line-height: 1.5;
}

.comfort__nav {
    gap: 20px;

    .swiper-pagination {
        font-size: 20px;
    }
}

.comfort__topbar-content-item {
    grid-column: 1/2;
    grid-row: 1/2;
    opacity: 0;
    visibility: hidden;
}

.comfort__topbar-content-item._visible {
    opacity: 1;
    visibility: visible;
}

.comfort__topbar-content-items {
    display: grid;
}

.comfort__topbar-main {
    min-width: 0;
}

.comfort__title {
    font-size: var(--section-title-font-size);
}

.comfort__lead {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ml-text-mute);
    max-width: 640px;
}

.comfort__overlay {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.comfort__overlay-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: -0.01em;
    padding-right: 6px;
}

@media (min-width: 992px) {
    .comfort__title {
        translate: 0 -0.2em;
    }

    .comfort__topbar {
        position: absolute;
        z-index: 4;
        top: 28px;
        left: var(--container-inline-padding);
        right: var(--container-inline-padding);
        margin: auto;
        max-width: var(--container-width);
        grid-template-columns: 1fr max-content;
        background: #fff;
        border-radius: 30px;
        box-shadow: var(--ml-card-shadow);
    }
}

@media (min-width: 1101px) {
    .comfort__nav {
        width: 250px;
        gap: 0;
    }
}

@media (min-width: 1400px) {
    .comfort__topbar {
        gap: 75px;
        padding: 30px 50px 30px;
    }

    .comfort__topbar-copy {

    }

    .comfort__topbar-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 75px;
    }
}

@media (orientation: portrait) {
    .comfort-card {
        aspect-ratio: 5/6;
    }

    @media (max-width: 991px) {
        .comfort-card {
            aspect-ratio: 6/7;
        }
    }
}

@media (orientation: landscape) {
    .comfort-card {
        height: calc(100vh - 160px);
        min-height: 50vw;
    }
}

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

@media (max-width: 991px) {
    .comfort {
        padding: 0 var(--container-inline-padding) 40px;
        background-color: var(--secondary-color);
    }

    .comfort__nav {
        margin-top: 30px;
        justify-content: space-between;
        width: 250px;
        margin-right: auto;
        margin-left: auto;

        .swiper-pagination {
            width: max-content;
        }
    }

    .comfort__topbar-copy {
        margin-top: 1em;
    }

    .comfort__slides {
        order: 1;
        width: 100%;
        min-width: 0;
        margin-top: 35px;
        border-radius: 26px;
    }

    .comfort__viewport {
        display: flex;
        flex-direction: column;
        padding: 20px;
        background-color: #fff;
        border-radius: 30px;
    }
}

.gallery {

}

.gallery__head {
    display: none;
}

.gallery__viewport {
    position: relative;

}

.gallery__slides {
    /*aspect-ratio: 5/6;*/
}

.gallery-card {
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.gallery__topbar {
    position: absolute;
    z-index: 4;
    top: 28px;
    left: var(--container-inline-padding);
    right: var(--container-inline-padding);
    margin: auto;
    max-width: var(--container-width);
    grid-template-columns: 1fr max-content;
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--ml-card-shadow);
}

.gallery__slide-text {

}

.gallery-card__name {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gallery-card__text {
    font-size: 14px;
    color: var(--ml-text);
    line-height: 1.5;
}

.gallery__nav {
    gap: 20px;

    .swiper-pagination {
        font-size: 20px;
    }
}

.gallery__topbar-content-item {
    grid-column: 1/2;
    grid-row: 1/2;
    opacity: 0;
    visibility: hidden;
}

.gallery__topbar-content-item._visible {
    opacity: 1;
    visibility: visible;
}

.gallery__topbar-content-items {
    display: grid;
}

.gallery__topbar-main {
    min-width: 0;
}

.gallery__title {
    font-size: var(--section-title-font-size);
}

.gallery__lead {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ml-text-mute);
    max-width: 640px;
}

.gallery__overlay {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.gallery__overlay-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: -0.01em;
    padding-right: 6px;
}

@media (min-width: 992px) {
    .gallery__title,
    .gallery__nav {
        height: 100px;
        background-color: #fff;
        border-radius: 30px;
    }

    .gallery__nav {
        gap: 0;
        width: 274px;
        height: 100px;
        padding-right: 30px;
        padding-left: 30px;
        background-color: #fff;
        border-radius: 30px;
    }

    .gallery__title {
        display: flex;
        align-items: center;
        padding: 20px 30px;
        padding-top: 10px;
    }

    .gallery__topbar {
        top: 80px;
        display: flex;
        justify-content: space-between;
        background: none;
        box-shadow: none;
    }
}

@media (min-width: 1400px) {
    .gallery__topbar {
        top: 130px;
    }
}

@media (orientation: portrait) {
    .gallery-card {
        aspect-ratio: 5/6;
    }
}

@media (orientation: landscape) {
    .gallery-card {
        height: calc(100vh - 160px);
        min-height: 50vw;
    }
}

@media (max-width: 1100px) {
    .gallery-card__body {
        max-width: 60vw;
    }
}

@media (max-width: 1024px) {
    .gallery__track {
        height: clamp(320px, 60vw, 520px);
    }

    .gallery-card__body {
        top: auto;
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: 100%;
        padding: 16px 18px;
    }

    .gallery__topbar {
        top: 28px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 21px 28px;
    }

    .gallery__overlay {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .gallery__nav {
        justify-content: center;

        .swiper-pagination {
            width: max-content;
        }
    }
    
    .gallery__title {
        display: none;
    }

    .gallery__topbar {
        width: max-content;
        padding: 16px 22px;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.57);
        border-radius: 33px;
    }

}

/* ─────────────────────────────────────────────
   КВИЗ «Поможем выбрать квартиру»
   ─────────────────────────────────────────────*/
.quiz {
    margin-top: 39px;
    background: #fff;

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.quiz__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;

    @media (min-width: 992px) {
        margin-bottom: 25px;
    }

    @media (min-width: 1400px) {
        margin-bottom: 50px;
    }
}

.quiz__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.quiz__agreement {
    margin-top: 10px;

    @media (min-width: 992px) {
        margin-top: 25px;
    }
}

.quiz__form-checkbox-set_view_cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    .quiz__form-option-item {
        flex-direction: column;
    }

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    @media (min-width: 992px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    @media (min-width: 1400px) {
        gap: 30px;
    }
}

.quiz__form-option-item-fig {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    padding: 0 var(--block-padding) var(--inline-padding);
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.quiz__form-section-body {
    max-width: 660px;

    .input-base-theme {
        @media (min-width: 992px) {
            --input-font-size: 27px;
            --input-height: 50px;
        }

        @media (min-width: 1400px) {
            --input-font-size: 31px;
            --input-height: 57px;
        }
    }

    @media (min-width: 992px) {
        --agreement-font-size: 18px;
        --checkbox-size: 22px;
        --check-size: 14px;
    }

    @media (min-width: 1400px) {
        --agreement-font-size: 23px;
        --checkbox-size: 31px;
        --check-size: 19px;
    }
}

.quiz__form-checkbox-set_view_tips {
    display: grid;
    gap: 12px;

    @media (min-width: 500px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1200px
    }

    @media (min-width: 992px) {
        gap: 26px;
    }
}

.quiz__form-option-item {
    --checkbox-right-margin: 0;
    --checkbox-size: 18px;
    --checkbox-shadow: 0 0 7px 0 #0000004D;
    --inline-padding: 10px;
    --block-padding: 10px;
    border-radius: 12px;
    box-shadow: 0px 0px 18.2px rgba(0, 0, 0, 0.15);

    @media (min-width: 992px) {
        --checkbox-size: 47px;
        --checkbox-radius: 10px;
        --check-size: 30px;
        --inline-padding: 20px;
        --block-padding: 20px;
        border-radius: 30px;
    }

    @media (min-width: 1400px) {
        --inline-padding: 30px;
        --block-padding: 20px;
    }
}

.quiz__form-option-label-text {
    font-size: 10px;

    @media (min-width: 992px) {
        font-size: 20px;
    }

    @media (min-width: 1400px) {
        font-size: 26px;
    }
}

.quiz__form-option-item-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    padding: var(--block-padding) var(--inline-padding);

    @media (max-width: 991px) {
        padding-left: 14px;
    }
}

.quiz__form-section:first-child {
    .quiz__nav-btn_prev {
        opacity: 0;
        visibility: hidden;
    }
}

.quiz__form-section-head {
    margin-bottom: 28px;

    @media (min-width: 992px) {
        display: flex;
        gap: 20px;
        justify-content: space-between;

        .quiz__form-section-head-actions {
            order: 1;
        }
    }

    @media (max-width: 991px) {
        .quiz__form-section-title {
            margin-top: 28px;
        }
    }
}

.quiz__form-section-head-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    width: 368px;
    max-width: 100%;
    margin-left: auto;
}

.quiz__form-section-title {
    font-size: 20px;

    @media (min-width: 992px) {
        font-size: 28px;
    }
}

.quiz__form-text-inputs {
    display: grid;
    gap: 10px;

    @media (min-width: 1200px) {
        gap: 20px;
    }
}

.quiz__title {
    font-size: var(--section-title-font-size);
}

.quiz__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quiz__step {
    display: none;
}

.quiz__step_active {
    display: block;
}

.quiz__error {
    color: #e00;
    font-size: 13px;
    margin-top: 6px;
    min-height: 1.2em;
}

.quiz__page-fraction-block {
    margin-left: auto;
    font-size: 19px;
    color: #8B8B8B;

    @media (min-width: 992px) {
        font-size: 30px;
    }
}

/* ─────────────────────────────────────────────
   ОТДЕЛКА И РЕМОНТ (вертикальные табы)
   ─────────────────────────────────────────────*/
.finishing {
    margin-top: 44px;
    background: #fff;

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.finishing__content-item-slider-nav-block {
    position: absolute;
    z-index: 100;
    bottom: 10px;
    left: 0;
    right: 0;
    justify-content: center;

    .slide-btn {
        display: none !important;
    }
}

.finishing__content-item-slider-nav-block:has(.swiper-pagination-lock),
.finishing__content-item-slider-nav-block:has(.swiper-button-lock) {
    display: none;
}

.finishing__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 55px;

    @media (min-width: 992px) {
        margin-bottom: 70px;
    }
}

.finishing__head-action {

    @media (min-width: 576px) {
        flex-shrink: 0;
        width: max-content;
        min-width: 387px;
    }
}

.finishing__content-item {
    flex: 0 0 0;
    overflow: hidden;
    background: #fff;
    position: relative;
    transition: flex-grow 0.25s ease, flex-basis 0.25s ease;
    display: block;

    .swiper {
        height: 100%;
        width: 100%;
    }
}

.finishing__content-item-inner {
    height: 100%;
    width: 100%;
}

.finishing__content-item.is-active {
    flex: 1 1 auto;
}

.finishing__content-item:not(.is-active) {
    padding: 0;
}

.finishing__content-item-img {
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.finishing__title {
    font-size: var(--section-title-font-size);
}

.finishing__tabs {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.finishing__tab {
    position: relative;
    background: #fff;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 18px;
    font-size: var(--section-title-font-size);
    overflow: hidden;
    transition: flex-basis 0.25s ease, background-color 0.2s ease, color 0.2s ease;

    @media (max-width: 991px) {
        font-size: 22px;
    }
}

.finishing__tab.is-active {

    .finishing__tab-arrow::after {
        scale: -1 1;
    }
}

.finishing__tab-label {
    flex-grow: 1;
    text-align: left;
}

.finishing__tab-arrow {
    flex-shrink: 0;
    position: relative;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: var(--brand-color);
    border: 1px solid #fff;
    box-shadow: 0 0 6px 0 #00000026;
}

.finishing__tab-arrow::after {
    position: absolute;
    inset: 0;
    content: '';
    background-image: var(--arrow-right-bracket-icon);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .finishing__head {
        max-width: var(--container-width-with-padding);
        margin-right: auto;
        margin-left: auto;
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }

    .finishing__content-item {
        .swiper-slide {
            width: 100% !important;
        }
    }

    .finishing__content-item-img {
        height: 100%;

    }

    .finishing__tab {
        margin-left: -20px;
        width: clamp(135px, 12vw, 222px);
        flex-direction: column;
        padding-top: 43px;
        padding-bottom: 43px;
        box-shadow: 0 0 22px rgba(0, 0, 0, 0.25);
        border-radius: 20px 0px 0px 0px;
    }

    .finishing__tab:first-child {
        margin-left: 0;
    }

    .finishing__tabs {
        height: min(800px, 43vw);
        max-width: var(--max-visual-width);
        margin-right: auto;
        margin-left: auto;
    }

    .finishing__tab-label {
        writing-mode: sideways-lr;
        order: 1;
        font-size: min(3.5vw, 55px);
    }

}

@media (max-width: 991px) {

    .finishing__content-item-img {
        aspect-ratio: 3/2;
    }

    .finishing__head {
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }

    .finishing__tabs {
        flex-direction: column;
        min-height: auto;
    }

    .finishing__tabs::after {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 10px;
        content: '';
        background: #fff;
    }

    .finishing__tab {
        flex: 0 0 auto;
        min-height: 89px;
        margin-top: -10px;
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
        width: 100%;
        box-shadow: 0 0 9px rgba(0, 0, 0, 0.25);
        border-radius: 0 8px 0 0;
    }

    .finishing__tab-arrow::after {
        rotate: 90deg;
    }

    .finishing__tab-label {

    }

    .finishing__content-item {
        flex: 0 0 0;
        transition: none;
    }

}

@media (max-width: 575px) {
    .finishing__content-item-slider-nav-block {
        --slide-btn-size: 25px;

        .slide-btn {
            --btn-bg-color: rgba(0, 0, 0, 0.24);
        }

        .slide-btn::before {
            position: absolute;
            left: -25%;
            top: -25%;
            width: 150%;
            height: 150%;
            content: '';
        }
    }
}

/* ─────────────────────────────────────────────
   СПОСОБЫ ПОКУПКИ
   ─────────────────────────────────────────────*/
.buy {
    margin-top: 41px;
    background: #fff;

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.buy__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;

    @media (min-width: 576px) {
        .buy__head-action {
            width: max-content;
            min-width: 290px;
        }
    }

    @media (min-width: 992px) {
        margin-bottom: 55px;
    }
}

.buy__title {
    font-size: var(--section-title-font-size);
}

/* Правка 16: «Левая часть должна быть шире и с белой плашкой. Правая сторона уже,
   и не должна быть синей, а белой с тенью». Поэтому колонки переверстаны:
   слева — широкая белая плашка с фото семьи и текстом «Семейная ипотека от 6%»,
   справа — узкие БЕЛЫЕ карточки строк со светлой тенью. */
.buy__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 26px;
    align-items: stretch;

    @media (min-width: 992px) {
        gap: 30px;
        grid-template-columns: minmax(360px, 1fr) 2fr;

        .buy__hero-btn {
            @media (min-width: 992px) {
                min-width: 0;
            }

            @media (min-width: 1400px) {
                min-width: 387px;
            }
        }

        .buy__hero-img {
            flex-grow: 1;
        }

        .buy__item {
            align-items: center;
            padding-right: 37px;
            padding-left: 50px;
        }

        .buy__list {
            @media (min-width: 992px) {
                gap: 30px;
            }
        }
    }

    @media (min-width: 1200px) {
        .buy__hero-btn {
            margin-top: 38px;
        }
    }
}

.buy__hero,
.buy__item {
    border-radius: 17px;
    background-color: #fff;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);

    @media (min-width: 992px) {
        border-radius: 30px;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    }
}

.buy__hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.buy__hero-img {
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (max-width: 991px) {
        aspect-ratio: 3/2;
    }
}

.buy__hero-body {
    position: relative;
    padding: 22px 26px 24px;
    background: #fff;
    z-index: 2;

    @media (min-width: 992px) {
        padding-bottom: 38px;
    }
}

.buy__hero-title {
    font-size: 32px;

    @media (min-width: 992px) {
        font-size: 36px;
    }

    @media (min-width: 1400px) {
        font-size: 55px;
    }
}

.buy__hero-btn {
    margin-top: 22px;
    margin-right: auto;
    margin-left: auto;
    width: max-content;
    min-width: 335px;
}

.buy__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.buy__item-action {
    --btn-width: max-content;

    @media (min-width: 992px) {
        min-width: 253px;
    }

    @media (max-width: 991px) {
        --btn-font-size: 16px;
        --btn-height: 38px;
        min-width: 244px;
        border-radius: 8px;
    }

    @media (max-width: 575px) {
        --btn-font-size: 10px;
        --btn-height: 28px;
        min-width: 144px;
        border-radius: 6px;
    }
}

.buy__item-label {
    flex-grow: 1;
    font-size: 18px;

    @media (min-width: 768px) {
        font-size: 24px;
    }

    @media (min-width: 992px) {
        font-size: 36px;
    }

    @media (min-width: 1200px) {
        font-size: 40px;
    }

    @media (min-width: 1400px) {
        font-size: 55px;
    }
}

.buy__list {
    display: grid;
    gap: 10px;
    align-content: stretch;
}

.buy__item {
    display: flex;
    justify-content: space-between;
    padding: 14px 10px 22px 14px;
    gap: 16px;
    transition: box-shadow 0.2s ease, transform 0.05s ease;

    @media (min-width: 992px) {
        min-height: 110px;
    }

    @media (min-width: 1200px) {
        min-height: 120px;
    }

    @media (min-width: 1400px) {
        min-height: 138px;
    }
}

.buy__item:hover {
    box-shadow: var(--ml-card-shadow);
}

/* ─────────────────────────────────────────────
   ИПОТЕЧНЫЙ КАЛЬКУЛЯТОР
   ─────────────────────────────────────────────*/
/* Правка 17: «Синий фильтр не нужен, белая плашка слишком длинная.
   В калькуляторе нет ползунков». Поэтому: overlay убран, плашка с заголовком
   сжата по содержимому, форма получает range-инпуты. */
.calc {
    position: relative;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
    background: var(--secondary-color);
}

.calc__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/calc-bg.jpg");
    background-size: cover;
    background-position: center;
}

.calc__calc-btn {
    display: flex;
    width: 100%;
}

.calc__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.calc__title-card {
    background: #fff;
    color: var(--ml-text);
    border-radius: var(--ml-r-md);
    padding: 22px 28px;
    align-self: start;
    display: inline-flex; /* плашка по содержимому, не во всю ширину */
    width: auto;
    max-width: 100%;
}

.calc__title-card h3 {
    font-size: clamp(22px, 2.2vw, 32px);
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* поле с ползунком — заголовок + значение в строке + range под ними */
.calc__field-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.calc__result {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--ml-line);
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.calc__result span {
    color: var(--brand-color);
}

.favorite-cards-section__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.flat-card {
    padding: 24px;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.flat-card:hover {
    box-shadow: var(--ml-card-shadow);
    border-color: transparent;
}

.flat-card__plan {
    position: relative;
    overflow: hidden;
}

.flat-card__plan-img-box {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .swiper {
        height: 100%;
    }
}

/* Бейдж «Готовая квартира» внутри плана сверху-слева — но компактный, не перекрывает план (правка 9). */
.flat-card__plan-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0.2em 1em;
    border-radius: var(--ml-r-pill);
    font-size: 13px;
    line-height: 1;
    background: #FE5112CC;
    color: #fff;
    pointer-events: none;

    @media (min-width: 992px) {
        min-height: 42px;
        font-size: 20px;
    }
}

.flat-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}

.flat-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;

    @media (min-width: 992px) {
        font-size: 28px;
    }

    @media (min-width: 1400px) {
        font-size: 34px;
    }
}

.flat-card__area {
    font-size: 18px;
    color: var(--ml-text);
    margin-top: 2px;
    font-weight: 500;
}

.flat-card__foot-action {

}

.flat-card__heart {
    width: 32px;
    height: 32px;
    transition: color 0.15s ease;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    background-image: var(--heart-icon-soft);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0;

    @media (min-width: 992px) {
        margin-top: 0.5em;
    }
}

.flat-card__heart svg {
    width: 22px;
    height: 22px;
}

.flat-card__heart:hover,
.flat-card__heart.is-active {
    background-image: var(--heart-icon-hilight);
}

.flat-card__meta {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 18px;
    line-height: 1.2;
    color: #0E2545CC;

    @media (min-width: 992px) {
        margin-top: 25px;
    }
}

.flat-card__chips {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    @media (min-width: 992px) {
        margin-top: 33px;
    }
}

.flat-card__chip {
    width: max-content;
    display: flex;
    align-items: center;
    padding-right: 1em;
    padding-left: 1em;
    height: 31px;
    font-size: 15px;
    background-color: #88BAFF33;
    border-radius: 9999px;

    @media (min-width: 992px) {
        height: 42px;
        font-size: 20px;
    }
}

.flat-card__chip_accent {
    background-color: #88FF9633;
}

.flat-card__foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

/* Стрелки внутри карточки планировки — крупные синие круги (правка 9). */
.flat-card__foot-nav {
    margin-top: 30px;
    justify-content: center;
}

.flat-card__foot-nav .slide-btn {
    --slide-btn-size: 30px;
}

.flat-card__foot-nav .slide-btn svg {
    width: 20px;
    height: 20px;
}

.mortgage {
    margin-top: 41px;

    .noUi-connect {
        background-color: #00EEC5;
    }

    .noUi-connects {
        border-radius: 0;
    }

    .noUi-horizontal {
        height: 2px;
    }

    .noUi-handle {
        right: -5px;
        top: -4px;
        width: 10px;
        height: 10px;
        background-color: var(--brand-color);
        box-shadow: none;
        border: none;
        border-radius: 2px;
    }

    .noUi-handle::after {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 2px;
        height: 2px;
        background-color: #fff;
    }

    .noUi-handle::before {
        display: none;
    }

    .noUi-target {
        border: none;
        box-shadow: none;
        background: none;
    }

    .number-slider {
        margin-right: 7px;
        margin-left: 7px;
    }

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.mortgage__bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mortgage__inner {
    /*max-width: var(--container-width-with-padding);*/
    /*margin-right: auto;*/
    /*margin-left: auto;*/
    padding: 50px max(calc(50% - var(--container-width) / 2), var(--container-inline-padding)) 160px;
}

.mortgage__calc-btn {
    margin-top: 23px;
}

.mortgage__calc-panel {
    --input-bg-color: #fff;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);

    @media (min-width: 992px) {
        padding: 30px;
        border-radius: 20px;
    }
}

.mortgage__inputs {
    display: grid;
    gap: 14px;

    @media (min-width: 992px) {
        gap: 20px;
    }
}

.mortgage__parameter {
    --input-height: 33px;
    --input-font-size: 15px;
    --input-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    --input-border-radius: 9px;
    --input-head-font-size: 13px;
    --top-label-color: #0E2545CC;
    --input-head-postfix-color: #8B8B8BCC;

    .input-item__head {
        display: flex;
        justify-content: space-between;
    }

    @media (min-width: 992px) {
        --input-height: 45px;
        --input-font-size: 20px;
        --input-head-font-size: 18px;
    }
}

.mortgage__title {
    margin-bottom: 47px;
    padding: 15px 34px 17px;
    font-size: var(--section-title-font-size);
    background-color: #fff;
    border-radius: 30px;

    @media (min-width: 992px) {
        padding-bottom: 19px;
        border-radius: 24px;
    }

    @media (min-width: 1400px) {
        padding-top: 18px;
        padding-bottom: 26px;
        border-radius: 30px;
    }
}

@media (min-width: 992px) {
    .mortgage__calc-btn {
        margin-top: 30px;
    }

    .mortgage__inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 688px;
    }
}

@media (max-width: 991px) {
    .mortgage__calc-panel,
    .mortgage__title {
        width: 413px;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
}

.plans {
    --base-gap: 20px;
    margin-top: 54px;
    background: #fff;

    .catalog-filter {
        margin-bottom: 80px;

        @media (min-width: 992px) {
            margin-bottom: 30px;
        }
    }

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.plans__head {
    margin-bottom: 32px;

    @media (min-width: 992px) {
        display: flex;
        flex-wrap: wrap;
        column-gap: 20px;

        .plans__head-right {
            display: flex;
            column-gap: 20px;
        }

        .plans__sub {
            flex-shrink: 0;
        }

        .plans__title {
            flex-grow: 1;
        }
    }

    @media (min-width: 1400px) {
        gap: 70px;

        .plans__head-right {
            padding-top: 19px;
            gap: 60px;
        }
    }

    @media (max-width: 991px) {
        .plans__head-action {
            margin-top: 20px;
        }

        .plans__title {
            margin-bottom: 0.5em;
        }
    }
}

.plans__head-action {
    max-width: 400px;
}

@media (min-width: 992px) {
    .plans__head {
        margin-bottom: 54px;
    }
}

@media (min-width: 1200px) {
    .plans__title {
        margin-right: auto;
    }
}

.plans__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.plans__title {
    font-size: 34px;

    @media (min-width: 992px) {
        font-size: 40px;
    }

    @media (min-width: 1400px) {
        font-size: 70px;
    }
}

.plans__sub {
    font-size: 16px;
    line-height: 1.2;

    @media (min-width: 992px) {
        font-size: 20px;
    }
}

.plans__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--base-gap);
}

.plans__card-item {
    min-width: 0;
    container-type: inline-size;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.2);

    @media (max-width: 575px) {
        .flat-card__main {
            margin-top: 20px;
        }
    }

    @container (min-width: 480px) {
        .flat-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .flat-card__chips {
            margin-bottom: 18px;
        }

        .flat-card__foot {
            margin-top: auto;
        }

        .flat-card__main {
            margin-top: 0;
            display: flex;
            flex-direction: column;
        }
    }
}

.plans__pages {
    display: grid;
    gap: var(--base-gap);
}

.plans__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
}

.plans__pagination-info {
    font-size: 20px;
}

@media (min-width: 768px) {
    .plans__grid {
        grid-template-columns: 1fr 1fr;

        .flat-card {
            height: 100%;
            display: grid;
        }

        .flat-card__chips {
            margin-bottom: 18px;
        }

        .flat-card__foot {
            margin-top: auto;
        }

        .flat-card__main {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
    }
}

@media (min-width: 1400px) {
    .plans {
        --base-gap: 30px;
    }
}

.commerce {
    margin-top: 34px;
    background: #fff;

    @media (min-width: 992px) {
        margin-top: 103px;
    }
}

.commerce__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;

    @media (min-width: 576px) {
        .commerce__head-action {
            flex-shrink: 0;
            width: max-content;
            min-width: 290px;
        }
    }
}

.commerce__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.commerce__title {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.commerce__frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.commerce__media-cover:hover {
    .commerce__play {
        background-color: var(--hover-play-btn-bg-color);
    }
}

.commerce__play {
    position: absolute;
    z-index: 70;
    width: var(--play-btn-size);
    height: var(--play-btn-size);
    inset: 0;
    margin: auto;
    border-radius: 50%;
    background-color: var(--play-btn-bg-color);
    background-image: var(--play-icon-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: var(--play-icon-size);
    transition: background-color 0.2s;
}

.commerce__play svg {
    width: 22px;
    height: 22px;
    margin-left: 4px;
}

.commerce__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commerce_video-playing .commerce__play {
    opacity: 0;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   БЛОК ЭНКО
   ─────────────────────────────────────────────*/
.company-facts {
    margin-top: 55px;

    @media (min-width: 992px) {
        margin-top: 83px;
    }
}

.company-facts__inner {

    /*@media (max-width: 991px) {*/
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
    /*}*/
}

.company-facts__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 72px;
    align-items: center;

    @media (min-width: 992px) and (max-width: 1199px) {
        .company-facts__logo {
            width: 100%;
            /*max-width: var(--container-width-with-padding);*/
            /*margin-right: auto;*/
            /*margin-left: auto;*/
            /*padding-right: var(--container-inline-padding);*/
            /*padding-left: var(--container-inline-padding);*/
        }
    }

    @media (min-width: 1200px) {
        display: flex;
        justify-content: flex-end;
        gap: 48px;
        padding-left: var(--container-inline-padding);

        .company-facts__logo {
            flex-shrink: 0;
        }

        .company-facts__stats {
            column-gap: 0;
            row-gap: 30px;
        }

        .company-facts__stat-item {
            height: 100%;
        }

        .company-facts__stat-item:first-child,
        .company-facts__stat-item:nth-child(2) {
            padding-bottom: 40px;
            border-bottom: 1px solid var(--secondary-color);
        }

        .company-facts__stat-item:nth-child(even) {
            /*padding-right: var(--container-inline-padding);*/
            padding-left: 20px;
        }
    }

    @media (min-width: 1400px) {
        .company-facts__label-footnote {
            margin-top: 0;
        }

        .company-facts__label {
            display: flex;
            gap: 20px
        }
    }
}

.company-facts__logo img {
    max-width: 100%;
    width: 324px;
}

.company-facts__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px 56px;
    padding-left: 32px;

    @media (min-width: 1400px) {
        display: flex;
        flex-wrap: wrap;
        max-width: 1030px;

        .company-facts__stat-item {
            height: auto;
            flex-grow: 1;
        }
    }
}

.company-facts__num {
    font-size: 46px;
    color: #0000F8;
    line-height: 1.22;

    @media (min-width: 992px) {
        font-size: 55px;
    }

    @media (min-width: 1400px) {
        font-size: 63px;
    }
}

.company-facts__num sup {
    font-size: 0.55em;
    vertical-align: super;
}

.company-facts__label-footnote {
    margin-top: 2em;
    display: block;
    font-size: 12px;

    @media (min-width: 992px) {
        font-size: 16px;
    }
}

.company-facts__label {
    font-size: 16px;
    color: var(--secondary-color);
    margin-top: 0.8em;
    text-wrap: balance;

    @media (min-width: 992px) {
        font-size: 22px;
    }
}


/* ─────────────────────────────────────────────
   ХОД СТРОИТЕЛЬСТВА
   ─────────────────────────────────────────────*/
.build-progress {
    margin-top: 62px;

    @media (min-width: 992px) {
        margin-top: 106px;
    }
}

.build-progress__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);

    @media (min-width: 576px) {
        .build-progress__head-action {
            flex-shrink: 0;
            width: max-content;
            min-width: 290px;
        }
    }

    @media (min-width: 992px) {
        margin-bottom: 68px;
    }
}

.build-progress__month-item {
    position: relative;
    width: min(6vw, 72px);
    display: flex;
    justify-content: flex-end;
    color: var(--secondary-color);
    border-bottom: 1px solid;
    padding-bottom: 35px;

}

.build-progress__month-label {
    writing-mode: sideways-lr;
    white-space: nowrap;
    font-size: 16px;
}

.build-progress__month-item::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 15px;
    content: '';
    background: currentColor;
}

.build-progress__month-item:first-child {
    border-bottom: none;
}

/*.build-progress__month-item:first-child::after {*/
/*    display: none;*/
/*}*/

.build-progress__month-item_year-begin::after {
    height: 60px;
    bottom: -30px;
}

.build-progress__month-item-year {
    position: absolute;
    top: calc(100% + 24px);
    font-size: 63px;
    color: #0000F8;
    translate: 50% 0;
}

.build-progress__slider {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.build-progress__title {
    font-size: var(--section-title-font-size);
}

.build-progress__card {
    position: relative;
    aspect-ratio: 6 / 5;
    border-radius: 13px;
    overflow: hidden;
    user-select: none;
    cursor: pointer;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (min-width: 992px) {
        border-radius: 30px;
    }
}

.build-progress__card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 18px;
    color: #fff;
    border-radius: 20px;
    border: 1px solid;

    @media (min-width: 992px) {
        top: 26px;
        left: 26px;
        font-size: 42px;
        border-radius: 9px;
        border-width: 3px;
    }
}

.build-progress__option._selected {
    color: #0000F8;
}

.build-progress__options-section-outer {
    --head-height: 70px;
    height: var(--head-height);
    width: 100%;
    max-width: 500px;
    position: relative;
}

.build-progress__options-section-outer:has(.build-progress__options-section.active) {
    z-index: 3;
}

.build-progress__options-section {
    position: absolute;
    width: 100%;
    height: var(--head-height);
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

.build-progress__options-section._open {
    .build-progress__options-label::after {
        scale: 1 -1;
    }
}

.build-progress__options-label {
    --arrow-size: 30px;
    --right-padding: 30px;
    position: relative;
    height: var(--head-height);
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    padding-left: 30px;
    padding-right: calc(var(--arrow-size) + var(--right-padding) + 10px);
    font-size: 18px;
    margin-bottom: 18px;
}

.build-progress__options-label::after {
    position: absolute;
    right: 30px;
    top: 0;
    width: var(--arrow-size);
    height: 100%;
    content: '';
    background-image: var(--dropdown-bracket-arrow-w-30-color-brand);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: scale 0.3s ease;
}

.build-progress__options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    display: grid;
    gap: 10px;
    padding: 0 20px 20px;
    background-color: #fff;
}

@media (min-width: 992px) {
    .build-progress__options-section-outer {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .build-progress__inner {
        overflow: hidden;
    }

    .build-progress__slider {
        overflow: visible;
    }
}

@media (max-width: 991px) {
    .build-progress__timeline {
        display: none !important;
    }
}

/* Правка 21: «Временная линия непонятная, нет разделения» — переделана
   как горизонтальная ось с вертикальными рисками для каждого месяца, активный
   месяц подсвечен крупнее, годы 2026 / 2025 как подпись на краях. */
.timeline {
    position: relative;
    padding: 32px 0 8px;
}

.build-progress__timeline-month-control {
    cursor: pointer;
}

.build-progress__timeline-month-control._selected {
    .build-progress__month-label {
        color: #0000F8;
    }
}

@media (hover: hover) {
    .build-progress__timeline-month-control:hover {
        .build-progress__month-label {
            color: #0000F8;
        }
    }
}
.build-progress__timeline-months {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 4px;
    padding: 0;
    color: var(--ml-text-mute);
    font-size: 11px;
    overflow: auto;
    padding-bottom: 100px;
}

/* ─────────────────────────────────────────────
   ПОДПИСКА НА РАССЫЛКУ
   ─────────────────────────────────────────────*/
.subscribe-banner {
    background: #fff;
}

.subscribe-banner__card {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 30px;
    padding: 40px 40px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start; /* текст наверху, не по центру (правка 22) */
    overflow: hidden;
    min-height: 280px;

    @media (min-width: 992px) {
        display: flex;
        min-height: 422px;

        .subscribe-banner__card-bg {
            align-self: flex-end;
            max-width: 40%;
            flex-shrink: 0;
            height: 422px;
            width: 622px;
            position: relative;

            img {
                width: 622px;
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: bottom right;
            }
        }

        .subscribe-banner__text {
            flex-grow: 1;
        }
    }
}

.subscribe-banner__card-bg {

    img {
        width: 268px;
        margin-left: auto;
    }
}

.subscribe-banner__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.subscribe-banner__text {
    align-self: start;
}

.subscribe-banner__title {
    font-size: var(--section-title-font-size);
}

.subscribe-banner__sub {
    margin-top: 10px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;

    @media (min-width: 992px) {
        font-size: 20px;
    }
}

.subscribe-banner__btn {
    margin-top: 22px;
    max-width: 100%;

    @media (min-width: 576px) {
        width: 387px;
    }

    @media (min-width: 992px) {
        margin-top: 44px;
    }
}

/* ─────────────────────────────────────────────
   ПАРТНЁРЫ / АГРЕГАТОРЫ
   ─────────────────────────────────────────────*/
.partners {
    margin-top: 39px;


    @media (min-width: 992px) {
        margin-top: 86px;
    }
}

.partners__group + .partners__group {
    margin-top: 36px;
}

.partners__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.partners__title {
    font-size: 34px;
    color: var(--secondary-color);
    margin-bottom: 1.5em;

    @media (min-width: 992px) {
        font-size: 40px;
    }

    @media (min-width: 1400px) {
        font-size: 51px;
    }
}

.partners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 58px 48px;

    @media (min-width: 1400px) {
        column-gap: 100px;
    }
}

.partners__list img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;

    @media (min-width: 992px) {
        height: 47px;
    }

    @media (min-width: 1400px) {
        height: 64px;
    }
}

.partners__list img:hover {
    opacity: 1;
}

.platforms {
    margin-top: 45px;

    @media (min-width: 992px) {
        margin-top: 70px;
    }
}

.platforms__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);

    @media (min-width: 1400px) {
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 100px;
    }
}

.platforms__list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;

    img {
        flex-shrink: 0;
        object-fit: contain;
        height: 54px;

        @media (min-width: 992px) {
            height: 74px;
        }

        @media (min-width: 1400px) {
            height: 80px;
        }
    }
}

.platforms__title {
    margin-bottom: 1em;
    font-size: 18px;

    @media (min-width: 992px) {
        font-size: 35px;
    }
}

/* ─────────────────────────────────────────────
   ФУТЕР
   ─────────────────────────────────────────────*/
/* Правка 24: «В футере нет воздуха, все ссылки должны быть столбиком в правой
   части». Воздуха больше (padding 56px), копирайт слева, ссылки справа в столбик. */
.footer-main {
    margin-top: 50px;
    background: var(--secondary-color);
    color: #fff;
    padding: 56px 0;
    font-size: 13px;
}

.footer-main__row {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 42%);
    gap: 32px 64px;
    align-items: start;
}

.footer-main__copy {
    align-self: start;
    white-space: nowrap;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    justify-self: end;
    width: 100%;
    max-width: 480px;
}

.footer-main__link {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.45;
    text-wrap: pretty;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main__link:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .footer-main__copy {
        order: 1;
        margin-top: 39px;
    }

    .footer-main__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-main {
        padding-top: 41px;
        padding-bottom: 88px;
    }
}


/* ─────────────────────────────────────────────
   ОБЩИЕ СЕКЦИОННЫЕ ЗАГОЛОВКИ
   ─────────────────────────────────────────────*/
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.section-head__title {
    max-width: 760px;
}

.section-head__sub {
    color: var(--ml-text-mute);
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.product-details-section__area-info {
    display: grid;
    gap: 17px;
    margin-top: 30px;
    padding: 22px 14px 28px;
    background-color: #88BAFF33;
    border-radius: 30px;
}

.product-details-section__area-info-item {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
    font-size: 18px;

    @media (min-width: 992px) {
        font-size: 20px;
    }
}

.product-details-section__area-info-item::after {
    flex-grow: 1;
    content: "";
    display: inline-block;
    width: 100%;
    min-width: 1em;
    height: 1px;
    margin-left: 8px;
    color: #0E254552;
    background: repeating-linear-gradient(
            to right,
            currentColor 0,
            currentColor 8px,
            transparent 8px,
            transparent 15px
    );
    opacity: 0.5;
}

.product-details-section__area-info-item-label {
    margin: 0;
    white-space: nowrap;
}

.product-details-section__area-info-item-value {
    order: 1;
    margin: 0;
    white-space: nowrap;

    sup {
        font-size: 0.7em;
    }
}

.product-details-section__feature {
    width: max-content;
    display: flex;
    align-items: center;
    padding-right: 1em;
    padding-left: 1em;
    height: 31px;
    font-size: 15px;
    background-color: var(--feature-bg-color);
    border-radius: 9999px;

    @media (min-width: 992px) {
        height: 42px;
        font-size: 20px;
    }
}

.product-details-section__feature_theme_special {
    background-color: var(--special-feature-bg-color);
}

.product-details-section__feature_theme_hot {
    color: #fff;
    background-color: var(--hot-feature-bg-color);
}

.product-details-section__features {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 8px;

    @media (min-width: 992px) {
        column-gap: 12px;
        row-gap: 11px;
    }
}

.product-details-section__img-box {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .swiper {
        height: 100%;
    }
}

.product-details-section__info-block {
    margin-top: 37px;
}

.product-details-section__info-footer-actions {
    margin-top: 24px;
    display: grid;
    gap: 15px;

    @media (min-width: 992px) {
        gap: 21px;
    }
}

.product-details-section__inner {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);
}

.product-details-section__object-meta {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.22;
    color: #0E2545CC;
}

.product-details-section__parameter {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
    font-size: 18px;

    @media (min-width: 992px) {
        font-size: 26px;
    }
}

.product-details-section__parameter::after {
    flex-grow: 1;
    content: "";
    min-width: 1em;
    height: 1px;
    margin-left: 8px;
    color: #0E254552;
    background: repeating-linear-gradient(
            to right,
            currentColor 0,
            currentColor 8px,
            transparent 8px,
            transparent 15px
    );
    opacity: 0.5;
}

.product-details-section__parameter-label {
    margin: 0;
    white-space: nowrap;
    font-family: 'Roboto Condensed', system-ui, sans-serif;
    font-weight: 400;
}

.product-details-section__parameter-value {
    order: 1;
    margin: 0;
    white-space: nowrap;
}

.product-details-section__parameters {
    display: grid;
    gap: 32px;
    margin-top: 37px;
}

.product-details-section__slider-nav-block {
    --slide-btn-size: 37px;
    margin-top: 30px;
    justify-content: center;

    @media (min-width: 992px) {
        --slide-btn-size: 74px;
        --swiper-pagination-bullet-size: 20px;
        --swiper-pagination-bullet-horizontal-gap: 5px;
        gap: 20px;
    }
}

.product-details-section__title {
    font-size: 34px;
    line-height: 1.22;

    sup {
        font-size: 0.7em;
    }


    @media (min-width: 992px) {
        font-size: 48px;
    }
}

.product-details-section__view-block {

}

.product-details-section__view-footer-btn {
    --btn-width: max-content;
    min-width: 265px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 33px;

}

@media (min-width: 1200px) {
    .product-details-section__area-info {
        margin-top: 37px;
    }

    .product-details-section__main {
        max-width: 1400px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "view title"
        "view info";
        column-gap: 30px;
    }

    .product-details-section__info-block {
        grid-area: info;
        margin-top: 60px;
        min-width: 0;
    }

    .product-details-section__title-block {
        grid-area: title;
    }

    .product-details-section__more-btn {
        --btn-width: max-content;
        min-width: 387px;
    }

    .product-details-section__parameters {
        margin-top: 52px;
    }

    .product-details-section__tour-btn {
        --btn-width: max-content;
        min-width: 372px;
    }

    .product-details-section__view-block {
        grid-area: view;
        min-width: 0;
    }

    .product-details-section__view-footer-btn {
        margin-top: 45px;
    }
}

@media (min-width: 1400px) {
    .product-details-section__main {
        column-gap: 50px;
    }
}

@media (min-width: 1550px) {
    .product-details-section__area-info {
        width: 473px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .product-details-section__parameters {
        /*--right-indent: 100px;*/
        /*width: calc(100% + var(--right-indent));*/
    }

    .product-details-section__parameter-value {
        min-width: 200px;
        /*min-width: var(--right-indent);*/
    }
}

@media (max-width: 1199px) {
    .product-details-section__view-block {
        margin-top: 30px;
    }
}

.zoom-center-accent-slider {
    position: relative;

    @media (min-width: 992px) {
        --imgRatio: 0.56;

        .zoom-center-accent-slider__item {
            position: relative;
            min-width: 0;
        }

        .zoom-center-accent-slider__slides {
            align-items: flex-end;
            column-gap: 30px;
            display: grid;
            grid-template-columns: 1fr 1.38fr 1fr;
        }

        .zoom-center-accent-slider__nav-btn-container {
            top: 63%;
        }
    }

    @media (max-width: 991px) {
        --imgRatio: 0.53;

        .zoom-center-accent-slider__item {
            & _side {
                display: none !important;
            }

        }
    }

    .slider-nav-btn {
        .zoom-center-accent-slider_theme_glass {
            @media (max-width: 991px) {
                --elemSize: 49px;

                .slider-nav-btn {
                    & __icon {
                        width: 12px;
                        height: 12px;
                    }
                }
            }
        }
    }
}

.zoom-center-accent-slider__nav-btn {
    position: absolute;
    z-index: 50;

    transform: translateY(-50%);

    .zoom-center-accent-slider_next {
        right: var(--containerPadding);
    }

    .zoom-center-accent-slider_prev {
        left: var(--containerPadding);
    }
}

.zoom-center-accent-slider__nav-btn-container {
    .swiper-pagination {
        font-size: 20px;
    }
}

.zoom-center-accent-slider__item_side {
    pointer-events: none;

    .video-cover__play-icon {
        opacity: 0;
    }

}

.project-video-gallery {
    --labelHeight: 56px;
    margin-top: 56px;
    margin-bottom: 32px;
    overflow: hidden;

    @media (min-width: 992px) {
        --labelHeight: 100px;
        margin-top: 103px;
        margin-bottom: 89px;

        .zoom-center-accent-slider {
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            width: 200%;
        }
    }

    @media (min-width: 1600px) {
        overflow: hidden;

        .zoom-center-accent-slider {
            width: 2360px;

        }
    }
}

.project-video-gallery__body {
    max-width: 2360px;
    margin-right: auto;
    margin-left: auto;
}

.project-video-gallery__head {
    max-width: var(--container-width-with-padding);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-inline-padding);
    padding-left: var(--container-inline-padding);

    @media (min-width: 992px) {
        display: flex;
        /*align-items: center;*/
        justify-content: space-between;
        margin-bottom: 55px;
    }
}

.project-video-gallery__head-nav-block {
    width: 222px;
}

.project-video-gallery__media-box {
    aspect-ratio: 9 / 5;
    position: relative;

    img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.project-video-gallery__slide-play-icon {
    position: absolute;
    z-index: 70;
    width: var(--play-btn-size);
    height: var(--play-btn-size);
    inset: 0;
    margin: auto;
    border-radius: 50%;
    background-color: var(--play-btn-bg-color);
    background-image: var(--play-icon-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: var(--play-icon-size);
    transition: background-color 0.2s;
}

.project-video-gallery__slide-cover {
    cursor: pointer;
}

.zoom-center-accent-slider__item_side {
    .project-video-gallery__slide-play-icon {
        display: none;
    }
}

.project-video-gallery__slide-cover:hover {
    .project-video-gallery__slide-play-icon {
        background-color: var(--hover-play-btn-bg-color);
    }
}

.project-video-gallery__title {
    font-size: 30px;

    @media (min-width: 992px) {
        font-size: 40px;
    }

    @media (min-width: 1400px) {
        font-size: 55px;
    }
}

@media (min-width: 992px) {
    .zoom-center-accent-slider__slider-unit {
        border-radius: 30px;
    }
}

@media (max-width: 991px) {
    .project-video-gallery__head {
        margin-bottom: 32px;
    }

    .project-video-gallery__title {
        margin-bottom: 1em;
    }

    .zoom-center-accent-slider {
        padding-right: var(--container-inline-padding);
        padding-left: var(--container-inline-padding);
    }

    .zoom-center-accent-slider__item_center {
        border-radius: 9px;
        overflow: hidden;
    }

    .zoom-center-accent-slider__item_side {
        display: none !important;
    }
}


/* ─────────────────────────────────────────────
   АДАПТИВ
   Брейкпоинты:
     ≥1280  — desktop large
     ≥1024  — desktop / iPad landscape
     ≥768   — tablet portrait / large mobile landscape
     ≥640   — large mobile
     <640   — mobile (375–414)
     <375   — small mobile (iPhone SE)
   ─────────────────────────────────────────────*/
/* Телефон в шапке скрываем только на планшете/мобиле — на десктопе всё по макету */
@media (max-width: 1023px) {
    .header__phone {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header__inner {
        gap: 14px;
    }

    .header__nav {
        gap: 18px;
        margin-left: 8px;
    }

    .header__nav-link {
        font-size: 13px;
    }
}

/* Между десктопом и планшетом */
@media (max-width: 1100px) {
    .flat-card {
        padding: 18px;
        gap: 18px;
    }

    .comfort__track {
        height: clamp(360px, 56vw, 560px);
    }

    .comfort-card__body {
        max-width: 60vw;
    }
}

/* iPad landscape / small laptops */
@media (max-width: 1024px) {
    .root {
        --ml-pad-x: 24px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__inner {
        min-height: 620px;
        padding-top: 120px;
        padding-bottom: 220px;
    }

    .hero__monogram {
        width: 86px;
        height: 86px;
    }

    .countdown {
        align-items: flex-start;
    }

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

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

    .buy__hero {
        min-height: 320px;
    }

    .calc {
        padding: 64px 0;
    }

    .calc__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .calc__title-card {
        width: 100%;
    }

    .calc__title-card h3 {
        white-space: normal;
    }

    .comfort__track {
        height: clamp(320px, 60vw, 520px);
    }

    .comfort-card__body {
        top: auto;
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: 100%;
        padding: 16px 18px;
    }

    .comfort__topbar {
        top: 16px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
    }

    .comfort__overlay {
        justify-content: center;
    }


    .company-facts__stats {
        padding-left: 0;
        border-left: 0;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .build-progress {
        padding-bottom: 56px;
    }

    .subscribe-banner__card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .partners__list {
        gap: 53px 36px;
    }

    .partners__list img {
        height: 58px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .root {
        --ml-pad-x: 16px;
        font-size: 15px;
    }

    .header__inner {
        gap: 12px;
    }

    .header__phone {
        display: none;
    }

    .hero {

    }

    .hero__inner {
        min-height: 580px;
        padding-top: 160px;
        padding-bottom: 200px;
    }

    .hero__form-block {
        padding: 22px;
        width: 100%;
    }

    .hero__monogram {
        width: 60px;
        height: 60px;
        top: 80px;
        right: 16px;
    }

    .stat__num {
        font-size: 36px;
    }

    .stat__label {
        font-size: 12px;
    }

    .genplan {
        padding: 48px 0;
    }

    .pano {
        padding: 18px 0;
    }

    .pano__row {
        gap: 14px;
    }

    .countdown__seg {
        min-width: 48px;
    }

    .plans__head {
        margin-bottom: 20px;
    }

    .flat-card {
        padding: 16px;
    }

    .flat-card__foot {
        flex-direction: column;
        align-items: stretch;
    }

    .flat-card__foot .btn {
        width: 100%;
    }

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

    .calc__title-card {
        padding: 18px 22px;
    }

    .commerce__play {
        width: 52px;
        height: 52px;
    }

    .company-facts__stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .build-progress {
        padding-bottom: 48px;
    }

    .subscribe-banner__card {
        padding: 20px;
        border-radius: 30px;
    }

    .partners__group + .partners__group {
        margin-top: 24px;
    }

    .partners__list {
        display: grid;
        gap: 34px;
    }

    .partners__list img {
        height: 42px;
    }

    .partners__list_text span {
        font-size: 18px;
    }

    .footer-main__row {
        grid-template-columns: 1fr;
    }

    .footer-main__links {
        align-items: flex-start;
        text-align: left;
    }

    .build-progress__timeline-months {
        font-size: 10px;
        grid-template-columns: repeat(8, 1fr);
    }

    .build-progress__timeline-months span:nth-child(odd) {
        display: none;
    }

    .timeline__ticks {
        grid-template-columns: repeat(8, 1fr);
    }

    .timeline__ticks span:nth-child(n+9) {
        display: none;
    }
}

/* iPhone SE и узкие */
@media (max-width: 374px) {
    .root {
        --ml-pad-x: 12px;
    }

    .hero__form-block {
        padding: 18px;
    }

    .hero__form-title {
        font-size: 22px;
    }

    .countdown__grid {
        gap: 6px;
    }

    .countdown__seg {
        min-width: 40px;
    }
}

/* ────────  Page styles───────*/
.compare-main {
    .subscribe-banner {
        margin-top: 40px;

        @media (min-width: 992px) {
            margin-top: 85px;
        }
    }
}

.favorites-main {
    .subscribe-banner {
        margin-top: 40px;

        @media (min-width: 992px) {
            margin-top: 90px;
        }
    }
}

.index-main {
    .subscribe-banner {
        margin-top: 52px;
    }
}

.product-details-main {
    .subscribe-banner {
        margin-top: 50px;

        @media (min-width: 992px) {
            margin-top: 80px;
        }
    }
}

.visually-hidden {
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
}

@media print {
    .header {
        display: none;
    }
}

/* ──────────TEMP, remove on prod────────── */
