﻿/* AURORAFABRIC — общие стили для категорийных страниц (poshiv/ и brendirovanie/) и для catalog.html */
:root {
    --primary-color: #D95435;
    --primary-color-rgb: 217, 84, 53;
}

/* ======================================================================
   PILOT-ENHANCEMENTS 2026-06-02 — 7 блоков от консенсуса 9 агентов
   ====================================================================== */

/* #3 — Sticky-нав на длинной странице (Cartographer) */
.cat-sticky-nav {
    position: sticky;
    top: 80px;
    z-index: 50;
    margin: 0 0 28px;
    padding: 12px 18px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #eaeaea;
    border-radius: 10px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-sticky-nav::-webkit-scrollbar { display: none; }
.cat-sticky-nav a {
    flex-shrink: 0;
    padding: 8px 14px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.cat-sticky-nav a:hover,
.cat-sticky-nav a.is-active {
    background: rgba(217,84,53,.08);
    color: var(--primary-color);
}
@media (max-width: 767px) {
    .cat-sticky-nav { top: 0; border-radius: 0; margin-left: -15px; margin-right: -15px; }
}

/* #10 — Pull-quote (Creative) */
.cat-pullquote {
    padding: 80px 20px;
    text-align: center;
    background: #fafafa;
    margin: 56px 0;
    border-radius: 4px;
    position: relative;
}
.cat-pullquote__text {
    font-family: var(--title-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    max-width: 800px;
    margin: 0 auto 18px;
    position: relative;
}
.cat-pullquote__text::before {
    content: '\201C';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    font-size: 140px;
    line-height: 1;
    color: var(--primary-color);
    opacity: .9;
}
.cat-pullquote__author {
    font-size: 14px;
    color: #777;
    margin: 0;
}
@media (min-width: 768px) {
    .cat-pullquote__text { font-size: 38px; }
    .cat-pullquote { padding: 110px 40px 90px; }
}

/* #17 — Сравнительная таблица Фабрика vs Ателье (SEO + Copywriter) */
.cat-compare {
    margin: 48px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-compare table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px;
}
.cat-compare th,
.cat-compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.cat-compare th {
    background: #fafafa;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cat-compare th:nth-child(3) {
    background: rgba(217,84,53,.06);
    color: var(--primary-color);
}
.cat-compare td:nth-child(3) {
    background: rgba(217,84,53,.03);
    font-weight: 600;
    color: #1a1a1a;
}
.cat-compare tr:last-child td { border-bottom: 0; }

/* #4 — Глоссарий (AI-opt + Factory-tech) */
.cat-glossary {
    margin: 48px 0;
}
.cat-glossary dl {
    display: grid;
    gap: 24px;
    margin: 24px 0 0;
}
@media (min-width: 768px) {
    .cat-glossary dl { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
}
.cat-glossary dt {
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f3d9d2;
}
.cat-glossary dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #444;
}

/* #1 — Microcalc (UX) */
.cat-calc {
    margin: 56px 0;
    padding: 36px 28px;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    border: 1px solid #eaeaea;
    border-radius: 10px;
}
.cat-calc__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}
.cat-calc__sub {
    color: #666;
    margin: 0 0 24px;
    font-size: 14px;
}
.cat-calc__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .cat-calc__grid { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; gap: 18px; }
}
.cat-calc__field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    margin-bottom: 6px;
}
.cat-calc__field select,
.cat-calc__field input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    font-family: inherit;
}
.cat-calc__field select:focus,
.cat-calc__field input:focus {
    border-color: var(--primary-color);
    outline: 0;
}
.cat-calc__result {
    margin: 24px 0 16px;
    padding: 18px 22px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.cat-calc__result-label {
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 4px;
}
.cat-calc__result-value {
    font-family: var(--title-font);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}
.cat-calc__result-value small {
    font-size: 14px;
    color: #ccc;
    font-weight: 400;
}
.cat-calc__cta {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    border: 0;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s;
}
.cat-calc__cta:hover { background: #b8442b; }
.cat-calc__disclaimer {
    color: #999;
    font-size: 12px;
    margin: 0;
    text-align: center;
    font-style: italic;
}

/* #13 — Split-flap counter (Wow) */
.cat-metric-num.is-counting { transition: color .3s; }
.cat-metric-num.is-flipping { animation: flipNum .35s ease-out; }
@keyframes flipNum {
    0%   { transform: translateY(0); opacity: 1; }
    50%  { transform: translateY(-6px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* #11 — Тёмный финальный CTA (Creative) */
.cat-form-promo--dark {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 32px;
    border-radius: 12px;
    margin: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cat-form-promo--dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-color);
}
.cat-form-promo--dark h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .cat-form-promo--dark h2 { font-size: 44px; }
}
.cat-form-promo--dark p {
    color: #bbb;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.55;
}
.cat-form-promo--dark .category-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 700;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    letter-spacing: .02em;
}
.cat-form-promo--dark .category-cta:hover {
    background: #ef6d4d;
    transform: translateY(-2px);
}
.cat-form-promo--dark .category-cta-micro {
    color: #888;
    margin-top: 14px;
    font-size: 13px;
}

/* ─── Нижние секции FAQ/Документы — больше воздуха (creative-director, 2026-06-02) ── */
.cat-faq,
.cat-docs,
.cat-final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
}
@media (min-width: 768px) {
    .cat-faq,
    .cat-docs,
    .cat-final-cta { padding-top: 96px; padding-bottom: 96px; }
}

/* ─── .mega-col-title — замена <h6> в мега-меню (SEO: не использовать heading-теги в навигации) ── */
.mega-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary-color);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3d9d2;
    font-family: var(--title-font, 'Manrope', sans-serif);
}

/* ─── 152-ФЗ checkbox в форме заявки (legal P0) ── */
.form-consent {
    margin: 10px 0 0;
    font-size: 12px;
    color: #555;
    line-height: 1.45;
}
.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.form-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}
.form-consent a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ======================================================================
   .emoji-icon — Tabler SVG-иконки, заменившие эмодзи (2026-05-31)
   Наследуют размер от font-size и цвет от color родителя.
   ====================================================================== */
.emoji-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ======================================================================
   Текстовый логотип «Аврора» (заменяет img шаблона)
   ====================================================================== */
.avrora-text-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none !important;
    padding: 4px 0;
}
.avrora-text-logo-main {
    font-family: var(--title-font, 'Manrope', sans-serif);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}
.avrora-text-logo-sub {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}
@media (min-width: 992px) {
    .avrora-text-logo-main { font-size: 28px; }
    .avrora-text-logo-sub { font-size: 10px; }
}
/* В тёмной шапке (если class header-light убран — на скролле) — белый цвет */
header:not(.header-light):not(.transparent) .avrora-text-logo-main { color: #fff; }

/* ======================================================================
   Mega-menu (выпадающие пункты «Пошив» / «Брендирование» в верхнем меню)
   Стиль unistaff: full-width белая полоса под шапкой, контент центрирован
   ====================================================================== */
/* Header — позиционный контекст для full-width мега-меню */
header.transparent,
header.header-light,
header.header-mobile { position: relative; }

/* .has-mega — НЕ позиционирован, чтобы мега-меню анкорилось к header */
#mainmenu li.has-mega { position: static; }
/* Kyros designesia.js автоматически добавляет к <li class="has-mega"> ещё классы
   has-child + menu-item-has-children → активируется Kyros'овский ::after с FontAwesome-стрелкой.
   Получалось две стрелки рядом. Гашу Kyros'овскую, оставляю свою бордерную (см. ниже). */
#mainmenu li.has-mega::after,
#mainmenu li.has-mega.has-child::after,
#mainmenu li.has-mega.menu-item-has-children::after {
    display: none !important;
    content: none !important;
}
#mainmenu li.has-mega > a::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    margin-left: 8px;
    opacity: .7;
    transition: transform .2s ease;
    vertical-align: middle;
}
/* Подчёркивание-анимация Kyros: <span> внутри <a> по умолчанию display:block;position:relative.
   В has-mega это в паре с ::after создавало вторую строку → <a> прыгал на 30px вверх и был выше остальных пунктов меню.
   Делаем span absolute — выходит из потока, ::after остаётся на одной строке с текстом, высота <a> = как у обычных пунктов. */
#mainmenu li.has-mega > a > span {
    position: absolute !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
}
#mainmenu li.has-mega:hover > a::after,
#mainmenu li.has-mega.is-open > a::after,
#mainmenu li.has-mega:focus-within > a::after {
    transform: translateY(2px) rotate(-135deg);
}

/* Активный пункт меню (когда меню открыто) — оранжевый */
#mainmenu li.has-mega:hover > a,
#mainmenu li.has-mega.is-open > a,
#mainmenu li.has-mega:focus-within > a {
    color: var(--primary-color) !important;
}

/* Сама полоса дропдауна — full-width относительно header */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    background: #fff;
    color: #333;
    padding: 36px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
    border-top: 1px solid #f0f0f0;
    z-index: 9999;
}
#mainmenu li.has-mega:hover > .mega-menu,
#mainmenu li.has-mega:focus-within > .mega-menu,
#mainmenu li.has-mega.is-open > .mega-menu {
    display: block;
}

/* Центрированный inner-контейнер — как .container в Kyros */
.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    gap: 24px 36px;
}
.mega-menu-inner--4col { grid-template-columns: repeat(4, 1fr); }
.mega-menu-inner--3col { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.mega-menu-inner--2col { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
.mega-menu-inner--1col { grid-template-columns: 1fr; max-width: 500px; }

/* Заголовок группы — чёрный текст + оранжевая «зарубка» слева */
.mega-menu .mega-col h6 {
    position: relative;
    padding-left: 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
    letter-spacing: .8px;
    margin: 0 0 16px;
    line-height: 1.2;
    text-align: left !important;  /* перебить Kyros style.css h6 { text-align:center } */
}
.mega-menu .mega-col h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Override Kyros: #mainmenu li ul {width:180px; visibility:hidden; opacity:0; position:absolute}
   + мобильный header.header-mobile #mainmenu li ul {height:0; overflow:hidden} */
#mainmenu li.has-mega .mega-menu .mega-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: auto !important;
}
#mainmenu li.has-mega .mega-menu .mega-col li {
    margin: 0 0 6px !important;
    display: list-item !important;
    float: none !important;
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
}
#mainmenu li.has-mega .mega-menu .mega-col li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 5px 0 !important;
    font-size: 14px !important;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    border: 0 !important;
    background: transparent !important;
    text-transform: none !important;
    font-weight: 400 !important;
    transition: color .15s ease, transform .15s ease !important;
}
#mainmenu li.has-mega .mega-menu .mega-col li a:hover {
    color: var(--primary-color) !important;
    transform: translateX(3px);
}

/* Иконки мега-меню (только колонки 1-2 «Корпоративным клиентам» + «Сервисный сектор»).
   Спрайт images/icons.svg, набор Tabler outline. В колонках 3-4 иконок нет — текст прижимается влево.
   Цвет всегда бренд-оранжевый, без hover-смены (по пожеланию заказчика 2026-05-29). */
.mega-col .menu-ico {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ВАЖНО: переопределение правила #mainmenu a span из style.css шаблона Kyros (width:0; color:#fff).
   Без этого текст пунктов мега-меню (обёрнутый в <span> для flex-выравнивания с иконкой) — невидим. */
#mainmenu li.has-mega .mega-menu .mega-col li a span {
    width: auto !important;
    color: inherit !important;
    font-size: inherit !important;
    display: inline !important;
    text-transform: none !important;
    border-bottom: none !important;
    line-height: inherit !important;
    position: static !important;
}

/* Тач-таргет бургера на мобильном — минимум 44×44 px */
@media (max-width: 991px) {
    #menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Мобильная версия (≤991px): мега-меню жёстко скрыты, разворачиваются только через .is-open (mega-menu.js) */
@media (max-width: 991px) {
    /* Защита от обрезки: даём шапке скроллиться при раскрытом аккордеоне */
    header.header-mobile {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #mainmenu li.has-mega > .mega-menu {
        display: none !important;
        position: static !important;
        width: auto !important;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border-top: 0;
        padding: 14px 12px !important;
        border-radius: 8px !important;
        background: #f7f7f7 !important;
        margin: 8px 0 !important;
    }
    #mainmenu li.has-mega.is-open > .mega-menu { display: block !important; }
    .mega-menu-inner {
        max-width: none !important;
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 8px 0 !important;
    }

    /* ── Двухуровневый аккордеон: h6 заголовок колонки = кликабельная кнопка ── */
    .mega-menu .mega-col {
        background: #fff;
        border-radius: 6px;
        border: 1px solid #eee;
        overflow: hidden;
        margin: 0 !important;
    }
    .mega-menu .mega-col > h6 {
        position: relative;
        margin: 0 !important;
        padding: 14px 44px 14px 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        color: #222 !important;
        cursor: pointer;
        user-select: none;
        background: #fff;
        transition: background .15s ease, color .15s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        letter-spacing: .6px;
    }
    /* Перебиваем основное правило с оранжевой «зарубкой» — на мобиле она мешает */
    .mega-menu .mega-col > h6::before { display: none !important; }
    /* h6 теперь информационный заголовок группы — не интерактивный (нет «+»),
       т.к. ссылки раскрыты сразу. cursor:default, без hover-эффекта. */
    .mega-menu .mega-col > h6 { cursor: default !important; }
    .mega-menu .mega-col > h6::after { content: none !important; }

    /* Когда «Пошив» открыт — показываем ВСЕ ссылки сразу (одноуровневое раскрытие).
       Двухуровневый аккордеон (skрытые ul) убран 2026-06-01 — юзер ждал сразу все ссылки. */
    #mainmenu li.has-mega.is-open .mega-menu .mega-col > ul {
        display: block !important;
        padding: 0 0 8px 0 !important;
        border-top: 1px solid #f0f0f0;
        background: #fff;
    }
    /* На случай если JS успел повесить .is-open на колонку — оставляем совместимость */
    #mainmenu li.has-mega .mega-menu .mega-col.is-open > ul {
        display: block !important;
    }
    /* Тач-таргеты ссылок ≥44px — accessibility */
    #mainmenu li.has-mega .mega-menu .mega-col li a {
        padding: 12px 18px !important;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        font-size: 14px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }
    #mainmenu li.has-mega .mega-menu .mega-col li:last-child a {
        border-bottom: 0 !important;
    }
}

/* ======================================================================
   Страница категории (poshiv/<slug>.html, brendirovanie/<slug>.html)
   ====================================================================== */
.category-page-section { padding-top: 100px; padding-bottom: 60px; }
@media (min-width: 992px) { .category-page-section { padding-top: 130px; } }

