/* ============================================================
   ORWAK — лендинг официального дистрибьютора в России (v_orange)
   Статика: HTML + CSS, без JavaScript.
   Все интерактивные механики (табы, аккордеоны) — на CSS.
   ============================================================ */

/* ---------- Дизайн-токены ---------- */
:root {
    --c-bg: #ffffff;
    --c-bg-soft: #f5f6f8;
    --c-bg-panel: #eef0f3;
    --c-dark: #22262b;
    --c-dark-hover: #3a4048;
    --c-text: #23262b;
    --c-muted: #5c646d;
    --c-line: #e3e6ea;
    --c-line-strong: #c9ced4;
    --accent: #df5128; /* фирменный оранжевый Orwak (orwak.com) */
    --accent-hover: #ff7536; /* оранжевый светлее — hover с сайта orwak.com */
    --accent-deep: #a63c1b; /* тёмный оранжевый для outline на светлом фоне */
    --accent-tint: #fdf3ee; /* светлая оранжевая подложка акцентных блоков */
    --radius: 12px;
    --radius-s: 8px;
    --shadow: 0 1px 3px rgba(20, 24, 28, .06);
    --shadow-lift: 0 10px 28px rgba(20, 24, 28, .14);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --header-h: 76px;
}

/* ---------- База ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip;
}

/* clip, а не hidden: не ломает position: sticky в шапке */

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.25;
}

p {
    margin: 0;
}

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

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

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}

.section--soft {
    background: var(--c-bg-soft);
}

.section__head {
    /*max-width: 680px;*/
    margin-bottom: 36px;
}

.section__title {
    font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 14px;
}

/* Оранжевая планка перед заголовком секции — фирменный акцент Orwak */
.section__title::before {
    content: "";
    display: block;
    width: 46px;
    height: 5px;
    margin-bottom: 10px;
    background: var(--accent);
    border-radius: 3px;
}

.section__intro {
    margin-top: 8px;
    color: var(--c-muted);
    font-size: 1.02rem;
}

/* Якоря не должны перекрываться sticky-шапкой */
section[id],
form[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--c-dark);
    color: #fff;
    border-radius: var(--radius-s);
    transition: top .2s ease;
}

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

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    background: var(--c-dark);
    color: #fff;
    border: 1px solid var(--c-dark);
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:hover {
    background: var(--c-dark-hover);
    border-color: var(--c-dark-hover);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(1px);
}

.btn[disabled],
.btn--disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

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

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

.btn--ghost {
    background: transparent;
    color: var(--c-dark);
    border: 1px solid var(--c-line-strong);
}

.btn--ghost:hover {
    background: #fff;
    border-color: var(--c-dark);
    box-shadow: none;
}

.btn--sm {
    padding: 8px 14px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 30px;
    font-size: 17px;
    border-radius: 10px;
}

/* ============================================================
   Шапка
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-dark);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

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

.header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
}

.header__logo {
    height: 27px;
    width: auto;
}

.header__caption {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    max-width: 210px;
    line-height: 1.35;
}

.header__nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.header__nav a {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.header__nav a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.header__phone {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: color .15s ease;
}

.header__phone svg {
    display: none;
}

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

.header__cta {
    padding: 10px 18px;
    font-size: 14px;
}

/* ============================================================
   Первый экран: широкий фото-баннер с текстом поверх затемнения
   (по образцу orwak.ru/your-business/)
   ============================================================ */
.hero {
    padding: 24px 0 0;
}

.hero__banner {
    position: relative;
    display: flex;
    min-height: 560px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--c-dark);
    box-shadow: var(--shadow-lift);
}

.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__img.--mob {
    display: none;
}

/* Затемнение слева направо: текст всегда читается поверх фото */
.hero__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    width: min(640px, 100%);
    padding: 48px 56px;
    background: linear-gradient(90deg, rgba(18, 21, 25, .92) 0%, rgba(18, 21, 25, .74) 52%, rgba(18, 21, 25, 0) 100%);
}

.hero__badge {
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
}

