        /* =========================================
           Дизайн-система (Performance First)
           ========================================= */
        :root {
            --soft-sand: #F6F4F0;
            --muted-linen: #EBE8E1;
            --deep-forest: #2C3531;
            --deep-forest-50: rgba(44, 53, 49, 0.78);
            --deep-forest-10: rgba(44, 53, 49, 0.1);
            --santa-fe: #96543E;
            --santa-fe-hover: #8F4E3A;

            --radius-capsule: 999px;
            --radius-card: 24px;

            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Сброс базовых стилей (без белого и черного) */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--soft-sand);
            color: var(--deep-forest);
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1, h2, h3, h4 {
            line-height: 1.2;
            font-weight: 600;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-card);
        }

        /* =========================================
           Утилиты и Компоненты
           ========================================= */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Кнопки */
        .btn {
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            background-color: var(--santa-fe);
            color: var(--soft-sand);
            padding: 18px 36px;
            border-radius: var(--radius-capsule);
            font-size: 1.125rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            text-decoration: none;
        }

        .btn:hover {
            background-color: var(--santa-fe-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px var(--deep-forest-10);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: wait;
            transform: none;
            box-shadow: none;
        }

        .btn-outline {
            background-color: transparent;
            color: var(--deep-forest);
            border: 2px solid var(--deep-forest-10);
            padding: 12px 24px;
        }

        .btn-outline:hover {
            background-color: var(--muted-linen);
            border-color: var(--deep-forest);
            transform: translateY(0);
            box-shadow: none;
        }

        /* Плейсхолдеры для фото */
        .img-placeholder {
            background: linear-gradient(135deg, var(--muted-linen) 0%, #E2DEC0 100%);
            border-radius: var(--radius-card);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--santa-fe);
            font-weight: 500;
            text-align: center;
            padding: 24px;
            aspect-ratio: 4/3;
        }

        /* Honeypot-поле: видят только боты */
        .hp-field {
            position: absolute;
            left: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
            opacity: 0;
        }

        /* Статус и результат отправки формы */
        .form-status {
            margin-top: 12px;
            font-size: 0.9375rem;
            min-height: 1.4em;
        }

        .form-status.is-error {
            color: #A56254;
            font-weight: 500;
        }

        /* Чекбокс согласия на обработку персональных данных */
        .consent {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.875rem;
            line-height: 1.5;
            color: var(--deep-forest-50);
            cursor: pointer;
        }

        .consent input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-top: 2px;
            flex-shrink: 0;
            accent-color: var(--santa-fe);
            cursor: pointer;
        }

        .consent a {
            color: var(--deep-forest);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .consent a:hover {
            color: var(--santa-fe);
        }

        /* Уведомление о cookies */
        .cookie-banner {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            z-index: 300;
            display: flex;
            align-items: center;
            gap: 24px;
            max-width: 880px;
            margin: 0 auto;
            background-color: var(--muted-linen);
            color: var(--deep-forest);
            padding: 16px 24px;
            border-radius: var(--radius-card);
            box-shadow: 0 12px 32px rgba(44, 53, 49, 0.25);
            font-size: 0.875rem;
            line-height: 1.5;
        }

        .cookie-banner[hidden] {
            display: none;
        }

        .cookie-banner a {
            color: var(--deep-forest);
            text-decoration: underline;
            text-underline-offset: 3px;
            white-space: nowrap;
        }

        .cookie-banner .btn {
            padding: 12px 24px;
            font-size: 0.875rem;
            flex-shrink: 0;
        }

        @media (max-width: 600px) {
            .cookie-banner {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
                gap: 12px;
            }
        }

        .form-success {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            text-align: center;
            padding: 24px 0 8px;
            font-size: 1.125rem;
            font-weight: 500;
        }

        .form-success svg {
            width: 56px;
            height: 56px;
            stroke: var(--santa-fe);
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* =========================================
           Шапка (Header)
           ========================================= */
        .header {
            padding: 24px 0;
            position: sticky;
            top: 0;
            background-color: rgba(246, 244, 240, 0.9);
            backdrop-filter: blur(12px);
            z-index: 100;
        }

        .header__inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: var(--muted-linen);
            padding: 16px 32px;
            border-radius: var(--radius-capsule);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .logo span {
            color: var(--santa-fe);
        }

        .header__contacts {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .header__phone {
            font-weight: 600;
            font-size: 1.125rem;
        }

        .header__phone:hover {
            color: var(--santa-fe);
        }

        .header__phone--small {
            font-weight: 500;
            font-size: 0.9375rem;
        }

        .messengers {
            display: flex;
            gap: 12px;
        }

        .messenger-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-capsule);
            background-color: var(--soft-sand);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--deep-forest);
            transition: var(--transition);
        }

        .messenger-icon:hover {
            background-color: var(--santa-fe);
            color: var(--soft-sand);
        }

        .messenger-icon svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
        }

        /* =========================================
           Главный экран (Hero)
           ========================================= */
        .hero {
            padding: 80px 0;
        }

        .hero__inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: center;
        }

        .hero__content h1 {
            font-size: 3.5rem;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
        }

        .hero__content p {
            font-size: 1.25rem;
            color: var(--deep-forest-50);
            margin-bottom: 48px;
            max-width: 90%;
        }

        .hero__img {
            aspect-ratio: 1/1;
            height: 100%;
            border-radius: var(--radius-card);
            overflow: hidden;
        }

        /* =========================================
           Блок доверия (Trust Bar)
           ========================================= */
        .trust {
            padding: 40px 0 80px;
        }

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

        .trust__item {
            background-color: var(--muted-linen);
            padding: 32px 24px;
            border-radius: var(--radius-card);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .trust__icon {
            width: 64px;
            height: 64px;
            background-color: var(--soft-sand);
            border-radius: var(--radius-capsule);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--santa-fe);
        }

        .trust__icon svg {
            width: 32px;
            height: 32px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .trust__title {
            font-size: 1.125rem;
            font-weight: 600;
        }

        /* =========================================
           Каталог (Catalog)
           ========================================= */
        .catalog {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
            max-width: 600px;
            margin-inline: auto;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 1.125rem;
            color: var(--deep-forest-50);
        }

        .catalog__grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 32px;
        }

        .card {
            background-color: var(--muted-linen);
            border-radius: var(--radius-card);
            padding: 16px;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
        }

        /* панель хинта не должна прятаться под соседней карточкой (transform при hover
           создаёт stacking context — поднимаем наведённую карточку над соседями) */
        .card:hover, .card:focus-within { z-index: 45; }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px var(--deep-forest-10);
        }

        .card__img {
            aspect-ratio: 4/3;
            margin-bottom: 24px;
            border-radius: calc(var(--radius-card) - 8px);
        }

        .card__img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

        .card__price {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--deep-forest);
        }

        .card__content {
            padding: 0 12px 12px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card__title {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .card__specs {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
            font-size: 0.875rem;
            color: var(--deep-forest-50);
        }

        .card__desc {
            margin-bottom: 32px;
            flex-grow: 1;
        }

        .card .btn {
            width: 100%;
            padding: 14px 24px;
            font-size: 1rem;
            background-color: var(--deep-forest);
            color: var(--soft-sand);
        }

        .card .btn:hover {
            background-color: var(--santa-fe);
        }

        /* =========================================
           Финальная форма (Contact)
           ========================================= */
        .contact {
            padding: 80px 0;
            background-color: var(--muted-linen);
            margin-top: 80px;
            border-radius: 48px 48px 0 0;
        }

        .contact__inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: center;
        }

        .contact__img {
            aspect-ratio: 3/4;
            border-radius: var(--radius-card);
            overflow: hidden;
        }

        .form-card {
            background-color: var(--soft-sand);
            padding: 56px;
            border-radius: var(--radius-card);
        }

        .form-card h2 {
            font-size: 2.25rem;
            margin-bottom: 16px;
        }

        .form-card p {
            color: var(--deep-forest-50);
            margin-bottom: 40px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-control {
            width: 100%;
            padding: 20px 24px;
            background-color: var(--muted-linen);
            border: 2px solid transparent;
            border-radius: var(--radius-card);
            color: var(--deep-forest);
            font-size: 1rem;
            font-family: inherit;
            transition: var(--transition);
            outline: none;
        }

        .form-control::placeholder {
            color: rgba(44, 53, 49, 0.4);
        }

        .form-control:focus {
            border-color: var(--santa-fe);
            background-color: var(--soft-sand);
        }

        /* Стили для выпадающего списка */
        select.form-control {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232C3531' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 24px center;
            padding-right: 56px;
            cursor: pointer;
        }

        /* Имитация цвета плейсхолдера до выбора опции */
        select.form-control:invalid {
            color: rgba(44, 53, 49, 0.4);
        }

        select.form-control option {
            color: var(--deep-forest);
        }

        .form-submit {
            width: 100%;
            margin-top: 16px;
        }

        /* =========================================
           Футер
           ========================================= */
        .footer {
            background-color: var(--muted-linen);
            padding: 40px 0;
            text-align: center;
            color: var(--deep-forest-50);
        }

        .footer__requisites {
            margin-top: 20px;
            font-size: 0.8125rem;
            line-height: 1.6;
        }

        .footer__requisites p {
            margin: 0 0 10px;
        }

        .footer__links {
            margin-top: 12px;
            font-size: 0.8125rem;
        }

        .footer__links a {
            color: var(--deep-forest);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .footer__links a:hover {
            color: var(--santa-fe);
        }

        /* =========================================
           Модальное окно (Dialog)
           ========================================= */
        dialog {
            margin: auto;
            border: none;
            border-radius: var(--radius-card);
            background-color: var(--soft-sand);
            color: var(--deep-forest);
            padding: 0;
            max-width: 480px;
            width: 90%;
            box-shadow: 0 24px 64px rgba(44, 53, 49, 0.2);
        }

        dialog::backdrop {
            background-color: rgba(44, 53, 49, 0.6);
            backdrop-filter: blur(4px);
        }

        .modal-content {
            padding: 48px 40px;
            text-align: center;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: none;
            border: none;
            color: var(--deep-forest-50);
            cursor: pointer;
            padding: 8px;
            border-radius: var(--radius-capsule);
            transition: var(--transition);
        }

        .modal-close:hover {
            color: var(--deep-forest);
            background-color: var(--muted-linen);
        }

        .modal-content h3 {
            font-size: 1.75rem;
            margin-bottom: 12px;
        }

        .modal-content p {
            color: var(--deep-forest-50);
            margin-bottom: 32px;
        }

        .modal-messengers {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .btn-messenger {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 20px;
            font-size: 1rem;
            background-color: var(--muted-linen);
            color: var(--deep-forest);
            border-radius: var(--radius-capsule);
        }
        .btn-messenger svg { width: 20px; height: 20px; flex-shrink: 0; }
        .btn-messenger { white-space: nowrap; }

        .btn-messenger:hover {
            background-color: var(--deep-forest);
            color: var(--soft-sand);
        }

        /* =========================================
           Адаптивность (Mobile)
           ========================================= */
        @media (max-width: 1024px) {
            .hero__inner, .contact__inner {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .hero__content {
                text-align: center;
                order: 2;
            }
            .hero__content p {
                margin: 0 auto 40px;
            }
            .hero__img {
                order: 1;
            }
            .trust__grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .header__inner {
                flex-direction: column;
                gap: 16px;
                padding: 24px;
            }
        }

        @media (max-width: 600px) {
            .hero__content h1 {
                font-size: 2.5rem;
            }
            .trust__grid {
                grid-template-columns: 1fr;
            }
            .form-card {
                padding: 32px 24px;
            }
        }

/* ===== Каталог: бейдж хита, карточка — цена ===== */
.card { position: relative; }
.card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #8F4E3A;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

/* ===== Страница каталога ===== */
.breadcrumbs { padding: 16px 0 0; font-size: 0.875rem; color: var(--deep-forest-50); }
.breadcrumbs a { color: var(--deep-forest-50); text-decoration: underline; }
.catalog-hero { padding: 32px 0 8px; }
.options__list {
    list-style: none;
    padding: 0;
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
    font-size: 0.9375rem;
}
.options__list li {
    background: var(--deep-forest-10, rgba(0,0,0,0.04));
    padding: 12px 16px;
    border-radius: 12px;
}

/* ===== Секции: процесс, условия, FAQ, отзывы ===== */
.process { padding: 80px 0; }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.process__step { background: var(--deep-forest-10, rgba(0,0,0,0.04)); border-radius: var(--radius-card, 20px); padding: 24px; }
.process__num {
    position: absolute;
    top: -8px; right: -8px;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    background: var(--soft-sand, #F6F4F0);
    border: 1.5px solid var(--santa-fe, #b5654f);
    border-radius: 50%;
    font-size: 0.6875rem; font-weight: 700; color: var(--santa-fe, #b5654f);
    line-height: 1;
}
.terms { padding: 80px 0; }
.terms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.terms__card { border: 1px solid var(--deep-forest-10, rgba(0,0,0,0.08)); border-radius: var(--radius-card, 20px); padding: 24px; }
.terms__card h3 { margin-bottom: 12px; }
.terms__list { padding-left: 18px; display: grid; gap: 8px; font-size: 0.9375rem; color: var(--deep-forest-50, #555); }
.faq { padding: 80px 0; }
.faq__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.faq__item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.faq__item p { color: var(--deep-forest-50, #555); font-size: 0.9375rem; }
.reviews { padding: 80px 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.reviews__quote { font-style: italic; margin-bottom: 12px; }
.reviews__author { font-size: 0.875rem; color: var(--deep-forest-50, #555); }

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

/* ===== Подбор по сценарию + Как заказать ===== */
.scenarios { padding: 80px 0 40px; }
.scenarios__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.scenario { background: var(--deep-forest-10, rgba(0,0,0,0.04)); border-radius: var(--radius-card, 20px); padding: 24px; }
.scenario h3 { font-size: 1.15rem; margin-bottom: 8px; }
.scenario p { font-size: 0.875rem; color: var(--deep-forest-50, #555); margin-bottom: 12px; }
.scenario ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.scenario a { text-decoration: underline; }
.order-steps { padding: 80px 0; }
.order-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ostep { border: 1px solid var(--deep-forest-10, rgba(0,0,0,0.08)); border-radius: var(--radius-card, 20px); padding: 24px; }
.ostep h3 { font-size: 1.05rem; margin: 8px 0; }
.ostep p { font-size: 0.875rem; color: var(--deep-forest-50, #555); }

/* UX: якорные переходы не прячут карточку под sticky-шапкой */
.card[id], section[id] { scroll-margin-top: 96px; }

/* ======================================================================
   Интерактивные состояния кликабельных элементов: база / наведение / нажатие
   (плюс видимый фокус для навигации с клавиатуры)
   ====================================================================== */

/* --- Кнопки (.btn, включая cookie-ok и back-link) --- */
.btn:active {
    background-color: var(--santa-fe-hover);
    transform: translateY(1px);
    box-shadow: none;
}

/* --- Кнопки-мессенджеры в модалке --- */
.btn-messenger:active {
    background-color: var(--deep-forest);
    color: var(--soft-sand);
    transform: translateY(1px) scale(0.99);
}

/* --- Ссылки в тексте, сценариях, условиях, FAQ, благодарности --- */
.consent a,
.scenario a,
.breadcrumbs a,
.thanks a,
.terms__card a,
.faq__item a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--deep-forest-10);
}

.consent a:hover,
.scenario a:hover,
.breadcrumbs a:hover,
.thanks a:hover,
.terms__card a:hover,
.faq__item a:hover {
    color: var(--santa-fe);
    text-decoration-color: var(--santa-fe);
}

.consent a:active,
.scenario a:active,
.breadcrumbs a:active,
.thanks a:active,
.terms__card a:active,
.faq__item a:active {
    color: var(--santa-fe-hover);
    opacity: 0.75;
}

/* --- Телефоны в шапке --- */
.header__phone:active {
    color: var(--santa-fe-hover);
    transform: translateY(1px);
}

/* --- Иконки-мессенджеры в шапке --- */
.messenger-icon:active {
    transform: scale(0.9);
    background-color: var(--santa-fe-hover);
}

/* --- Крестик закрытия модалки --- */
.modal-close:active {
    transform: scale(0.88);
    color: var(--santa-fe-hover);
}

/* --- Карточка модели (нажатие после наведения) --- */
.card:active {
    transform: translateY(-1px) scale(0.995);
    box-shadow: 0 4px 14px var(--deep-forest-10);
}

/* --- Логотип --- */
.logo:active {
    opacity: 0.7;
}

/* --- Фокус с клавиатуры: единый видимый стиль --- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--santa-fe);
    outline-offset: 3px;
    border-radius: 6px;
}

.btn:focus-visible {
    outline-offset: 4px;
}

/* ===== Выравнивание карточек каталога: заголовки/спеки на одной высоте, кнопки в линию ===== */
.card__title {
    min-height: 2.7em;
}
.card__specs {
    min-height: 3.4em;
    align-content: start;
}
/* Одинокая карточка в последнем ряду 3-колоночной сетки — по центру (десктоп/планшет) */
@media (min-width: 769px) {
    .catalog__grid .card:nth-child(3n + 1):last-child {
        grid-column: 2;
        justify-self: center;
        width: min(340px, 100%);
    }
}
/* Секции из 1–2 карточек — узкая центрированная сетка */
.catalog__grid--narrow {
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    justify-content: center;
}

/* ===== Этапы производства — по центру ===== */
.process__grid {
    max-width: 1080px;
    margin: 0 auto;
}
.process__step {
    text-align: center;
}

/* ===== Фото в hero и контактном блоке ===== */
.hero__img img,
.contact__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* ===== Реальные отзывы со скриншотами ===== */
.reviews__quote { font-style: italic; }

/* ===== Иконки сценариев и шагов ===== */
.scenario__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--deep-forest-10, rgba(0,0,0,0.05));
    color: var(--santa-fe, #b5654f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.scenario__icon svg { width: 24px; height: 24px; }
.ostep .scenario__icon { margin-left: auto; margin-right: auto; }

/* ===== Слоган в шапке ===== */
.header__slogan {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--santa-fe, #BA7364);
    margin-left: 12px;
}
@media (max-width: 900px) {
    .header__slogan { display: none; }
}

/* ===== Центрирование сеток и карт (правка владельца) ===== */
.process__grid,
.order-steps__grid,
.terms__grid,
.reviews__grid,
.scenarios__grid,
.map-switch {
    justify-content: center;
}
.ostep,
.terms__card {
    text-align: center;
}
# .map-frame устарело: в разметке id="map-frame"
# .map-frame {
    max-width: 1000px;
    margin: 0 auto;
}
.map-btn.is-active {
    background-color: var(--deep-forest, #333);
    color: var(--soft-sand, #fff);
}
.process__icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--deep-forest-10, rgba(0,0,0,0.05));
    color: var(--santa-fe, #b5654f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.process__icon svg { width: 34px; height: 34px; }
/* Иконки шагов «Как заказать» — та же пропорция с бейджем в уголке */
.ostep .scenario__icon {
    position: relative;
    width: 68px; height: 68px;
    border-radius: 18px;
    margin: 0 auto 14px;
}
.ostep .scenario__icon svg { width: 34px; height: 34px; }

/* ===== Центрирование последних плиток сеток + карты-кнопки ===== */
.map-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.process__grid .process__step:last-child,
.order-steps__grid .ostep:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(340px, 100%);
}

/* ======================================================================
   МОБИЛЬНАЯ ВЁРСТКА: компактная шапка и плотные секции (≤768px)
   ====================================================================== */
@media (max-width: 768px) {
    /* Шапка: одна компактная строка-сетка */
    .header {
        padding: 10px 0;
    }
    .header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
    }
    .header .logo { font-size: 1.35rem; justify-self: start; }
    .header__slogan { display: none; }

    .header__contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        min-width: 0;
    }
    .header__phone {
        font-size: 0.95rem;
        white-space: nowrap;
        line-height: 1.2;
    }
    .header__phone--small { font-size: 0.72rem; opacity: 0.85; }

    .messengers { justify-content: flex-end; }
    .messenger-icon { width: 34px; height: 34px; }

    /* Плотность секций */
    section { padding-top: 48px; padding-bottom: 48px; }
    .hero { padding-top: 24px; }
    .hero__inner { gap: 16px; }
    .hero h1, h1 { font-size: 1.65rem; line-height: 1.25; }
    .section-header h2 { font-size: 1.35rem; }
    .section-header p { font-size: 0.95rem; }

    .card__title { font-size: 1.15rem; }
    .card__price { font-size: 0.95rem; }

    /* Кнопки — на всю ширину карточки */
    .card .btn { width: 100%; }

    /* Шапка липкая и компактная на мобиле */
    .header {
        position: sticky;
        top: 0;
        padding: 8px 0;
    }
}
@media (max-width: 480px) {
    .header__phone--small { display: none; } /* СтройДом — только на широких экранах */
    .header .logo { font-size: 1.25rem; }
    .messengers { display: none; } /* на узких — соцсети в футере и контакт-блоке */
}


/* ===== Подписи полей форм (a11y: постоянные label) ===== */
.form-group > label.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--deep-forest-50);
    margin-bottom: 6px;
    text-align: left;
}
.modal-form .form-group > label.field-label { text-align: center; }

/* ===== Отступ заголовков секций сверху (правка владельца 13.10) ===== */
.contact .section-header,
.reviews + .contact .section-header { padding-top: 0; }
.contact { padding-top: 112px; }
.section-header { padding-top: 8px; }

/* ===== Витрина «Вся продукция» (14.10) ===== */
.card__price--request { color: var(--muted, #6b6257); font-weight: 500; }
.assort-note {
    max-width: 760px;
    margin: 0 auto 32px;
    padding: 14px 20px;
    background: rgba(186, 115, 100, 0.08);
    border-left: 3px solid var(--terracotta-deep, #96543E);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}
a.card.assort-tile { text-decoration: none; color: inherit; display: block; }
a.card.assort-tile:hover .card__title { color: var(--terracotta-deep, #96543E); }
.assort-links { text-align: center; font-size: 1rem; line-height: 1.8; }
.assort-links p { margin-bottom: 8px; font-weight: 600; }
.assort-links a { color: var(--terracotta-deep, #96543E); text-decoration: underline; }
.btn--ghost {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid var(--terracotta-deep, #96543E);
    border-radius: 999px;
    color: var(--terracotta-deep, #96543E);
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--terracotta-deep, #96543E); color: #fff; }
.btn--ghost:active { transform: translateY(1px); }

/* ===== Хинт товара (наведение/фокус/тап) — 14.10 ===== */
.hint { position: relative; display: inline-block; vertical-align: middle; margin-left: 8px; }
.card__title .hint { margin-bottom: 6px; }
.hint__btn {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--terracotta-deep, #96543E);
    background: transparent;
    color: var(--terracotta-deep, #96543E);
    font: 700 0.8rem/1 system-ui, sans-serif;
    cursor: help;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0; transition: background 0.15s, color 0.15s;
}
.hint__btn:hover, .hint__btn:focus-visible, .hint__btn[aria-expanded="true"] { background: var(--terracotta-deep, #96543E); color: #fff; }
.hint__btn:active { transform: translateY(1px); }
.hint__panel {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: -8px;
    width: min(360px, calc(100vw - 48px));
    max-height: min(60vh, 420px);
    overflow: auto;
    background: #fff;
    color: #3d372f;
    border: 1px solid rgba(150, 84, 62, 0.25);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(61, 55, 47, 0.18);
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 400;
    text-align: left;
    cursor: auto;
}
/* показ только через .open — позицию климпит JS (панель не должна резаться краем окна) */
.hint__panel.open { display: block; }
@media (max-width: 768px) {
    .hint__panel { width: min(320px, calc(100vw - 56px)); }
}

/* Заглушка «Фото по запросу» для карточек без фото (аудит UX 14.10) */
.card__img--ph {
    display: flex; align-items: center; justify-content: center;
    background: repeating-linear-gradient(45deg, rgba(150, 84, 62, 0.05) 0 12px, rgba(150, 84, 62, 0.09) 12px 24px);
    border: 1.5px dashed rgba(150, 84, 62, 0.35);
    border-radius: inherit;
}
.card__img--ph span {
    font-size: 0.95rem; font-weight: 600;
    color: var(--terracotta-deep, #96543E);
}

/* ===== Навигация в шапке (14.10, UX-аудит: меню не было на первом экране) ===== */
.topnav { background: #fff; border-bottom: 1px solid rgba(61, 55, 47, 0.08); }
.topnav__row {
    display: flex; gap: 6px 22px; align-items: center;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-top: 10px; padding-bottom: 10px;
    scrollbar-width: none;
}
.topnav__row::-webkit-scrollbar { display: none; }
.topnav__link {
    font-size: 0.95rem; font-weight: 600;
    color: var(--deep-forest, #3d372f);
    text-decoration: none;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.topnav__link:hover, .topnav__link:focus-visible {
    color: var(--terracotta-deep, #96543E);
    border-bottom-color: var(--terracotta-deep, #96543E);
}
.topnav__link[aria-current="page"] {
    color: var(--terracotta-deep, #96543E);
    border-bottom-color: var(--terracotta-deep, #96543E);
}
@media (max-width: 768px) {
    .topnav__link { font-size: 0.875rem; padding: 4px 0; }
}

/* Подсказка «ленту можно прокрутить» на мобайле (аудит 14.10) */
@media (max-width: 768px) {
    .topnav__row {
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    }
}

/* Базовый стиль кнопок переключения карты (аудит Круга 2, 14.10) */
.map-btn {
    padding: 8px 18px;
    border: 1.5px solid rgba(61, 55, 47, 0.25);
    border-radius: 999px;
    background: #fff;
    color: var(--deep-forest, #3d372f);
    font: 600 0.9rem/1 system-ui, sans-serif;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.map-btn:hover, .map-btn:focus-visible {
    border-color: var(--terracotta-deep, #96543E);
    color: var(--terracotta-deep, #96543E);
}
.map-btn:active { transform: translateY(1px); }

/* Визуально скрытый, но читаемый роботами/скринридерами заголовок секции */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    overflow: hidden; white-space: nowrap;
}
