﻿/* =========================================================================
   OziaCar — публичная главная страница
   Dark Automotive Premium: фон #121212, стеклянные карточки, зелёное свечение.
   Порядок: токены → база → типографика → кнопки → шапка → секции → формы.
   Вёрстка mobile-first: базовые правила для телефона, @media (min-width) — шире.
   ========================================================================= */

:root {
    color-scheme: dark;

    /* фон и поверхности */
    --bg: #121212;
    --bg-2: #161918;
    --bg-3: #1b1f1d;
    --surface: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    --surface-solid: #181b1a;
    --stroke: rgba(255, 255, 255, .09);
    --stroke-strong: rgba(255, 255, 255, .16);

    /* текст */
    --text: #f3f6f4;
    --text-2: #b4bdb9;
    --text-3: #8a948f;

    /* фирменный зелёный */
    --accent: #19c173;
    --accent-hi: #34e393;
    --accent-ink: #04140b;
    --accent-soft: rgba(25, 193, 115, .14);
    --accent-line: rgba(52, 227, 147, .35);

    --danger: #ff6b6b;

    --glow-sm: 0 6px 20px -8px rgba(25, 193, 115, .55);
    --glow: 0 0 0 1px rgba(52, 227, 147, .28), 0 14px 38px -14px rgba(25, 193, 115, .65);
    --glow-hover: 0 0 0 1px rgba(52, 227, 147, .5), 0 18px 46px -12px rgba(25, 193, 115, .75), 0 0 64px -18px rgba(52, 227, 147, .6);
    --shadow-card: 0 28px 60px -34px rgba(0, 0, 0, .9);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 68px;

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[lang="uk"] { --font-head: var(--font-body); }

/* Foreign-language names and browser-language prompts must not fetch Cyrillic on Latin pages. */
:root:is([lang="en"], [lang="pl"], [lang="de"]) :is(
    [data-lang-code="ru"], [data-lang-code="uk"],
    [data-lang-suggest], [data-lang-suggest] .btn
) {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ------------------------------------------------------------------ база */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 82% -6%, rgba(25, 193, 115, .16), transparent 70%),
        radial-gradient(700px 420px at -10% 38%, rgba(25, 193, 115, .08), transparent 72%),
        var(--bg);
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s var(--ease);
}

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

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--accent-hi);
    outline-offset: 3px;
    border-radius: 4px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -64px;
    left: 12px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    transition: top .2s var(--ease);
}

.skip-link:focus { top: 12px; }

.is-hidden { display: none !important; }

/* ---------------------------------------------------------- типографика */

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

/* ---------------------------------------------- большие экраны 27"–34"+
   На широком мониторе страница не должна выглядеть узкой лентой посередине:
   контейнер и отступы растут, а вместе с ними — весь масштаб (всё в rem).
   Ширина текстовых колонок при этом остаётся читаемой: строка длиннее
   ~75 знаков читается тяжело независимо от диагонали экрана. */

@media (min-width: 1600px) {
    :root { --container: 1400px; --gutter: 48px; --header-h: 76px; }
}

@media (min-width: 2000px) {
    :root { --container: 1560px; --gutter: 56px; }
    html { font-size: 17px; }
}

@media (min-width: 2560px) {
    :root { --container: 1720px; --gutter: 64px; }
    html { font-size: 18px; }
}

@media (min-width: 3200px) {
    :root { --container: 1880px; }
    html { font-size: 19px; }
}

.section { padding-block: clamp(56px, 8vw, 116px); }

.section__head { max-width: 48rem; margin-inline: auto; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }

.section__title { font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.7rem); }

.section__lead {
    margin-top: 16px;
    color: var(--text-2);
    font-size: clamp(1rem, .96rem + .3vw, 1.14rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-hi);
    box-shadow: 0 0 14px 2px rgba(52, 227, 147, .8);
}

/* -------------------------------------------------------------- кнопки */

.btn {
    --btn-h: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    min-height: var(--btn-h);
    padding: 0 1.4em;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-align: center;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn--xs { --btn-h: 38px; padding: 0 1em; font-size: .82rem; }
.btn--sm { --btn-h: 42px; padding: 0 1.15em; font-size: .88rem; }
.btn--lg { --btn-h: 56px; padding: 0 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--glow {
    background: linear-gradient(180deg, var(--accent-hi), var(--accent));
    color: var(--accent-ink);
    box-shadow: var(--glow);
}

.btn--glow:hover,
.btn--glow:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--glow-hover);
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--stroke-strong);
    color: var(--text);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: #fff;
}

.btn[disabled] { opacity: .6; pointer-events: none; }

/* --------------------------------------------------------------- шапка */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(15, 17, 16, .88);
    border-bottom-color: var(--stroke);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* Если браузер не умеет размывать фон — делаем шапку плотной, чтобы текст
   страницы не просвечивал сквозь меню. */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
    .site-header.is-scrolled,
    .site-header.is-open { background: rgba(15, 17, 16, .97); }
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand__mark svg { width: 38px; height: 38px; filter: drop-shadow(0 6px 16px rgba(25, 193, 115, .45)); }

.brand__copy { display: grid; }

.brand__name {
    font-family: var(--font-head);
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.brand__legal {
    color: var(--text-3);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.site-header__login { display: none; }
.site-header__login-full { display: none; }

.burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--stroke-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }
.site-header.is-open .burger__open { display: none; }
.site-header.is-open .burger__close { display: block; }

/* выпадающий список языков */

.lang { position: relative; }

.lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--stroke-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: var(--text-2);
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.lang__toggle::-webkit-details-marker { display: none; }
.lang__toggle:hover { color: var(--text); border-color: var(--accent-line); }
.lang__toggle .icon { width: 18px; height: 18px; }
.lang__chevron { transition: transform .25s var(--ease); }
.lang[open] .lang__chevron { transform: rotate(180deg); }

.lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 95;
    min-width: 208px;
    padding: 8px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: #141716;
    box-shadow: var(--shadow-card);
}

.lang__item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: .92rem;
}

.lang__item b { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; }
.lang__item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.lang__item.is-current { background: var(--accent-soft); color: var(--accent-hi); }

/* навигация */

.site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 80;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 24px var(--gutter) 40px;
    background: rgba(12, 14, 13, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.site-nav__list { display: grid; gap: 4px; }

.site-nav__link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--stroke);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 600;
}

.site-nav__link:hover { color: var(--accent-hi); }

.site-nav__extra { display: grid; gap: 14px; margin-top: 22px; }

.site-nav__mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: .95rem;
}

.site-nav__mail:hover { color: var(--accent-hi); }

@media (min-width: 1060px) {
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        margin-right: 18px;
        background: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: visible;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .site-nav__list { display: flex; gap: 2px; }

    .site-nav__link {
        position: relative;
        padding: 8px 14px;
        border: 0;
        color: var(--text-2);
        font-size: .93rem;
        font-weight: 600;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 2px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--accent), var(--accent-hi));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .28s var(--ease);
    }

    .site-nav__link:hover { color: var(--text); }
    .site-nav__link:hover::after,
    .site-nav__link:focus-visible::after { transform: scaleX(1); }

    .site-nav__extra { display: none; }
    .burger { display: none; }
    .site-header__login { display: inline-flex; }
    .site-header__login-full { display: inline; }
    .site-header__login-short { display: none; }
}

@media (min-width: 560px) and (max-width: 1059px) {
    .site-header__login { display: inline-flex; }
    .site-header__login-short { display: inline; }
}

/* На узком экране кнопка входа остаётся в шапке, но только значком. */
@media (max-width: 559px) {
    .site-header__login { display: inline-flex; width: 44px; padding: 0; }
    .site-header__login .icon { width: 20px; height: 20px; }
    .brand__legal { display: none; }
    .lang__toggle { padding: 0 10px; }
}

/* Совсем узкие экраны (320–400 px): ужимаем шапку, чтобы всё поместилось. */
@media (max-width: 400px) {
    :root { --gutter: 14px; }

    .site-header__inner { gap: 6px; }
    .site-header__actions { gap: 6px; }
    .brand { gap: 8px; }
    .brand__mark svg { width: 34px; height: 34px; }
    .brand__name { font-size: .98rem; }
    .lang__toggle { gap: 4px; padding: 0 8px; }
    .lang__chevron { display: none; }
    .burger { width: 42px; height: 42px; }
    .site-header__login { width: 42px; }
}