.hero__title {
    font-size: clamp(1.8rem, 1.2rem + 2.3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.015em;
    color: #fff;
    max-width: 560px;
}

.hero__sub {
    font-size: 1.06rem;
    color: rgba(255, 255, 255, .88);
    max-width: 500px;
}

.hero__cta {
    align-self: flex-start;
}

.hero__trust {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
    max-width: 480px;
}

.hero__trust strong {
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   Преимущества
   ============================================================ */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 14px;
}

.benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.benefits__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
}

.benefits__icon svg {
    width: 21px;
    height: 21px;
}

/* ============================================================
   Отраслевой переключатель (табы на радиокнопках, без JS)
   ============================================================ */
.tabs {
    position: relative;
}

/* Скрытые, но доступные с клавиатуры радиокнопки */
.tabs__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.tabs__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tabs__tab {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    background: #fff;
    border: 1px solid var(--c-line-strong);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
    user-select: none;
}

.tabs__tab:hover {
    border-color: var(--c-dark);
}

/* Активная вкладка */
#industry-1:checked ~ .tabs__labels label[for="industry-1"],
#industry-2:checked ~ .tabs__labels label[for="industry-2"],
#industry-3:checked ~ .tabs__labels label[for="industry-3"],
#industry-4:checked ~ .tabs__labels label[for="industry-4"],
#industry-5:checked ~ .tabs__labels label[for="industry-5"],
#industry-6:checked ~ .tabs__labels label[for="industry-6"] {
    background: var(--c-dark);
    color: #fff;
    border-color: var(--c-dark);
    box-shadow: inset 0 -3px 0 0 var(--accent);
}

/* Фокус с клавиатуры переносится на ярлык активной радиокнопки */
#industry-1:focus-visible ~ .tabs__labels label[for="industry-1"],
#industry-2:focus-visible ~ .tabs__labels label[for="industry-2"],
#industry-3:focus-visible ~ .tabs__labels label[for="industry-3"],
#industry-4:focus-visible ~ .tabs__labels label[for="industry-4"],
#industry-5:focus-visible ~ .tabs__labels label[for="industry-5"],
#industry-6:focus-visible ~ .tabs__labels label[for="industry-6"] {
    outline: 3px solid var(--accent-deep);
    outline-offset: 2px;
}

.tabs__panels {
    margin-top: 20px;
}

.panel {
    display: none;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

#industry-1:checked ~ .tabs__panels #tab-retail,
#industry-2:checked ~ .tabs__panels #tab-nonfood,
#industry-3:checked ~ .tabs__panels #tab-horeca,
#industry-4:checked ~ .tabs__panels #tab-warehouse,
#industry-5:checked ~ .tabs__panels #tab-production,
#industry-6:checked ~ .tabs__panels #tab-public {
    display: block;
}

.panel__title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.panel__pain {
    margin-top: 10px;
    color: var(--c-muted);
    max-width: 720px;
}

.panel__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
}

.panel__subtitle {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--c-muted);
    margin-bottom: 12px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chips__item {
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--c-bg-panel);
    border-radius: 999px;
}

/* «Сейчас → станет»: две половинки на контрастном фоне */
.panel__swap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.swap__now,
.swap__then {
    padding: 14px 16px;
    border-radius: var(--radius-s);
    font-size: 15px;
}

.swap__now {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
}

.swap__now p {
    color: var(--c-muted);
}

.swap__then {
    background: #fff;
    border: 1px solid var(--c-line-strong);
    box-shadow: inset 3px 0 0 0 var(--accent);
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
    font-size: 15px;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent);
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg) scale(.85);
}

/* Рекомендуемые линейки: ровные горизонтальные карточки-строки */
.panel__models {
    display: grid;
    gap: 10px;
}

.model {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.model:hover {
    background: #fff;
    border-color: var(--c-dark);
    box-shadow: var(--shadow);
}

.model img {
    flex: none;
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
}

.model__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.model__name {
    font-weight: 800;
    font-size: 15px;
}

.model__note {
    font-size: 13px;
    color: var(--c-muted);
}

.panel__models-note {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--c-muted);
}

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

/* ============================================================
   Подбор по типу отходов (аккордеон на <details>)
   ============================================================ */
