/* ==========================================================================
           QUICK GUIDE
           ==========================================================================

           Куда обычно смотреть при ручной настройке:
           - :root             -> базовые цвета, тени, glass tokens
           - UI_CONFIG         -> мелкие UI-размеры и визуальные параметры
           - PAGE_DATA         -> весь текстовый и карточный контент страницы
           - CONFIG.objects    -> настройки трёх 3D-механизмов
           - render*()         -> шаблоны секций и карточек
           - getAssemblyFactor -> тайминг сборки при скролле
           - updateScatterTargets -> поведение разлёта и "левитации" деталей

           Если цель — быстро подкрутить конкретное поведение:
           - сделать весь интерфейс визуально компактнее или крупнее:
             правь UI_CONFIG.siteScale (например 0.9 = близко к zoom 90%)
           - больше воздуха между каталогом и преимуществами:
             меняй --assembly-gap-height / --assembly-gap-height-mobile
           - поменять контент каталога, товаров, преимуществ:
             правь PAGE_DATA
           - подвинуть или масштабировать 3D-объект:
             правь CONFIG.objects.<id>.position / scale
           - сделать разлёт деталей компактнее:
             правь CONFIG.objects.<id>.scatter.radius
           - сделать сборку раньше или позже:
             правь CONFIG.objects.<id>.assembly.triggerTopFactor
           - сделать сборку длиннее или короче:
             правь CONFIG.objects.<id>.assembly.triggerHeightFactor
        */

        /* ==========================================================================
           DESIGN TOKENS
           ==========================================================================

           Здесь лежат базовые переменные темы. Их стоит править, если нужно
           глобально сменить настроение страницы, а не локально подкрасить
           один блок.
        */
        :root {
            --ui-site-scale: 1;
            --color-accent: #b60000;
            --color-accent-hover: #dd2222;
            --color-page-bg: #f8fafc;
            --color-border: rgba(229, 231, 235, 0.5);
            --color-text: #1f2937;
            --color-text-strong: #0f172a;
            --color-muted: #6b7280;
            --color-footer-bg: rgba(31, 41, 55, 0.95);

            --glass-bg: rgba(255, 255, 255, 0.65);
            --glass-bg-strong: rgba(255, 255, 255, 0.85);
            --glass-border: rgba(255, 255, 255, 0.8);
            --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);

            --header-max-width: calc(1440px * var(--ui-site-scale));
            --hero-content-max-width: calc(650px * var(--ui-site-scale));
            --hero-title-size: 3.5rem;
            --hero-title-letter-spacing: 0.125rem;

            --assembly-gap-height: clamp(calc(220px * var(--ui-site-scale)), 24vw, calc(340px * var(--ui-site-scale)));
            --assembly-gap-height-mobile: clamp(calc(160px * var(--ui-site-scale)), 34vw, calc(240px * var(--ui-site-scale)));

            /*
                UI custom properties ниже получают окончательные значения из UI_CONFIG.
                Значения в :root нужны как читаемый fallback, чтобы CSS оставался
                самодостаточным даже до выполнения JS.
            */
            --ui-section-marker-size: 0.5rem;
            --ui-micro-font-size: 0.625rem;
            --ui-micro-letter-spacing: 0.1em;
            --ui-feature-icon-box-size: 5rem;
            --ui-feature-icon-font-size: 2.5rem;
            --ui-feature-copy-font-size: 0.95rem;
            --ui-feature-card-min-height: 16rem;
            --ui-feature-summary-max-width: 26rem;
            --ui-hero-copy-max-width: 31.25rem;
            --ui-category-card-min-height: 17.5rem;
            --ui-product-image-box-height: 11.25rem;
            --ui-b2b-badge-font-size: 0.75rem;
            --ui-b2b-badge-letter-spacing: 0.08em;
            --ui-b2b-copy-max-width: 37.5rem;
            --ui-b2b-accent-border-width: calc(5px * var(--ui-site-scale));
            --ui-b2b-decor-icon-size: 15rem;
            --ui-b2b-decor-icon-top: -3rem;
            --ui-b2b-decor-icon-right: -2rem;
            --ui-footer-brand-size: 2.5rem;
            --ui-footer-meta-font-size: 0.8rem;
            --ui-footer-border-color: rgba(148, 163, 184, 0.35);
            --ui-status-default-bg: var(--color-muted);
            --ui-status-hit-bg: var(--color-accent);
        }

        html {
            font-size: calc(16px * var(--ui-site-scale));
        }

        /* ==========================================================================
           BASE / LAYOUT
           ==========================================================================

           Здесь только общие правила: фон, типографика страницы, базовая
           геометрия фоновых слоёв и layout-shell.
        */
        body {
            margin: 0;
            padding: 0;
            background: transparent;
            font-family: "Inter", sans-serif;
            color: var(--color-text);
            overflow-x: hidden;
        }

        a {
            color: inherit;
        }

        .grid-bg {
            position: fixed;
            inset: 0;
            background-color: var(--color-page-bg);
            background-image:
                linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
            background-size:
                calc(40px * var(--ui-site-scale))
                calc(40px * var(--ui-site-scale));
            z-index: -2;
            pointer-events: none;
        }

        #webgl-bg {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
        }

        .store-content {
            position: relative;
            z-index: 10;
            padding-bottom: 5rem;
        }

        .content-layer {
            z-index: 1;
        }

        .section-marker {
            width: var(--ui-section-marker-size);
            height: var(--ui-section-marker-size);
            border-radius: 50%;
            background: var(--color-accent);
            display: inline-block;
            flex: 0 0 auto;
        }

        .micro-copy {
            font-size: var(--ui-micro-font-size);
            letter-spacing: var(--ui-micro-letter-spacing);
            text-transform: uppercase;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
            border-radius: 0.8rem;
            transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
        }

        .glass-title-box-full {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 1.5rem 2rem;
            border-radius: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: var(--glass-shadow);
        }

        .glass-section {
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid rgba(255, 255, 255, 0.6);
            border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--color-text);
            letter-spacing: -0.02em;
        }

        .section-link {
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            color: var(--color-muted);
            transition: color 0.3s ease;
        }

        .section-link:hover {
            color: var(--color-accent);
        }

        .assembly-gap-section {
            height: var(--assembly-gap-height);
            pointer-events: none;
        }

        /* ==========================================================================
           HEADER
           ==========================================================================

           Здесь кастомные стили оставлены только для тех деталей, которые не стоит
           расписывать utility-классами Bootstrap: стеклянная шапка, поиск и
           action-иконки с badge.
        */
        .header-wrapper {
            position: sticky;
            top: 1rem;
            z-index: 1000;
            padding: 0 1rem;
        }

        .header-shell {
            max-width: var(--header-max-width);
            margin: 0 auto;
            background: var(--glass-bg-strong);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 0.9rem;
            box-shadow: var(--glass-shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .top-row {
            border-bottom: 1px solid var(--color-border);
            font-size: 0.92rem;
        }

        .top-link {
            color: var(--color-accent);
            text-decoration: none;
            font-weight: 500;
        }

        .top-link:hover {
            color: var(--color-accent-hover);
            text-decoration: underline;
        }

        .city-link {
            color: var(--color-accent);
            text-decoration: none;
            border-bottom: 1px dashed var(--color-accent);
            line-height: 1.2;
        }

        .city-link:hover {
            color: var(--color-accent-hover);
            border-bottom-color: var(--color-accent-hover);
        }

        .phone-link {
            color: #111827;
            text-decoration: none;
            font-weight: 700;
            white-space: nowrap;
        }

        .phone-link:hover {
            color: var(--color-accent);
        }

        .logo-wrap {
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: calc(60px * var(--ui-site-scale));
            transition: opacity 0.25s ease;
        }

        .logo-wrap:hover {
            opacity: 0.86;
        }

        .logo-wrap img {
            display: block;
            width: auto;
            height: 4.5rem;
            object-fit: contain;
        }

        .search-wrap {
            max-width: calc(460px * var(--ui-site-scale));
        }

        .search-wrap .form-control {
            background: rgba(243, 244, 246, 0.8);
            border: 0;
            border-radius: 999px;
            padding: 0.9rem 3rem;
        }

        .search-wrap .form-control::placeholder {
            color: #9ea8b7;
        }

        .search-wrap .form-control:focus {
            background: #fff;
            box-shadow: 0 0 0 0.2rem rgba(190, 18, 60, 0.18);
        }

        .search-icon {
            position: absolute;
            left: 1.1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
            z-index: 3;
        }

        .search-submit {
            position: absolute;
            right: 0.35rem;
            top: 0.35rem;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            border: 1px solid #e6e8ee;
            background: #fff;
            color: #9ca3af;
            z-index: 3;
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .search-submit:hover {
            color: var(--color-accent);
            border-color: #d8dde8;
        }

        .action-link {
            text-decoration: none;
            color: #111827;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            white-space: nowrap;
        }

        .action-link:hover {
            color: var(--color-accent);
        }

        .action-icon {
            position: relative;
            width: 2.2rem;
            height: 2.2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.55rem;
            color: inherit;
        }

        .action-badge {
            position: absolute;
            top: -0.3rem;
            right: -0.45rem;
            min-width: 1.2rem;
            height: 1.2rem;
            border-radius: 999px;
            padding: 0 0.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.62rem;
            font-weight: 700;
            color: var(--color-muted);
            border: 2px solid #fff;
            background: rgba(243, 244, 246, 0.9);
            line-height: 1;
        }

        .cart-meta {
            line-height: 1.15;
            min-width: calc(90px * var(--ui-site-scale));
        }

        .cart-state {
            color: var(--color-accent);
            font-size: 0.77rem;
            font-weight: 600;
        }

        .header-top-meta,
        .header-top-contact,
        .header-actions-row {
            min-width: 0;
        }

        .header-top-contact {
            justify-content: flex-end;
        }

        /* ==========================================================================
           HERO
           ==========================================================================

           В hero оставляем кастомную композицию, потому что это точка столкновения
           текста, стеклянного контейнера и 3D-объекта. Bootstrap здесь помогает
           со spacing и responsive flex, но не заменяет композиционный CSS.
        */
        .hero-section {
            min-height: 90vh;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1;
            pointer-events: none;
            margin-top: calc(-60px * var(--ui-site-scale));
        }

        .hero-content {
            pointer-events: auto;
            max-width: var(--hero-content-max-width);
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 3rem 4rem 3rem 3rem;
            border-radius: 0.5rem;
            box-shadow: var(--glass-shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-left: 5px solid var(--color-accent);
        }

        .hero-title {
            font-size: var(--hero-title-size);
            font-weight: 900;
            color: var(--color-text-strong);
            line-height: 1.1;
            text-transform: uppercase;
            letter-spacing: var(--hero-title-letter-spacing);
        }

        .hero-title span {
            color: var(--color-accent);
        }

        .hero-summary {
            font-size: 1.1rem;
            max-width: var(--ui-hero-copy-max-width);
        }

        .btn-brand {
            background-color: var(--color-accent);
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

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

        .btn-brand-ghost {
            background: rgba(255, 255, 255, 0.5);
            color: var(--color-text);
            border: 2px solid rgba(31, 41, 55, 0.3);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-brand-ghost:hover {
            background: rgba(255, 255, 255, 0.85);
            color: var(--color-text-strong);
            border-color: rgba(31, 41, 55, 0.45);
        }

        .call-btn {
            border-color: var(--color-accent);
            color: var(--color-accent);
            font-weight: 600;
            white-space: nowrap;
        }

        .call-btn:hover {
            background: var(--color-accent);
            border-color: var(--color-accent);
            color: #fff;
        }

        /* ==========================================================================
           CATALOG / FEATURE / PRODUCT COMPONENTS
           ==========================================================================

           Этот слой содержит все переиспользуемые карточки и паттерны контента.
           Все повторяющиеся блоки рендерятся из PAGE_DATA, а визуальные детали
           централизованы через CSS vars и именованные классы.
        */
        .catalog-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: var(--ui-category-card-min-height);
            padding: 1.8rem;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }

        .catalog-card:hover {
            transform: translateY(-5px);
            border-color: rgba(190, 18, 60, 0.4);
        }

        .catalog-card__arrow {
            color: var(--color-accent);
            opacity: 0;
            transform: translate(-10px, 10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .catalog-card:hover .catalog-card__arrow {
            opacity: 1;
            transform: translate(0, 0);
        }

        .catalog-card__bg {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 0;
        }

        .catalog-card__bg img {
            width: calc(130px * var(--ui-site-scale));
            height: calc(130px * var(--ui-site-scale));
            object-fit: contain;
            opacity: 0.05;
            transform: scale(0.75);
            transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
            mix-blend-mode: multiply;
            filter: grayscale(100%);
        }

        .catalog-card:hover .catalog-card__bg img {
            opacity: 0.15;
            transform: scale(1.1);
            filter: grayscale(0%);
        }

        .category-title {
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--color-text);
        }

        .category-meta {
            font-size: var(--ui-micro-font-size);
            letter-spacing: var(--ui-micro-letter-spacing);
        }

        .features-showcase {
            position: relative;
            overflow: hidden;
            padding: clamp(2rem, 4vw, 3rem);
            border-radius: 1.5rem;
        }

        .features-showcase::before {
            content: "";
            position: absolute;
            top: -120px;
            left: -80px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(182, 0, 0, 0.12) 0%, rgba(182, 0, 0, 0) 72%);
            pointer-events: none;
        }

        .features-showcase::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
                linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0));
            pointer-events: none;
        }

        .feature-header-group {
            position: relative;
            z-index: 1;
            max-width: 56rem;
            margin-bottom: clamp(2rem, 4vw, 3rem);
        }

        .feature-header-group .section-title {
            font-size: clamp(2.2rem, 4vw, 3.4rem);
            line-height: 1.02;
            letter-spacing: -0.05em;
        }

        .feature-header-group .feature-summary {
            max-width: 42rem;
        }

        .feature-summary {
            max-width: var(--ui-feature-summary-max-width);
            font-size: 1rem;
            line-height: 1.75;
            color: var(--color-muted);
        }

        .feature-ledger {
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 2.75rem;
            padding: clamp(1.9rem, 3vw, 2.7rem);
            border-radius: 1rem;
            overflow: hidden;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 247, 250, 0.56));
            border: 1px solid rgba(255, 255, 255, 0.72);
        }

        .feature-ledger__orb {
            position: absolute;
            top: -7rem;
            right: -7rem;
            width: 18rem;
            height: 18rem;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(182, 0, 0, 0.09) 0%, rgba(182, 0, 0, 0) 72%);
            filter: blur(12px);
            pointer-events: none;
        }

        .feature-ledger__content,
        .feature-ledger__footer {
            position: relative;
            z-index: 1;
        }

        .feature-ledger__title {
            max-width: 17rem;
            margin: 0 0 1.15rem;
            font-size: clamp(1.65rem, 2.35vw, 2.05rem);
            line-height: 1.1;
            font-weight: 800;
            letter-spacing: -0.04em;
            color: var(--color-text-strong);
        }

        .feature-ledger__copy {
            max-width: 18.5rem;
            margin: 0;
            color: var(--color-muted);
            font-size: 0.98rem;
            line-height: 1.82;
        }

        .feature-ledger__cta {
            min-width: 10.75rem;
            padding: 0.82rem 1.15rem;
            border-radius: 0.5rem;
            font-size: 0.78rem;
            letter-spacing: 0.11em;
        }

        .feature-ledger__decor {
            position: absolute;
            right: -0.75rem;
            bottom: -0.9rem;
            font-size: clamp(4.6rem, 9vw, 6.2rem);
            color: rgba(15, 23, 42, 0.06);
            pointer-events: none;
        }

        .feature-grid {
            position: relative;
            z-index: 1;
        }

        .feature-grid__item {
            position: relative;
        }

        .feature-card {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 3rem;
            height: 100%;
            min-height: var(--ui-feature-card-min-height);
            padding: clamp(1.5rem, 2vw, 2rem);
            overflow: hidden;
            border-radius: 0.9rem;
            border-color: rgba(148, 163, 184, 0.18);
            box-shadow: 0 22px 44px rgba(15, 23, 42, 0.04);
        }

        .feature-card:hover {
            transform: translateY(-4px);
            border-color: rgba(190, 18, 60, 0.24);
        }

        .feature-card__top {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
        }

        .feature-card__icon-badge {
            width: var(--ui-feature-icon-box-size);
            height: var(--ui-feature-icon-box-size);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--color-accent);
            border: 1px solid rgba(182, 0, 0, 0.14);
            border-radius: 0.8rem;
            background: rgba(255, 255, 255, 0.78);
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
            font-size: var(--ui-feature-icon-font-size);
            flex: 0 0 auto;
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        .feature-card:hover .feature-card__icon-badge {
            background: rgba(182, 0, 0, 0.94);
            color: #fff;
            border-color: rgba(182, 0, 0, 0.22);
        }

        .feature-card__metric-group {
            position: relative;
            z-index: 1;
            text-align: right;
        }

        .feature-card__metric-label {
            display: block;
            margin-bottom: 0.45rem;
            color: var(--color-muted);
            font-size: 0.64rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .feature-card__metric-value {
            display: inline-block;
            color: rgba(182, 0, 0, 0.9);
            font-size: clamp(1.08rem, 1.2vw, 1.28rem);
            line-height: 1;
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        .feature-card__body {
            position: relative;
            z-index: 1;
        }

        .feature-title {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--color-text-strong);
            margin-bottom: 0.75rem;
            line-height: 1.12;
            letter-spacing: -0.03em;
        }

        .feature-copy {
            margin: 0;
            font-size: var(--ui-feature-copy-font-size);
            color: var(--color-muted);
            line-height: 1.75;
        }

        @media (min-width: 992px) {
            .feature-grid__item--offset {
                margin-top: 1.35rem;
            }
        }

        .product-card {
            padding: 1rem;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            border-color: rgba(190, 18, 60, 0.4);
            transform: translateY(-5px);
        }

        .product-status {
            background: var(--ui-status-default-bg);
            color: #fff;
            font-size: var(--ui-micro-font-size);
            padding: 3px 8px;
            font-weight: 700;
            border-radius: 2px;
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 2;
        }

        .product-status--hit {
            background: var(--ui-status-hit-bg);
        }

        .product-favorite {
            position: absolute;
            top: 1rem;
            right: 1rem;
            color: #9ca3af;
            background: transparent;
            border: none;
            z-index: 2;
            transition: color 0.3s ease;
        }

        .product-favorite:hover {
            color: var(--color-accent);
        }

        .product-image-box {
            height: var(--ui-product-image-box-height);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .product-image-box img {
            max-height: 100%;
            mix-blend-mode: multiply;
        }

        .product-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--color-text);
            height: 40px;
            overflow: hidden;
        }

        .product-meta {
            font-size: var(--ui-micro-font-size);
        }

        .product-price {
            color: var(--color-accent);
        }

        .btn-cart {
            background: var(--color-accent);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            border: none;
            border-radius: 0.3rem;
            padding: 0.5rem 1rem;
            flex-grow: 1;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .btn-cart:hover {
            background: var(--color-accent-hover);
            color: #fff;
        }

        .btn-eye {
            border: 1px solid rgba(107, 114, 128, 0.3);
            background: rgba(255, 255, 255, 0.5);
            color: var(--color-muted);
            width: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.3rem;
            transition: border-color 0.3s ease, color 0.3s ease;
        }

        .btn-eye:hover {
            border-color: var(--color-muted);
            color: var(--color-text);
        }

        /* ==========================================================================
           B2B CTA / FOOTER
           ==========================================================================

           Эти секции специально оставлены кастомными: здесь важны не только
           spacing и typography, но и композиционный рисунок карточек.
        */
        .eyebrow-pill {
            display: inline-block;
            padding: 0.35rem 0.85rem;
            margin-bottom: 1rem;
            border-radius: 999px;
            background: rgba(190, 18, 60, 0.1);
            color: var(--color-accent);
            font-size: var(--ui-b2b-badge-font-size);
            font-weight: 700;
            letter-spacing: var(--ui-b2b-badge-letter-spacing);
        }

        .partner-shell {
            position: relative;
            overflow: hidden;
            padding: clamp(2rem, 4vw, 3.25rem);
            border-radius: 1rem;
            background: rgba(255, 255, 255, 0.78);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.75);
            box-shadow: var(--glass-shadow);
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }

        .partner-shell::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
            background-size:
                calc(36px * var(--ui-site-scale))
                calc(36px * var(--ui-site-scale));
            opacity: 0.22;
            pointer-events: none;
        }

        .partner-shell::after {
            content: "";
            position: absolute;
            top: -4rem;
            right: -5rem;
            width: 18rem;
            height: 18rem;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(182, 0, 0, 0.12) 0%, rgba(182, 0, 0, 0) 72%);
            filter: blur(10px);
            pointer-events: none;
            transition: transform 0.45s ease, opacity 0.45s ease;
        }

        .partner-shell:hover {
            transform: translateY(-4px);
            border-color: rgba(190, 18, 60, 0.12);
            box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
        }

        .partner-shell:hover::after {
            transform: translate(-16px, 10px) scale(1.08);
            opacity: 0.95;
        }

        .partner-accent-bar {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 4px;
            height: 8.5rem;
            background: linear-gradient(180deg, rgba(182, 0, 0, 0.2), rgba(182, 0, 0, 0.9));
            border-radius: 0 0.35rem 0.35rem 0;
            transition: height 0.35s ease, background 0.35s ease;
        }

        .partner-shell:hover .partner-accent-bar {
            height: 10rem;
            background: linear-gradient(180deg, rgba(182, 0, 0, 0.28), rgba(182, 0, 0, 1));
        }

        .partner-content {
            position: relative;
            z-index: 1;
        }

        .partner-header {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .partner-heading {
            max-width: 40rem;
        }

        .partner-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            margin-bottom: 1.25rem;
            color: var(--color-text-strong);
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.22em;
            text-transform: uppercase;
        }

        .partner-kicker__dot {
            width: 0.45rem;
            height: 0.45rem;
            border-radius: 50%;
            background: var(--color-accent);
            flex: 0 0 auto;
        }

        .partner-title {
            margin: 0 0 1.25rem;
            color: var(--color-text-strong);
            font-size: clamp(2rem, 4vw, 3.2rem);
            line-height: 1.02;
            font-weight: 900;
            letter-spacing: -0.04em;
            text-transform: uppercase;
        }

        .partner-copy {
            max-width: var(--ui-b2b-copy-max-width);
            margin: 0;
            color: var(--color-muted);
            font-size: 1.05rem;
            line-height: 1.78;
        }

        .partner-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 1.4rem;
            min-width: 18rem;
        }

        .partner-primary {
            padding: 1.1rem 2rem;
            border-radius: 0.4rem;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        }

        .partner-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 32px rgba(182, 0, 0, 0.18);
        }

        .partner-secondary {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            color: var(--color-text-strong);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .partner-secondary:hover {
            color: var(--color-accent);
        }

        .partner-secondary:hover i {
            transform: translateX(4px);
        }

        .partner-secondary i {
            transition: transform 0.3s ease;
        }

        .partner-secondary-note {
            margin: 0;
            color: var(--color-muted);
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .partner-stats {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.5rem;
            margin-top: 3.25rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(148, 163, 184, 0.18);
        }

        .partner-stat {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 0.55rem 0.35rem;
            border-radius: 0.8rem;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .partner-stat:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.32);
        }

        .partner-stat__icon {
            width: 2.75rem;
            height: 2.75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.65rem;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(148, 163, 184, 0.16);
            color: var(--color-accent);
            box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
            font-size: 1.15rem;
            flex: 0 0 auto;
            transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .partner-stat:hover .partner-stat__icon {
            transform: translateY(-2px) scale(1.04);
            background: rgba(182, 0, 0, 0.96);
            color: #fff;
            border-color: rgba(182, 0, 0, 0.2);
            box-shadow: 0 18px 34px rgba(182, 0, 0, 0.12);
        }

        .partner-stat__title {
            margin: 0 0 0.35rem;
            color: var(--color-text-strong);
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            transition: color 0.3s ease;
        }

        .partner-stat:hover .partner-stat__title {
            color: var(--color-accent);
        }

        .partner-stat__copy {
            margin: 0;
            color: var(--color-muted);
            font-size: 0.82rem;
            line-height: 1.65;
            transition: color 0.3s ease;
        }

        .partner-stat:hover .partner-stat__copy {
            color: var(--color-text);
        }

        .site-footer {
            position: relative;
            overflow: hidden;
            background: #27303d;
            color: #fff;
            border-top: 1px solid rgba(182, 0, 0, 0.7);
            z-index: 20;
        }

        .site-footer::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
            background-size:
                calc(48px * var(--ui-site-scale))
                calc(48px * var(--ui-site-scale));
            opacity: 0.14;
            pointer-events: none;
        }

        .footer-shell {
            position: relative;
            z-index: 1;
        }

        .footer-main {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.45fr) minmax(17rem, 0.8fr);
            gap: clamp(1.5rem, 2.5vw, 2.75rem);
            align-items: start;
            padding: 0.5rem 0 1.75rem;
            border-bottom: 1px solid rgba(148, 163, 184, 0.16);
        }

        .footer-brand-panel {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-brand-header {
            display: flex;
            align-items: center;
            gap: 0.9rem;
        }

        .footer-logo {
            width: 3.5rem;
            height: 3.5rem;
            object-fit: cover;
            border-radius: 0.35rem;
            flex: 0 0 auto;
        }

        .footer-brand-name {
            margin: 0;
            color: #fff;
            font-size: 1.35rem;
            font-weight: 900;
            letter-spacing: -0.03em;
            text-transform: uppercase;
        }

        .footer-brand-copy {
            max-width: 24rem;
            margin: 0;
            color: rgba(226, 232, 240, 0.74);
            font-size: 0.92rem;
            line-height: 1.75;
        }

        .footer-contact-list {
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .footer-contact-link,
        .footer-contact-text {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            color: rgba(226, 232, 240, 0.82);
            text-decoration: none;
            font-size: 0.94rem;
            line-height: 1.5;
            transition: color 0.25s ease;
        }

        .footer-contact-link:hover {
            color: #fff;
        }

        .footer-contact-icon {
            width: 0.95rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--color-accent);
            flex: 0 0 auto;
        }

        .footer-nav-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.75rem;
            min-width: 0;
        }

        .footer-link-group {
            min-width: 0;
        }

        .footer-title {
            margin: 0 0 0.95rem;
            color: #fff;
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .footer-link {
            color: rgba(203, 213, 225, 0.82);
            text-decoration: none;
            font-size: 0.9rem;
            line-height: 1.7;
            transition: color 0.25s ease;
        }

        .footer-link:hover {
            color: #fff;
        }

        .footer-contact-panel {
            padding-left: 1.5rem;
            border-left: 1px solid rgba(148, 163, 184, 0.18);
        }

        .footer-support-copy {
            margin: 0 0 1rem;
            color: rgba(226, 232, 240, 0.72);
            font-size: 0.92rem;
            line-height: 1.7;
        }

        .footer-support-phone {
            margin: 0 0 0.35rem;
            color: #fff;
            font-size: 1.55rem;
            font-weight: 900;
            letter-spacing: -0.03em;
        }

        .footer-meta {
            color: rgba(148, 163, 184, 0.88);
            font-size: var(--ui-footer-meta-font-size);
        }

        .footer-support-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 1.1rem;
        }

        .footer-action-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1rem;
            border-radius: 0.3rem;
            text-decoration: none;
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
        }

        .footer-action-btn--primary {
            background: var(--color-accent);
            color: #fff;
        }

        .footer-action-btn--primary:hover {
            background: var(--color-accent-hover);
            color: #fff;
        }

        .footer-action-btn--ghost {
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: transparent;
            color: rgba(241, 245, 249, 0.9);
        }

        .footer-action-btn--ghost:hover {
            border-color: rgba(255, 255, 255, 0.32);
            color: #fff;
        }

        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.9rem 1.5rem;
            padding-top: 1.1rem;
            font-size: var(--ui-footer-meta-font-size);
        }

        .footer-bottom-links {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem 1.25rem;
        }

        .footer-bottom-link {
            color: rgba(148, 163, 184, 0.88);
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.11em;
            text-transform: uppercase;
            transition: color 0.25s ease;
        }

        .footer-bottom-link:hover {
            color: #fff;
        }

        .back-to-top-button {
            border: 1px solid rgba(148, 163, 184, 0.18);
            background: transparent;
            color: rgba(241, 245, 249, 0.9);
            cursor: pointer;
            padding: 0.65rem 0.85rem;
            border-radius: 0.3rem;
            transition: border-color 0.25s ease, color 0.25s ease;
        }

        .back-to-top-button:hover {
            color: #fff;
            border-color: rgba(255, 255, 255, 0.32);
        }

        .inner-page-body {
            background-color: var(--color-page-bg);
        }

        .b2b-shell {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .b2b-workarea {
            flex: 1 0 auto;
            padding: 1.75rem 0 4rem;
            position: relative;
            z-index: 1;
        }

        .b2b-content-section {
            width: 100%;
            max-width: var(--header-max-width);
            margin: 0 auto;
        }

        .page-shell-hero {
            position: relative;
            overflow: hidden;
            margin-bottom: 1.75rem;
            padding: clamp(1.75rem, 4vw, 3rem);
            border-radius: 1.15rem;
            border-left: var(--ui-b2b-accent-border-width) solid var(--color-accent);
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
        }

        .page-shell-hero__mesh {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
            background-size:
                calc(34px * var(--ui-site-scale))
                calc(34px * var(--ui-site-scale));
            opacity: 0.18;
            pointer-events: none;
        }

        .page-shell-hero > .row,
        .page-main-panel,
        .page-sidebar-stack,
        .page-bottom-panel {
            position: relative;
            z-index: 1;
        }

        .page-shell-title {
            margin: 0 0 1rem;
            color: var(--color-text-strong);
            font-size: clamp(2rem, 4.2vw, 3.4rem);
            line-height: 0.98;
            font-weight: 900;
            letter-spacing: -0.05em;
            text-transform: uppercase;
        }

        .page-shell-summary {
            max-width: 44rem;
            color: var(--color-muted);
            font-size: 0.98rem;
            line-height: 1.72;
        }

        .page-shell-aside {
            height: 100%;
            padding: 1.5rem;
            border-radius: 0.95rem;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
        }

        .page-shell-aside__label {
            margin-bottom: 0.75rem;
            color: var(--color-accent);
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .page-shell-aside__copy {
            color: var(--color-muted);
            font-size: 0.92rem;
            line-height: 1.7;
        }

        #navigation .breadcrumb {
            margin-bottom: 0;
            padding: 0;
            background: transparent;
        }

        #navigation .breadcrumb-item,
        #navigation .breadcrumb-item a {
            color: var(--color-muted);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-decoration: none;
            text-transform: uppercase;
        }

        #navigation .breadcrumb-item.active {
            color: var(--color-text-strong);
        }

        .page-main-panel {
            padding: clamp(1.25rem, 3vw, 2rem);
            min-height: 100%;
            border-radius: 1rem;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
        }

        .page-main-panel > :last-child,
        .page-sidebar-card > :last-child,
        .b2b-component-frame > :last-child,
        .b2b-content-card > :last-child,
        .b2b-form-card > :last-child,
        .b2b-info-card > :last-child {
            margin-bottom: 0 !important;
        }

        .page-sidebar-stack {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .page-sidebar-card,
        .b2b-content-card,
        .b2b-form-card,
        .b2b-info-card,
        .b2b-component-frame {
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(148, 163, 184, 0.14);
            border-radius: 1rem;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
        }

        .page-sidebar-card,
        .b2b-content-card,
        .b2b-form-card,
        .b2b-info-card {
            padding: 1.4rem;
        }

        .page-sidebar-card__title,
        .b2b-section-label,
        .b2b-content-card h2,
        .b2b-form-card h2,
        .b2b-form-card h3,
        .b2b-info-card h3,
        .b2b-component-frame h2,
        .b2b-component-frame h3 {
            margin: 0 0 1rem;
            color: var(--color-text-strong);
            font-size: 0.85rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .page-sidebar-card__intro,
        .b2b-panel-intro,
        .b2b-content-card p,
        .b2b-form-card p,
        .b2b-info-card p,
        .b2b-component-frame p,
        .b2b-component-frame li,
        .b2b-component-frame td,
        .b2b-component-frame th {
            color: var(--color-muted);
            line-height: 1.75;
        }

        .page-bottom-panel {
            margin-top: 1.5rem;
        }

        .page-sidebar-card .list-group,
        .page-sidebar-card .nav,
        .page-sidebar-card ul,
        .page-sidebar-card ol {
            margin-bottom: 0;
        }

        .page-sidebar-card ul,
        .page-sidebar-card ol,
        .b2b-content-card ul,
        .b2b-content-card ol,
        .b2b-form-card ul,
        .b2b-component-frame ul,
        .b2b-component-frame ol {
            padding-left: 1.15rem;
        }

        .b2b-prose {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }

        .b2b-prose h2,
        .b2b-prose h3,
        .b2b-prose h4 {
            margin: 0;
            color: var(--color-text-strong);
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        .b2b-prose h2 {
            font-size: clamp(1.4rem, 2vw, 1.9rem);
        }

        .b2b-prose h3 {
            font-size: 1.1rem;
        }

        .b2b-prose p,
        .b2b-prose li {
            margin: 0;
            color: var(--color-muted);
            line-height: 1.85;
        }

        .b2b-prose strong,
        .b2b-prose b {
            color: var(--color-text-strong);
        }

        .b2b-grid-cards,
        .b2b-info-grid,
        .b2b-queue-grid,
        .b2b-contact-grid,
        .b2b-step-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .b2b-mini-card,
        .b2b-stat-card,
        .b2b-contact-card,
        .b2b-step-card,
        .b2b-queue-card {
            padding: 1.1rem 1.15rem;
            border-radius: 0.9rem;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
        }

        .b2b-mini-card__label,
        .b2b-stat-card__label,
        .b2b-step-card__label,
        .b2b-queue-card__label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.8rem;
            color: var(--color-accent);
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .b2b-mini-card__title,
        .b2b-stat-card__title,
        .b2b-contact-card__title,
        .b2b-step-card__title,
        .b2b-queue-card__title {
            margin: 0 0 0.65rem;
            color: var(--color-text-strong);
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        .b2b-mini-card__copy,
        .b2b-stat-card__copy,
        .b2b-contact-card__copy,
        .b2b-step-card__copy,
        .b2b-queue-card__copy {
            margin: 0;
            color: var(--color-muted);
            font-size: 0.92rem;
            line-height: 1.7;
        }

        .b2b-stat-card__value {
            display: block;
            margin-bottom: 0.65rem;
            color: var(--color-text-strong);
            font-size: clamp(1.55rem, 2.5vw, 2.25rem);
            font-weight: 900;
            letter-spacing: -0.04em;
        }

        .b2b-checklist,
        .b2b-contact-list,
        .b2b-inline-list,
        .b2b-status-list {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            list-style: none;
            padding-left: 0 !important;
            margin: 0;
        }

        .b2b-checklist li,
        .b2b-contact-list li,
        .b2b-inline-list li,
        .b2b-status-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin: 0;
        }

        .b2b-checklist li::before,
        .b2b-inline-list li::before,
        .b2b-status-list li::before {
            content: "";
            width: 0.5rem;
            height: 0.5rem;
            margin-top: 0.45rem;
            border-radius: 50%;
            background: var(--color-accent);
            flex: 0 0 auto;
        }

        .b2b-contact-link,
        .b2b-prose a,
        .b2b-component-frame a {
            color: var(--color-accent);
            text-decoration-color: rgba(182, 0, 0, 0.3);
            text-underline-offset: 0.15em;
        }

        .b2b-contact-link:hover,
        .b2b-prose a:hover,
        .b2b-component-frame a:hover {
            color: var(--color-accent-hover);
        }

        .b2b-stack {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .b2b-alert,
        .b2b-component-frame .alert,
        .b2b-form-card .alert {
            border: 0;
            border-radius: 0.95rem;
            padding: 1rem 1.1rem;
            box-shadow: 0 18px 32px rgba(15, 23, 42, 0.05);
        }

        .b2b-alert.alert-warning,
        .b2b-component-frame .alert-warning,
        .b2b-form-card .alert-warning {
            color: #7c2d12;
            background: rgba(255, 237, 213, 0.9);
        }

        .b2b-alert.alert-danger,
        .b2b-component-frame .alert-danger,
        .b2b-form-card .alert-danger {
            color: #7f1d1d;
            background: rgba(254, 226, 226, 0.92);
        }

        .b2b-alert.alert-success,
        .b2b-component-frame .alert-success,
        .b2b-form-card .alert-success {
            color: #14532d;
            background: rgba(220, 252, 231, 0.9);
        }

        .b2b-alert.alert-info,
        .b2b-component-frame .alert-info,
        .b2b-form-card .alert-info {
            color: #164e63;
            background: rgba(224, 242, 254, 0.92);
        }

        .b2b-status-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
        }

        .b2b-status-pill,
        .badge.badge-success,
        .badge.badge-warning,
        .badge.badge-info,
        .badge.badge-danger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 2rem;
            padding: 0.45rem 0.8rem;
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .b2b-status-pill,
        .badge.badge-success {
            color: #14532d;
            background: rgba(220, 252, 231, 0.92);
        }

        .badge.badge-warning {
            color: #7c2d12;
            background: rgba(255, 237, 213, 0.9);
        }

        .badge.badge-info {
            color: #164e63;
            background: rgba(224, 242, 254, 0.92);
        }

        .badge.badge-danger {
            color: #7f1d1d;
            background: rgba(254, 226, 226, 0.92);
        }

        .b2b-field,
        .b2b-fieldset {
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
            margin-bottom: 1rem;
        }

        .b2b-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .b2b-field--full {
            grid-column: 1 / -1;
        }

        .b2b-field label,
        .b2b-fieldset legend,
        .b2b-component-frame label,
        .b2b-component-frame .form-group > label,
        .b2b-component-frame strong {
            color: var(--color-text-strong);
            font-size: 0.76rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .b2b-field input,
        .b2b-field textarea,
        .b2b-field select,
        .b2b-component-frame input[type="text"],
        .b2b-component-frame input[type="password"],
        .b2b-component-frame input[type="email"],
        .b2b-component-frame input[type="search"],
        .b2b-component-frame input[type="tel"],
        .b2b-component-frame textarea,
        .b2b-component-frame select,
        .b2b-component-frame .form-control,
        .page-main-panel input[type="text"],
        .page-main-panel input[type="password"],
        .page-main-panel input[type="email"],
        .page-main-panel textarea,
        .page-main-panel select {
            width: 100%;
            min-height: 3rem;
            padding: 0.85rem 1rem;
            border: 1px solid rgba(203, 213, 225, 0.9);
            border-radius: 0.8rem;
            background: rgba(255, 255, 255, 0.88);
            box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
            color: var(--color-text-strong);
            transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        }

        .b2b-field textarea,
        .b2b-component-frame textarea,
        .page-main-panel textarea {
            min-height: 7rem;
            resize: vertical;
        }

        .b2b-field input:focus,
        .b2b-field textarea:focus,
        .b2b-field select:focus,
        .b2b-component-frame input:focus,
        .b2b-component-frame textarea:focus,
        .b2b-component-frame select:focus,
        .b2b-component-frame .form-control:focus,
        .page-main-panel input:focus,
        .page-main-panel textarea:focus,
        .page-main-panel select:focus {
            outline: none;
            border-color: rgba(182, 0, 0, 0.4);
            box-shadow: 0 0 0 0.2rem rgba(182, 0, 0, 0.12);
            background: #fff;
        }

        .b2b-button-row,
        .b2b-action-row,
        .b2b-component-frame .form-group,
        .b2b-component-frame form > div {
            margin-bottom: 1rem;
        }

        .b2b-component-frame .btn,
        .b2b-form-card .btn,
        .page-main-panel .btn,
        .page-main-panel button[type="submit"],
        .b2b-form-card button[type="submit"],
        .b2b-component-frame input[type="submit"],
        .b2b-component-frame button[type="submit"],
        .b2b-component-frame button[type="button"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            min-height: 2.85rem;
            padding: 0.85rem 1.2rem;
            border: 0;
            border-radius: 0.75rem;
            font-size: 0.76rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            text-decoration: none;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        }

        .b2b-component-frame .btn:hover,
        .b2b-form-card .btn:hover,
        .page-main-panel .btn:hover,
        .page-main-panel button[type="submit"]:hover,
        .b2b-form-card button[type="submit"]:hover,
        .b2b-component-frame input[type="submit"]:hover,
        .b2b-component-frame button[type="submit"]:hover,
        .b2b-component-frame button[type="button"]:hover {
            transform: translateY(-2px);
        }

        .b2b-component-frame .btn-primary,
        .b2b-component-frame input[type="submit"],
        .b2b-component-frame button[type="submit"],
        .b2b-component-frame button[type="button"],
        .b2b-form-card button[type="submit"],
        .page-main-panel button[type="submit"] {
            background: var(--color-accent);
            color: #fff;
            box-shadow: 0 18px 30px rgba(182, 0, 0, 0.14);
        }

        .b2b-component-frame .btn-primary:hover,
        .b2b-component-frame input[type="submit"]:hover,
        .b2b-component-frame button[type="submit"]:hover,
        .b2b-component-frame button[type="button"]:hover,
        .b2b-form-card button[type="submit"]:hover,
        .page-main-panel button[type="submit"]:hover {
            background: var(--color-accent-hover);
            color: #fff;
        }

        .b2b-component-frame .btn-outline-primary,
        .b2b-component-frame .btn-secondary,
        .b2b-component-frame .btn-light,
        .b2b-component-frame .btn-default,
        .b2b-form-card .btn-outline-primary,
        .page-main-panel .btn-outline-primary {
            background: rgba(255, 255, 255, 0.65);
            color: var(--color-text-strong);
            border: 1px solid rgba(148, 163, 184, 0.26);
            box-shadow: none;
        }

        .b2b-component-frame .btn-outline-primary:hover,
        .b2b-component-frame .btn-secondary:hover,
        .b2b-component-frame .btn-light:hover,
        .b2b-component-frame .btn-default:hover,
        .b2b-form-card .btn-outline-primary:hover,
        .page-main-panel .btn-outline-primary:hover {
            background: rgba(255, 255, 255, 0.95);
            color: var(--color-accent);
            border-color: rgba(182, 0, 0, 0.22);
        }

        .b2b-component-frame .btn-danger,
        .page-main-panel .btn-danger {
            background: #991b1b;
            color: #fff;
        }

        .b2b-component-frame .btn-success,
        .page-main-panel .btn-success {
            background: #166534;
            color: #fff;
        }

        .b2b-component-frame .btn-link,
        .page-main-panel .btn-link {
            padding-left: 0;
            padding-right: 0;
            min-height: auto;
            background: transparent;
            color: var(--color-accent);
            box-shadow: none;
        }

        .b2b-component-frame table,
        .b2b-component-frame .table {
            width: 100%;
            border-radius: 0.95rem;
            overflow: hidden;
            border-collapse: separate;
            border-spacing: 0;
            background: rgba(255, 255, 255, 0.56);
        }

        .b2b-component-frame table th,
        .b2b-component-frame .table th {
            background: rgba(248, 250, 252, 0.95);
            color: var(--color-text-strong);
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .b2b-component-frame table th,
        .b2b-component-frame table td,
        .b2b-component-frame .table th,
        .b2b-component-frame .table td {
            padding: 0.95rem 1rem;
            border-color: rgba(226, 232, 240, 0.8);
            vertical-align: middle;
        }

        .b2b-component-frame .pagination,
        .b2b-component-frame .pagination-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
            padding-left: 0;
            list-style: none;
        }

        .b2b-component-frame .page-link,
        .b2b-component-frame .pagination a,
        .b2b-component-frame .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2.5rem;
            min-height: 2.5rem;
            padding: 0.5rem 0.8rem;
            border-radius: 999px;
            border: 1px solid rgba(203, 213, 225, 0.8);
            background: rgba(255, 255, 255, 0.86);
            color: var(--color-text-strong);
            text-decoration: none;
        }

        .b2b-component-frame hr,
        .b2b-prose hr {
            border: 0;
            height: 1px;
            background: rgba(203, 213, 225, 0.7);
            margin: 1.5rem 0;
        }

        .b2b-component-frame code,
        .b2b-form-card code,
        .b2b-prose code {
            padding: 0.2rem 0.45rem;
            border-radius: 0.4rem;
            background: rgba(15, 23, 42, 0.06);
            color: var(--color-text-strong);
        }

        .b2b-empty-state {
            padding: 1.15rem;
            border-radius: 0.9rem;
            background: rgba(248, 250, 252, 0.9);
            border: 1px dashed rgba(148, 163, 184, 0.32);
            color: var(--color-muted);
        }

        .page-main-panel .notetext {
            margin: 0;
            padding: 1rem 1.1rem;
            border-radius: 0.95rem;
            background: rgba(220, 252, 231, 0.9);
            color: #14532d;
        }

        .personal-nav {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .personal-nav__link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.95rem 1rem;
            border-radius: 0.85rem;
            text-decoration: none;
            color: var(--color-text-strong);
            font-weight: 700;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.14);
            transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
        }

        .personal-nav__link:hover {
            transform: translateX(4px);
            color: var(--color-accent);
            border-color: rgba(182, 0, 0, 0.16);
            background: rgba(255, 255, 255, 0.82);
        }

        .personal-nav__link.is-active {
            color: #fff;
            background: var(--color-accent);
            box-shadow: 0 14px 24px rgba(182, 0, 0, 0.16);
        }

        .personal-nav__link.is-active .personal-nav__arrow {
            color: rgba(255, 255, 255, 0.88);
        }

        .personal-nav__arrow {
            color: var(--color-muted);
            transition: transform 0.25s ease;
        }

        .personal-nav__link:hover .personal-nav__arrow {
            transform: translateX(3px);
        }

        .b2b-profile-form {
            display: grid;
            gap: 1.5rem;
        }

        .b2b-profile-section {
            padding: 1.25rem;
            border-radius: 0.95rem;
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(148, 163, 184, 0.14);
        }

        .b2b-profile-section__title {
            margin: 0 0 1rem;
            color: var(--color-text-strong);
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .stl-map-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .stl-map-column {
            padding: 1.25rem;
            border-radius: 0.95rem;
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(148, 163, 184, 0.16);
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
        }

        .stl-map-column .map-level-0,
        .stl-map-column ul {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }

        .stl-map-column .map-level-0 > li + li {
            margin-top: 1.1rem;
            padding-top: 1.1rem;
            border-top: 1px solid rgba(226, 232, 240, 0.85);
        }

        .stl-map-column .map-level-0 > li > a {
            display: inline-block;
            margin-bottom: 0.6rem;
            color: var(--color-text-strong);
            font-size: 0.92rem;
            font-weight: 800;
            text-decoration: none;
        }

        .stl-map-column .map-level-0 > li > a:hover,
        .stl-map-column .map-level-1 a:hover,
        .stl-map-column .map-level-2 a:hover,
        .stl-map-column .map-level-3 a:hover {
            color: var(--color-accent);
        }

        .stl-map-column .map-level-1,
        .stl-map-column .map-level-2,
        .stl-map-column .map-level-3 {
            padding-left: 1rem;
        }

        .stl-map-column .map-level-1 li,
        .stl-map-column .map-level-2 li,
        .stl-map-column .map-level-3 li {
            position: relative;
            padding-left: 1rem;
        }

        .stl-map-column .map-level-1 li::before,
        .stl-map-column .map-level-2 li::before,
        .stl-map-column .map-level-3 li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.75rem;
            width: 0.45rem;
            height: 1px;
            background: rgba(148, 163, 184, 0.7);
        }

        .stl-map-column a {
            color: var(--color-muted);
            text-decoration: none;
            line-height: 1.7;
        }

        .stl-map-column div {
            margin-bottom: 0.35rem;
            color: var(--color-muted);
            font-size: 0.88rem;
            line-height: 1.7;
        }

        .b2b-auth-grid,
        .b2b-split-hero {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 1rem;
        }

        .b2b-auth-note {
            padding: 1rem 1.1rem;
            border-radius: 0.95rem;
            background: rgba(248, 250, 252, 0.94);
            border: 1px solid rgba(226, 232, 240, 0.9);
        }

        .b2b-auth-note__label {
            margin-bottom: 0.55rem;
            color: var(--color-text-strong);
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .b2b-auth-note__copy {
            margin: 0;
            color: var(--color-muted);
            font-size: 0.92rem;
            line-height: 1.7;
        }

        .b2b-map-frame iframe {
            width: 100%;
            min-height: 24rem;
            border: 0;
            border-radius: 0.95rem;
        }

        .b2b-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .b2b-hero-actions .btn,
        .b2b-hero-actions a {
            text-decoration: none;
        }

        /* ==========================================================================
           RESPONSIVE
           ==========================================================================

           Здесь только действительно нужные адаптивные правила. Остальной responsive
           layout оставляется на Bootstrap utilities.
        */
        @media (max-width: 991px) {
            .header-wrapper {
                top: 0.45rem;
                padding: 0 0.5rem;
            }

            .header-shell {
                border-radius: 0.7rem;
            }

            .top-row {
                font-size: 0.82rem;
            }

            .top-row .container-fluid,
            .header-shell > .container-fluid {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }

            .header-top-meta {
                justify-content: center;
                gap: 0.75rem 1rem !important;
            }

            .header-top-contact {
                justify-content: center;
                gap: 0.75rem !important;
            }

            .logo-wrap {
                min-height: auto;
                justify-content: flex-start;
            }

            .logo-wrap img {
                height: 3.4rem;
            }

            .header-actions-row {
                justify-content: flex-end !important;
                gap: 1.4rem !important;
                margin-right: 0 !important;
            }

            .search-wrap {
                max-width: 100%;
            }

            .hero-content {
                margin: 0 1rem;
                padding: 2rem;
                border-radius: 0.5rem;
                border-left: none;
                border-top: 5px solid var(--color-accent);
                text-align: center;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .assembly-gap-section {
                height: var(--assembly-gap-height-mobile);
            }

            .feature-header-group {
                margin-bottom: 2rem;
            }

            .feature-summary {
                max-width: none;
            }

            .feature-ledger {
                min-height: 100%;
            }

            .feature-card {
                min-height: 14rem;
            }

            .partner-shell {
                padding: 1.75rem;
            }

            .b2b-workarea {
                padding-top: 1.2rem;
            }

            .page-shell-hero {
                border-left: none;
                border-top: var(--ui-b2b-accent-border-width) solid var(--color-accent);
            }

            .page-shell-aside {
                padding: 1.15rem;
            }

            .b2b-grid-cards,
            .b2b-info-grid,
            .b2b-queue-grid,
            .b2b-contact-grid,
            .b2b-step-grid,
            .b2b-form-grid,
            .stl-map-grid,
            .b2b-auth-grid,
            .b2b-split-hero {
                grid-template-columns: 1fr;
            }

            .partner-stats {
                grid-template-columns: 1fr;
                margin-top: 2.4rem;
                padding-top: 1.5rem;
            }

            .footer-main {
                grid-template-columns: 1fr;
            }

            .footer-nav-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .footer-contact-panel {
                padding-left: 0;
                padding-top: 1rem;
                border-left: none;
                border-top: 1px solid rgba(148, 163, 184, 0.16);
            }
        }

        @media (max-width: 575px) {
            .top-row .container-fluid,
            .header-shell > .container-fluid {
                padding-left: 0.85rem !important;
                padding-right: 0.85rem !important;
            }

            .header-top-meta {
                justify-content: space-between;
            }

            .header-top-contact {
                flex-direction: row;
            }

            .header-city-label {
                display: none;
            }

            .logo-wrap {
                justify-content: center;
            }

            .logo-wrap img {
                height: 2.9rem;
            }

            .search-wrap .form-control {
                padding: 0.8rem 2.75rem;
            }

            .header-actions-row {
                justify-content: center !important;
                gap: 1.1rem !important;
            }

            .features-showcase {
                padding: 1.5rem;
            }

            .page-shell-hero,
            .page-main-panel,
            .page-sidebar-card,
            .b2b-content-card,
            .b2b-form-card,
            .b2b-info-card,
            .b2b-component-frame,
            .stl-map-column {
                padding: 1rem;
            }

            .page-shell-title {
                font-size: 1.85rem;
            }

            .page-shell-summary,
            .page-shell-aside__copy {
                font-size: 0.92rem;
            }

            .b2b-component-frame table,
            .b2b-component-frame .table {
                display: block;
                overflow-x: auto;
            }

            .feature-ledger {
                padding: 1.5rem;
            }

            .feature-ledger__title {
                max-width: none;
                font-size: 1.65rem;
            }

            .feature-card__top {
                gap: 0.75rem;
            }

            .feature-card__icon-badge {
                width: 4.25rem;
                height: 4.25rem;
                font-size: 2rem;
            }

            .feature-card__metric-value {
                font-size: 1.08rem;
            }

            .partner-title {
                font-size: 1.9rem;
            }

            .partner-copy {
                font-size: 0.95rem;
            }

            .partner-primary {
                width: 100%;
                justify-content: center;
            }

            .partner-actions {
                width: 100%;
                min-width: 0;
            }

            .footer-shell {
                padding-left: 0.25rem;
                padding-right: 0.25rem;
            }

            .footer-brand-header {
                align-items: flex-start;
            }

            .footer-logo {
                width: 3.1rem;
                height: 3.1rem;
            }

            .footer-nav-grid {
                grid-template-columns: 1fr;
            }

            .footer-support-actions {
                flex-direction: column;
            }

            .footer-action-btn {
                width: 100%;
            }

            .footer-bottom {
                align-items: flex-start;
            }
        }