/* появление блоков при прокрутке */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- первый экран */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(92svh, 720px);
    margin-top: calc(var(--header-h) * -1);
    padding-block: calc(var(--header-h) + 48px) clamp(44px, 8vw, 88px);
    overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(18, 18, 18, .55) 0%,
        rgba(18, 18, 18, .74) 44%,
        rgba(18, 18, 18, .95) 86%,
        var(--bg) 100%);
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
    font-size: clamp(1.95rem, 1.05rem + 3.7vw, 3.4rem);
    font-weight: 800;
    line-height: 1.06;
}

.hero__lead {
    max-width: 60ch;
    margin-top: 20px;
    color: var(--text-2);
    font-size: clamp(1rem, .95rem + .4vw, 1.16rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.hero__chips li {
    padding: 7px 14px;
    border: 1px solid var(--stroke-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: var(--text-2);
    font-size: .82rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
    .hero { align-items: center; min-height: min(94svh, 820px); }
    .hero__media img { object-position: 78% center; }

    .hero__media::after {
        background:
            linear-gradient(90deg, rgba(18, 18, 18, .97) 0%, rgba(18, 18, 18, .9) 36%, rgba(18, 18, 18, .42) 68%, rgba(18, 18, 18, .2) 100%),
            linear-gradient(180deg, transparent 62%, var(--bg) 100%);
    }

    .hero__inner > * { max-width: 44rem; }
}

/* ------------------------------------------------------------ о компании */

.about__grid { display: grid; gap: clamp(26px, 4vw, 52px); }

@media (min-width: 960px) {
    .about__grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

.about__text { margin-top: 16px; color: var(--text-2); }

.about__facts { display: grid; gap: 12px; }

@media (min-width: 520px) { .about__facts { grid-template-columns: 1fr 1fr; } }

.fact {
    padding: 20px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--surface);
}

.fact__value {
    display: block;
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.fact__label { display: block; margin-top: 8px; color: var(--text-2); font-size: .88rem; line-height: 1.5; }

/* ---------------------------------------------------------------- марки */

.brands { display: grid; gap: 12px; margin-top: clamp(26px, 4vw, 46px); }

@media (min-width: 560px) { .brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .brands { grid-template-columns: repeat(5, 1fr); } }

@media (max-width: 559px) {
    .brands {
        display: flex;
        gap: 12px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 2px var(--gutter) 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .brands::-webkit-scrollbar { display: none; }
    .brands__item { flex: 0 0 74%; scroll-snap-align: start; }
}

.brands__item { display: flex; }

.brand-tile {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px 20px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.brand-tile::after {
    content: "";
    position: absolute;
    inset: auto -30% -70% -30%;
    height: 140px;
    background: radial-gradient(closest-side, rgba(52, 227, 147, .32), transparent);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.brand-tile:hover,
.brand-tile:focus-visible { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.brand-tile:hover::after { opacity: 1; }

.brand-tile > * { position: relative; }
.brand-tile__logo img { width: auto; height: 30px; opacity: .9; }
.brand-tile__name { font-size: 1.16rem; font-weight: 800; }
.brand-tile__meta { color: var(--text-3); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }

.brand-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--accent-hi);
    font-size: .85rem;
    font-weight: 600;
}

.brand-tile__cta .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.brand-tile:hover .brand-tile__cta .icon { transform: translateX(4px); }

.brands__note { margin-top: 18px; color: var(--text-3); font-size: .9rem; text-align: center; }

/* ------------------------------------------------------- карточки услуг */

.cards { display: grid; gap: 16px; margin-top: clamp(26px, 4vw, 50px); }

@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
    position: relative;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 227, 147, .16), transparent 62%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}

.card:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border: 1px solid var(--accent-line);
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-hi);
    box-shadow: var(--glow-sm);
}

.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: 1.22rem; }
.card__text { margin-top: 10px; color: var(--text-2); }
.card__points { display: grid; gap: 10px; margin-top: 18px; }
.card__points li { display: flex; gap: 10px; color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.card__points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-hi); }

.card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 600;
}

.card__cta .icon { transition: transform .25s var(--ease); }
.card__cta:hover .icon { transform: translateX(4px); }

/* ----------------------------------------------------------- B2B-портал */

.b2b__grid { display: grid; gap: clamp(30px, 5vw, 56px); }

@media (min-width: 1000px) {
    .b2b__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

.b2b__features { display: grid; gap: 18px; margin-top: clamp(22px, 3vw, 34px); }
.b2b__feature { display: flex; gap: 16px; }

.b2b__feature-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-hi);
}

.b2b__feature-icon .icon { width: 22px; height: 22px; }
.b2b__feature-title { font-size: 1.05rem; }
.b2b__feature-text { margin-top: 6px; color: var(--text-2); font-size: .93rem; }

.b2b__extras { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.b2b__extras li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .85rem; }
.b2b__extras .icon { width: 16px; height: 16px; color: var(--accent); }

.b2b__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.portal-mock {
    position: relative;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #191d1b, #141716);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.portal-mock::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 0%), rgba(52, 227, 147, .14), transparent 60%);
    opacity: .7;
    pointer-events: none;
}

.portal-mock__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .03);
}

.portal-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.portal-mock__url { margin-left: 10px; color: var(--text-3); font-size: .74rem; font-style: normal; letter-spacing: .03em; }
.portal-mock__body { position: relative; padding: 18px; }
.portal-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.portal-mock__kpi {
    padding: 13px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03);
}

.portal-mock__kpi small { display: block; color: var(--text-3); font-size: .68rem; letter-spacing: .04em; }
.portal-mock__kpi b { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; }
.portal-mock__rows { display: grid; gap: 8px; margin-top: 14px; }

.portal-mock__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .02);
    font-size: .85rem;
}

.portal-mock__row-name { color: var(--text-2); }
.portal-mock__chip { padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.portal-mock__chip--stock { background: rgba(25, 193, 115, .18); color: #6ef0b1; }
.portal-mock__chip--transit { background: rgba(92, 152, 255, .16); color: #a3c5ff; }
.portal-mock__chip--claim { background: rgba(255, 172, 64, .16); color: #ffc879; }
.portal-mock__foot { margin-top: 14px; text-align: center; }

.portal-mock__pill {
    display: inline-block;
    padding: 5px 12px;
    border: 1px dashed var(--stroke-strong);
    border-radius: 999px;
    color: var(--text-3);
    font-size: .76rem;
}

/* ------------------------------------------------------- формы и заявка */

.lead__grid { display: grid; gap: clamp(28px, 4vw, 52px); }

@media (min-width: 1000px) {
    .lead__grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

.contacts { display: grid; gap: 12px; margin-top: 24px; }
.contacts li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: .95rem; }
.contacts .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-hi); }
.contacts a:hover { color: var(--accent-hi); }

.lead__login {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 18px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--surface);
}

.lead__login p { color: var(--text-2); font-size: .92rem; }
.lead__panel { padding: clamp(22px, 3vw, 34px); }

.field { display: grid; gap: 8px; }
.field__label { color: var(--text-2); font-size: .85rem; font-weight: 600; }
.field__hint { color: var(--text-3); font-size: .77rem; font-weight: 400; }

.field__input {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid var(--stroke-strong);
    border-radius: 12px;
    background: rgba(10, 12, 11, .6);
    color: var(--text);
    font-size: .98rem;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.field__input::placeholder { color: var(--text-3); }
.field__input:hover { border-color: rgba(255, 255, 255, .26); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25, 193, 115, .18); }
.field__input--area { min-height: 132px; line-height: 1.55; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 107, .14); }
.field__error { color: var(--danger); font-size: .8rem; }

.field__password { position: relative; }
.field__password .field__input { padding-right: 54px; }

.field__reveal {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
}

.field__reveal:hover { color: var(--text); }
.field__reveal .icon--eye-off { display: none; }
.field__reveal[aria-pressed="true"] .icon--eye { display: none; }
.field__reveal[aria-pressed="true"] .icon--eye-off { display: block; }

.lead-form__types { margin: 0 0 20px; padding: 0; border: 0; }
.segmented { display: grid; gap: 8px; margin-top: 10px; }