.materials__quote {
    margin: 0;
    padding: 14px 20px;
    background: var(--c-bg-soft);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    color: var(--c-muted);
    font-size: 1.02rem;
}

.materials__list {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.mat {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.mat__summary {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    transition: background-color .15s ease;
}

.mat__summary::-webkit-details-marker {
    display: none;
}

.mat__summary:hover {
    background: var(--c-bg-soft);
}

.mat__name {
    font-weight: 800;
    font-size: 1.05rem;
    margin-right: auto
}

.mat__weight {
    margin-left: auto;
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-muted);
    background: var(--c-bg-panel);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.mat__chevron {
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--c-muted);
    border-bottom: 2px solid var(--c-muted);
    transform: rotate(45deg);
    transition: transform .15s ease;
}

details[open] .mat__chevron {
    transform: rotate(225deg);
}

.mat__body {
    padding: 4px 16px 16px;
    border-top: 1px solid var(--c-line);
}

.mat__body p {
    color: var(--c-muted);
    font-size: 15px;
    margin-top: 10px;
}

.mat__models strong {
    color: var(--c-text);
}

.mat__cta {
    margin-top: 14px;
}

/* ============================================================
   Линейки оборудования
   ============================================================ */
.lineup__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lineup {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

/* Картинки всегда внутри границ карточки; фиксированная высота блока с фото
   делает все карточки линейки одинаковыми по высоте */
.lineup__figure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 220px;
    background: var(--c-bg-soft);
    border-radius: var(--radius-s);
    padding: 14px;
    margin-bottom: 16px;
}

.lineup__figure--pair{
    min-height: 220px;
    height: auto;
}

.lineup__figure img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 192px;
    object-fit: contain;
}

/* Карточка расходников: два фото в одном фиксированном блоке */
.lineup__figure--pair img,
.lineup__img--second {
    max-height: 92px;
}

.lineup--wide {
    grid-column: span 3;
    flex-direction: row;
    gap: 22px;
    align-items: stretch;
}

.lineup--wide .lineup__figure {
    flex: 1;
    min-width: 0;
    height: auto;
    margin-bottom: 0;
}

.lineup--wide .lineup__figure img {
    width: 100%;
    max-height: none;
    height: auto;
}

.lineup__wide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.lineup__title {
    font-size: 1.18rem;
    font-weight: 800;
}

.lineup__purpose {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--c-muted);
}

/* Спеки в стиле даташита */
.lineup__specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.spec {
    background: var(--c-bg-soft);
    border-radius: var(--radius-s);
    padding: 8px 10px;
}

.spec dt {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--c-muted);
}

.spec dd {
    margin: 2px 0 0;
    font-weight: 800;
    font-size: 15.5px;
}

.lineup__cta {
    margin-top: auto;
}

.lineup--wide .lineup__cta {
    margin-top: 14px;
    align-self: flex-start;
}

/* ============================================================
   Как это работает
   ============================================================ */
.how__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: stretch;
}

/* Фото растягивается на высоту колонки шагов — без «пустого низа» */
.how__figure {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-bg-soft);
}

.how__figure img {
    flex: 1;
    width: 100%;
    min-height: 200px;
    object-fit: cover;
}

.how__figcaption {
    padding: 12px 16px;
    font-size: 13.5px;
    color: var(--c-muted);
}

.steps {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.step {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}

.step__num {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50%;
}

.step__title {
    font-size: 1.05rem;
    font-weight: 800;
}

.step__text {
    margin-top: 6px;
    font-size: 15px;
    color: var(--c-muted);
}

/* ============================================================
   Экономика
   ============================================================ */
.econ__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.econ {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.econ__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 14px;
}

.econ__icon svg {
    width: 21px;
    height: 21px;
}

.econ__title {
    font-size: 1.02rem;
    font-weight: 800;
}

.econ__text {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--c-muted);
}

/* ============================================================
   Доверие к бренду (светлая акцентная лента: тёплая оранжевая
   подложка, белые карточки, оранжевые цифры — не тёмная)
   ============================================================ */