nav.category-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.7;
    height: auto !important;
}
.category-breadcrumbs a,
.category-breadcrumbs span {
    display: inline;
    vertical-align: baseline;
}
.category-breadcrumbs a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
}
.category-breadcrumbs a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.category-breadcrumbs .bc-sep { color: #ccc; margin: 0 6px; }
.category-breadcrumbs .bc-current { color: #555; }

.category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 48px;
}
@media (max-width: 768px) {
    .category-hero { grid-template-columns: 1fr; gap: 22px; }
}
.category-hero-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
/* Обёртка для hero-фото с corner-badge (creative-director, 2026-06-01) */
.category-hero-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.category-hero-img-wrap .category-hero-img {
    border-radius: 0;
}
.category-hero-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Saira', var(--title-font, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    line-height: 1;
    z-index: 2;
    border-radius: 4px;
}
/* Scroll-driven CSS parallax — только если браузер поддерживает */
@supports (animation-timeline: scroll()) {
    .category-hero-img-wrap .category-hero-img {
        animation: heroParallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 600px;
        will-change: transform;
    }
    @keyframes heroParallax {
        from { transform: translateY(0); }
        to   { transform: translateY(60px); }
    }
}
.category-title {
    font-family: var(--title-font);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #222;
    line-height: 1.15;
}
/* Тонкая терракотовая линейка перед H1 — academic editorial accent */
.category-title::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 18px;
}
@media (min-width: 768px) { .category-title { font-size: 38px; } }
@media (min-width: 1200px) { .category-title { font-size: 46px; } }
.category-tagline {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
/* Sub-tagline под основной — снимает 3 возражения сразу */
.category-subtagline {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.category-content {
    background: #fafafa;
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 36px;
}
.category-stub {
    color: #888;
    font-size: 15px;
    margin-bottom: 22px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.category-cta {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    cursor: pointer;
    transition: filter .2s ease;
}
.category-cta:hover { color: #fff; filter: brightness(.92); }

/* ======================================================================
   catalog.html — витрина «Все направления»
   ====================================================================== */
#catalog-hub-section { padding-top: 60px; padding-bottom: 80px; }
.hub-group {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}
.hub-group-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
}
.hub-group-sub {
    color: #888;
    font-size: 14px;
    margin-bottom: 28px;
}
.hub-subgroup-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: .6px;
    margin: 32px 0 14px;
}
.hub-subgroup-title:first-child { margin-top: 0; }

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 576px) { .hub-grid { gap: 16px; } }
@media (min-width: 768px) { .hub-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .hub-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.hub-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.hub-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hub-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #f5f5f5;
}
.hub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.hub-card:hover .hub-card-image img { transform: scale(1.04); }
.hub-card-body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.hub-card-title {
    font-family: var(--title-font);
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
}
@media (min-width: 768px) { .hub-card-title { font-size: 16px; } }
.hub-card-desc {
    font-size: 12.5px;
    color: #666;
    line-height: 1.45;
    margin: 6px 0 0;
}
@media (min-width: 768px) { .hub-card-desc { font-size: 13.5px; } }
/* CSS-кеш бамп для всех HTML — нужно тоже */

/* ======================================================================
   Модалка «Оставить заявку» — общая для всех категорийных страниц
   ====================================================================== */
.order-modal .modal-content { border-radius: 8px; }
.order-modal .modal-title { font-weight: 700; }
.order-modal .order-product-row {
    background: #fafafa;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #555;
}
.order-modal .order-product-row strong { color: #222; }
.order-modal .form-control { margin-bottom: 12px; }
.order-modal .btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: 0;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: filter .2s ease;
}
.order-modal .btn-submit:hover { filter: brightness(.92); }
.order-modal .messenger-block {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eee;
    text-align: center;
}
.order-modal .messenger-block p { color: #888; font-size: 13px; margin-bottom: 12px; }
.order-modal .messenger-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.order-modal .messenger-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    transition: transform .2s ease, filter .2s ease;
}
.order-modal .messenger-icons a:hover { transform: scale(1.1); color: #fff; }
.order-modal .msg-wa { background: #25D366; }
.order-modal .msg-tg { background: #229ED9; }
.order-modal .msg-vk { background: #0077FF; }
.order-modal .msg-tel { background: #555; }
.order-modal .form-msg {
    display: none;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 14px;
}
.order-modal .form-msg.is-shown { display: block; }
.order-modal .form-msg.success { background: #e6f4ea; color: #2d8a47; }
.order-modal .form-msg.error { background: #fdecea; color: #c5342c; }

/* ======================================================================
   AURORAFABRIC — контентные секции категорийной страницы (наполненный landing)
   используются на sportivnaya-ekipirovka.html и далее по всем P1+P2
   ====================================================================== */

.cat-section { margin: 56px 0; }
.cat-section h2 {
    font-family: var(--title-font);
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.25;
}
@media (min-width: 768px) { .cat-section h2 { font-size: 30px; } }
.cat-section p.cat-section-sub {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 760px;
}

.category-cta-micro {
    margin: 10px 0 0;
    font-size: 13px;
    color: #888;
}

/* --- Метрики (4 числа в ряд) --- */
.cat-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 48px 0;
    padding: 28px 20px;
    background: #1a1a1a;
    border-radius: 10px;
    text-align: center;
}
@media (min-width: 768px) {
    .cat-metrics { grid-template-columns: repeat(4, 1fr); padding: 36px 28px; gap: 48px; }
    /* Тонкие разделители между метриками (creative-director, 2026-06-02) */
    .cat-metric + .cat-metric { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 24px; }
}
.cat-metric-num {
    font-family: var(--title-font);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 6px;
}
@media (min-width: 768px) { .cat-metric-num { font-size: 42px; } }
.cat-metric-label {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

/* --- Боль PAS --- */
.cat-pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .cat-pain-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cat-pain {
    padding: 22px;
    background: #fafafa;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}
.cat-pain h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.3;
}
.cat-pain p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- Преимущества (6 карточек) --- */
.cat-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 576px) { .cat-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cat-features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cat-feature {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    transition: border-color .2s ease, transform .2s ease;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
}
.cat-feature:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}
.cat-feature h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.3;
    grid-column: 2;
}
.cat-feature p {
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    grid-column: 2;
}
.cat-feature__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-top: 2px;
    flex-shrink: 0;
}
.cat-feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- Таблица тканей / стандартная таблица данных --- */
.cat-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 0 18px;
}
.cat-data-table thead th {
    background: #f4f4f4;
    color: #222;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #e0e0e0;
}
.cat-data-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    color: #444;
    line-height: 1.5;
    vertical-align: top;
}
.cat-data-table tbody tr:hover { background: #fafafa; }
@media (max-width: 575px) {
    .cat-data-table { font-size: 13px; }
    .cat-data-table thead th,
    .cat-data-table tbody td { padding: 10px 10px; }
}

/* --- Кейсы --- */
.cat-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .cat-cases-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cat-case {
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.cat-case h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.cat-case p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- Таймлайн процесса (5 шагов) --- */
.cat-process {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    counter-reset: process;
}
@media (min-width: 768px) {
    .cat-process { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
.cat-process li {
    counter-increment: process;
    position: relative;
    padding: 22px 18px 18px;
    background: #fafafa;
    border-radius: 8px;
}
.cat-process li::before {
    content: counter(process);
    position: absolute;
    top: -14px;
    left: 18px;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-process li h3 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.cat-process li p {
    color: #555;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

/* --- Промо-блок формы расчёта (тёмный) --- */
.cat-form-promo {
    margin: 56px 0;
    padding: 36px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    text-align: center;
}
.cat-form-promo h2 {
    font-family: var(--title-font);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
@media (min-width: 768px) { .cat-form-promo h2 { font-size: 30px; } }
.cat-form-promo p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 600px;
}
.cat-form-promo .category-cta-micro { color: #888; margin-top: 14px; }

/* --- Сертификаты (список) --- */
.cat-cert-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 768px) { .cat-cert-list { grid-template-columns: repeat(2, 1fr); } }
.cat-cert-list li {
    padding: 14px 18px;
    background: #fafafa;
    border-left: 3px solid #888;
    border-radius: 4px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.cat-cert-list li strong { color: #222; }

/* --- Промо смежной категории (event) --- */
.cat-event-promo {
    margin: 56px 0;
    padding: 28px;
    background: #fafafa;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
}
@media (min-width: 768px) { .cat-event-promo { grid-template-columns: 2fr 1fr; padding: 36px; } }
.cat-event-promo h2 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #222;
}
.cat-event-promo p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.cat-event-promo .cat-event-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.cat-event-promo .cat-event-link:hover { text-decoration: underline; }

/* --- Отзывы --- */
.cat-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) { .cat-reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.cat-review {
    padding: 22px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}
.cat-review-text {
    color: #333;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 14px;
    font-style: italic;
}
.cat-review-author {
    color: #888;
    font-size: 13px;
    font-style: normal;
}

/* --- FAQ-аккордеон --- */
.cat-faq { margin-top: 18px; }
.cat-faq details {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}
.cat-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    color: #222;
    position: relative;
    padding-right: 32px;
    transition: color .15s ease;
}
.cat-faq summary::-webkit-details-marker { display: none; }
.cat-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform .2s ease;
}
.cat-faq details[open] summary::after { content: '−'; }
.cat-faq summary:hover { color: var(--primary-color); }
.cat-faq details > div {
    margin-top: 12px;
    color: #555;
    line-height: 1.65;
    font-size: 14px;
}

/* --- Финальный CTA с окнами заказа --- */
/* Финальный CTA — тёмный, сопоставим по весу с hero (dark hero → light groups → dark price → light scenarios → DARK CTA) */
.cat-final-cta {
    margin: 56px 0 24px;
    padding: 72px 24px;
    background: #1A1A1A;
    border: none;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}
.cat-final-cta h2 {
    font-size: 40px;
    color: #fff;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
@media (max-width: 991px) { .cat-final-cta h2 { font-size: 32px; } }
@media (max-width: 575px) { .cat-final-cta h2 { font-size: 26px; } .cat-final-cta { padding: 48px 20px; } }
.cat-final-cta > p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto 18px;
    max-width: 640px;
}
/* Дедлайны — 4 крупных editorial-блока с цифрой вместо списка с буллетами */
.cat-deadlines {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    max-width: 880px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}
@media (max-width: 767px) {
    .cat-deadlines { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 480px; }
}
@media (max-width: 360px) {
    .cat-deadlines { grid-template-columns: 1fr; }
}
.cat-deadlines li {
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.cat-deadlines__num {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
}
.cat-deadlines__label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}
@media (max-width: 575px) { .cat-deadlines__num { font-size: 26px; } }

/* Trust-сигналы под дедлайнами — закрывают возражения перед CTA */
.cat-final-cta__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 24px;
    margin: 0 auto 24px;
    max-width: 720px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.cat-final-cta__trust span {
    white-space: nowrap;
}
.cat-final-cta .category-cta-micro { color: rgba(255,255,255,0.45); }
/* Телефон-кнопка на тёмном CTA — outlined белый */
.cat-final-cta__tel,
.cat-final-cta .category-cta[href^="tel:"] {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
.cat-final-cta__tel:hover,
.cat-final-cta .category-cta[href^="tel:"]:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Scroll-triggered fade-in для карточек L2 (JS-инициирован) — отключено при prefers-reduced-motion */
.l2-card.anim-fade-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}
.l2-card.anim-fade-init.is-in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .l2-card.anim-fade-init { opacity: 1; transform: none; transition: none; }
}

/* ======================================================================
   AURORAFABRIC — главная страница (L1): hero H1, CTA, sticky-CTA на мобиле
   ====================================================================== */
.hero-h1 {
    font-family: var(--title-font, 'Manrope', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
@media (min-width: 768px) { .hero-h1 { font-size: 38px; } }
@media (min-width: 1200px) { .hero-h1 { font-size: 48px; max-width: 920px; } }

.hero-lead {
    color: #f0f0f0;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 720px;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
@media (min-width: 768px) { .hero-lead { font-size: 17px; } }

.hero-typed { margin-top: 8px; opacity: .9; }

.hero-cta-wrap {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hero-cta-main {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 16px 36px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: filter .2s ease;
}
.hero-cta-main:hover { filter: brightness(.92); color: #fff !important; }
.hero-cta-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    padding: 14px 28px !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none !important;
    letter-spacing: .5px;
    transition: background .2s ease, color .2s ease;
}
.hero-cta-secondary:hover { background: #fff !important; color: var(--primary-color) !important; }
.hero-cta-micro {
    width: 100%;
    margin: 12px 0 0;
    color: #ddd;
    font-size: 13px;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ======================================================================
   Индивидуальный пошив — спец-блоки страницы individualnyy-poshiv
   .cat-what-list — сетка изделий с иконками-эмодзи
   .cat-sizes-block — выделенный блок про нестандартные размеры
   ====================================================================== */
.cat-what-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 24px 0;
}
/* 2-колоночная сетка с 768px (фото больше, чем при 3-кол) — 2026-06-02 */
@media (min-width: 768px) { .cat-what-list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.cat-what-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px 10px 10px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
}
.cat-what-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
/* Только для кликабельных (тег <a>) — расширенный hover */
a.cat-what-item:hover {
    box-shadow: 0 6px 18px rgba(217, 84, 53, .12);
}
a.cat-what-item:hover .cat-what-thumb img {
    transform: scale(1.06);
}
/* Thumbnail 240×160 (для 2-кол) — фото изделия слева, БОЛЬШЕ чем 120×80 */
.cat-what-thumb {
    flex: 0 0 240px;
    width: 240px;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}
.cat-what-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
/* Градиент-переход к стороне текста (плавно из фото в светлый фон карточки) */
.cat-what-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to right, transparent 55%, #fafafa 100%);
}
/* Hover-сдвиг текста для кликабельных карточек */
a.cat-what-item:hover .cat-what-body {
    transform: translateX(4px);
    transition: transform .25s ease;
}
/* Mobile: фото шире и сверху */
@media (max-width: 767px) {
    .cat-what-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .cat-what-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 8px 8px 0 0;
    }
    .cat-what-thumb::after {
        background: linear-gradient(to bottom, transparent 70%, #fafafa 100%);
    }
    .cat-what-body {
        padding: 16px 18px 20px;
    }
}

/* ======================================================================
   .cat-what-rows  —  split-screen variant (с фото + текст), 2026-06-01.
   Заменяет .cat-what-list для страниц где сгенерированы details-фото.
   ====================================================================== */
.cat-what-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid #eee;
}
.cat-what-row {
    display: flex;
    align-items: stretch;
    height: 360px;
    border-bottom: 1px solid #eee;
    background: #fff;
    text-decoration: none !important;
    color: inherit !important;
    transition: background .2s ease;
}
/* По умолчанию: фото слева, текст справа */
.cat-what-row__media {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
}
.cat-what-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
/* Градиент-переход к стороне текста */
.cat-what-row__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to right, transparent 60%, #fff 100%);
}
.cat-what-row__body {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 56px;
}
.cat-what-row__body h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.2;
    color: #1a1a1a;
}
.cat-what-row__body p {
    font-size: 15.5px;
    color: #555;
    line-height: 1.55;
    margin: 0 0 18px;
}
.cat-what-row__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.cat-what-row__cta::after {
    content: '→';
    transition: transform .2s ease;
}
/* Чередование: на чётных рядах фото СПРАВА, текст слева */
.cat-what-row:nth-child(even) {
    flex-direction: row-reverse;
}
.cat-what-row:nth-child(even) .cat-what-row__media::after {
    background: linear-gradient(to left, transparent 60%, #fff 100%);
}
/* Кликабельные ряды (есть страница-цель) */
a.cat-what-row {
    cursor: pointer;
}
a.cat-what-row:hover {
    background: #fdfaf8;
}
a.cat-what-row:hover .cat-what-row__media img {
    transform: scale(1.04);
}
a.cat-what-row:hover .cat-what-row__cta::after {
    transform: translateX(4px);
}
/* Mobile: фото сверху, текст снизу — всегда (без чередования) */
@media (max-width: 768px) {
    .cat-what-row,
    .cat-what-row:nth-child(even) {
        flex-direction: column;
        height: auto;
    }
    .cat-what-row__media,
    .cat-what-row:nth-child(even) .cat-what-row__media {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }
    .cat-what-row__media::after,
    .cat-what-row:nth-child(even) .cat-what-row__media::after {
        background: linear-gradient(to bottom, transparent 70%, #fff 100%);
    }
    .cat-what-row__body,
    .cat-what-row:nth-child(even) .cat-what-row__body {
        padding: 24px 20px 32px;
    }
    .cat-what-row__body h3 { font-size: 22px; }
    .cat-what-row__body p { font-size: 15px; }
}
.cat-what-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}
.cat-what-body strong {
    display: block;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.cat-what-body span {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.cat-sizes-block {
    margin: 56px 0;
    padding: 32px;
    background: rgba(217, 84, 53, 0.06);
    border: 1px solid rgba(217, 84, 53, 0.2);
    border-radius: 10px;
}
.cat-sizes-block h2 {
    color: #222;
    margin: 0 0 8px;
}
.cat-sizes-block > p.subtitle {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.cat-sizes-block > p {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 14px;
}
.cat-sizes-block ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
}
.cat-sizes-block ul li {
    position: relative;
    padding-left: 24px;
    margin: 8px 0;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}
.cat-sizes-block ul li::before {
    content: '●';
    position: absolute;
    left: 6px;
    top: 0;
    color: var(--primary-color);
    font-size: 12px;
}
.cat-sizes-block .category-cta-micro { color: #888; }

/* --- Виды защиты по ГОСТ (badge-сетка для spetsodezhda) --- */
.cat-gost-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}
@media (min-width: 768px) {
    .cat-gost-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.cat-gost-badge {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 3px solid var(--primary-color);
    border-radius: 6px;
    transition: box-shadow .2s ease;
}
.cat-gost-badge:hover { box-shadow: 0 4px 16px rgba(217,84,53,.12); }
.cat-gost-badge strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.cat-gost-badge span {
    display: block;
    font-size: 14px;
    color: #222;
    line-height: 1.45;
}
.cat-gost-badge small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #777;
}

/* --- Отраслевые карточки (badge-сетка для korporativnaya-uniforma) --- */
.cat-industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0;
}
@media (min-width: 576px) { .cat-industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .cat-industry-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
/* cat-industry-card 2.0 — фото сверху 16:9 + текст снизу (creative+photo-art, 2026-06-02) */
.cat-industry-card {
    padding: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
}
/* Hover ТОЛЬКО для кликабельных <a> (UX: не путать пользователя) */
a.cat-industry-card {
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
}
a.cat-industry-card:hover {
    box-shadow: 0 6px 20px rgba(217,84,53,.10);
    transform: translateY(-3px);
}
/* Фото-зона сверху */
.cat-industry-card__photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}
.cat-industry-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
a.cat-industry-card:hover .cat-industry-card__photo img {
    transform: scale(1.04);
}
/* Текст-зона снизу + терракотовая полоска между фото и текстом */
.cat-industry-card__body {
    padding: 16px 16px 18px;
    border-top: 3px solid var(--primary-color);
    flex: 1;
}
/* Расширенный hover для кликабельных */
a.cat-industry-card:hover {
    box-shadow: 0 8px 24px rgba(217,84,53,.14) !important;
}
/* Footer legal — ссылки на политику и оферту */
.footer-legal {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}
.footer-legal a {
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px dotted #555;
    transition: color .2s;
}
.footer-legal a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
/* Старые правила для совместимости со страницами, где фото ещё нет */
.cat-industry-icon {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1;
    display: block;
}
.cat-industry-card__body strong,
.cat-industry-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}
.cat-industry-card__body span,
.cat-industry-card span {
    display: block;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Sticky CTA на мобиле (только до 768px) */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: #fff !important;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    text-decoration: none !important;
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
@media (max-width: 767px) {
    .mobile-sticky-cta { display: block; }
    /* доп. отступ внизу страницы, чтобы кнопка не перекрывала контент */
    footer { padding-bottom: 80px; }
}
.mobile-sticky-cta:hover { color: #fff !important; filter: brightness(.95); }

/* Глобальная защита от горизонтального скролла на мобильных
   (декоративная цифра 01-04 в .l2-group__title::before выходит за пределы) */
body { overflow-x: hidden; }

/* ═══════════════════════════════════════════════════════════════════════
   L1-FLAGSHIP — стили ТОЛЬКО для index-light.html (главная)
   Full-width dark hero + landscape video-фон + gradient overlay 80%→40%
   + extreme typography H1 96-120px + wipe-reveal с brand-line sweep #D95435
   Концепция: L2-стиль усилен на флагман через масштаб и анимацию текста.
   Метрики ВЫНЕСЕНЫ из hero в отдельную секцию .l1-metrics (отдельно ниже).
   ═══════════════════════════════════════════════════════════════════════ */

.l1-hero {
    position: relative;
    background: #0F0F0F;  /* fallback если ни видео ни poster не загрузились */
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.l1-hero__poster,
.l1-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    filter: grayscale(40%) contrast(1.1);  /* лёгкая desaturация под editorial */
}
.l1-hero__video { display: none; }  /* JS включает на desktop */

/* Притенение: gradient slug 80% слева → 40% справа (UX рекомендация) */
.l1-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.7) 35%,
        rgba(0,0,0,0.45) 70%,
        rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.l1-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 8vw 80px;  /* asymmetric: 8vw отступ слева для Z-pattern start */
}
.l1-hero__inner {
    max-width: 880px;
}

/* EYEBROW — strap-line бренда */
.l1-hero__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 32px;
    /* Wipe-in: появляется после H1 */
    opacity: 0;
    animation: l1-fade-up 0.6s ease 0.2s forwards;
}

/* H1 — extreme display, wipe-reveal с brand-line sweep */
.l1-hero__title {
    position: relative;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(44px, 8.5vw, 120px);   /* extreme: до 120px на 1440+ */
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0 0 32px;
    /* Wipe-in справа налево */
    clip-path: inset(0 100% 0 0);
    animation: l1-wipe 0.9s cubic-bezier(0.77,0,0.18,1) 0.4s forwards;
}
/* Брендовая линия 3px пробегает справа налево вместе с wipe */
.l1-hero__title::before {
    content: '';
    position: absolute;
    top: 0; left: -3px;
    width: 3px;
    height: 100%;
    background: #D95435;
    opacity: 0;
    animation: l1-line-sweep 0.9s cubic-bezier(0.77,0,0.18,1) 0.4s forwards;
}
/* Outline-split для последнего слова «миллионы» — современный mix */
.l1-hero__title .accent {
    color: transparent;
    -webkit-text-stroke: 2px #D95435;
    text-stroke: 2px #D95435;
}
@keyframes l1-wipe {
    to { clip-path: inset(0 0% 0 0); }
}
@keyframes l1-line-sweep {
    0%   { opacity: 1; transform: translateX(0); }
    98%  { opacity: 1; transform: translateX(100vw); }
    100% { opacity: 0; transform: translateX(100vw); }
}
@keyframes l1-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.l1-hero__lead {
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    margin: 0 0 40px;
    max-width: 620px;
    opacity: 0;
    animation: l1-fade-up 0.7s ease 1.0s forwards;
}

/* CTA — primary orange + secondary outlined */
.l1-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    opacity: 0;
    animation: l1-fade-up 0.7s ease 1.2s forwards;
}
.l1-hero__cta-main {
    display: inline-block;
    background: #D95435;
    color: #fff !important;
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid #D95435;
    transition: filter .15s ease, transform .15s ease;
    cursor: pointer;
}
.l1-hero__cta-main:hover { filter: brightness(.92); transform: translateY(-2px); }
.l1-hero__cta-phone {
    display: inline-block;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 28px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: background .15s ease, border-color .15s ease;
}
.l1-hero__cta-phone:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.l1-hero__micro {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 24px 0 0;
    opacity: 0;
    animation: l1-fade-up 0.6s ease 1.4s forwards;
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 МЕТРИКИ — отдельная секция ПОД hero (UX-рекомендация)
   ═══════════════════════════════════════════════════════════════════════ */
.l1-metrics {
    background: #1A1A1A;
    color: #fff;
    padding: 56px 0;
    margin: 0;
}
.l1-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.l1-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid #D95435;
    padding-left: 20px;
}
.l1-metric-num {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.l1-metric--placeholder .l1-metric-num {
    color: rgba(255,255,255,0.3);
    font-size: clamp(28px, 3vw, 40px);
}
.l1-metric-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* TABLET (768-991) */
@media (max-width: 991px) {
    .l1-hero__container { padding: 80px 6vw 64px; }
    .l1-hero__title { font-size: clamp(40px, 7vw, 80px); }
    .l1-hero__lead { font-size: 16px; }
    .l1-metrics__grid { gap: 20px; }
}
/* MOBILE (<=767) */
@media (max-width: 767px) {
    .l1-hero { min-height: 88vh; }
    .l1-hero__container { padding: 64px 24px 48px; }
    .l1-hero__title { font-size: clamp(36px, 11vw, 56px); line-height: 1.0; }
    .l1-hero__lead { font-size: 15px; margin-bottom: 32px; }
    .l1-hero__cta-row { flex-direction: column; align-items: stretch; }
    .l1-hero__cta-main,
    .l1-hero__cta-phone { width: 100%; text-align: center; padding: 16px 20px; }
    .l1-hero__overlay {
        background: linear-gradient(180deg,
            rgba(0,0,0,0.6) 0%,
            rgba(0,0,0,0.85) 100%);  /* vertical fade на mobile */
    }
    .l1-metrics { padding: 40px 0; }
    .l1-metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* Accessibility: reduced-motion отключает все анимации */
@media (prefers-reduced-motion: reduce) {
    .l1-hero__video { display: none !important; }
    .l1-hero__title,
    .l1-hero__title::before,
    .l1-hero__eyebrow,
    .l1-hero__lead,
    .l1-hero__cta-row,
    .l1-hero__micro {
        animation: none !important;
        opacity: 1 !important;
        clip-path: none !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 НАПРАВЛЕНИЯ — editorial asymmetric grid (1 Featured + 4 small)
   Отличается от L2 hub-grid: caption поверх фото с gradient overlay,
   цветной default + B&W hover (инвертировано относительно L2).
   ═══════════════════════════════════════════════════════════════════════ */

.l1-directions {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    max-width: 1280px;
    margin: 32px auto 0;
}
/* Featured: занимает 2 строки, левая колонка */
.l1-dir--featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}
.l1-dir {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #1A1A1A;
    aspect-ratio: 4 / 3;
}
.l1-dir > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.l1-dir img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* L1 inverted: цветной default → B&W warm tint hover */
    filter: grayscale(0%) contrast(1.05);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.l1-dir:hover img {
    filter: grayscale(100%) sepia(20%) hue-rotate(335deg) contrast(1.1);
    transform: scale(1.04);
}

/* Caption overlay поверх фото с gradient bottom */
.l1-dir__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 20px 24px 22px;
    background: linear-gradient(to top,
        rgba(15,15,15,0.92) 0%,
        rgba(15,15,15,0.75) 50%,
        rgba(15,15,15,0) 100%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
}
.l1-dir__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 10px;
}
.l1-dir__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 6px;
}
.l1-dir--featured .l1-dir__title {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.l1-dir__meta {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}
.l1-dir--featured .l1-dir__meta {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* CTA «Все 31 направление →» — editorial, не Kyros .btn-main */
.l1-directions__cta {
    text-align: center;
    margin-top: 40px;
}
.l1-directions__cta-link {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1A1A1A !important;
    text-decoration: none;
    padding: 14px 28px;
    border: 2px solid #1A1A1A;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.l1-directions__cta-link span {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
    margin-left: 4px;
}
.l1-directions__cta-link:hover {
    background: #D95435;
    border-color: #D95435;
    color: #fff !important;
    transform: translateY(-1px);
}
.l1-directions__cta-link:hover span { transform: translateX(6px); }

/* TABLET (768-991) — featured фиксированной высоты */
@media (max-width: 991px) {
    .l1-directions { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
    .l1-dir--featured { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 16 / 9; }
    .l1-dir { aspect-ratio: 4 / 3; }
    .l1-dir--featured .l1-dir__title { font-size: 28px; }
}
/* MOBILE (<=767) — одна колонка */
@media (max-width: 767px) {
    .l1-directions { grid-template-columns: 1fr; }
    .l1-dir--featured { grid-column: 1; aspect-ratio: 4 / 3; }
    .l1-dir--featured .l1-dir__title { font-size: 22px; }
    .l1-dir__caption { padding: 16px 18px 18px; }
    .l1-dir__title { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 СЕРТИФИКАТЫ НА ТКАНЬ — секция доверия (B2B / маркетплейсы / 44-ФЗ)
   ═══════════════════════════════════════════════════════════════════════ */

.l1-certs {
    background: #F7F7F5;  /* почти-белый, тёплый off-white — editorial */
    padding: 96px 0;
    margin: 80px 0 0;
}
.l1-certs__head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}
.l1-certs__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 16px;
}
.l1-certs__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0 0 20px;
}
.l1-certs__lead {
    font-size: 16px;
    line-height: 1.55;
    color: #444;
    margin: 0;
}

/* Grid сертификатов — 3×2 */
.l1-certs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto 64px;
}
.l1-cert {
    background: #fff;
    border: 1px solid #EBEBE7;
    border-radius: 6px;
    padding: 28px 26px 24px;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.l1-cert:hover {
    border-color: #D95435;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217,84,53,0.08);
}
/* Badge — стилизованная нашивка сертификата */
.l1-cert__badge {
    display: inline-block;
    padding: 6px 10px;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 14px;
}
.l1-cert__badge--eac {
    background: #1A1A1A;
    color: #fff;
}
.l1-cert__badge--sanpin {
    background: #2A4D7A;
    color: #fff;
}
.l1-cert__badge--gost {
    background: #6E6E6E;
    color: #fff;
}
.l1-cert__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: #1A1A1A;
    margin: 0 0 10px;
}
.l1-cert__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 14px;
}
.l1-cert__meta {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
    width: 100%;
}

/* Documents block — что получаете с партией */
.l1-certs__docs {
    background: #1A1A1A;
    color: #fff;
    padding: 36px 40px;
    border-radius: 6px;
    max-width: 1180px;
    margin: 0 auto 40px;
}
.l1-certs__docs-title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
}
.l1-certs__docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}
.l1-certs__docs-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}
.l1-certs__docs-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: #D95435;
    font-weight: 900;
    font-size: 16px;
}
.l1-certs__docs-list li strong {
    color: #fff;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* Stats — 4 цифры доверия */
.l1-certs__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 32px;
}
.l1-certs__stat {
    text-align: left;
    border-left: 2px solid #D95435;
    padding-left: 16px;
}
.l1-certs__stat strong {
    display: block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.l1-certs__stat span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: block;
}

/* Verify links — государственные источники */
.l1-certs__verify {
    text-align: center;
    font-size: 13px;
    color: #888;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 0 0;
    border-top: 1px solid #E0E0DC;
}
.l1-certs__verify a {
    color: #D95435;
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.15s ease;
}
.l1-certs__verify a:hover { text-decoration: underline; }

/* TABLET */
@media (max-width: 991px) {
    .l1-certs { padding: 72px 0; margin-top: 56px; }
    .l1-certs__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .l1-certs__docs { padding: 28px 24px; }
    .l1-certs__docs-list { grid-template-columns: 1fr; }
    .l1-certs__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
/* MOBILE */
@media (max-width: 575px) {
    .l1-certs { padding: 56px 0; }
    .l1-certs__head { padding: 0 16px; margin-bottom: 32px; }
    .l1-certs__grid { grid-template-columns: 1fr; padding: 0 16px; gap: 14px; }
    .l1-certs__docs { margin: 0 16px 32px; padding: 24px 20px; border-radius: 6px; }
    .l1-certs__docs-title { font-size: 19px; }
    .l1-certs__docs-list li { font-size: 14px; }
    .l1-certs__stats { padding: 0 16px; gap: 16px 12px; }
    .l1-certs__stat strong { font-size: 26px; }
    .l1-certs__verify { padding: 20px 16px 0; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 О ФАБРИКЕ — teaser-обзор (full content на /o-fabrike.html)
   ═══════════════════════════════════════════════════════════════════════ */

.l1-about {
    padding: 96px 0;
    background: #fff;
}
.l1-about__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
}
.l1-about__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-about__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0 0 24px;
}
.l1-about__lead {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 16px;
}
.l1-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A !important;
    text-decoration: none;
    padding: 16px 24px;
    border: 2px solid #1A1A1A;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.l1-about__cta span {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.l1-about__cta:hover {
    background: #D95435;
    border-color: #D95435;
    color: #fff !important;
    transform: translateY(-1px);
}
.l1-about__cta:hover span { transform: translateX(6px); }

/* Quick-facts — правая колонка */
.l1-about__quick-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 24px;
}
.l1-about__quick-facts li {
    border-left: 2px solid #D95435;
    padding: 4px 0 4px 20px;
}
.l1-about__quick-facts li strong {
    display: block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    color: #1A1A1A;
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}
.l1-about__quick-facts li span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #666;
}

@media (max-width: 991px) {
    .l1-about { padding: 72px 0; }
    .l1-about__grid { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
    .l1-about__quick-facts li strong { font-size: 20px; }
}
@media (max-width: 575px) {
    .l1-about { padding: 56px 0; }
    .l1-about__grid { padding: 0 16px; gap: 32px; }
    .l1-about__title { font-size: 26px; }
    .l1-about__cta { width: 100%; justify-content: center; padding: 14px 20px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 MARQUEE — бесконечная лента отраслевых сегментов клиентов (CSS-only)
   Размещается в #section-fun-facts (тёмный фон)
   ═══════════════════════════════════════════════════════════════════════ */

.l1-marquee {
    position: relative;
    margin: 48px -100vw 0;   /* full-bleed во всю ширину секции */
    padding: 22px 100vw;
    overflow: hidden;
    background: rgba(15,15,15,0.92);  /* почти-чёрная подложка для читаемости поверх jarallax */
    border-top: 1px solid rgba(217,84,53,0.3);
    border-bottom: 1px solid rgba(217,84,53,0.3);
}
.l1-marquee::before,
.l1-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.l1-marquee::before {
    left: 100vw;
    background: linear-gradient(to right, rgba(15,15,15,0.92) 0%, transparent 100%);
}
.l1-marquee::after {
    right: 100vw;
    background: linear-gradient(to left, rgba(15,15,15,0.92) 0%, transparent 100%);
}
.l1-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: l1-marquee-scroll 60s linear infinite;
    /* willchange делает анимацию плавной на GPU */
    will-change: transform;
}
.l1-marquee:hover .l1-marquee__track {
    animation-play-state: paused;
}
.l1-marquee__item {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
}
.l1-marquee__dot {
    color: #D95435;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}
@keyframes l1-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }  /* двигаемся на 50% — duplicate набор обеспечивает seamless loop */
}
/* Accessibility — без анимации для reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .l1-marquee__track { animation: none; flex-wrap: wrap; white-space: normal; }
}
@media (max-width: 767px) {
    .l1-marquee__item { font-size: 14px; }
    .l1-marquee__track { gap: 16px; animation-duration: 45s; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BLOG POST — статьи в /blog/<slug>.html
   Editorial article layout, читаемость в первую очередь.
   ═══════════════════════════════════════════════════════════════════════ */

.blog-post {
    padding: 120px 0 80px;  /* учёт высоты Kyros-header */
    background: #fff;
    color: #1A1A1A;
}
.blog-post .container { max-width: 760px; }  /* editorial reading width ~70-80 char */

.blog-post__crumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 32px;
}
.blog-post__crumbs a {
    color: #D95435;
    text-decoration: none;
    transition: text-decoration .15s ease;
}
.blog-post__crumbs a:hover { text-decoration: underline; }
.blog-post__crumbs-current { color: #555; }

.blog-post__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 2px solid #1A1A1A;
}
.blog-post__category {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D95435;
}
.blog-post__date {
    font-size: 13px;
    color: #888;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

/* Article body — editorial typography */
.blog-post__body h1 {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin: 0 0 32px;
}
.blog-post__body p {
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 17px;
    line-height: 1.65;
    color: #2A2A2A;
    margin: 0 0 20px;
}
.blog-post__body p strong {
    color: #1A1A1A;
    font-weight: 700;
}
/* TL;DR — первый параграф после H1 (распознаём по содержимому "TL;DR.") */
.blog-post__body > p:first-of-type {
    background: #FAF7F4;
    border-left: 4px solid #D95435;
    padding: 20px 24px;
    font-size: 18px;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 36px;
}
.blog-post__body h2 {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #1A1A1A;
    margin: 48px 0 20px;
}
.blog-post__body h3 {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1A1A1A;
    margin: 32px 0 14px;
}
.blog-post__body ul,
.blog-post__body ol {
    margin: 0 0 24px;
    padding-left: 28px;
}
.blog-post__body li {
    font-size: 16px;
    line-height: 1.65;
    color: #2A2A2A;
    margin-bottom: 8px;
}
.blog-post__body li strong { color: #1A1A1A; }

/* Tables — для сравнений и цен */
.blog-post__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
}
.blog-post__body th,
.blog-post__body td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E5E5;
}
.blog-post__body th {
    background: #FAFAFA;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-weight: 700;
    color: #1A1A1A;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.blog-post__body td:first-child { font-weight: 600; }

/* Definition list */
.blog-post__body dl {
    background: #FAFAFA;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
}
.blog-post__body dt {
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 6px;
    font-size: 17px;
}
.blog-post__body dd {
    margin: 0 0 12px;
    font-size: 16px;
    color: #444;
    line-height: 1.55;
}

/* Inline ссылки */
.blog-post__body a {
    color: #D95435;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .15s ease;
}
.blog-post__body a:hover { opacity: 0.8; }

/* HR разделитель перед CTA */
.blog-post__body hr {
    margin: 48px 0 32px;
    border: 0;
    border-top: 1px solid #E0E0E0;
}

/* CTA-секция блок поста — переиспользуем .cat-final-cta */

/* ═══════════════════════════════════════════════════════════════════════
   L1 FOOTER — реквизиты ЮЛ + ссылки на юр.документы (152-ФЗ + ЗоЗПП ст. 9)
   ═══════════════════════════════════════════════════════════════════════ */
.l1-footer {
    background: #0F0F0F;
    color: rgba(255,255,255,0.65);
    padding: 40px 0 32px;
    font-size: 13px;
    line-height: 1.55;
}
.l1-footer .copy {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}
.l1-footer .footer-requisites {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.l1-footer .footer-requisites a {
    color: #D95435;
    text-decoration: none;
    transition: text-decoration .15s ease;
}
.l1-footer .footer-requisites a:hover { text-decoration: underline; }
.l1-footer .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
    height: 100%;
}
.l1-footer .social-icons a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s ease;
}
.l1-footer .social-icons a:hover { color: #D95435; }
@media (max-width: 767px) {
    .l1-footer .social-icons { justify-content: flex-start; margin-top: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 FAQ — editorial split-pane с ghosted-номерами + native <details>
   ═══════════════════════════════════════════════════════════════════════ */
.l1-faq {
    padding: 96px 0;
    background: #FAFAFA;
}
.l1-faq__head {
    max-width: 880px;
    margin: 0 auto 48px;
    padding: 0 16px;
}
.l1-faq__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-faq__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0;
}
.l1-faq__list {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}
.l1-faq__item {
    border-top: 1px solid #E5E5E5;
    padding: 0;
    position: relative;
    counter-increment: faq-item;
}
.l1-faq__list { counter-reset: faq-item; }
.l1-faq__item:last-child { border-bottom: 1px solid #E5E5E5; }
.l1-faq__item > summary {
    display: grid;
    grid-template-columns: 64px 1fr 40px;
    gap: 0 24px;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    align-items: center;
}
.l1-faq__item > summary::-webkit-details-marker { display: none; }
.l1-faq__item > summary::before {
    content: counter(faq-item, decimal-leading-zero);
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    color: #CCC;
    letter-spacing: -0.02em;
    transition: color 0.25s ease;
}
.l1-faq__item[open] > summary::before { color: #D95435; }
.l1-faq__item > summary > span {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1A1A1A;
    letter-spacing: -0.01em;
    border-left: 2px solid #D95435;
    padding-left: 16px;
    transition: color 0.25s ease;
}
.l1-faq__item[open] > summary > span { color: #D95435; }
.l1-faq__item > summary::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.25s ease;
    justify-self: end;
}
.l1-faq__item[open] > summary::after {
    transform: rotate(225deg);
    border-color: #D95435;
}
.l1-faq__item > p {
    grid-column: 2 / 3;
    margin: 0 64px 28px 80px;
    padding: 0 0 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}
/* Native smooth animation (Chrome 131+/FF 132+/Safari 18.2+) */
@supports (interpolate-size: allow-keywords) {
    .l1-faq__item { interpolate-size: allow-keywords; }
    .l1-faq__item > p {
        transition: height 0.35s ease, opacity 0.25s ease;
    }
}
@media (max-width: 767px) {
    .l1-faq { padding: 72px 0; }
    .l1-faq__item > summary { grid-template-columns: 40px 1fr 32px; gap: 0 12px; padding: 20px 0; }
    .l1-faq__item > summary::before { font-size: 16px; }
    .l1-faq__item > summary > span { font-size: 16px; padding-left: 12px; border-left-width: 2px; }
    .l1-faq__item > p { margin: 0 0 20px 52px; padding-left: 12px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 FINAL-CTA — mic-drop полнобleed тёмная, extreme typography, brutal button
   ═══════════════════════════════════════════════════════════════════════ */
.l1-final {
    background: #1A1A1A;
    padding: 128px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Noise texture overlay для editorial-ощущения «полиграфия» */
.l1-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.l1-final > .container { position: relative; z-index: 1; }
.l1-final__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 28px;
}
.l1-final__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(36px, 7vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 auto 32px;
    max-width: 1100px;
}
.l1-final__sub {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    max-width: 580px;
    margin: 0 auto 40px;
}
.l1-final__btn {
    display: inline-block;
    background: #D95435;
    color: #fff !important;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 22px 64px;
    border-radius: 0;            /* brutal без скруглений */
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.l1-final__btn:hover {
    background: #C44020;
    transform: translateY(-2px);
}
.l1-final__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.l1-final__trust-item {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.l1-final__trust-item::before { content: '✓ '; color: #D95435; }
@media (max-width: 767px) {
    .l1-final { padding: 80px 0; }
    .l1-final__title { font-size: 36px; }
    .l1-final__sub { font-size: 16px; }
    .l1-final__btn { width: 90%; padding: 20px 24px; }
    .l1-final__trust { gap: 12px; }
    .l1-final__trust-item { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 CONTACT — editorial brief: 2-кол sidebar+form, underline fields, dark
   ═══════════════════════════════════════════════════════════════════════ */
.l1-contact {
    background: #1A1A1A;
    padding: 96px 0;
    color: #fff;
}
.l1-contact__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}
/* SIDEBAR */
.l1-contact__sidebar-label {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 28px;
}
.l1-contact__sidebar-title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 40px;
}
.l1-contact__detail {
    border-left: 2px solid #D95435;
    padding-left: 16px;
    margin-bottom: 28px;
}
.l1-contact__detail-label {
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 6px;
}
.l1-contact__detail-value {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.l1-contact__detail-value:hover { color: #D95435; }
.l1-contact__messengers {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}
.l1-contact__messengers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 4px;
    transition: background 0.2s ease;
    text-decoration: none;
}
.l1-contact__messengers a:hover { background: #D95435; }

/* FORM */
.l1-brief {
    display: flex;
    flex-direction: column;
}
.l1-brief__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.l1-brief__chip {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    background: transparent;
    border: 1px solid #444;
    padding: 8px 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.l1-brief__chip:hover {
    border-color: #D95435;
    color: #D95435;
}
.l1-brief__chip.is-active {
    background: #D95435;
    border-color: #D95435;
    color: #fff;
}
.l1-brief__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}
.l1-brief__field-wrap { position: relative; margin-bottom: 24px; }
.l1-brief__field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 17px;
    padding: 18px 0 10px;
    outline: none;
    transition: border-color 0.25s ease;
}
.l1-brief__field:focus { border-bottom-color: #D95435; }
.l1-brief__field::placeholder { color: transparent; }
.l1-brief__label {
    position: absolute;
    left: 0;
    top: 18px;
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 15px;
    color: #888;
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}
/* Floating label при focus или filled */
.l1-brief__field:focus ~ .l1-brief__label,
.l1-brief__field:not(:placeholder-shown) ~ .l1-brief__label {
    transform: translateY(-22px);
    font-size: 11px;
    color: #D95435;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
textarea.l1-brief__field {
    min-height: 96px;
    resize: vertical;
    padding-top: 24px;
}
/* 152-ФЗ checkbox */
.l1-brief__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 24px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
}
.l1-brief__consent input {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #D95435;
}
.l1-brief__consent a {
    color: #D95435;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.l1-brief__submit {
    width: 100%;
    background: #D95435;
    color: #fff;
    border: none;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 20px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.l1-brief__submit:hover {
    background: #C44020;
    transform: translateY(-2px);
}
.l1-brief__captcha-note {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .l1-contact { padding: 72px 0; }
    .l1-contact__inner { grid-template-columns: 1fr; gap: 48px; }
    .l1-brief__row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 MAP — editorial map с grayscale-фильтром + overlay-карточка
   ═══════════════════════════════════════════════════════════════════════ */
.l1-map {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: #1A1A1A;
}
.l1-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(100%) contrast(1.05);
    transition: filter 0.5s ease;
}
.l1-map:hover iframe {
    filter: grayscale(40%) contrast(1.05);
}
.l1-map__overlay {
    position: absolute;
    top: 40px;
    left: 40px;
    background: #1A1A1A;
    padding: 28px 32px;
    max-width: 320px;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.l1-map__overlay-label {
    display: block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-map__overlay-addr {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 14px;
}
.l1-map__overlay-meta {
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 18px;
    line-height: 1.5;
}
.l1-map__overlay-link {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D95435;
    text-decoration: none;
    border-bottom: 1px solid #D95435;
    padding-bottom: 2px;
    transition: padding-bottom 0.2s ease;
}
.l1-map__overlay-link:hover { padding-bottom: 4px; }
@media (max-width: 767px) {
    .l1-map { height: 380px; }
    .l1-map__overlay {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 20px 20px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 INLINE-CTA — conversion-bridge между Направлениями и Процессом
   ═══════════════════════════════════════════════════════════════════════ */
.l1-inline-cta {
    padding: 64px 0;
    background: #1A1A1A;
    color: #fff;
    margin: 0;
}
.l1-inline-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}
.l1-inline-cta__text { flex: 1; min-width: 0; }
.l1-inline-cta__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 10px;
}
.l1-inline-cta__lead {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin: 0;
    max-width: 520px;
}
.l1-inline-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}
.l1-inline-cta__btn {
    display: inline-block;
    background: #D95435;
    color: #fff !important;
    padding: 16px 30px;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: filter .15s ease, transform .15s ease;
}
.l1-inline-cta__btn:hover { filter: brightness(.92); transform: translateY(-2px); }
.l1-inline-cta__phone {
    display: inline-flex;
    align-items: center;
    color: #fff !important;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 22px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: background .15s ease, border-color .15s ease;
}
.l1-inline-cta__phone:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

@media (max-width: 767px) {
    .l1-inline-cta { padding: 48px 0; }
    .l1-inline-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .l1-inline-cta__actions { width: 100%; flex-direction: column; }
    .l1-inline-cta__btn,
    .l1-inline-cta__phone { width: 100%; text-align: center; justify-content: center; padding: 16px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 SERVICES — «Для кого работает фабрика», editorial 3-grid
   Ghosted-номера 01/02/03 + Phosphor SVG иконки + динамические CTA
   ═══════════════════════════════════════════════════════════════════════ */
.l1-services {
    background: #FAFAFA;
    padding: 96px 0;
}
.l1-services__head {
    max-width: 880px;
    margin: 0 auto 56px;
    text-align: left;  /* break from Kyros center */
    padding: 0 16px;
}
.l1-services__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-services__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin: 0;
}

.l1-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;                /* razor-thin gap, Bloomberg-grid */
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid #EAEAEA;
    background: #EAEAEA;     /* проступает в gap */
}
.l1-service-card {
    background: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.25s ease;
    position: relative;
    overflow: hidden;  /* для background-image opacity */
}
/* Editorial фото-фон с opacity — атмосфера, не отвлекает от текста */
.l1-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;  /* очень лёгкое — для атмосферы, не для чтения */
    z-index: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.l1-service-card:hover::before { opacity: 0.22; }
.l1-service-card--corporate::before { background-image: url('../images/services/seg-corporate.webp'); }
.l1-service-card--brands::before    { background-image: url('../images/services/seg-brands.webp'); }
.l1-service-card--tender::before    { background-image: url('../images/services/seg-tender.webp'); }
/* Все содержимое поверх */
.l1-service-card > * { position: relative; z-index: 1; }
.l1-service-card:hover {
    background: #FAF7F4;
}

.l1-service-card__num {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: #EAEAEA;          /* ghosted фоновый акцент */
    letter-spacing: -0.04em;
    transition: color 0.25s ease;
    margin-bottom: 4px;
}
.l1-service-card:hover .l1-service-card__num { color: #D95435; }

.l1-service-card__icon {
    color: #1A1A1A;
    margin-bottom: 4px;
    transition: color 0.25s ease;
}
.l1-service-card:hover .l1-service-card__icon { color: #D95435; }

.l1-service-card__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #1A1A1A;
    margin: 0;
}
.l1-service-card__body {
    font-family: var(--body-font, 'Nunito', sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex-grow: 1;
}
.l1-service-card__tags {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.l1-service-card__tags li {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    background: #F2F2F0;
    padding: 5px 10px;
    border-radius: 3px;
}
.l1-service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #D95435 !important;
    text-decoration: none;
    transition: gap 0.2s ease;
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
}
.l1-service-card__cta span {
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.l1-service-card:hover .l1-service-card__cta span { transform: translateX(6px); }

@media (max-width: 991px) {
    .l1-services { padding: 72px 0; }
    .l1-services-grid { grid-template-columns: 1fr; }
    .l1-service-card { padding: 40px 24px; }
    .l1-service-card__num { font-size: 64px; }
}
@media (max-width: 575px) {
    .l1-services { padding: 56px 0; }
    .l1-service-card { padding: 32px 20px; }
    .l1-service-card__title { font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 WHY — «Почему выбирают фабрику», newspaper-grid (вынесена из services)
   ═══════════════════════════════════════════════════════════════════════ */
.l1-why {
    background: #fff;
    padding: 80px 0 96px;
}
.l1-why__head {
    max-width: 880px;
    margin: 0 auto 48px;
    text-align: left;
    padding: 0 16px;
}
.l1-why__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-why__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0;
}

.l1-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}
.l1-why-item {
    border-top: 2px solid #1A1A1A;
    padding: 24px 0 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.l1-why-item h3 {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1A1A1A;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.l1-why-item p {
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

@media (max-width: 991px) {
    .l1-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .l1-why { padding: 56px 0; }
    .l1-why-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L1 BLOG ANNOUNCE — 3 закреплённых анонса блога на главной
   Bloomberg asymmetric: 1 Featured большая + 2 Secondary text-only
   ═══════════════════════════════════════════════════════════════════════ */
.l1-blog-announce {
    background: #fff;
    padding: 96px 0;
    margin: 0;
}
.l1-blog-announce__head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}
.l1-blog-announce__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 14px;
}
.l1-blog-announce__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0 0 16px;
}
.l1-blog-announce__lead {
    font-size: 16px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

.l1-blog-announce__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}
.l1-blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #FAFAFA;
    border: 1px solid #EBEBE7;
    border-radius: 6px;
    padding: 32px 28px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.l1-blog-card:hover {
    border-color: #D95435;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217,84,53,0.1);
}
/* Featured: занимает 2 строки слева, с background-image */
.l1-blog-card--featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 0;
    background: #1A1A1A;
    border: none;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.l1-blog-card--featured .l1-blog-card__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(30%) brightness(0.7);
    z-index: 0;
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.l1-blog-card--featured:hover .l1-blog-card__media {
    filter: grayscale(0%) brightness(0.55);
    transform: scale(1.04);
}
.l1-blog-card--featured .l1-blog-card__body {
    position: relative;
    z-index: 2;
    padding: 36px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
}
.l1-blog-card--featured .l1-blog-card__title {
    color: #fff;
    font-size: 28px;
}
.l1-blog-card--featured .l1-blog-card__excerpt { color: rgba(255,255,255,0.85); }
.l1-blog-card--featured .l1-blog-card__meta { color: rgba(255,255,255,0.65); }

.l1-blog-card__eyebrow {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D95435;
    margin-bottom: 12px;
}
.l1-blog-card__title {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #1A1A1A;
    margin: 0 0 12px;
}
.l1-blog-card__excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    margin: 0 0 14px;
}
.l1-blog-card__meta {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
}

.l1-blog-announce__cta {
    text-align: center;
    margin-top: 40px;
}
.l1-blog-announce__cta-link {
    display: inline-block;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1A1A1A !important;
    text-decoration: none;
    padding: 14px 28px;
    border: 2px solid #1A1A1A;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}
.l1-blog-announce__cta-link span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.l1-blog-announce__cta-link:hover {
    background: #D95435;
    border-color: #D95435;
    color: #fff !important;
}
.l1-blog-announce__cta-link:hover span { transform: translateX(6px); }

@media (max-width: 991px) {
    .l1-blog-announce { padding: 72px 0; }
    .l1-blog-announce__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .l1-blog-card--featured { grid-column: 1 / 3; grid-row: 1; min-height: 320px; }
}
@media (max-width: 575px) {
    .l1-blog-announce { padding: 56px 0; }
    .l1-blog-announce__grid { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; }
    .l1-blog-card--featured { grid-column: 1; min-height: 280px; }
    .l1-blog-card--featured .l1-blog-card__title { font-size: 22px; }
    .l1-blog-card { padding: 24px 20px; }
    .l1-blog-card__title { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BLOG LIST — список статей на blog.html (editorial, не grid)
   ═══════════════════════════════════════════════════════════════════════ */
.blog-list {
    margin: 32px 0 0;
    border-top: 1px solid #E5E5E5;
}
.blog-list-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid #E5E5E5;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, padding-left 0.25s ease;
    position: relative;
}
.blog-list-item:hover {
    background: #FAF7F4;
    padding-left: 16px;
}
.blog-list-item__num {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    color: #D95435;
    flex-shrink: 0;
    width: 48px;
    letter-spacing: -0.02em;
}
.blog-list-item__body {
    flex: 1;
    min-width: 0;
}
.blog-list-item__body h3 {
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #1A1A1A;
    margin: 0 0 8px;
    transition: color 0.2s ease;
}
.blog-list-item:hover .blog-list-item__body h3 { color: #D95435; }
.blog-list-item__body p {
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    margin: 0 0 10px;
}
.blog-list-item__meta {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
}
.blog-list-item__arrow {
    font-size: 24px;
    color: #1A1A1A;
    align-self: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), color 0.2s ease;
}
.blog-list-item:hover .blog-list-item__arrow {
    color: #D95435;
    transform: translateX(8px);
}
@media (max-width: 575px) {
    .blog-list-item { gap: 14px; padding: 22px 0; }
    .blog-list-item__num { font-size: 20px; width: 32px; }
    .blog-list-item__body h3 { font-size: 17px; }
    .blog-list-item__body p { font-size: 14px; }
    .blog-list-item:hover { padding-left: 8px; }
}

/* MOBILE */
@media (max-width: 767px) {
    .blog-post { padding: 100px 0 56px; }
    .blog-post__body h1 { font-size: 26px; }
    .blog-post__body h2 { font-size: 22px; margin: 36px 0 16px; }
    .blog-post__body h3 { font-size: 19px; }
    .blog-post__body p,
    .blog-post__body li { font-size: 15px; }
    .blog-post__body > p:first-of-type { padding: 16px 18px; font-size: 16px; }
    .blog-post__body table { font-size: 13px; }
    .blog-post__body th,
    .blog-post__body td { padding: 10px 12px; }
    .blog-post__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .blog-post__date { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   L2-ХАБ — стили только для catalog.html и brendirovanie.html
   Визуально отличают агрегатор от L3-страниц (poshiv/*, brendirovanie/*)
   ═══════════════════════════════════════════════════════════════════════ */

/* L2 HERO — тёмный, fullwidth */
.l2-hero {
    background: #1A1A1A;  /* fallback если ни видео ни poster не загрузились */
    color: #fff;
    padding: 80px 0 64px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 520px;  /* CLS-защита до загрузки video/poster */
}
/* Hero video — фон + ч/б фильтр для единства с editorial-фото на странице */
.l2-hero__poster,
.l2-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;  /* фокус видео справа, текст слева читается */
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    pointer-events: none;
}
.l2-hero__video { display: none; }  /* по умолчанию скрыто, JS включает на desktop */
/* Градиентный overlay (creative-director): тёмный слева для текста, прозрачный справа для видео */
.l2-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(26,26,26,0.92) 0%,
        rgba(26,26,26,0.75) 35%,
        rgba(26,26,26,0.45) 70%,
        rgba(26,26,26,0.25) 100%);
    z-index: 1;
    pointer-events: none;
}
.l2-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 45%;
    background: radial-gradient(ellipse at right center, rgba(217,84,53,.16) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}
.l2-hero__inner { position: relative; z-index: 3; max-width: 980px; }
/* Mobile: видео отключаем (JS убирает <video>), poster остаётся как фон */
@media (max-width: 767px) {
    .l2-hero__overlay {
        background: rgba(26,26,26,0.82);  /* плоский overlay на mobile, текст на всю ширину */
    }
}
/* Accessibility — отключаем motion */
@media (prefers-reduced-motion: reduce) {
    .l2-hero__video { display: none !important; }
}
/* Eyebrow — без таблетки, чистый uppercase для строгого B2B-тона */
.l2-hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #D95435;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.l2-hero__title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 22px;
}
@media (max-width: 991px) { .l2-hero__title { font-size: 52px; } }
@media (max-width: 575px) { .l2-hero__title { font-size: 36px; } }
@media (max-width: 360px) { .l2-hero__title { font-size: 32px; } }
.l2-hero__lead {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    margin: 0 0 32px;
    max-width: 720px;
}
.l2-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.l2-hero__cta-row .category-cta { min-width: 240px; }
.l2-hero__phone {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.l2-hero__phone:hover { color: #D95435; }
.l2-hero__micro {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 14px 0 0;
}
/* Hero bullets — заменили длинный абзац (47 слов → 3 короткие выгоды для скана F-pattern) */
.l2-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
}
.l2-hero__bullets li {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.l2-hero__check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

/* L2 МЕТРИКИ — тёмная полоса с цифрами */
.l2-metrics {
    background: #111;
    color: #fff;
    padding: 36px 0;
    margin: 0;
}
.l2-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.l2-metric__num {
    font-size: 56px;
    font-weight: 800;
    color: #D95435;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
@media (max-width: 991px) { .l2-metric__num { font-size: 44px; } }
@media (max-width: 575px) { .l2-metric__num { font-size: 36px; } }
.l2-metric__label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* L2 STICKY TABS — навигация по группам. top: 80px — высота Kyros .smaller хедера */
.l2-tabs {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 14px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 991px) { .l2-tabs { top: 60px; } }
.l2-tabs__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.l2-tabs__btn {
    display: inline-block;
    padding: 8px 18px;
    background: #F4F4F4;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all .2s ease;
    border: none;
}
.l2-tabs__btn:hover {
    background: #D95435;
    color: #fff;
}
/* Активный пункт sticky-tabs — синхронизируется со скроллом через IntersectionObserver в catalog.html */
.l2-tabs__btn.is-active {
    background: #D95435;
    color: #fff;
}

/* L2 ЗАГОЛОВОК ГРУППЫ — крупный editorial-номер группы за заголовком (01 · 02 · 03 · 04)
   Counter-reset на body, increment на каждой .l2-group → номер автоматически */
body { counter-reset: lgroup; }
.l2-group {
    padding: 80px 0 30px;  /* увеличен padding-top для editorial-цифры 01-04 */
    scroll-margin-top: 160px;  /* учёт sticky-tabs (80) + Kyros header (80) */
    counter-increment: lgroup;
    position: relative;
    isolation: isolate;  /* создаём stacking context, чтобы ::before не ушёл за body */
    overflow: visible;
}
/* Разделение визуальных режимов: фото-группы 1-2 на белом, иллюстрации/иконки 3-4 на светло-сером
   — даёт UX-сигнал «смена визуального типа» */
.l2-group#izdeliya,
.l2-group#b2b {
    background: #FAFAFA;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50% + 15px);
    padding-right: calc(50vw - 50% + 15px);
}
.l2-group__title {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin: 0 0 8px;
    padding-left: 0;
    border-left: none;
    position: relative;
    overflow: visible;  /* сброс Kyros base — иначе ::before с цифрой 01-04 обрезается */
    z-index: 2;  /* заголовок выше декоративного номера */
}
.l2-group__title::before {
    content: counter(lgroup, decimal-leading-zero);
    position: absolute;
    left: -64px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 110px;
    font-weight: 900;
    color: #D95435;
    opacity: 0.18;
    line-height: 1;
    letter-spacing: -0.05em;
    z-index: 1;
    font-family: var(--title-font, 'Saira', sans-serif);
    pointer-events: none;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .l2-group__title::before { font-size: 80px; left: -36px; }
}
@media (max-width: 575px) {
    .l2-group__title::before { font-size: 64px; left: -20px; }
    .l2-group { padding: 56px 0 24px; }
}
.l2-group__sub {
    font-size: 15px;
    color: #666;
    margin: 0 0 28px;
    padding-left: 0;
}

/* L2 КАРТОЧКИ КАТЕГОРИЙ — крупные с тегами */
.l2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.l2-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 24px;
    transition: all .2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.l2-card:hover {
    border-color: #D95435;
    box-shadow: 0 8px 24px rgba(217,84,53,.12);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}
.l2-card__icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}
/* SVG-иконки внутри .l2-card__icon (B2B-группа) — увеличены до 44px для визуального веса */
.l2-card__icon svg {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    display: block;
}
/* Flat-иллюстрации (Imagen 3, группа «Виды изделий») — 100px для контраста с фото-карточками */
.l2-card__icon img {
    width: 100px;
    height: 100px;
    display: block;
    object-fit: contain;
}
/* SVG-иконки в блоке сценариев — единый стиль с B2B-картами */
.l2-scenario__icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
}

/* Mobile: правый градиент-хинт для sticky-tabs показывающий скрытый горизонтальный контент.
   ВАЖНО: overflow:hidden НЕ на .l2-tabs (иначе блокируется horizontal scroll .l2-tabs__row).
   Градиент через ::after на .l2-tabs с position:absolute — sticky parent поддерживает абсолютные дети без overflow:hidden. */
@media (max-width: 575px) {
    .l2-tabs { position: sticky; }
    .l2-tabs > .container { position: relative; }
    .l2-tabs > .container::after {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 32px;
        background: linear-gradient(to left, #fff 30%, rgba(255,255,255,0) 100%);
        pointer-events: none;
        z-index: 1;
    }
}

/* Социальное доказательство — блок логотипов клиентов между метриками и табами */
.l2-social-proof {
    background: #fff;
    padding: 28px 0 24px;
    border-bottom: 1px solid #eaeaea;
}
.l2-social-proof__label {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #888;
    margin-bottom: 18px;
}
.l2-social-proof__row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.l2-social-proof__row img {
    height: 36px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter .25s ease, opacity .25s ease;
}
.l2-social-proof__row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/* Цифра под лого — связывает логотипы с конкретным числом (Чалдини: соц.доказательство = бренды + цифра) */
.l2-social-proof__count {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 18px 0 0;
    line-height: 1.5;
}
@media (max-width: 575px) {
    .l2-social-proof__row { gap: 24px; }
    .l2-social-proof__row img { height: 28px; }
}

/* FAQ-секция перед финальным CTA */
.l2-faq {
    padding: 60px 0 40px;
}
.l2-faq__title {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    margin: 0 0 28px;
    letter-spacing: -0.01em;
}
.l2-faq__list {
    max-width: 820px;
}
.l2-faq__item {
    border-top: 1px solid #eaeaea;
    border-left: 3px solid transparent;
    padding: 18px 0 18px 0;
    transition: border-left-color .2s ease, padding-left .2s ease;
}
/* Brand-color moment при открытии FAQ — UX-нюанс от creative-director */
.l2-faq__item[open] {
    border-left-color: var(--primary-color);
    padding-left: 16px;
}
.l2-faq__item summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #111;
    list-style: none;
    position: relative;
    padding-right: 32px;
    line-height: 1.35;
}
.l2-faq__item summary::-webkit-details-marker { display: none; }
.l2-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform .2s ease;
    line-height: 1;
}
.l2-faq__item[open] summary::after { content: '−'; }
.l2-faq__item p {
    margin: 12px 0 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}
@media (max-width: 575px) {
    .l2-faq__title { font-size: 26px; }
    .l2-faq__item summary { font-size: 16px; }
}
.l2-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    margin: 0 0 8px;
}
.l2-card__tag {
    display: inline-block;
    font-size: 12px;
    color: #555;  /* WCAG AA — было #888, 3.5:1 → стало 7.5:1 */
    margin-right: 10px;
    line-height: 1.4;
}
.l2-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    color: #D95435;
    font-size: 18px;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}
.l2-card:hover .l2-card__arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* L2 КАРТОЧКИ С ФОТО — для 12 отраслевых категорий (UX-консенсус 2026-05-29).
   Фото справа fullbleed, градиент справа налево, текст слева читается над white-fade.
   Ч/б через CSS-фильтр (не вшит в файл) — гибче, можно отключить/менять. */
.l2-card--photo {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    min-height: 220px;
    display: block;
}
.l2-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: grayscale(100%) contrast(1.05);
    z-index: 0;
    transition: filter .3s ease;
}
.l2-card--photo::after {
    /* Градиент справа налево: слева сплошной белый, постепенно прозрачный к правой части */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff 0%, #fff 38%, rgba(255,255,255,.85) 55%, rgba(255,255,255,0) 85%);
    z-index: 1;
    pointer-events: none;
}
.l2-card--photo .l2-card__content {
    position: relative;
    z-index: 2;
    padding: 24px;
    max-width: 65%;
}
.l2-card--photo:hover .l2-card__photo {
    filter: grayscale(0%) contrast(1.05);  /* полный возврат цвета при наведении — чёткий сигнал интерактивности */
}
.l2-card--photo .l2-card__icon { display: none; }  /* эмодзи-иконка не нужна когда есть фото */

/* Адаптив: на узких экранах градиент берёт больше места, чтобы текст оставался читаемым */
@media (max-width: 575px) {
    .l2-card--photo::after {
        background: linear-gradient(to right, #fff 0%, #fff 55%, rgba(255,255,255,.9) 70%, rgba(255,255,255,.3) 100%);
    }
    .l2-card--photo .l2-card__content {
        max-width: 75%;
    }
}

/* L2 КОМПАКТНАЯ СЕТКА — для P3-карточек */
.l2-cards--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.l2-cards--compact .l2-card {
    padding: 16px 18px;
}
.l2-cards--compact .l2-card__title { font-size: 15px; }
.l2-cards--compact .l2-card__icon { display: none; }
.l2-cards--compact .l2-card__arrow { right: 18px; bottom: 18px; font-size: 14px; }

/* L2 ТЁМНЫЙ БЛОК ЦЕНООБРАЗОВАНИЯ */
.l2-price-block {
    background: #1A1A1A;
    color: #fff;
    padding: 64px 0;
    margin: 60px 0;
}
.l2-price-block__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    text-align: center;
}
.l2-price-block__lead {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.55;
}
.l2-price-block__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.l2-price-factor {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 48px 24px 24px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Editorial-overlap: большие полупрозрачные номера 01-04 позади title (как в .l2-group__title) */
.l2-price-factor__num {
    position: absolute;
    top: -10px;
    left: 12px;
    font-family: var(--title-font, 'Saira', sans-serif);
    font-size: 80px;
    font-weight: 900;
    color: rgba(217,84,53,0.18);
    line-height: 1;
    letter-spacing: -0.05em;
    z-index: 0;
    pointer-events: none;
    margin: 0;
}
@media (max-width: 575px) { .l2-price-factor__num { font-size: 56px; left: 8px; } }
.l2-price-factor__title {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.l2-price-factor__desc {
    position: relative;
    z-index: 1;
}
.l2-price-factor__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
}
.l2-price-block__cta-row {
    text-align: center;
}
.l2-price-block__cta-row .category-cta {
    background: #D95435;
    color: #fff;
}

/* L2 БЛОК СЦЕНАРИЕВ — заменяет калькулятор */
.l2-scenarios {
    padding: 60px 0;
}
.l2-scenarios__title {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    text-align: center;
    margin: 0 0 12px;
}
.l2-scenarios__lead {
    font-size: 16px;
    color: #555;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.l2-scenarios__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 767px) { .l2-scenarios__grid { grid-template-columns: 1fr; gap: 18px; } }
.l2-scenario {
    background: #FAFAFA;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.l2-scenario:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px rgba(217,84,53,.12);
    transform: translateY(-3px);
}
/* Старая иконка-эмодзи больше не используется — заменена фото-trigger'ом, но класс оставлен для совместимости */
.l2-scenario__icon { display: none; }
.l2-scenario__content {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.l2-scenario__content .l2-scenario__links { margin-top: auto; }

/* Photo-trigger — кнопка-обёртка над фото с возможностью увеличения */
.l2-scenario__photo-trigger {
    position: relative;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
    overflow: hidden;
    display: block;
    width: 100%;
}
.l2-scenario__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .5s ease, filter .35s ease;
    filter: grayscale(100%) contrast(1.08);
}
.l2-scenario__photo-trigger:hover .l2-scenario__photo,
.l2-scenario__photo-trigger:focus .l2-scenario__photo {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.05);
}
/* Mobile: hover недоступен → компромисс grayscale 55% (виден сигнал «тут есть содержимое»),
   при tap-открытии lightbox показывает полный цвет (награда за клик) */
@media (max-width: 767px) {
    .l2-scenario__photo { filter: grayscale(55%) contrast(1.05); }
    .l2-scenario__photo-trigger:active .l2-scenario__photo { filter: grayscale(0%) contrast(1.05); }
}
/* Lightbox: фото всегда цветное (награда за клик + детали тканей важны при детальном просмотре) */
.scenario-lightbox__img { filter: none; }
.l2-scenario__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.l2-scenario__photo-trigger:hover .l2-scenario__zoom,
.l2-scenario__photo-trigger:focus .l2-scenario__zoom { opacity: 1; }

/* Lightbox — Native <dialog> */
.scenario-lightbox {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 95vw;
    max-height: 95vh;
    overflow: visible;
}
.scenario-lightbox::backdrop {
    background: rgba(0,0,0,.88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.scenario-lightbox__inner {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1100px;
    width: min(95vw, 1100px);
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}
.scenario-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.scenario-lightbox__close:hover { background: #b8462c; }
.scenario-lightbox__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    background: #1A1A1A;
}
.scenario-lightbox__body { padding: 22px 28px 24px; }
.scenario-lightbox__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #111;
    line-height: 1.2;
}
.scenario-lightbox__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 8px;
}
.scenario-lightbox__bullets li {
    color: #444;
    font-size: 15px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}
.scenario-lightbox__bullets li::before {
    content: '—';
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}
.scenario-lightbox__contact {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #eaeaea;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}
.scenario-lightbox__contact-label,
.scenario-lightbox__contact-or {
    color: #888;
    font-size: 14px;
    white-space: nowrap;
}
.scenario-lightbox__contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}
.scenario-lightbox__contact i {
    font-size: 22px;
    color: var(--primary-color);
    transition: transform .15s ease;
    width: 28px;
    text-align: center;
}
.scenario-lightbox__contact a:hover i { transform: scale(1.15); }
.scenario-lightbox__phone {
    margin-left: 4px;
    white-space: nowrap;
}
@media (max-width: 575px) {
    .scenario-lightbox__inner { width: 100vw; max-height: 100vh; border-radius: 0; }
    .scenario-lightbox { max-width: 100vw; max-height: 100vh; }
    .scenario-lightbox__close { top: 8px; right: 8px; }
    .scenario-lightbox__body { padding: 16px 18px 20px; }
    .scenario-lightbox__title { font-size: 18px; margin-bottom: 12px; }
    .scenario-lightbox__contact { font-size: 14px; gap: 6px; }
    .scenario-lightbox__img { max-height: 45vh; }
}
.l2-scenario__title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
@media (max-width: 575px) { .l2-scenario__title { font-size: 20px; } }
.l2-scenario__desc {
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    margin: 0 0 14px;
}
.l2-scenario__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.l2-scenario__link {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    font-size: 13px;
    color: #D95435;
    font-weight: 600;
    text-decoration: none;
}
.l2-scenario__link:hover {
    background: #D95435;
    color: #fff;
    border-color: #D95435;
}

/* L2 АДАПТИВНОСТЬ — только layout-вещи, font-size'ы заданы выше в основных правилах
   (нельзя дублировать — был баг каскадного конфликта, 2026-05-30) */
@media (max-width: 991px) {
    .l2-hero { padding: 64px 0 48px; }
    .l2-hero__lead { font-size: 17px; }
    .l2-metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .l2-cards { grid-template-columns: repeat(2, 1fr); }
    .l2-cards--compact { grid-template-columns: repeat(3, 1fr); }
    .l2-price-block__grid { grid-template-columns: repeat(2, 1fr); }
    .l2-scenarios__grid { grid-template-columns: 1fr; }
    .l2-group__title { font-size: 28px; }
}
@media (max-width: 575px) {
    .l2-hero { padding: 48px 0 36px; }
    .l2-hero__lead { font-size: 16px; }
    .l2-hero__cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
    .l2-hero__cta-row .category-cta { width: 100%; min-width: 0; }
    .l2-hero__phone { text-align: center; }
    .l2-cards { grid-template-columns: 1fr; }
    .l2-cards--compact { grid-template-columns: repeat(2, 1fr); }
    .l2-price-block__grid { grid-template-columns: 1fr; }
    .l2-price-block { padding: 48px 0; margin: 40px 0; }
    .l2-price-block__title { font-size: 26px; }
    .l2-tabs__row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .l2-tabs__btn { white-space: nowrap; }
    .l2-group__title { font-size: 24px; padding-left: 0; border-left: none; }
    .l2-group__sub { padding-left: 0; font-size: 14px; }
}


/* ────────────────────────────────────────────────────────────────────────
   LEGAL PAGES (privacy.html, oferta.html) — нейтрально-юридический шаблон
   ──────────────────────────────────────────────────────────────────────── */
.legal-page {
    background: #FAFAFA;
    padding: 56px 0 80px;
    color: #222;
    font-family: 'Nunito', sans-serif;
    line-height: 1.65;
}
.legal-page__inner {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    padding: 56px 64px;
    border: 1px solid #ECECEC;
}
.legal-page h1 {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: #1A1A1A;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.legal-page__meta {
    font-size: 14px;
    color: #777;
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ECECEC;
}
.legal-page__meta strong { color: #1A1A1A; }
.legal-page__toc {
    background: #FAFAFA;
    border-left: 3px solid #D95435;
    padding: 20px 28px;
    margin: 0 0 40px;
}
.legal-page__toc-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin: 0 0 12px;
}
.legal-page__toc ol {
    margin: 0;
    padding-left: 22px;
    font-size: 15px;
    columns: 2;
    column-gap: 32px;
}
.legal-page__toc li {
    margin-bottom: 6px;
    break-inside: avoid;
}
.legal-page__toc a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.legal-page__toc a:hover {
    color: #D95435;
    border-bottom-color: #D95435;
}
.legal-page h2 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #1A1A1A;
    margin: 40px 0 14px;
    padding-top: 12px;
    scroll-margin-top: 80px;
}
.legal-page h2 .num {
    color: #D95435;
    font-weight: 800;
    margin-right: 10px;
}
.legal-page h3 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #1A1A1A;
    margin: 24px 0 10px;
}
.legal-page p { margin: 0 0 14px; font-size: 15px; }
.legal-page ul, .legal-page ol { margin: 0 0 16px; padding-left: 24px; }
.legal-page li { margin-bottom: 6px; font-size: 15px; }
.legal-page a { color: #D95435; text-decoration: none; border-bottom: 1px solid rgba(217,84,53,0.3); }
.legal-page a:hover { border-bottom-color: #D95435; }
.legal-page__definition {
    background: #FAFAFA;
    padding: 14px 18px;
    border-left: 2px solid #D95435;
    margin: 0 0 12px;
    font-size: 14px;
}
.legal-page__definition strong { color: #1A1A1A; }
.legal-page__requisites {
    background: #1A1A1A;
    color: #FAFAFA;
    padding: 28px 32px;
    margin: 40px 0 0;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
}
.legal-page__requisites h3 {
    color: #FAFAFA;
    margin: 0 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Saira', sans-serif;
}
.legal-page__requisites .placeholder {
    color: #D95435;
    font-style: italic;
}
@media (max-width: 768px) {
    .legal-page { padding: 32px 0 56px; }
    .legal-page__inner { padding: 32px 20px; margin: 0 16px; }
    .legal-page__toc ol { columns: 1; }
    .legal-page h2 { font-size: 19px; margin-top: 32px; }
}


/* ────────────────────────────────────────────────────────────────────────
   L1 TRUST — блок «Клиенты швейной фабрики» (Bloomberg asymmetric 1+3)
   Editorial-редизайн вместо bootstrap col-md-3 + wow fadeIn (2026-05-31)
   ──────────────────────────────────────────────────────────────────────── */
.l1-trust {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    background: #0E0E0E;
    overflow: hidden;
    isolation: isolate;
    z-index: 0; /* явный stacking context, чтобы фон не «протёк» вверх к другим секциям на ultrawide */
}
/* Jarallax-плагин сам управляет position/transform/width/height на .jarallax-img:
   оборачивает <img> в .jarallax-container и применяет transform: translate3d() при скролле.
   Мы оставляем только фильтр (editorial monochrome) и object-fit для корректного crop. */
.l1-trust__bg {
    object-fit: cover;
    filter: contrast(1.1) saturate(0);
}
.l1-trust__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.15) 40%, rgba(14,14,14,0.75) 100%);
    z-index: 1;
}
.l1-trust > .container {
    position: relative;
    z-index: 2; /* контент поверх фона и overlay */
}

/* Header — editorial breaking center */
.l1-trust__head {
    margin-bottom: clamp(48px, 6vw, 88px);
    max-width: 880px;
}
.l1-trust__eyebrow {
    display: inline-block;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #D95435;
    margin: 0 0 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217,84,53,0.45);
}
.l1-trust__title {
    font-family: 'Saira', sans-serif;
    font-size: clamp(48px, 6.5vw, 96px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #FAFAFA;
    margin: 0 0 28px;
    text-align: left;
}
.l1-trust__title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #FAFAFA;
    display: inline-block;
    margin-right: 0.15em;
}
.l1-trust__title .solid {
    color: #FAFAFA;
    display: inline-block;
}
.l1-trust__lead {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: #ccc;
    max-width: 680px;
    margin: 0;
}
.l1-trust__lead strong {
    color: #D95435;
    font-weight: 800;
}

/* Bloomberg asymmetric grid: featured (2fr) + 3 secondary (1fr each) */
.l1-trust__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 64px;
}
.l1-trust-card {
    position: relative;
    background: rgba(20,20,20,0.92);
    padding: 32px 28px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: background 0.3s ease, border-color 0.3s ease;
    /* Native scroll-driven reveal — заменяет wow.js fadeIn */
    opacity: 0;
    transform: translateY(24px);
    animation: l1TrustReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 35%;
}
@keyframes l1TrustReveal {
    to { opacity: 1; transform: translateY(0); }
}
@supports not (animation-timeline: view()) {
    /* Fallback Safari < 17 / старые браузеры: показать сразу */
    .l1-trust-card { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .l1-trust-card { animation: none; opacity: 1; transform: none; }
}
.l1-trust-card:hover {
    background: rgba(32,32,32,0.96);
    border-color: #D95435;
}
.l1-trust-card__num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.22);
}
.l1-trust-card__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 84px;
    margin-bottom: 20px;
    text-decoration: none;
}
.l1-trust-card__logo img {
    max-height: 64px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8) opacity(0.85);
    transition: filter 0.35s ease;
}
.l1-trust-card:hover .l1-trust-card__logo img {
    filter: grayscale(0%) brightness(1) opacity(1);
}
.l1-trust-card__name {
    font-family: 'Saira', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FAFAFA;
    margin: 0 0 6px;
    line-height: 1.2;
}
.l1-trust-card__desc {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
    margin: 0 0 14px;
}
.l1-trust-card__tag {
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D95435;
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(217,84,53,0.28);
}

/* Featured card (Ростелеком) — крупнее, с stat-таблицей */
.l1-trust-card--featured {
    min-height: 320px;
    padding: 40px 36px;
}
.l1-trust-card--featured .l1-trust-card__num {
    top: 20px;
    right: 24px;
    font-size: 13px;
}
.l1-trust-card--featured .l1-trust-card__logo {
    height: 110px;
    margin-bottom: 28px;
}
.l1-trust-card--featured .l1-trust-card__logo img {
    max-height: 88px;
    max-width: 260px;
}
.l1-trust-card--featured .l1-trust-card__name { font-size: 26px; }
.l1-trust-card--featured .l1-trust-card__desc { font-size: 15px; margin-bottom: 0; }
.l1-trust-card__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 32px;
    margin: auto 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(217,84,53,0.28);
}
.l1-trust-card__stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.l1-trust-card__stats dt {
    font-family: 'Saira', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.l1-trust-card__stats dd {
    font-family: 'Saira', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #D95435;
    margin: 0;
    line-height: 1;
}

/* 44-ФЗ accent в marquee (hover-pause уже определён выше) */
.l1-marquee__item--accent {
    color: #D95435;
    font-weight: 900;
}

/* ─── Responsive ─── */
/* Tablet: featured на всю ширину, 3 ниже одним рядом */
@media (max-width: 1024px) {
    .l1-trust__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .l1-trust-card--featured {
        grid-column: 1 / -1;
        min-height: 260px;
    }
}
/* Mobile: всё в 1 колонку, stagger отключён через reduced-motion и view-timeline */
@media (max-width: 640px) {
    .l1-trust { padding: 64px 0 80px; }
    .l1-trust__head { margin-bottom: 32px; }
    .l1-trust__title { font-size: clamp(40px, 11vw, 60px); }
    .l1-trust__grid {
        grid-template-columns: 1fr;
    }
    .l1-trust-card {
        min-height: 200px;
        padding: 24px 22px;
    }
    .l1-trust-card--featured {
        grid-column: auto;
        min-height: 280px;
        padding: 28px 24px;
    }
    .l1-trust-card--featured .l1-trust-card__name { font-size: 22px; }
    .l1-trust-card__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .l1-trust-card__stats dd { font-size: 18px; }
}


/* ────────────────────────────────────────────────────────────────────────
   L1 SECTION-HEAD — единая editorial-шапка для всех l1-секций
   (portfolio, resume, reviews, glossary) — заменяет bootstrap col-md-12.text-center
   ──────────────────────────────────────────────────────────────────────── */
.l1-section-head {
    max-width: 820px;
    margin: 0 auto 48px;
    padding: 0 16px;
    text-align: center;
}
.l1-section-head__eyebrow {
    display: inline-block;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #D95435;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217,84,53,0.45);
}
.l1-section-head__title {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin: 0 0 16px;
}
.l1-section-head__lead {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.55;
    color: #555;
    margin: 0;
}
@media (max-width: 640px) {
    .l1-section-head { margin-bottom: 32px; padding: 0 12px; }
    .l1-section-head__title { font-size: clamp(26px, 7vw, 36px); }
    .l1-section-head__eyebrow { font-size: 11px; margin-bottom: 14px; }
}

/* ────────────────────────────────────────────────────────────────────────
   L1 PROCESS — оверрайды для .cat-process на L1 (был wow.js fadeIn, инлайн стили)
   ──────────────────────────────────────────────────────────────────────── */
.l1-process {
    margin-top: 16px !important;
    list-style: none;
    padding: 0;
    counter-reset: process;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background: #ECECEC;
}
.l1-process li {
    background: #FAFAFA;
    padding: 32px 20px 28px;
    position: relative;
    counter-increment: process;
    transition: background 0.3s ease;
}
.l1-process li:hover { background: #fff; }
.l1-process li::before {
    content: counter(process, decimal-leading-zero);
    display: block;
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #D95435;
    margin-bottom: 16px;
}
.l1-process li h3 {
    font-family: 'Saira', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px;
    line-height: 1.2;
}
.l1-process li p {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}
@media (max-width: 1024px) {
    .l1-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .l1-process { grid-template-columns: 1fr; }
    .l1-process li { padding: 24px 18px; }
}

/* ────────────────────────────────────────────────────────────────────────
   L1 REVIEWS — оверрайды для .cat-reviews-grid на L1
   ──────────────────────────────────────────────────────────────────────── */
.l1-reviews-grid {
    margin-top: 16px !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.l1-reviews-grid .cat-review {
    background: #FAFAFA;
    border-left: 3px solid #D95435;
    padding: 28px 28px 24px;
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
}
.l1-reviews-grid .cat-review::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    right: 22px;
    font-family: 'Saira', serif;
    font-size: 64px;
    line-height: 1;
    color: #D95435;
    opacity: 0.25;
    font-weight: 900;
}
.l1-reviews-grid .cat-review:hover { background: #fff; }
.l1-reviews-grid .cat-review-text {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 18px;
}
.l1-reviews-grid .cat-review-author {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    padding-top: 14px;
    border-top: 1px solid #E5E5E5;
}
.l1-reviews-grid .cat-review-author strong { color: #1A1A1A; font-weight: 700; }
.cat-review-tag {
    display: inline-block;
    margin-top: 6px;
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D95435;
    padding: 4px 10px;
    background: rgba(217,84,53,0.08);
    border-radius: 2px;
}
.l1-reviews-disclaimer {
    margin-top: 32px;
    font-size: 13px;
    color: #888;
    text-align: center;
    font-style: italic;
}
.l1-reviews-disclaimer a { color: #D95435; }
@media (max-width: 768px) {
    .l1-reviews-grid { grid-template-columns: 1fr; gap: 16px; }
    .l1-reviews-grid .cat-review { padding: 22px 22px 20px; }
    .l1-reviews-grid .cat-review::before { font-size: 48px; right: 16px; }
}

/* ────────────────────────────────────────────────────────────────────────
   L1 GLOSSARY — Definition-блок для AEO (ChatGPT/Perplexity/Алиса)
   ──────────────────────────────────────────────────────────────────────── */
.l1-glossary {
    padding: clamp(60px, 8vw, 100px) 0;
    background: #FAFAFA;
}
.l1-glossary__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #ECECEC;
    max-width: 1100px;
    margin: 0 auto;
}
.l1-glossary__item {
    background: #fff;
    padding: 28px 32px 24px;
    transition: background 0.3s ease;
}
.l1-glossary__item:hover { background: #FAFAFA; }
.l1-glossary__item dt {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #1A1A1A;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #D95435;
    display: inline-block;
}
.l1-glossary__item dd {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #444;
    margin: 0;
}
@media (max-width: 768px) {
    .l1-glossary__list { grid-template-columns: 1fr; }
    .l1-glossary__item { padding: 22px 20px 20px; }
    .l1-glossary__item dt { font-size: 16px; }
}


/* ════════════════════════════════════════════════════════════════════════
   L2 ABOUT — страница /o-fabrike.html (industrial journal эстетика)
   12 секций: hero split + metrics + sticky-nav + history+timeline +
   team + reveal-divider + production + process + geography + letters +
   faq + final-cta
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Универсальная eyebrow + title для секций ─── */
.about-section__eyebrow {
    display: inline-block;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #D95435;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217,84,53,0.45);
}
.about-section__title {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: #1A1A1A;
    margin: 0 0 20px;
}

/* ─── 1. HERO SPLIT 60/40 ─── */
.about-hero {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 560px;
    background: #1A1A1A;
}
.about-hero__photo {
    position: relative;
    overflow: hidden;
    margin: 0;
    isolation: isolate;
}
.about-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* AI color grading применён к самому файлу через Gemini Imagen 3 (2026-06-01).
       Доп. CSS-фильтр НЕ нужен — фото уже в editorial Industrial Journal палитре.
       Если захочешь усилить — раскомментировать: filter: contrast(1.02); */
    /* Ken Burns slow zoom — едва заметное «дыхание» 20 сек */
    animation: aboutHeroKenburns 22s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}
@keyframes aboutHeroKenburns {
    from { transform: scale(1.00); }
    to   { transform: scale(1.05); }
}
/* Vignette — radial тёмные края для глубины */
.about-hero__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 1;
}
/* Left-to-right gradient — seamless blend с правой тёмной панелью */
.about-hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 0%, rgba(26,26,26,0.15) 55%, rgba(26,26,26,0.85) 100%);
    pointer-events: none;
    z-index: 2;
}
/* Caption под фото — поверх vignette, в нижнем левом углу */
.about-hero__caption {
    position: absolute;
    left: 24px;
    bottom: 18px;
    z-index: 3;
    color: rgba(255,255,255,0.78);
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
    padding: 6px 12px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: reduce) {
    .about-hero__photo img { animation: none; }
}
.about-hero__intro {
    background: #1A1A1A;
    color: #FAFAFA;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.about-hero__eyebrow {
    display: inline-block;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #D95435;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217,84,53,0.45);
    align-self: flex-start;
}
.about-hero__title {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 2.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FAFAFA;
    margin: 0;
}
.about-hero__lead {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.6;
    color: #c8c8c8;
    margin: 0;
}
.about-hero__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: 12px;
    padding: 16px 32px;
    background: #D95435;
    color: #FAFAFA;
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.2s ease;
}
.about-hero__cta:hover { background: #b8462c; color: #FAFAFA; }

/* ─── 2. METRICS BAR ─── */
.about-metrics {
    background: #0E0E0E;
    color: #FAFAFA;
    padding: 56px 0;
}
.about-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0;
}
.about-metrics__item {
    background: #0E0E0E;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-metrics__num {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1;
    color: #D95435;
    margin: 0;
}
.about-metrics__label {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #aaa;
    margin: 0;
    line-height: 1.4;
}

/* ─── 4. HISTORY + TIMELINE ─── */
.about-history {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #FAFAFA;
}
/* Текст истории — отдельный блок над лестницей */
.about-history__text {
    max-width: 880px;
    margin: 0 0 clamp(48px, 6vw, 72px);
}
.about-history__lead {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.65;
    color: #333;
    margin: 0;
}
.about-history__lead::first-letter {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    color: #1A1A1A;
}

/* Лестница — panoramic full-width strip + Jarallax (фон скроллится медленнее) */
.about-history__photo--wide {
    margin: 0 0 clamp(48px, 6vw, 72px);
    background: #1A1A1A;
    position: relative;
    overflow: hidden;
    /* Фиксированная высота — нужна для корректной работы Jarallax */
    min-height: clamp(360px, 42vw, 560px);
    height: clamp(360px, 42vw, 560px);
}
/* Jarallax управляет position/width/height/transform на .jarallax-img.
   Оставляем только object-fit. */
.about-history__photo--wide img {
    object-fit: cover;
    object-position: center 30%;
    /* AI color grading применён к файлу через Gemini Imagen 3 (2026-06-01).
       CSS-фильтр НЕ нужен — лестница уже в editorial серо-нейтральной палитре. */
}
.about-history__photo--wide figcaption {
    position: absolute;
    left: 32px;
    bottom: 24px;
    color: rgba(255,255,255,0.85);
    font-family: 'Saira', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: 560px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}
/* Vignette для глубины */
.about-history__photo--wide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Timeline на тёмном фоне — горизонтальная */
.about-timeline {
    list-style: none;
    margin: 0;
    padding: 64px 56px;
    background: #1A1A1A;
    color: #FAFAFA;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: linear-gradient(to right, #1A1A1A, #1A1A1A);
    border: 1px solid #2A2A2A;
}
.about-timeline__item {
    background: #1A1A1A;
    padding: 32px 28px;
    border-right: 1px solid #2A2A2A;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-timeline__item:last-child { border-right: none; }
.about-timeline__year {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 4vw, 60px);
    line-height: 1;
    color: #D95435;
    margin: 0;
}
.about-timeline__title {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FAFAFA;
    margin: 0;
}
.about-timeline__text {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #aaa;
    margin: 0;
}

/* ─── 5. TEAM (директора) ─── */
.about-team {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #fff;
}
.about-team__head {
    max-width: 820px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-team__head > * { margin-top: 0 !important; } /* отменяем Kyros h2 negative margin */
.about-team__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
/* Layout: одно фото обеих директоров (5/12) + два текстовых блока bios (7/12) */
.about-team__layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* было 5fr 7fr — теперь равно (фото больше) */
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.about-team__photo {
    margin: 0;
    aspect-ratio: 3 / 4; /* было 4/5 — теперь ближе к реальному 0.75 фото */
    overflow: hidden;
    background: #1A1A1A;
    position: relative;
}
.about-team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* лица в верхней части портрета — не режет макушки */
    display: block;
    /* AI color grading применён к файлу через Gemini (2026-06-01). CSS-filter снят. */
}
.about-team__photo figcaption {
    background: #1A1A1A;
    color: #888;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-align: center;
    padding: 14px 18px;
}
.about-team__bios {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.about-founder {
    padding-bottom: 32px;
    border-bottom: 1px solid #ECECEC;
}
.about-founder:last-child { border-bottom: none; padding-bottom: 0; }
.about-founder__name {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #1A1A1A;
    margin: 0 0 4px;
}
.about-founder__role {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #D95435;
    margin: 0 0 16px;
}
.about-founder__bio {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px;
}
.about-founder__quote {
    margin: 0;
    padding: 20px 24px;
    background: #FAFAFA;
    border-left: 3px solid #D95435;
}
.about-founder__quote p {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    margin: 0;
}

/* ─── 6. REVEAL DIVIDER (вид из окна) + JARALLAX ─── */
.about-reveal {
    position: relative;
    overflow: hidden;
    background: #0E0E0E;
    /* Фиксированная высота — обязательна для корректной работы Jarallax */
    min-height: clamp(420px, 50vw, 620px);
    height: clamp(420px, 50vw, 620px);
    isolation: isolate;
}
/* Jarallax-img — управляется JS. Только filter и object-fit. */
.about-reveal__bg {
    object-fit: cover;
    object-position: center 40%;
    filter: grayscale(100%) contrast(1.12);
}
.about-reveal__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}
.about-reveal__inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.about-reveal__quote {
    margin: 0;
    max-width: 800px;
    text-align: center;
    color: #FAFAFA;
}
.about-reveal__quote p {
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 32px);
    line-height: 1.35;
    margin: 0 0 16px;
}
.about-reveal__quote cite {
    font-family: 'Saira', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #D95435;
}

/* ─── 7. PRODUCTION ─── */
.about-production {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #FAFAFA;
}
.about-production__head { max-width: 880px; margin: 0 0 48px; }
.about-production__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
.about-production__photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 фото в сетке 2x2 после reorder */
    gap: 2px;
    background: #ECECEC;
    margin: 0 0 48px;
}
.about-production__photos figure { margin: 0; overflow: hidden; background: #1A1A1A; position: relative; }
.about-production__photos figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 2;
}
.about-production__photos--detail { grid-column: 1 / -1; }
.about-production__photos--detail img { aspect-ratio: 21 / 9; max-height: 540px; }
.about-production__photos figcaption {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #888;
    padding: 12px 14px;
    background: #fff;
}

.about-equipment {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #ECECEC;
}
.about-equipment__item {
    background: #fff;
    padding: 28px 28px 24px;
    transition: background 0.25s ease;
}
.about-equipment__item:hover { background: #FAFAFA; }
.about-equipment__item h3 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1A1A1A;
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}
.about-equipment__item h3 span {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D95435;
    padding: 3px 8px;
    background: rgba(217,84,53,0.08);
    border-radius: 2px;
}
.about-equipment__item p {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    margin: 0 0 10px;
}
.about-equipment__benefit {
    padding-top: 10px;
    border-top: 1px solid #ECECEC;
    color: #1A1A1A !important;
}
.about-equipment__benefit strong { color: #D95435; }

.about-production__cta { margin-top: 40px; text-align: center; }

/* ─── 8. PROCESS — 9 этапов ─── */
.about-process {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #fff;
}
.about-process__head { max-width: 880px; margin: 0 0 48px; }
.about-process__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
.about-process__list {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #ECECEC;
    border: 1px solid #ECECEC;
}
.about-process__list li {
    background: #FAFAFA;
    padding: 28px 24px 22px;
    transition: background 0.25s ease;
}
.about-process__list li:hover { background: #fff; }
.about-process__list h3 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1A1A1A;
    margin: 0 0 10px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.about-process__list h3 span {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: #D95435;
    letter-spacing: 0.1em;
}
.about-process__list p {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

.about-process__assets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2px;
    background: #ECECEC;
}
/* После reorder: 2 фото (ткань + отгрузка) — равная сетка вместо 2+1+1 */
.about-process__assets--two {
    grid-template-columns: 1fr 1fr;
}
.about-process__assets figure { margin: 0; overflow: hidden; background: #1A1A1A; }
.about-process__assets figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 2;
}
.about-process__assets figure:nth-child(2) img,
.about-process__assets figure:nth-child(3) img { aspect-ratio: 1 / 1; }
.about-process__assets figcaption {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #888;
    padding: 10px 14px;
    background: #fff;
}

/* ─── 9. GEOGRAPHY ─── */
.about-geo {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #1A1A1A;
    color: #FAFAFA;
}
.about-geo__head { max-width: 880px; margin: 0 0 56px; }
.about-geo__head .about-section__title { color: #FAFAFA; }
.about-geo__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #c8c8c8;
    margin: 0;
}
.about-geo__cluster { margin-bottom: 48px; }
.about-geo__cluster-title {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #D95435;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217,84,53,0.3);
}
.about-geo__cities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 24px;
}
.about-geo__cities li {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #e0e0e0;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about-geo__cities--millions li {
    font-weight: 700;
    color: #FAFAFA;
}
.about-geo__city--home {
    color: #D95435 !important;
    font-weight: 800 !important;
}
.about-geo__city--home::after { content: ' ★'; font-size: 11px; }
.about-geo__note {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-style: italic;
    color: #aaa;
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ─── 10. LETTERS ─── */
.about-letters {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #FAFAFA;
}
.about-letters__head { max-width: 880px; margin: 0 0 56px; }
.about-letters__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
.about-letters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 0 32px;
}
.about-letter { margin: 0; background: #fff; padding: 16px; border: 1px solid #ECECEC; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-letter:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.about-letter img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9 / 13;
    object-fit: cover;
}
.about-letter figcaption {
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D95435;
    padding: 14px 0 4px;
    text-align: center;
}
.about-letters__note {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-style: italic;
    color: #666;
    max-width: 720px;
}

/* ─── 11. FAQ ─── */
.about-faq {
    padding: clamp(64px, 8vw, 100px) 0;
    background: #fff;
}
.about-faq__head { max-width: 720px; margin: 0 0 48px; }
.about-faq__list {
    max-width: 880px;
    border-top: 1px solid #ECECEC;
}
.about-faq__item {
    border-bottom: 1px solid #ECECEC;
    interpolate-size: allow-keywords;
}
.about-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #1A1A1A;
    transition: color 0.2s ease;
}
.about-faq__item summary::-webkit-details-marker { display: none; }
.about-faq__item summary::after {
    content: '+';
    font-family: 'Saira', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #D95435;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.about-faq__item[open] summary::after { transform: rotate(45deg); }
.about-faq__item summary:hover { color: #D95435; }
.about-faq__item p {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 22px;
    padding-right: 40px;
}

/* ─── 12. FINAL CTA ─── */
.about-final {
    padding: clamp(80px, 10vw, 120px) 0;
    background: #D95435;
    color: #FAFAFA;
    text-align: center;
}
.about-final__title {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: #FAFAFA;
    margin: 0 0 16px;
}
.about-final__lead {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin: 0 auto 32px;
}
.about-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 14px;
}
.about-cta {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.about-cta--primary {
    background: #1A1A1A;
    color: #FAFAFA;
    border-color: #1A1A1A;
}
.about-cta--primary:hover { background: #000; color: #FAFAFA; }
.about-cta--ghost {
    background: transparent;
    color: #FAFAFA;
    border-color: #FAFAFA;
}
.about-cta--ghost:hover { background: #FAFAFA; color: #1A1A1A; }
.about-final__micro {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .about-hero { grid-template-columns: 1fr; min-height: auto; }
    .about-hero__photo { aspect-ratio: 16 / 9; }
    /* На мобиле/планшете градиент меняет направление — снизу темно для перехода к intro */
    .about-hero__photo::after {
        background: linear-gradient(to bottom, transparent 50%, rgba(26,26,26,0.85) 100%);
    }
    .about-hero__intro { padding: 48px 32px; }
    /* .about-history__grid removed: лестница теперь panoramic full-width */
    .about-timeline { grid-template-columns: 1fr 1fr; }
    .about-timeline__item:nth-child(2) { border-right: none; }
    .about-timeline__item:nth-child(1), .about-timeline__item:nth-child(2) { border-bottom: 1px solid #2A2A2A; }
    .about-team__layout { grid-template-columns: 1fr; max-width: 640px; gap: 40px; }
    .about-team__photo { max-width: 480px; margin: 0 auto; aspect-ratio: 3 / 4; }
    .about-equipment, .about-production__photos { grid-template-columns: 1fr; }
    .about-process__list { grid-template-columns: 1fr 1fr; }
    .about-process__assets { grid-template-columns: 1fr; }
    .about-metrics__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .about-hero__intro { padding: 36px 20px; }
    .about-hero__title { font-size: clamp(24px, 6vw, 32px); }
    .about-metrics__grid { grid-template-columns: 1fr; }
    .about-timeline { grid-template-columns: 1fr; padding: 0; }
    .about-timeline__item { border-right: none; border-bottom: 1px solid #2A2A2A; }
    .about-timeline__item:last-child { border-bottom: none; }
    .about-process__list { grid-template-columns: 1fr; }
    .about-geo__cities { grid-template-columns: 1fr 1fr; }
    .about-letters__grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto 32px; }
    .about-final__actions { flex-direction: column; align-items: stretch; padding: 0 32px; }
}


/* Sticky-tabs scroll-mask на мобиле — визуальная подсказка что полоса скроллится горизонтально */
@media (max-width: 767px) {
    .l2-tabs {
        -webkit-mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
                mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
    }
    .l2-tabs__btn { padding: 10px 14px; font-size: 13px; }
}


/* ════════════════════════════════════════════════════════════════════════
   PACK A.4 — Унификация фото: единый базовый фильтр + правильный hover
   ════════════════════════════════════════════════════════════════════════ */

/* Hover grayscale → color ТОЛЬКО на production и process фото
   (на hero/директорах/лестнице hover не делаем — это статичные «hero moments») */
.about-production__photos figure img,
.about-process__assets figure img {
    filter: saturate(0.88) contrast(1.06) grayscale(35%);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.about-production__photos figure:hover img,
.about-process__assets figure:hover img {
    filter: saturate(1) contrast(1.06) grayscale(0%);
}

/* Reveal-divider (вид из окна) — единый стиль */
.about-reveal img {
    filter: grayscale(100%) contrast(1.12);
}

/* Mobile: скрываем дублирующие фото на 375px (ceh-2 и руки)
   Обязательны на мобиле: ceh-1 + gotovaya-forma (результат) + фасад/директора/лестница в других секциях */
@media (max-width: 640px) {
    .about-production__photos figure:nth-of-type(2),  /* ceh-2 — дубль ракурса цеха */
    .about-production__photos figure:nth-of-type(3) { /* ruki-shveinaya-mashina — деталь */
        display: none;
    }
}


/* ════════════════════════════════════════════════════════════════════════
   PACK B — Промежуточные CTA + сводный CTA-блок (после директоров)
   ════════════════════════════════════════════════════════════════════════ */
.about-inline-cta {
    margin-top: clamp(48px, 6vw, 72px);
    padding: 36px 32px;
    background: #FAFAFA;
    border-left: 3px solid #D95435;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.about-inline-cta__micro {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #777;
}

/* CTA-row в производстве — две кнопки рядом */
.about-production__cta {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}


/* ════════════════════════════════════════════════════════════════════════
   CONTACTS DROPDOWN — в шапке меню (заменяет ссылку «Контакты #section-contact»)
   ════════════════════════════════════════════════════════════════════════ */
.contacts-dropdown-li {
    position: relative;
}
.contacts-dropdown-toggle {
    cursor: pointer;
}
/* Сам dropdown — скрыт по умолчанию, появляется по hover на родителя или [aria-expanded="true"] */
.contacts-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 300px;
    background: #1A1A1A;
    color: #FAFAFA;
    padding: 18px 0;
    border-top: 3px solid #D95435;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.contacts-dropdown-li:hover .contacts-dropdown,
.contacts-dropdown-li:focus-within .contacts-dropdown,
.contacts-dropdown-toggle[aria-expanded="true"] + .contacts-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.contacts-dropdown__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 22px;
    color: #FAFAFA;
    text-decoration: none;
    transition: background 0.15s ease;
}
.contacts-dropdown__row:hover,
a.contacts-dropdown__row:focus { background: rgba(217,84,53,0.15); color: #FAFAFA; }
.contacts-dropdown__label {
    font-family: 'Saira', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #888;
}
.contacts-dropdown__value {
    font-family: 'Saira', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FAFAFA;
    line-height: 1.3;
}
.contacts-dropdown__row--addr .contacts-dropdown__value,
.contacts-dropdown__row--hours .contacts-dropdown__value {
    font-size: 13px;
    font-weight: 500;
}
.contacts-dropdown__messengers {
    display: flex;
    gap: 8px;
    padding: 6px 22px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 6px;
}
.contacts-dropdown__msg {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255,255,255,0.06);
    color: #FAFAFA;
    text-decoration: none;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    border-radius: 2px;
    transition: background 0.15s ease;
}
.contacts-dropdown__msg--wa:hover { background: #25D366; color: #FAFAFA; }
.contacts-dropdown__msg--tg:hover { background: #29B6F6; color: #FAFAFA; }
.contacts-dropdown__cta {
    display: block;
    margin: 12px 22px 0;
    padding: 14px 16px;
    background: #D95435;
    color: #FAFAFA;
    font-family: 'Saira', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}
.contacts-dropdown__cta:hover { background: #b8462c; color: #FAFAFA; }

/* Mobile: на 991px и ниже dropdown превращается в простой блок (без absolute) — Kyros mobile menu */
@media (max-width: 991px) {
    .contacts-dropdown {
        position: static;
        min-width: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border-top: 1px solid rgba(217,84,53,0.4);
        padding: 12px 0;
    }
    .contacts-dropdown-toggle { display: none; } /* В мобильном меню Kyros показывает дочерние блоки напрямую */
}


/* ════════════════════════════════════════════════════════════════════════
   MEGA-MENU "КОНТАКТЫ" — 4 колонки в стиле "Пошив/Брендирование"
   editorial industrial journal style, акценты #D95435
   ════════════════════════════════════════════════════════════════════════ */
.mega-menu-inner--contacts .mega-col--contacts h6 {
    /* Унифицируем с другими mega-col заголовками если они есть */
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217,84,53,0.35);
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #D95435;
}

/* === Колонка 1: Связаться сейчас === */
.mc-phone {
    display: block;
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #1A1A1A !important;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.15s ease;
}
.mc-phone:hover { color: #D95435 !important; }
.mc-messengers {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
}
.mc-msg {
    flex: 1;
    padding: 9px 10px;
    font-family: 'Saira', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ECECEC;
    color: #444 !important;
    transition: all 0.15s ease;
}
/* C4 fix: цветной border-left в default-состоянии — мессенджер узнаваем без hover */
.mc-msg--wa { border-left: 3px solid #25D366; }
.mc-msg--tg { border-left: 3px solid #29B6F6; }
.mc-msg--wa:hover { background: #25D366; color: #fff !important; border-color: #25D366; }
.mc-msg--tg:hover { background: #29B6F6; color: #fff !important; border-color: #29B6F6; }
.mc-email {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #444 !important;
    text-decoration: none;
    margin: 0 0 12px;
    padding: 8px 0;
    border-top: 1px solid #ECECEC;
    word-break: break-all;
    transition: color 0.15s ease;
}
.mc-email:hover { color: #D95435 !important; }
.mc-hint {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

/* === Колонка 2: Адрес и часы === */
.mc-addr {
    font-family: 'Saira', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 14px;
    line-height: 1.4;
}
.mc-hours {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #444;
    margin: 0 0 14px;
    line-height: 1.5;
    padding-bottom: 14px;
    border-bottom: 1px solid #ECECEC;
}
.mc-hours strong { color: #D95435; font-weight: 700; }
.mc-tz {
    font-size: 11px;
    color: #888;
    font-style: italic;
}
.mc-maplink {
    display: inline-block;
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D95435 !important;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.mc-maplink:hover { border-bottom-color: #D95435; }

/* === Колонка 3: Документы === */
.mc-docs {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.mc-docs li {
    margin: 0 0 8px;
}
.mc-docs li a {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #444 !important;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    border-bottom: 1px solid transparent;
    transition: all 0.15s ease;
}
.mc-docs li a:hover {
    color: #D95435 !important;
    border-bottom-color: rgba(217,84,53,0.3);
}
.mc-requisites {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #ECECEC;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    color: #888;
    line-height: 1.6;
}
.mc-requisites strong {
    color: #1A1A1A;
    font-weight: 700;
}

/* === Колонка 4: CTA Расчёт за 2 часа === */
.mega-col--cta {
    background: #1A1A1A !important;
    padding: 20px !important;
    margin: -20px -20px -20px 0 !important; /* выходит за padding mega-col для full-height тёмной плашки */
    display: flex !important;
    flex-direction: column !important;
}
.mega-col--cta h6 {
    color: #D95435 !important;
    border-bottom-color: rgba(217,84,53,0.5) !important;
}
.mc-cta-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #c8c8c8;
    line-height: 1.5;
    margin: 0 0 18px;
}
.mc-cta-btn {
    display: block;
    padding: 14px 16px;
    background: #D95435;
    color: #FAFAFA !important;
    font-family: 'Saira', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    text-decoration: none;
    margin: auto 0 14px;
    transition: background 0.2s ease;
}
.mc-cta-btn:hover {
    background: #b8462c;
    color: #FAFAFA !important;
}
.mc-cta-micro {
    font-family: 'Saira', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin: 0;
    text-align: center;
}

/* Mobile (991px-): mega-menu контактов разворачивается аккуратно */
@media (max-width: 991px) {
    .mega-col--cta {
        margin: 16px 0 0 !important;
        background: #1A1A1A !important;
    }
    .mc-phone { font-size: 20px; }
    .mega-menu-inner--contacts {
        gap: 16px !important;
    }
}

/* Cleanup старый .contacts-dropdown* — оставлю CSS-блок без эффекта (li-класса больше нет) */
.contacts-dropdown-li, .contacts-dropdown-toggle, .contacts-dropdown { display: none; }


/* ════════════════════════════════════════════════════════════════════════
   PACK A+B+C — финальные мелкие фиксы mega-menu Контакты (после агент-аудита)
   ════════════════════════════════════════════════════════════════════════ */

/* P1: .mc-cta-micro — поднять контраст на тёмной плашке (#888 → #AAA = WCAG AA 5.7:1) */
.mc-cta-micro { color: #AAAAAA !important; }

/* P2: micro-lift на hover CTA (вместо scale — editorial subtle) */
.mc-cta-btn { transition: background 0.2s ease, transform 0.2s ease; }
.mc-cta-btn:hover { transform: translateY(-1px); }

/* I3: На mobile 767- скрываем колонку 3 «Документы» (4 колонки в стеке = overwhelm; реквизиты в footer есть) */
@media (max-width: 767px) {
    .mega-menu-inner--contacts .mega-col--contacts:nth-child(3) {
        display: none;
    }
}


/* ════════════════════════════════════════════════════════════════════════
   MOBILE FIXES — после 3-агентного аудита (ux + creative + site-tester)
   ════════════════════════════════════════════════════════════════════════ */

/* ux/critical — header.header-mobile не должен обрезать раскрытое mega-menu */
@media (max-width: 991px) {
    header.header-mobile { max-height: none !important; }
}

/* ux/important — у CTA-колонки на mobile убрать "+" аккордеон (она всегда раскрыта) */
@media (max-width: 991px) {
    .mega-col--cta > h6::after { display: none !important; }
}

/* ux/important — Я.Карты ссылка touch-target 44px */
@media (max-width: 991px) {
    .mc-maplink {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* site-tester/minor — phone touch-target минимум 44px */
@media (max-width: 991px) {
    .mc-phone {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* creative/critical — разделитель между колонками на mobile (визуальный ритм) */
@media (max-width: 991px) {
    .mega-menu-inner--contacts .mega-col--contacts + .mega-col--contacts {
        padding-top: 16px;
        border-top: 1px solid #ECECEC;
    }
}

/* creative — phone крупнее и заметнее на mobile */
@media (max-width: 767px) {
    .mc-phone {
        font-size: 24px;
        margin-bottom: 16px;
    }
}

/* creative — mc-tz: WCAG AA на белом (контраст #888 → #666 = 5.7:1) + размер 12px */
.mc-tz {
    font-size: 12px !important;
    color: #666 !important;
}

/* creative — хинт отступ от email */
.mc-hint { margin-top: 4px; }

/* creative — letter-spacing h6 в контактах (0.16em → 0.12em для editorial-баланса) */
.mega-menu-inner--contacts .mega-col--contacts h6 {
    letter-spacing: 0.12em;
}

/* creative — spacing на тёмной плашке CTA mobile (микрокопи не «прилипает» к кнопке) */
@media (max-width: 767px) {
    .mc-cta-btn { margin-bottom: 12px; }
    .mc-cta-micro {
        margin-top: 6px;
        letter-spacing: 0.07em; /* меньше spacing — лучше влезает */
        font-size: 10px;
    }
}


/* ============================================
   LEGAL PARTIES GRID (dogovor-poshiva.html)
   2-колонки на десктопе, 1 колонка на мобиле
   ============================================ */
.legal-parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}
@media (max-width: 767px) {
    .legal-parties-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================================
   РЕВИЗИЯ ФАЗА B — стили для добавленных шаблонных блоков
   ============================================================ */

/* .category-hero-img-wrap — обёртка hero-image с badge */
.category-hero-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}
.category-hero-img-wrap .category-hero-img {
    border-radius: 6px;
}
.category-hero-badge {
    position: absolute;
    top: 16px;
    bottom: auto; /* override старого правила bottom: 12px из первого блока */
    left: 16px;
    right: auto;
    background: #D95435;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* .category-subtagline — технические параметры под tagline */
.category-subtagline {
    margin-top: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    border-left: 3px solid #D95435;
    padding-left: 12px;
}

/* .category-cta-micro — микрокопи под hero CTA */
.category-cta-micro {
    margin: 10px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

/* .cat-metrics — блок 4 числа после hero */
.cat-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 36px 0;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
}
.cat-metric {
    text-align: center;
}
.cat-metric-num {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #D95435;
    line-height: 1.1;
}
.cat-metric-label {
    margin-top: 6px;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .cat-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 18px;
    }
    .cat-metric-num { font-size: 24px; }
}

/* .cat-form-promo--dark — финальный CTA на тёмном фоне */
.cat-form-promo--dark {
    padding: 36px 32px;
    background: #1a1a1a;
    color: #f0f0f0;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #D95435;
    margin-top: 32px;
}
.cat-form-promo--dark h2 {
    color: #fff;
    margin-top: 0;
}
.cat-form-promo--dark p {
    color: #ccc;
}
.cat-form-promo--dark .category-cta {
    background: #D95435;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cat-form-promo--dark .category-cta:hover {
    background: #c14a2e;
}

/* .cat-industry-card — hover для интерактивности */
.cat-industry-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cat-industry-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Кластерные fallback-цвета hero (на случай отсутствия фото) */
.category-hero--military .category-hero-img-wrap { background-color: #2c3e2d; }
.category-hero--sport    .category-hero-img-wrap { background-color: #1a2a3d; }
.category-hero--food     .category-hero-img-wrap { background-color: #1a1a1a; }

/* end revision ФАЗА B */