@media (min-width: 560px) { .segmented { grid-template-columns: repeat(3, 1fr); } }

.segmented__option { position: relative; display: block; }
.segmented__option input { position: absolute; width: 0; height: 0; opacity: 0; }

.segmented__option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--stroke-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: var(--text-2);
    font-size: .87rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}

.segmented__option input:checked + span { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-hi); box-shadow: var(--glow-sm); }
.segmented__option input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

.lead-form__grid { display: grid; gap: 16px; }

@media (min-width: 620px) {
    .lead-form__grid { grid-template-columns: 1fr 1fr; }
    .field--full { grid-column: 1 / -1; }
}

.consent { display: flex; gap: 12px; margin-top: 20px; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }

.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: .88rem; }
.form-status--error { border: 1px solid rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .1); color: #ffc9c9; }
.form-status--ok { border: 1px solid var(--accent-line); background: var(--accent-soft); color: #9df2c6; }

.lead-form > button[type="submit"] { margin-top: 20px; }
.lead-form__note { margin-top: 14px; color: var(--text-3); font-size: .8rem; line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-success { display: grid; gap: 12px; justify-items: start; }

.lead-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--accent-line);
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-hi);
}

.lead-success__title { font-size: 1.3rem; }
.lead-success__text { color: var(--text-2); }

/* ------------------------------------------------------- модальное окно */

.modal {
    width: min(100% - 24px, 30rem);
    max-height: 90dvh;
    padding: 0;
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #1a1e1c, #141615);
    color: var(--text);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), var(--glow-sm);
    overflow: auto;
}

.modal::backdrop { background: rgba(6, 8, 7, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .28s var(--ease); }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: none; }
}

.modal__inner { position: relative; padding: clamp(24px, 4vw, 34px); }

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: var(--text-2);
    cursor: pointer;
}

.modal__close:hover { border-color: var(--accent-line); color: var(--text); }

.modal__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.modal__title { margin-top: 12px; font-size: 1.42rem; }
.modal__text { margin-top: 8px; color: var(--text-2); font-size: .92rem; }
.login-form { display: grid; gap: 16px; margin-top: 22px; }
.login-form__human:not([hidden]) { min-height: 68px; }
.login-form__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; }
.login-form__links a { color: var(--text-2); }
.login-form__links a:hover { color: var(--accent-hi); }
.modal__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--stroke); color: var(--text-3); font-size: .82rem; }
.modal__foot a { color: var(--accent-hi); }

/* --------------------------------------------------------------- подвал */

.site-footer {
    margin-top: clamp(36px, 6vw, 76px);
    padding-block: clamp(38px, 5vw, 62px) 26px;
    border-top: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}

.site-footer__grid { display: grid; gap: 30px; }

@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.brand--footer { margin: 0 0 16px; }
.site-footer__about { max-width: 46ch; color: var(--text-3); font-size: .9rem; }
.site-footer__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-2); font-size: .92rem; }
.site-footer__mail:hover { color: var(--accent-hi); }

.site-footer__title { color: var(--text-3); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__col ul { display: grid; gap: 10px; margin-top: 14px; }
.site-footer__col a { color: var(--text-2); font-size: .92rem; }
.site-footer__col a:hover,
.site-footer__col a[aria-current] { color: var(--accent-hi); }

.site-footer__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--stroke); }
.site-footer__address { color: var(--text-2); font-size: .9rem; font-style: normal; }
.site-footer__address strong { color: var(--text); }
.site-footer__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }
.site-footer__facts li { display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-3); font-size: .82rem; }
.site-footer__facts b { color: var(--text-2); font-weight: 600; }
.site-footer__court { flex-basis: 100%; }
.site-footer__bottom { display: grid; gap: 8px; margin-top: 24px; color: var(--text-3); font-size: .78rem; }
.site-footer__trademarks { max-width: 90ch; }

/* -------------------------------------------- служебные страницы, языки */

.section--page { padding-top: calc(var(--header-h) + 36px); }
.page-narrow { max-width: 48rem; }
.page-narrow--center { margin-inline: auto; text-align: center; }
.page-facts { display: grid; gap: 10px; margin: 24px 0 28px; }
.page-facts li { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-3); font-size: .9rem; }
.page-facts b { color: var(--text-2); font-weight: 600; }
.page-facts a { color: var(--accent-hi); }

.lang-suggest {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 95;
    width: min(100% - 24px, 620px);
    transform: translateX(-50%);
}

.lang-suggest__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--stroke-strong);
    border-radius: var(--radius);
    background: rgba(20, 23, 22, .96);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.lang-suggest__text { flex: 1; min-width: 180px; color: var(--text-2); font-size: .87rem; }
.lang-suggest .icon { color: var(--accent-hi); }

/* ------------------------------------------------------- страница «О нас» */

.page-hero {
    padding-block: calc(var(--header-h) + 36px) clamp(26px, 4vw, 48px);
    background: radial-gradient(900px 420px at 12% -30%, rgba(25, 193, 115, .16), transparent 70%);
}

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--text-3); font-size: .84rem; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--accent-hi); }

.page-hero__title { max-width: 22ch; font-size: clamp(1.9rem, 1.05rem + 3vw, 3.05rem); font-weight: 800; line-height: 1.08; }
.page-hero__lead { max-width: 72ch; margin-top: 18px; color: var(--text-2); font-size: clamp(1rem, .96rem + .35vw, 1.13rem); }

.section--tight { padding-block: clamp(32px, 4.5vw, 62px); }

.prose { max-width: 74ch; }
.prose p { margin-top: 16px; color: var(--text-2); }
.prose .section__lead { margin-top: 14px; }
/* Give the import page a wider editorial layout without affecting other pages. */
body[data-page="import"] .page-hero__title { max-width: 32ch; }
body[data-page="import"] .page-hero__lead { max-width: 90ch; }
body[data-page="import"] .prose { max-width: none; }
body[data-page="import"] .sources__lead { max-width: 100ch; line-height: 1.85; }
@media (min-width: 1000px) {
 body[data-page="import"] .prose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(32px,4vw,64px); row-gap: 20px; }
 body[data-page="import"] .prose > h2 { grid-column: 1 / -1; max-width: 32ch; }
 body[data-page="import"] .prose > p { margin-top: 0; line-height: 1.85; font-size: 17px; }
 body[data-page="import"] .prose > p:only-of-type { grid-column: 1 / -1; max-width: 100ch; }
 body[data-page="import"] .prose > p:last-child:nth-of-type(3) { grid-column: 1 / -1; max-width: 110ch; padding-top: 8px; }
 body[data-page="import"] .sources__request { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:40px; align-items:start; }
 body[data-page="import"] .sources__request .sources__title { grid-column:1; }
 body[data-page="import"] .sources__request .sources__lead { grid-column:1; }
 body[data-page="import"] .sources__request .btn { grid-column:2; grid-row:1 / 3; align-self:center; margin-top:0; }
}

.about-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Сначала подпись, крупная цифра — снизу и выровнена по нижнему краю карточки. */
.about-fact {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--surface);
}

.about-fact__label { display: block; color: var(--text-2); font-size: .88rem; line-height: 1.45; }

.about-fact__value {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.05;
}

.about-fact__value.is-empty { color: var(--text-3); }
.about-fact__value--long { font-size: 1.45rem; letter-spacing: -.01em; white-space: nowrap; }

.about-fact__hint {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 9px;
    border: 1px dashed var(--stroke-strong);
    border-radius: 999px;
    color: var(--text-3);
    font-size: .72rem;
}

.about-note {
    max-width: 74ch;
    margin-top: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-line);
    color: var(--text-3);
    font-size: .92rem;
    line-height: 1.6;
}

.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.table-wrap { margin-top: 22px; border: 1px solid var(--stroke); border-radius: var(--radius); overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stroke); }