.band {
    background: var(--accent-tint);
    border-top: 1px solid #f4dccc;
    border-bottom: 1px solid #f4dccc;
    padding: 56px 0;
}

.band__title {
    color: var(--c-text);
    font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

/* Три главные цифры — верхний уровень иерархии */
.band__hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.bstat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #f4dccc;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-s);
    box-shadow: var(--shadow);
}

.bstat__value {
    font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.bstat__label {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.45;
}

.band__subtitle {
    margin-top: 32px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--c-muted);
}

.band__certs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.cert {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #f4dccc;
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-s);
}

.cert__name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--c-text);
}

.cert__label {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.4;
}

.band__notes {
    margin-top: 24px;
}

.band__notes li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--c-text);
}

.band__notes li:last-child {
    margin-bottom: 0;
}

.band__notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent);
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg) scale(.9);
}

/* ============================================================
   Клиенты
   ============================================================ */
.clients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 15.5px;
    text-align: center;
}

/* ============================================================
   Финальная форма и контакты
   ============================================================ */
.final__grid {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 36px;
    align-items: stretch;
}

.form {
    display: grid;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__field {
    display: grid;
    gap: 6px;
}

.form__label {
    font-size: 13.5px;
    font-weight: 700;
}

.form__input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-s);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form__input:hover {
    border-color: var(--c-muted);
}

.form__input:focus {
    outline: none;
    border-color: var(--c-dark);
    box-shadow: 0 0 0 3px rgba(223, 81, 40, .35);
}

.form__input:disabled {
    background: var(--c-bg-soft);
    color: var(--c-muted);
    cursor: not-allowed;
}

.form__textarea {
    resize: vertical;
    min-height: 96px;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--c-muted);
    line-height: 1.5;
}

.form__consent a {
    color: var(--c-text);
    text-decoration: underline;
}

.form__consent a:hover {
    text-decoration-color: var(--accent-deep);
}

.form__checkbox {
    accent-color: var(--c-dark);
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
}

.form__submit {
    justify-self: start;
    padding: 14px 30px;
}

/* Контакты + карта заполняют высоту колонки */
.final__contacts {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.contacts__item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
}

.contacts__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
}

.contacts__icon svg {
    width: 20px;
    height: 20px;
}

.contacts__label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--c-muted);
}

.contacts__value {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 600;
}

.contacts__link {
    text-decoration: underline;
}

.contacts__link:hover {
    text-decoration-color: var(--accent-deep);
}

/* Заглушка карты: растягивается на оставшуюся высоту */
.map {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    min-height: 160px;
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
}

.map__icon {
    color: var(--c-muted);
}

.map__icon svg {
    width: 30px;
    height: 30px;
}

.map__text {
    font-weight: 700;
}

.map__note {
    font-size: 13px;
    color: var(--c-muted);
}

/* ============================================================
   Футер
   ============================================================ */
.footer {
    background: var(--c-dark);
    padding: 44px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
}

.footer__logo {
    height: 27px;
    width: auto;
    margin-bottom: 14px;
}

.footer__company {
    color: #fff;
    font-weight: 700;
    max-width: 320px;
}

.footer__note {
    margin-top: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
    max-width: 320px;
}

.footer__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 12px;
}

.footer__title--docs {
    margin-top: 20px;
}

.footer__reqs li {
    color: rgba(255, 255, 255, .8);
    font-size: 14.5px;
    margin-bottom: 3px;
}

.footer__addr {
    margin-top: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
    max-width: 300px;
}

.footer__contacts a {
    display: inline-block;
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.footer__contacts a:hover {
    color: var(--accent);
}

.footer__docs a {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    text-decoration: underline;
}

.footer__docs a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* ============================================================
   Cookie-баннер
   ============================================================ */
.cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    align-items: center;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    display: none;
}

.cookie.--active {
    display: flex;
}

.cookie__text {
    font-size: 13.5px;
    color: var(--c-muted);
}

.cookie__text a {
    color: var(--c-text);
    text-decoration: underline;
}

.cookie__actions {
    display: flex;
    gap: 10px;
    flex: none;
}

/* ============================================================
   Адаптив
   ============================================================ */