.compare thead th {
    background: rgba(255, 255, 255, .03);
    color: var(--accent-hi);
    font-family: var(--font-head);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compare tbody th { width: 30%; color: var(--text); font-weight: 600; }
.compare td { color: var(--text-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.steps { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Once the desktop row fits, keep all stages together at larger widths. */
@media (min-width: 1200px) {
    .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
}

.steps__item {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 20px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--surface);
}

.steps__number { display: inline-block; margin-bottom: 10px; color: var(--accent-hi); font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.steps__title { font-size: 1.02rem; }
.steps__text { margin-top: 8px; color: var(--text-2); font-size: .9rem; line-height: 1.55; }

.sources { margin-top: 26px; }
.sources__title { font-size: 1.08rem; }
.sources__lead { max-width: 74ch; margin-top: 8px; color: var(--text-2); font-size: .95rem; }
.sources__group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.sources__label { min-width: 120px; color: var(--text-3); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.sources__list { display: flex; flex-wrap: wrap; gap: 8px; }

.sources__list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--stroke-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-family: var(--font-head);
    font-size: .86rem;
    font-weight: 600;
}

.sources__list a:hover, .sources__list a:focus-visible { border-color: var(--accent-hi); color: var(--accent-hi); background: rgba(180, 239, 110, .08); }
.sources__list a:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.sources__request { margin-top: 32px; }
.sources__request .btn { margin-top: 18px; white-space: normal; text-align: center; }

.feature-list { display: grid; gap: 10px; margin-top: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-list li { display: flex; gap: 10px; color: var(--text-2); font-size: .95rem; }
.feature-list .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent-hi); }

.route { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 26px; }

.route__point {
    position: relative;
    padding: 12px 18px;
    border: 1px solid var(--stroke-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: .9rem;
}

.route__point + .route__point::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: -21px;
    transform: translateY(-50%);
    color: var(--accent-hi);
}

.faq { display: grid; gap: 10px; max-width: 56rem; margin-top: 22px; }
.faq__item { border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); overflow: hidden; }

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--accent-hi); }
.faq__chevron { color: var(--accent-hi); transition: transform .25s var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { max-width: 80ch; padding: 0 20px 18px; color: var(--text-2); font-size: .95rem; line-height: 1.6; }

.cta-band {
    position: relative;
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(25, 193, 115, .16), rgba(255, 255, 255, .03));
    overflow: hidden;
}

@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; align-items: center; } }

.cta-band__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.cta-band__text { max-width: 60ch; margin-top: 10px; color: var(--text-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------- фоновые иллюстрации разделов */

/* Векторные рисунки живут позади текста: добавляют воздух и ритм,
   но не мешают читать — на узких экранах их прозрачность падает. */

.art { width: 100%; height: auto; color: var(--text); }

/* Фотография как фон секции: сильно затемнена, текст читается поверх. */
.section--photo { position: relative; overflow: hidden; }
.section--photo > .container { position: relative; z-index: 1; }
.section-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.section-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .17;
    filter: grayscale(.25) contrast(1.05);
}

.section-photo--flip img { transform: scaleX(-1); }

.section-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(18, 18, 18, .74) 26%, rgba(18, 18, 18, .74) 74%, var(--bg) 100%),
        radial-gradient(70% 60% at 30% 50%, rgba(18, 18, 18, .8), transparent 70%);
}

@media (max-width: 900px) {
    .section-photo img { opacity: .12; }
}

/* Живая карта с меткой — позади текста раздела «Кто мы». */
.section--mapbg { position: relative; overflow: hidden; }
.section--mapbg > .container { position: relative; z-index: 1; }

/* Карта занимает всю секцию — в том числе за текстом. Поверх лежит
   градиент: слева фон плотнее, чтобы абзацы читались, справа карта видна. */
.section-map { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.section-map .art { width: 100%; height: 100%; opacity: .75; object-fit: contain; }

.section-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 18, 18, .9) 0%, rgba(18, 18, 18, .74) 28%, rgba(18, 18, 18, .24) 56%, rgba(18, 18, 18, .4) 100%),
        linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%);
}

@media (min-width: 1000px) {
    /* Сдвигаем карту вправо: начало маршрута выходит из-под колонки текста. */
    .section-map .art { transform: translateX(7%); }
}

@media (max-width: 999px) {
    .section-map .art { opacity: .3; }

    .section-map::after {
        background:
            linear-gradient(180deg, var(--bg) 0%, rgba(18, 18, 18, .9) 22%, rgba(18, 18, 18, .9) 78%, var(--bg) 100%);
    }
}

.map-pulse { animation: ocp-pulse 3.4s cubic-bezier(.2, .7, .2, 1) infinite; transform-origin: center; }
.map-pulse--delay { animation-delay: 1.7s; }
.map-route { stroke-dasharray: 10 12; animation: ocp-dash 18s linear infinite; }

@keyframes ocp-pulse {
    0% { opacity: .7; transform: scale(.45); }
    70% { opacity: 0; transform: scale(1.6); }
    100% { opacity: 0; transform: scale(1.6); }
}

@keyframes ocp-dash {
    to { stroke-dashoffset: -440; }
}

@media (prefers-reduced-motion: reduce) {
    .map-pulse, .map-route { animation: none; }
}

/* Адрес и ссылка на карту прямо в тексте. */
.about-address {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-line);
}

.about-address__company { color: var(--text); font-family: var(--font-head); font-weight: 700; }
.about-address__line { color: var(--text-2); font-size: .95rem; }
.about-address__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--accent-hi); font-size: .92rem; font-weight: 600; }
.about-address__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-address__link .icon { width: 18px; height: 18px; }
.about-address__note { color: var(--text-3); font-size: .78rem; }

/* ------------------------------------- финальная подгонка больших экранов
   Правила идут в конце файла, чтобы перекрывать базовые значения. */

@media (min-width: 2000px) {
    .section { padding-block: clamp(80px, 4.5vw, 150px); }
    .hero { min-height: min(88svh, 900px); }
    .about-facts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .cards { gap: 22px; }
    .steps { gap: 18px; }
    .brands { gap: 18px; }
}

@media (min-width: 2560px) {
    .section__art .art { width: min(40%, 520px); }
}

.section--art { position: relative; overflow: hidden; }
.section--art > .container { position: relative; z-index: 1; }

.section__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* На широком мониторе иллюстрация держится края контейнера, а не края
       экрана: иначе она отрывается от текста и висит сама по себе. */
    padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
    pointer-events: none;
}

.section__art .art { width: min(44%, 440px); opacity: .5; }
.section__art--left { justify-content: flex-start; }
.section__art--top { align-items: flex-start; padding-top: clamp(24px, 5vw, 70px); }

.page-hero { position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }

.page-hero__art {
    position: absolute;
    right: -2%;
    bottom: 4%;
    z-index: 0;
    width: min(46%, 520px);
    opacity: .6;
    pointer-events: none;
}

@media (min-width: 1000px) {
    .page-hero__lead { max-width: 56ch; }
}

@media (max-width: 999px) {
    .page-hero__art { right: -8%; bottom: -2%; width: min(84%, 460px); opacity: .22; }
    .section__art .art { width: min(80%, 420px); opacity: .16; }
}

@media (max-width: 600px) {
    .page-hero__art { opacity: .16; }
    .section__art .art { opacity: .12; }
}

/* Editorial imagery: local WebP assets, readable overlays, schematic routes. */
.page-about .page-hero--photo { padding-block: clamp(45px, 7vw, 100px) 88px; background: #141d29; isolation: isolate; }
.page-hero--photo .about-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; }
.page-hero--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0e141bef 0%, #111922d9 38%, #12121225 100%), linear-gradient(0deg, #121212, transparent 30%); z-index: -1; }
.page-hero--photo .page-hero__lead { color: #e0e5ea; max-width: 53ch; }
.hero-route-strip { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; width: min(420px, calc(100% - 2 * var(--gutter))); margin: 30px auto 0; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2)); font-size: 12px; letter-spacing: .12em; color: #f3c899; }
.hero-route-strip i { flex: 1; height: 1px; border-top: 1px dashed #f3c899; position: relative; }
.hero-route-strip i::before, .hero-route-strip i::after { content: ''; position: absolute; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #f3c899; }
.hero-route-strip i::after { right: 0; }
.about-story-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.location-card { padding: 26px; background: radial-gradient(ellipse at top right, #27405a80, transparent 70%), #172022; border: 1px solid #7ca0b63b; border-radius: 18px; overflow: hidden; }
.visual-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b7ccdf; }
.location-drawing { margin: 10px -26px 16px; }
.location-drawing svg { display: block; width: 100%; height: auto; }
.location-card > strong { display: block; font-size: 23px; }
.location-card > p:not(.visual-kicker) { margin-top: 10px; color: #c4ced5; }
.location-card > a { display: inline-block; padding-block: 15px; color: #f1c393; text-decoration: underline; text-underline-offset: 5px; }
.location-card > small { display: block; color: #9cabb6; font-size: 11px; }
.about-photo { position: relative; isolation: isolate; overflow: hidden; margin: 30px 0; border-radius: 18px; min-height: 330px; background: #1c242c; border: 1px solid #ffffff1f; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #10161dea, #12121220 70%); }
.about-photo--parts img { object-position: center 48%; }
.about-photo--parts::after { background: linear-gradient(90deg, #12121205, #10161ded 80%); }
.about-photo figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 330px; padding: clamp(25px, 4vw, 50px); width: 50%; }
.about-photo--parts figcaption { margin-left: auto; }
.about-photo figcaption small { color: #efc99f; text-transform: uppercase; font-size: 10px; letter-spacing: .15em; }
.about-photo figcaption strong { font-size: clamp(25px, 3vw, 38px); font-weight: 500; line-height: 1.12; max-width: 18ch; }
.about-photo figcaption span { color: #d4e0e9; font-size: 13px; }
.logistics-diagram { margin-top: 36px; padding: clamp(24px, 4vw, 44px); border-radius: 18px; border: 1px solid #91cfa52b; background: radial-gradient(ellipse at 50% 100%, #8fcca50d, transparent 70%), #151715; }
.logistics-diagram h3 { font-size: clamp(22px, 3vw, 32px); }
.logistics-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 35px 0; }
.logistics-node { position: relative; display: flex; flex-direction: column; gap: 10px; }
.logistics-node:not(:last-child)::after { content: ''; position: absolute; top: 25px; left: 65px; right: 0; border-top: 1px dashed #8fcca54a; }
.logistics-node__dot { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #8fcca54a; border-radius: 50%; background: #1c231e; color: #b4d6bc; }
.logistics-node:nth-child(2) .logistics-node__dot { border-color: #b7ef79; color: #b7ef79; box-shadow: 0 0 30px #b7ef7917; }
.logistics-node small, .logistics-caption { color: #a7b2a9; font-size: 12px; }
.logistics-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-top:32px; }
.logistics-benefits article { min-width:0; border-top:1px solid #8fcca536; padding-top:22px; }
.logistics-benefits__number { display:block; color:#92bd9c; font-size:12px; letter-spacing:.12em; margin-bottom:14px; }
.logistics-benefits h3 { font-size:20px; line-height:1.35; margin-bottom:12px; }
.logistics-benefits p { color:#aeb8b0; font-size:15px; line-height:1.75; }
.repair-flow { display:flex; flex-wrap:wrap; gap:12px 20px; list-style:none; padding:22px 0; margin:26px 0 16px; border-top:1px solid #8fcca526; color:#bac9be; font-size:14px; }
.repair-flow li:not(:last-child)::after { content:'→'; display:inline-block; margin-left:20px; color:#8fcca5; }
@media(max-width:650px) { .repair-flow { flex-direction:column; gap:14px; } .repair-flow li:not(:last-child)::after { content:'↓'; } }
@media(max-width:760px) { .logistics-benefits { grid-template-columns:1fr; gap:24px; } }
.logistics-node strong { max-width: 24ch; font-size: 17px; line-height: 1.45; font-weight: 500; }
@media (max-width: 800px) {
 .about-story-grid { grid-template-columns: 1fr; }
 .page-hero--photo .about-hero-photo { object-position: 65% center; }
 .page-hero--photo::after { background: linear-gradient(90deg, #0e141be8, #111922a8), linear-gradient(0deg, #121212, transparent 45%); }
 .about-photo, .about-photo figcaption { min-height: 390px; }
 .about-photo figcaption { width: 100%; justify-content: flex-end; padding-top: 180px; }
 .about-photo::after, .about-photo--parts::after { background: linear-gradient(0deg, #10161df5 0%, #10161dba 26%, transparent 85%); }
 .about-photo--parts img { object-position: 36% center; }
 .about-photo--transport img { object-position: 65% center; }
}
@media (max-width: 480px) {
 .logistics-nodes { grid-template-columns: 1fr; gap: 28px; }
 .logistics-node { padding-left: 70px; min-height: 62px; }
 .logistics-node__dot { position: absolute; left: 0; top: 0; }
 .logistics-node:not(:last-child)::after { left: 25px; top: 60px; bottom: -20px; right: auto; border-top: 0; border-left: 1px dashed #8fcca54a; }
}
/* Full-bleed geographic background; a dark scrim protects the text column. */
.page-about .section--mapbg .section-map { position: absolute; inset: 0; width: 100%; max-width: none; margin: 0; }
.page-about .section--mapbg .section-map .art { display: block; transform: none; opacity: .36; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-about .section--mapbg .section-map::after { background: linear-gradient(90deg, #121212e8 0%, #121212d9 35%, #1212129c 50%, #12121226 72%, #12121214 100%), linear-gradient(0deg, #121212, transparent 10%, transparent 90%, #121212); }
.page-about .section--mapbg .prose { max-width: 49%; }
.page-about .section--mapbg .prose p { color: #d2d7d5; }
@media (max-width: 999px) {
 .page-about .section--mapbg .prose { max-width: 74ch; }
 .page-about .section--mapbg .section-map .art { opacity: .25; object-position: 58% center; }
 .page-about .section--mapbg .section-map::after { background: linear-gradient(90deg, #121212cf, #121212ad), linear-gradient(0deg, #121212, transparent 10%, transparent 90%, #121212); }
}
/* Fade the entire decorative layer, including its overlays, into the page.
   Several stops ease the transition instead of drawing a visible linear edge. */
.page-about .section-photo,
.page-about .section-map {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.05) 4%, rgba(0,0,0,.5) 12%, #000 24%, #000 76%, rgba(0,0,0,.5) 88%, rgba(0,0,0,.05) 96%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.05) 4%, rgba(0,0,0,.5) 12%, #000 24%, #000 76%, rgba(0,0,0,.5) 88%, rgba(0,0,0,.05) 96%, transparent 100%);
}
.page-about .page-hero--photo { background: #121212; }
.page-about .page-hero--photo .about-hero-photo,
.page-about .page-hero--photo::after {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), #000 12%, #000 60%, rgba(0,0,0,.65) 76%, rgba(0,0,0,.15) 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), #000 12%, #000 60%, rgba(0,0,0,.65) 76%, rgba(0,0,0,.15) 91%, transparent 100%);
}
.steps--timeline .steps__item { position: relative; border-top: 2px solid #7eac92; }
.steps--timeline .steps__number { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #7eac9270; border-radius: 50%; background: #1b2921; }
@media (min-width: 1200px) {
 .steps--timeline .steps__item:not(:last-child)::after { content: '→'; position: absolute; right: -15px; top: 22px; z-index: 2; color: #a7b7ab; background: #121212; font-size: 15px; }
}
.order-explainer { margin-top: 52px; padding-top: 34px; border-top: 1px solid #ffffff16; --status-0: #8fcca5; --status-1: #c5ab78; --status-2: #91a8c4; --status-3: #aa9099; }
.order-explainer__title { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; }
.order-example-label { margin: 26px 0 0; color: #c7b78e; font-size: 12px; letter-spacing: .03em; }
.order-breakdown { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); margin: 24px 0; align-items: center; }
.order-chart { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 28px 0; background: radial-gradient(ellipse, #8fcca50a, transparent 70%); }
.order-chart__ring { width: 240px; aspect-ratio: 1; border-radius: 50%; padding: 16px; background: conic-gradient(var(--status-0) 0% 80%, var(--status-1) 80% 92%, var(--status-2) 92% 97%, var(--status-3) 97% 100%); transform: rotate(-90deg); }
.order-chart__ring > div { width: 100%; height: 100%; border-radius: 50%; background: #121212; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(90deg); }
.order-chart__ring strong { font-size: 52px; line-height: 1.1; letter-spacing: -.05em; font-weight: 550; }
.order-chart__ring span { margin-top: 8px; font-size: 13px; color: #aebdb4; }
.order-chart figcaption { color: #d3dad5; font-size: 14px; text-align: center; }
.order-chart__bar { display: flex; width: min(100%, 320px); height: 6px; gap: 3px; overflow: hidden; border-radius: 5px; }
.order-chart__bar i:nth-child(1) { flex: 80; background: var(--status-0); }
.order-chart__bar i:nth-child(2) { flex: 12; background: var(--status-1); }
.order-chart__bar i:nth-child(3) { flex: 5; background: var(--status-2); }
.order-chart__bar i:nth-child(4) { flex: 3; background: var(--status-3); }
.order-statuses__hint { color: #adb4b0; font-size: 12px; margin-bottom: 14px; }
.order-status { border-bottom: 1px solid #ffffff1c; }
.order-status summary { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto 16px; gap: 14px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
.order-status summary::-webkit-details-marker { display: none; }
.order-status summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.order-status summary:hover { color: #c5e5cf; }
.order-status summary small { display: block; color: #a4ada8; font-size: 12px; margin-top: 5px; }
.order-status summary b { font-size: 23px; font-weight: 500; }
.order-status__dot { width: 8px; height: 8px; border-radius: 50%; }
.order-status--0 .order-status__dot { background: var(--status-0); }
.order-status--1 .order-status__dot { background: var(--status-1); }
.order-status--2 .order-status__dot { background: var(--status-2); }
.order-status--3 .order-status__dot { background: var(--status-3); }
.order-status[open] .order-status__toggle { transform: rotate(45deg); }
.order-status > p { padding: 0 20px 20px 23px; color: #bfc7c2; font-size: 14px; line-height: 1.7; }
.order-method { max-width: 85ch; font-size: 14px; color: #d1d9d3; line-height: 1.75; }
.order-explainer > .btn { margin-top: 20px; }
@media (max-width: 700px) {
 .order-breakdown { grid-template-columns: 1fr; gap: 16px; }
 .order-chart__ring { width: 210px; }
 .order-status summary { gap: 10px; font-size: 14px; }
}
.shipment-widget { margin-top: 42px; padding-top: 28px; border-top: 1px solid #ffffff1b; }
.shipment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.shipment-heading h3 { font-size: clamp(23px, 2.3vw, 34px); line-height: 1.2; }
.shipment-heading p { color: #acb6af; font-size: 14px; margin-top: 12px; }
.shipment-refresh { color: #bac7bf; border: 1px solid #ffffff22; border-radius: 7px; padding: 10px 14px; background: transparent; font: inherit; font-size: 13px; cursor: pointer; flex-shrink: 0; min-height: 44px; }
.shipment-refresh:disabled { opacity: .5; cursor: wait; }
.shipment-mode { color: #c4b38c; font-size: 12px; margin-top: 18px; }
.shipment-periods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.shipment-periods button { border: 1px solid #ffffff20; color: #c3cdc6; background: #ffffff04; border-radius: 7px; padding: 11px 15px; font: inherit; font-size: 13px; cursor: pointer; min-height: 44px; }
.shipment-periods button[aria-pressed="true"] { color: #bfedcc; border-color: #8fcca56b; background: #8fcca511; }
.shipment-widget button:focus-visible, .shipment-method summary:focus-visible { outline: 2px solid #8fcca5; outline-offset: 3px; }
.shipment-range { min-height: 20px; margin-top: 14px; color: #9faa9f; font-size: 12px; }
.shipment-visual { display:grid; grid-template-columns:230px minmax(0,1fr); align-items:center; gap:48px; padding:32px; margin-top:20px; border:1px solid #ffffff16; border-radius:18px; background:radial-gradient(ellipse at 5% 50%,#74d7bc12,transparent 65%),#ffffff02; }
.shipment-donut { --shipment-fill:0%; width:210px; aspect-ratio:1; border-radius:50%; padding:18px; background:conic-gradient(#88dfb4 0 var(--shipment-fill),#e3b56c var(--shipment-fill) 100%); box-shadow:0 0 45px #88dfb40c; }
.shipment-donut > div { width:100%; height:100%; border-radius:50%; background:#151b18; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; padding:14px; }
.shipment-donut strong { font-size:38px; font-weight:550; letter-spacing:-.04em; }
.shipment-donut span { font-size:12px; color:#b9c8bf; }
.shipment-legend h4 { font-size:20px; margin-bottom:20px; }
.shipment-key { display:flex; align-items:center; gap:12px; margin-top:14px; color:#cad4ce; font-size:15px; }
.shipment-key::before { content:''; width:10px; height:10px; border-radius:3px; background:#88dfb4; flex-shrink:0; }
.shipment-key--remaining::before { background:#e3b56c; }
.shipment-key strong { margin-left:auto; color:#eef4ef; font-variant-numeric:tabular-nums; }
.shipment-chart-note { font-size:12px; color:#a6b2aa; line-height:1.7; margin-top:20px; max-width:65ch; }
.shipment-status:empty,.shipment-mode:empty { display:none; }
@media(max-width:650px) { .shipment-visual { grid-template-columns:1fr; gap:24px; padding:24px 18px; } .shipment-donut { justify-self:center; width:190px; } }
.shipment-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.shipment-metrics > div { min-width: 0; padding: 22px; border: 1px solid #ffffff18; border-radius: 10px; background: linear-gradient(140deg,#8fcca50a,#ffffff02); }
.shipment-metrics span { display: block; color: #c4cec6; font-size: 13px; min-height: 2.8em; }
.shipment-metrics strong { display: block; font-size: clamp(28px,4vw,46px); font-weight: 550; letter-spacing: -.04em; margin: 12px 0; overflow-wrap: anywhere; }
.shipment-metrics small { color: #a9b8ad; font-size: 12px; }
.shipment-latest { color: #bcc8bf; font-size: 13px; line-height: 1.7; margin-top: 18px; }
.shipment-status { color: #91b79e; font-size: 12px; margin-top: 8px; }
.shipment-widget[data-state="stale"] .shipment-status, .shipment-widget[data-state="unavailable"] .shipment-status { color: #c8b088; }
.shipment-coverage { color: #c8b088; font-size: 12px; margin-top: 8px; }
.shipment-method { margin-top: 20px; border-top: 1px solid #ffffff15; padding-top: 16px; }
.shipment-method summary { cursor: pointer; color: #b9c6bd; font-size: 13px; }
.shipment-method p { color: #aebbb2; font-size: 13px; line-height: 1.75; max-width: 95ch; margin-top: 12px; }
@media (max-width: 650px) {
 .shipment-heading { flex-direction: column; gap: 12px; }
 .shipment-metrics { grid-template-columns: 1fr; }
 .shipment-metrics > div { padding: 18px; }
 .shipment-metrics span { min-height: 0; }
 .shipment-periods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .shipment-periods button { padding: 10px; overflow-wrap: anywhere; }
}
[hidden] { display: none !important; }
/* Spacious text layouts for the public information pages. */
body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .page-hero__title { max-width:32ch; }
body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .page-hero__lead { max-width:90ch; line-height:1.8; }
body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .prose { max-width:none; }
body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .prose > p { max-width:105ch; line-height:1.85; }
body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .about-note { max-width:105ch; line-height:1.85; }
body[data-page="about"] .narrative-flow { margin-top:24px; }
body[data-page="about"] .narrative-flow p { margin:0 0 20px; line-height:1.85; }
body[data-page="about"] .faq { max-width:none; }
body[data-page="about"] .faq__answer { max-width:110ch; line-height:1.8; }
body[data-page="about"] .cards--2,
body[data-page="parts"] .cards--2 { gap:32px 48px; }
body[data-page="about"] .cards--2 .card,
body[data-page="parts"] .cards--2 .card { padding:24px 0 0; border:0; border-top:1px solid #8fcca533; border-radius:0; background:none; box-shadow:none; transform:none; }
body[data-page="about"] .cards--2 .card::before,
body[data-page="about"] .cards--2 .card::after,
body[data-page="parts"] .cards--2 .card::before,
body[data-page="parts"] .cards--2 .card::after { display:none; }
body[data-page="about"] .cards--2 .card__icon { margin-bottom:18px; }
body:is([data-page="about"],[data-page="parts"]) .cards--2 .card__text { font-size:16px; line-height:1.85; }
body[data-page="b2b"] .b2b__grid { grid-template-columns:1fr; gap:42px; }
body[data-page="b2b"] .section__head { max-width:none; }
body[data-page="b2b"] .section__head .section__lead { max-width:100ch; line-height:1.85; }
body[data-page="b2b"] .b2b__features { gap:32px; }
body[data-page="b2b"] .b2b__feature { padding-top:22px; border-top:1px solid #8fcca533; }
body[data-page="b2b"] .b2b__feature-title { font-size:20px; line-height:1.4; }
body[data-page="b2b"] .b2b__feature-text { font-size:16px; line-height:1.85; }
body[data-page="b2b"] .portal-mock { transform:none; width:100%; max-width:1000px; }
body[data-page="b2b"] .section--b2b { background:linear-gradient(180deg,transparent,#8fcca505,transparent); border:0; }
body[data-page="b2b"] .feature-list { gap:20px 36px; }
@media(min-width:1000px) {
 body[data-page="about"] .narrative-flow { columns:2; column-gap:clamp(36px,4vw,64px); }
 body[data-page="about"] .narrative-flow p { break-inside:avoid; }
 body[data-page="b2b"] .b2b__features { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body:is([data-page="about"],[data-page="parts"],[data-page="b2b"]) .prose p { font-size:17px; }
}
@media(max-width:650px) {
 body:is([data-page="about"],[data-page="parts"]) .cards--2 .card__text,
 body[data-page="b2b"] .b2b__feature-text { font-size:15px; }
}
body[data-page="about"] .page-about .section--mapbg .prose { max-width:none; }
body[data-page="about"] .section--mapbg .section-map::after { background:linear-gradient(90deg,#121212c9,#121212ad),linear-gradient(0deg,#121212,transparent 12%,transparent 88%,#121212); }
/* Illustrative partner workspace: fictional records, no live account data. */
.portal-preview { margin:0; min-width:0; width:100%; border:1px solid #ffffff20; border-radius:16px; overflow:hidden; background:#151917; box-shadow:0 24px 80px #0003; }
.portal-preview__top { display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; padding:20px 24px; border-bottom:1px solid #ffffff12; font-size:12px; color:#9aaa9f; }
.portal-preview__top > strong { font-size:22px; color:#f2f5f2; letter-spacing:-.06em; }
.portal-preview__top strong span { color:#96d4ad; font-size:11px; letter-spacing:.1em; margin-left:10px; }
.portal-preview__account { margin-left:auto; border:1px solid #ffffff16; padding:6px 10px; border-radius:6px; }
.portal-preview__workspace { display:grid; grid-template-columns:180px minmax(0,1fr); }
.portal-preview__sidebar { display:flex; flex-direction:column; gap:8px; padding:24px 14px; border-right:1px solid #ffffff12; font-size:13px; color:#a5b0a8; background:#111512; }
.portal-preview__sidebar > span { padding:12px 10px; border-radius:6px; }
.portal-preview__sidebar .is-selected { color:#b7e9c8; background:#8fcca511; border-left:2px solid #8fcca5; }
.portal-preview__sidebar small { margin-top:auto; padding:32px 10px 0; font-size:11px; line-height:1.7; color:#829187; }
.portal-preview__main { min-width:0; padding:clamp(18px,3vw,32px); }
.portal-preview__heading { display:flex; align-items:center; flex-wrap:wrap; gap:14px; justify-content:space-between; }
.portal-preview__heading p { font-size:12px; color:#a0aea4; margin-bottom:6px; }
.portal-preview__heading h3 { font-size:clamp(18px,2vw,24px); line-height:1.4; }
.portal-preview__heading h3 span { font-weight:400; color:#b4c1b8; }
.portal-preview__tag { color:#afbab3; font-size:11px; border:1px solid #ffffff18; border-radius:5px; padding:6px 9px; }
.portal-preview__stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:24px 0; }
.portal-preview__stats > div { padding:12px 14px; border:1px solid #ffffff12; border-radius:8px; background:#ffffff02; }
.portal-preview__stats dt { color:#abb7ae; font-size:11px; overflow-wrap:anywhere; }
.portal-preview__stats dd { margin:7px 0 0; font-size:28px; line-height:1.2; font-variant-numeric:tabular-nums; }
.portal-preview__stats > div:nth-child(3) dd { color:#91d8ac; }
.portal-preview__stats > div:nth-child(4) dd { color:#ddbd83; }
.portal-preview__progress > span { display:block; height:5px; border-radius:5px; background:linear-gradient(90deg,#8fcca5 87.5%,#d9b67e 87.5%); }
.portal-preview__progress p { margin-top:10px; font-size:12px; line-height:1.6; color:#aebbb2; }
.portal-preview__table-wrap { overflow-x:auto; margin-top:24px; }
.portal-preview__table { width:100%; border-collapse:collapse; font-size:13px; }
.portal-preview__table th { text-align:left; color:#8fa095; font-size:11px; font-weight:500; padding:12px 8px; border-bottom:1px solid #ffffff18; }
.portal-preview__table td { padding:15px 8px; border-bottom:1px solid #ffffff0c; }
.portal-preview__table td strong { display:block; font-weight:500; }
.portal-preview__table td small { display:block; font-size:10px; color:#839489; margin-top:5px; letter-spacing:.04em; }
.portal-preview__status { display:inline-block; border-radius:5px; padding:5px 8px; font-size:11px; }
.portal-preview__status.is-shipped { color:#a6deb9; background:#8fcca512; }
.portal-preview__status.is-pending { color:#e4c188; background:#e4c18810; }
.portal-preview__documents { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; margin-top:24px; font-size:12px; }
.portal-preview__documents h4 { width:100%; font-size:12px; font-weight:500; color:#b8c4bc; }
.portal-preview__documents > span { border:1px solid #ffffff12; border-radius:6px; padding:10px; }
.portal-preview__documents b { color:#9ad3af; font-size:10px; margin-right:8px; }
.portal-preview__documents small { color:#899c8f; margin-left:8px; }
.portal-preview figcaption { border-top:1px solid #ffffff12; padding:14px 24px; color:#94a599; font-size:11px; text-align:center; }
body:not([data-page="b2b"]) .portal-preview__workspace { grid-template-columns:1fr; }
body:not([data-page="b2b"]) .portal-preview__sidebar { display:none; }
@media(max-width:760px) {
 .portal-preview__workspace { grid-template-columns:1fr; }
 .portal-preview__sidebar { display:none; }
 .portal-preview__top { padding:16px; gap:10px; }
 .portal-preview__stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .portal-preview__table td,.portal-preview__table th { padding-inline:4px; }
 .portal-preview__status { font-size:10px; }
 .portal-preview__table { font-size:12px; }
}
.portal-preview__sidebar button { appearance:none; text-align:left; font:inherit; padding:12px 10px; color:#bac8bf; border:1px solid transparent; border-radius:6px; background:none; cursor:pointer; }
.portal-preview__sidebar button[aria-pressed="true"] { background:#8fcca512; border-color:#8fcca538; color:#b5eac5; }
.portal-preview__sidebar button:hover { background:#ffffff08; }
.portal-demo-apply { display:block; margin-top:24px; padding:10px; font-size:12px; line-height:1.7; color:#a5d7b5; text-decoration:underline; text-underline-offset:4px; }
.portal-demo-notice,.portal-demo-note { color:#9fb1a5; font-size:12px; line-height:1.75; margin:14px 0; }
.portal-demo-notice { margin-top:0; padding-bottom:16px; border-bottom:1px solid #ffffff12; }
.portal-preview__main > section > h3 { font-size:24px; margin-bottom:20px; }
.portal-preview__main > section > h4 { font-size:15px; margin:24px 0 12px; }
.portal-demo-form { display:flex; align-items:end; flex-wrap:wrap; gap:14px; margin:20px 0; }
.portal-demo-form label { display:flex; flex-direction:column; gap:8px; flex:1; min-width:180px; color:#b8c6bd; font-size:13px; }
.portal-demo-form input,.portal-demo-form select,.portal-demo-form textarea { width:100%; min-width:0; background:#101512; color:#e4eee7; border:1px solid #ffffff25; border-radius:7px; padding:12px; font:inherit; min-height:46px; }
.portal-demo-form textarea { resize:vertical; }
.portal-demo-form--stack { display:grid; max-width:680px; }
.portal-demo-form .btn { font-size:12px; white-space:normal; }
.portal-demo-catalog { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.portal-demo-catalog article { display:flex; flex-direction:column; gap:10px; padding:18px; border:1px solid #ffffff18; border-radius:8px; min-width:0; }
.portal-demo-catalog article > span { color:#9bafa1; font-size:12px; }
.portal-demo-catalog strong { font-size:15px; }
.portal-demo-catalog code { color:#a8d6b8; font-size:13px; overflow-wrap:anywhere; }
.portal-demo-catalog button { border:0; border-top:1px solid #ffffff15; background:none; color:#b9dfc6; padding:12px 0 0; margin-top:auto; text-align:left; cursor:pointer; font:inherit; font-size:12px; }
.portal-demo-order-row { display:flex; flex-wrap:wrap; gap:12px 24px; border-bottom:1px solid #ffffff18; padding:20px 0; color:#bccbc2; font-size:14px; }
.portal-preview [hidden] { display:none!important; }
.portal-preview :is(button,input,select,textarea,a):focus-visible { outline:2px solid #a8d6b8; outline-offset:3px; }
.portal-preview [role="status"] { font-size:13px; line-height:1.7; color:#b9dfc6; }
body:not([data-page="b2b"]) .portal-preview .portal-preview__sidebar { display:flex; flex-direction:row; flex-wrap:wrap; border-right:0; border-bottom:1px solid #ffffff12; }
body:not([data-page="b2b"]) .portal-demo-catalog { grid-template-columns:1fr; }
body:not([data-page="b2b"]) .portal-demo-apply { margin:0; }
@media(max-width:900px) {
 .portal-preview__workspace { grid-template-columns:1fr; }
 .portal-preview .portal-preview__sidebar { display:flex; flex-direction:row; flex-wrap:wrap; border-right:0; border-bottom:1px solid #ffffff12; gap:4px; padding:12px; }
 .portal-preview__sidebar button { font-size:12px; padding:9px; }
 .portal-demo-apply { width:100%; margin:4px 0 0; }
 .portal-demo-catalog { grid-template-columns:1fr; }
}
.portal-catalog-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-block:1px solid #ffffff14;padding:18px 0;margin:24px 0}.portal-catalog-heading>span{color:#a8d6b8;font-size:12px}.portal-catalog-heading h4{font-size:16px;margin:0}.portal-catalog-heading small{color:#9fb1a5;margin-left:auto}.portal-catalog-detail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:center}.portal-catalog-drawing{text-align:center;background:radial-gradient(ellipse,#8fcca50a,transparent 75%);border:1px solid #ffffff10;border-radius:10px;padding:12px}.portal-catalog-drawing svg{display:block;width:100%;max-height:300px}.portal-catalog-drawing button{background:#a8d6b810;border:1px solid #a8d6b840;color:#b9dfc6;border-radius:6px;padding:12px;font:inherit;font-size:12px;cursor:pointer}.portal-catalog-drawing p{font-size:11px;color:#82978a;margin:12px 0 0}.portal-catalog-part>span{color:#a8d6b8;font-size:12px}.portal-catalog-part h4{font-size:22px;margin:12px 0}.portal-catalog-part code{display:block;font-size:20px;color:#cbe3d3;overflow-wrap:anywhere}.portal-catalog-part p{font-size:13px;color:#9fb1a5;line-height:1.7;margin:18px 0}.portal-catalog-part .btn{font-size:13px;white-space:normal}.portal-demo-form label{min-width:min(180px,100%)}
@media(max-width:650px){.portal-catalog-detail{grid-template-columns:1fr}.portal-catalog-heading small{margin-left:0;width:100%}.portal-demo-form .btn{max-width:100%}}
/* Inline vehicle enquiry: two request modes, shared delivery estimate brief. */
.sources__request>.vehicle-request{grid-column:1/-1;width:100%;min-width:0}.vehicle-request>summary{list-style:none;width:fit-content;cursor:pointer}.vehicle-request>summary::-webkit-details-marker{display:none}.vehicle-request>summary span{margin-left:14px}.vehicle-request[open]>summary span{transform:rotate(45deg)}.vehicle-request__body{margin-top:24px;padding:clamp(20px,4vw,44px);border:1px solid #9bcca52b;border-radius:16px;background:linear-gradient(135deg,#19211df5,#131715fa)}.vehicle-request__body>h3{font-size:clamp(24px,3vw,34px);margin:0 0 12px}.vehicle-request__body>p{color:#aebcb2;line-height:1.7;max-width:760px}.vehicle-request form{margin-top:28px}.vehicle-request__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.vehicle-request label{display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.6;color:#ced9d1;min-width:0}.vehicle-request :is(input:not([type=radio]):not([type=checkbox]),select,textarea){width:100%;min-width:0;padding:13px 14px;border:1px solid #ffffff25;border-radius:7px;background:#101512;color:#eef4ef;font:inherit}.vehicle-request textarea{resize:vertical}.vehicle-request input::placeholder,.vehicle-request textarea::placeholder{color:#819487}.vehicle-request__modes{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.vehicle-request__modes label{flex:1;min-width:200px;flex-direction:row;align-items:center;padding:16px;border:1px solid #ffffff24;border-radius:9px;cursor:pointer}.vehicle-request__modes label:has(:checked){border-color:#a9d8b4;background:#9ad5aa12}.vehicle-request input:is([type=radio],[type=checkbox]){accent-color:#9edbb1;width:18px;height:18px;flex:none}.vehicle-request__damage{border:0;padding:0;margin:28px 0}.vehicle-request__damage legend{font-size:14px;margin-bottom:14px;color:#ced9d1}.vehicle-request__damage>div{display:flex;flex-wrap:wrap;gap:10px}.vehicle-request__damage label{flex-direction:row;align-items:center;padding:10px 12px;border:1px solid #ffffff20;border-radius:6px;font-size:13px;cursor:pointer}.vehicle-request__damage label:has(:checked){background:#9ad5aa12;border-color:#a9d8b4}.vehicle-request__cost{border-left:2px solid #9ad5aa;padding:4px 0 4px 20px;margin:28px 0}.vehicle-request__cost strong{font-size:16px}.vehicle-request__cost p{font-size:14px;line-height:1.8;color:#acbdb1;margin-top:8px}.vehicle-request .vehicle-request__consent{flex-direction:row;align-items:flex-start;margin:24px 0}.vehicle-request__consent a{color:#afe3bd;text-decoration:underline}.vehicle-request__local{color:#8fa997;font-size:12px;line-height:1.7;margin-bottom:18px}.vehicle-request [role=status]{color:#b2e1c0;line-height:1.7;margin-top:18px}.vehicle-request :focus-visible{outline:2px solid #a9d8b4;outline-offset:3px}.vehicle-request [hidden]{display:none!important}.vehicle-request button:disabled{opacity:.55;cursor:wait}.vehicle-request .btn{white-space:normal;max-width:100%}
@media(max-width:640px){.vehicle-request__grid{grid-template-columns:1fr;gap:16px}.vehicle-request__modes{flex-direction:column}.vehicle-request__modes label{min-width:0}.vehicle-request__body{padding:20px 16px}.vehicle-request__damage label{font-size:12px}}
.privacy-page .page-narrow{max-width:980px}.privacy-page section{margin:40px 0;scroll-margin-top:120px}.privacy-page section h2,.privacy-toc h2{font-size:clamp(21px,2.4vw,28px);line-height:1.4;margin-bottom:18px}.privacy-page section p{color:#bbc8bf;line-height:1.85;font-size:16px;margin:16px 0}.privacy-notice{border-left:2px solid #b9cd90;background:#a1bf8510;padding:20px 24px;line-height:1.8;color:#bac8ad;margin:28px 0;font-size:14px}.privacy-toc{padding:24px 0;border-block:1px solid #ffffff18}.privacy-toc ol{columns:2;padding-left:24px;line-height:1.8}.privacy-toc li{break-inside:avoid;margin-bottom:8px}.privacy-page a{color:#b0dfbf;text-decoration:underline;text-underline-offset:4px}.privacy-sources{padding-left:20px;line-height:1.8}.footer-privacy-link{display:inline-block;margin-left:14px;text-decoration:underline;text-underline-offset:4px;color:#bad4c3}.privacy-page .btn{text-decoration:none}@media(max-width:640px){.privacy-toc ol{columns:1}.privacy-page section p{font-size:15px}.footer-privacy-link{margin:10px 0 0;display:block}}