/* Ноутбуки и мелкие десктопы */
@media (max-width: 1199px) {
    .clients {
        grid-template-columns: repeat(3, 1fr);
    }

    .econ__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Планшеты */
@media (max-width: 1024px) {
    .lineup__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lineup--wide {
        grid-column: span 2;
        flex-direction: column;
    }

    .lineup--wide .lineup__figure {
        margin-bottom: 14px;
    }

    .lineup--wide .lineup__figure img {
        max-height: 200px;
    }
}

@media (max-width: 980px) {
    .section {
        padding: 52px 0;
    }

    .header__caption {
        display: none;
    }

    .header__nav {
        display: none;
    }

    .hero {
        padding: 20px 0 0;
    }

    .hero__banner {
        min-height: 500px;
    }

    /* Текст уходит вниз, затемнение — сверху вниз, фото остаётся видно сверху */
    .hero__overlay {
        width: 100%;
        padding: 40px 36px;
        justify-content: flex-end;
        background: linear-gradient(180deg, rgba(18, 21, 25, .15) 0%, rgba(18, 21, 25, .72) 55%, rgba(18, 21, 25, .93) 100%);
    }

    .hero__img {
        object-position: center right;
    }

    .panel__grid {
        grid-template-columns: 1fr;
    }

    .how__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .final__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer__grid .footer__col:first-child {
        grid-column: span 2;
    }

    .band {
        padding: 48px 0;
    }
}

/* Мобильные: одна колонка */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 44px 0;
    }

    .section__head {
        margin-bottom: 18px;
    }

    /* Шапка: телефон и кнопка в одну строку, без скролла */
    .header {
        --header-h: 64px;
    }

    .header__logo {
        height: 20px;
    }

    .header__inner {
        gap: 12px;
        justify-content: space-between;
    }

    .header__phone {
        font-size: 14px;
    }

    .header__phone svg {
        display: block;
    }

    .header__phone span {
        display: none;
    }

    .header__cta {
        padding: 9px 12px;
        font-size: 12.5px;
    }

    .btn--lg {
        padding: 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .hero {
        padding: 14px 0 0;
    }

    .hero__banner {
        min-height: 460px;
        border-radius: 12px;
    }

    .hero__overlay {
        padding: 28px 22px;
        gap: 14px;
    }

    .hero__sub {
        font-size: 1rem;
    }

    .hero__trust {
        font-size: 13.5px;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    /* Вкладки превращаются в вертикальный список */
    .tabs__labels {
        display: grid;
    }

    .tabs__tab {
        border-radius: var(--radius-s);
    }

    .panel {
        padding: 18px 16px;
    }

    .panel__swap {
        grid-template-columns: 1fr;
    }

    .materials__quote {
        font-size: .95rem;
    }

    /* Бейдж веса переносится в раскрытое тело на узких экранах? Нет — просто скрываем,
       данные остаются в раскрытом тексте карточки */
    .mat__weight {
        display: none;
    }

    .lineup__grid {
        grid-template-columns: 1fr;
    }

    .lineup--wide {
        grid-column: auto;
        flex-direction: column;
    }

    .lineup--wide .lineup__figure img {
        max-height: 180px;
        width: auto;
    }

    .lineup__figure img {
        max-height: 180px;
    }

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

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

    .band {
        padding: 40px 0;
    }

    .band__hero-stats {
        grid-template-columns: 1fr;
    }

    .band__subtitle {
        margin-top: 22px;
    }

    .final__grid {
        gap: 24px;
    }

    .form {
        padding: 18px 16px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .form__submit {
        justify-self: stretch;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid .footer__col:first-child {
        grid-column: auto;
    }

    .cookie {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie__actions {
        justify-content: space-between;
    }
}

/* Узкие мобильные */
@media (max-width: 480px) {
    .econ__grid {
        grid-template-columns: 1fr;
    }

    .clients {
        grid-template-columns: 1fr;
    }

    .lineup__figure img {
        max-height: 150px;
    }

    .hero__banner {
        min-height: 420px;
    }

    .hero__img {
        object-position: center;
        display: none;
    }

    .hero__img.--mob {
        display: block;
    }
}
