/**
 * OziaCar — палитра исходных внутренних страниц: графит и фирменный зелёный.
 * Видео, фотографии, композиция и поведение сохранены.
 */

:root {
    color-scheme: dark;
    --bg: #121212;
    --bg-deep: #121212;
    --bg-slate: #1b1f1d;
    --panel: #181b1a;
    --steel: #b4bdb9;
    --text: #f3f6f4;
    --muted: #b4bdb9;
    --accent: #19c173;
    --accent-bright: #34e393;
    --line: rgba(255, 255, 255, .14);
    --line-strong: rgba(255, 255, 255, .28);
    --head: "Jost", "Segoe UI", system-ui, sans-serif;
    --body: "Inter", "Segoe UI", system-ui, sans-serif;
    --wrap: 1240px;
    --wrap-gutter: clamp(20px, 3vw, 44px);
}

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/jost-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 18px/1.68 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #04140b; padding: 12px 18px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--wrap-gutter); }

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

.topbar {
    position: sticky; top: 0; z-index: 30;
    background: rgba(18, 18, 18, .82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 34px; height: 74px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
    width: 42px; height: 42px; flex: none; border-radius: 50%;
    display: grid; place-items: center; font: 600 16px/1 var(--head); letter-spacing: .04em;
    color: var(--text); background: #181b1a; border: 1.5px solid var(--accent);
}
.brand__text strong { display: block; font: 600 21px/1.1 var(--head); }
.brand__text small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.topbar__nav { display: flex; gap: 26px; font-size: 15.5px; color: var(--muted); }
.topbar__nav a:hover { color: var(--text); }
.topbar__side { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13px; letter-spacing: .16em; color: var(--muted); }

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 600 16px/1 var(--head); padding: 16px 28px; border-radius: 2px;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .25s, border-color .25s, color .25s;
}
.btn--sm { padding: 12px 20px; font-size: 14.5px; }
.btn--solid { background: var(--accent); color: #04140b; }
.btn--solid:hover { background: var(--accent-bright); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--steel); }

/* ------------------------------------------------------------------ секции */

.sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; scroll-margin-top: 86px; }
.sec--deep { background: var(--bg-deep); }
.sec--slate { background: var(--bg-slate); }

.eyebrow {
    margin: 0 0 18px; font: 600 12.5px/1 var(--body);
    letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
    display: flex; align-items: center; gap: 14px;
}
.eyebrow::after { content: ""; height: 1px; width: 52px; background: currentColor; opacity: .5; }

h1 { margin: 0 0 22px; font: 500 clamp(34px, 3.9vw, 56px)/1.08 var(--head); letter-spacing: -.015em; max-width: 15ch; }
h2 { margin: 0 0 20px; font: 500 clamp(28px, 3.2vw, 46px)/1.1 var(--head); letter-spacing: -.012em; }
h3 { margin: 0 0 10px; font: 600 19px/1.32 var(--head); }
p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }
.lead { font-size: 20px; color: #b4bdb9; }
.note { font-size: 15.5px; color: var(--muted); padding-left: 18px; border-left: 2px solid var(--accent); }
.row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
mark { background: none; color: var(--text); }
strong.accent { color: var(--accent-bright); font-weight: 600; }

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

.hero { position: relative; overflow: hidden; scroll-margin-top: 86px; background:
    radial-gradient(120% 95% at 78% 42%, rgba(25, 193, 115, .10), transparent 58%),
    linear-gradient(180deg, #121212 0%, var(--bg) 70%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 660px); gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(60px, 7vw, 104px) 0 clamp(52px, 6vw, 88px); }




.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 34px 0 0; }
.chips li { font-size: 13.5px; color: #b4bdb9; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }

/* показатели */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 30px 24px 34px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 500 clamp(24px, 2.3vw, 32px)/1 var(--head); color: var(--text); white-space: nowrap; }
.facts dd { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* -------------------------------------------------------------- сравнение */

/* На узком экране таблица прокручивается внутри своей рамки, а не ломает страницу. */
.cmp-scroll { margin-top: 40px; overflow-x: auto; }
.cmp { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line-strong); }
.cmp td:first-child { color: var(--muted); width: 24%; }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ шаги */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 54px; position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step__n { position: relative; display: inline-block; padding-right: 12px; background: var(--bg); font: 600 13px/1 var(--head); letter-spacing: .1em; color: var(--accent); }
.sec--deep .step__n { background: var(--bg-deep); }
.sec--slate .step__n { background: var(--bg-slate); }
.step h3 { margin-top: 20px; font-size: 18px; }
.step p { font-size: 15px; margin: 0; }

/* недельный цикл */
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.day { border: 1px solid var(--line); padding: 32px 30px 36px; background: linear-gradient(180deg, rgba(25, 193, 115, .05), transparent 70%); }
.day__n { font: 600 12px/1 var(--head); letter-spacing: .2em; color: var(--accent); }
.day h3 { margin-top: 16px; font-size: 26px; font-weight: 500; }
.day p { margin: 12px 0 0; font-size: 15.5px; }
.route { margin: 34px 0 0; }
.route svg { width: 100%; max-width: 560px; height: auto; }
.route circle { fill: var(--accent); }
.route text { fill: var(--muted); font: 400 12px var(--body); }

/* ------------------------------------------------------------ две колонки */

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.media figure { margin: 0; }
.media img { border: 1px solid var(--line); filter: saturate(.72) contrast(1.04) brightness(.92); }
.media figcaption { margin-top: 14px; font-size: 15.5px; color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 26px 0; }
.checks li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16.5px; }
.checks li::before {
    content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 6px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.panel { border: 1px solid var(--line); background: var(--panel); }
.panel__bar { display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #161918; }
.panel__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.panel__url { margin-left: 8px; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); }
.panel__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15.5px; }
.badge { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge--on { color: var(--accent); border-color: rgba(25, 193, 115, .45); }
.panel__foot { padding: 13px 18px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------- доверие и вопросы */

.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 40px; }
.trust > div { padding: 24px 0; border-top: 1px solid var(--line); }
.trust p { font-size: 15.5px; margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 36px; }
.faq__i { padding: 22px 0; border-top: 1px solid var(--line); }
.faq__q { font: 600 16.5px/1.4 var(--head); display: flex; gap: 12px; }
.faq__q::before { content: "—"; color: var(--accent); }
.faq__a { margin: 10px 0 0 24px; font-size: 15.5px; color: var(--muted); }

/* ------------------------------------------------------------------ призыв */

.cta { background:
    radial-gradient(90% 140% at 50% 0%, rgba(25, 193, 115, .12), transparent 60%),
    var(--bg-deep); text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { margin-inline: auto; }
.cta .row { justify-content: center; }

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

.footer { background: #121212; border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr .8fr .9fr .8fr; gap: 44px; }
.footer__about { margin: 14px 0; font-size: 14.5px; max-width: 42ch; }
.footer__mail { color: var(--accent); }
.footer h2 { font: 600 12px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover, .footer [aria-current] { color: var(--text); }
.footer__legal { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__legal address { font-style: normal; line-height: 1.7; }
.footer__legal ul { grid-template-columns: repeat(4, auto); display: grid; gap: 18px 34px; }
.footer__legal li:last-child { grid-column: 1 / -1; }
.footer__legal span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__legal b { font-weight: 500; }
.footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__bottom p { max-width: none; margin: 0 0 8px; }

/* ---------------------------------------------------------------- появление */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .62s ease, transform .62s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- узкие экраны */

@media (max-width: 1100px) {
    .hero__in { grid-template-columns: 1fr; }
    .facts { grid-template-columns: repeat(3, 1fr); }
    .facts > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .three, .week, .cols, .trust, .faq { grid-template-columns: 1fr; }
    .three > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 17px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .facts dt { white-space: normal; }
    .steps { grid-template-columns: 1fr; }
    .cmp { font-size: 14.5px; }
    .cmp th, .cmp td { padding: 13px 10px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__legal ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .topbar__in { height: 62px; gap: 12px; }
    .brand__text small { display: none; }
    .lang { display: none; }
    .topbar .btn--sm { padding: 10px 14px; font-size: 13px; }
    .footer__legal ul { grid-template-columns: 1fr; }
}


/* ======================================================= фильм как основа */

/* Ролик лежит под содержимым на весь экран; прокрутка двигает его время. */
.film-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg-deep); }
.film-stage video,
.film-stage .film-poster {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity .8s ease;
}
.film-stage.is-ready video { opacity: 1; }
.film-stage.is-static .film-poster { opacity: 1; }
.film-stage.is-ready .film-poster { display: none; }

/* Затемнение: слева плотное — под текст, справа почти чистый кадр. */
.film-stage::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(18, 18, 18, .94) 0%, rgba(18, 18, 18, .86) 34%, rgba(18, 18, 18, .42) 62%, rgba(18, 18, 18, .18) 100%),
        linear-gradient(180deg, rgba(18, 18, 18, .72) 0%, rgba(18, 18, 18, .12) 26%, rgba(18, 18, 18, .18) 72%, rgba(18, 18, 18, .78) 100%);
}

.film-loader {
    position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); z-index: 2;
    font: 500 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.film-loader b { color: var(--accent); font-weight: 600; }

/* Содержимое поверх фильма: секции полупрозрачны слева и чисты справа. */
.topbar, main, .footer, .film-hud { position: relative; z-index: 2; }
.hero { background: none; }
.sec { background: linear-gradient(90deg, rgba(18, 18, 18, .90) 0%, rgba(18, 18, 18, .84) 40%, rgba(18, 18, 18, .35) 64%, rgba(18, 18, 18, 0) 82%); }
.sec--deep { background: linear-gradient(90deg, rgba(18, 18, 18, .94) 0%, rgba(18, 18, 18, .88) 40%, rgba(18, 18, 18, .38) 64%, rgba(18, 18, 18, 0) 82%); }
.sec--slate { background: linear-gradient(90deg, rgba(27, 31, 29, .92) 0%, rgba(27, 31, 29, .86) 40%, rgba(27, 31, 29, .36) 64%, rgba(27, 31, 29, 0) 82%); }
.cta { background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, .62) 34%, rgba(18, 18, 18, .94) 100%); }
.footer { background: #121212; }

/* Главы фильма внизу экрана. */
.film-hud {
    position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 25;
    width: min(620px, calc(100vw - 32px)); opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.film-hud.is-visible { opacity: 1; }
.film-hud__steps { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.film-hud__step {
    font: 500 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
    color: rgba(138, 148, 143, .55); transition: color .35s ease;
}
.film-hud__step.is-current { color: var(--accent); }
.film-hud__bar { height: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.film-hud__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Широкий экран: текст в левой колонке, кадр остаётся открытым справа. */
@media (min-width: 1101px) {
    .sec .wrap > *, .sec .wrap > .cmp-scroll { max-width: 560px; }
    .sec .trust, .sec .faq, .sec .cols, .sec .media, .sec .week { grid-template-columns: 1fr; }
    .sec .steps { grid-template-columns: repeat(2, 1fr); }
    .sec .steps::before { display: none; }
    .sec .step__n { background: none; padding-right: 0; }
    .cmp { min-width: 0; }
    .hero__in { grid-template-columns: minmax(0, 620px); }
    .cta .wrap > * { max-width: 620px; margin-inline: auto; }
}

/* Узкий экран: фильм не грузим, остаётся кадр и обычная колонка. */
@media (max-width: 1100px) {
    .hero__in { padding-inline: var(--wrap-gutter); }
    .film-stage::after {
        background:
            linear-gradient(180deg, rgba(18, 18, 18, .80) 0%, rgba(18, 18, 18, .55) 40%, rgba(18, 18, 18, .92) 100%);
    }
    .sec, .sec--deep, .sec--slate { background: rgba(18, 18, 18, .93); }
    .sec .wrap > *, .sec .wrap > .cmp-scroll { max-width: none; }
    .film-hud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .film-stage video, .film-stage .film-poster { transition: none; }
}

/* Главы кликабельны: переход к нужному разделу. */
.film-hud { pointer-events: auto; }
.film-hud__step {
    background: none; border: 0; padding: 4px 2px; cursor: pointer;
    font-family: var(--body);
}
.film-hud__step:hover { color: var(--text); }

/* ====================================================== меню и новые блоки */

/* Меню закреплено сверху: position: sticky заменён на fixed, чтобы оно
   оставалось на месте и поверх кадра фильма. */
.topbar { position: fixed; inset: 0 0 auto; }
body { padding-top: 74px; }

.lang { display: flex; gap: 10px; align-items: center; font-size: 12.5px; letter-spacing: .08em; }
.lang a { color: var(--muted); padding: 4px 2px; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: var(--accent); font-weight: 600; }
.topbar__nav a.is-active { color: var(--accent); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: none; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 3.5px auto; }
.topbar__mobile { border-top: 1px solid var(--line); background: rgba(18, 18, 18, .96); padding: 14px clamp(20px, 3vw, 44px) 20px; }
.topbar__mobile nav { display: grid; gap: 2px; }
.topbar__mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.topbar__mobile-lang { margin-top: 12px; }
.topbar__mobile-lang a { color: var(--muted); font-size: 14.5px; padding: 9px 0; }
.topbar__mobile-lang a[aria-current] { color: var(--accent); }
body.is-menu-open { overflow: hidden; }

/* Бренд-фокус */
.brands { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.brands li { border: 1px solid var(--line); padding: 18px 18px 16px; background: rgba(24, 27, 26, .55); }
.brands b { display: block; font: 600 18px/1.2 var(--head); }
.brands span { display: block; margin: 6px 0 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brands a { font-size: 14px; color: var(--accent); border-bottom: 1px solid rgba(25, 193, 115, .4); padding-bottom: 2px; }

/* Направления работы */
.direction { border-top: 1px solid var(--line); padding: 26px 0 8px; }
.direction h3 { font-size: 22px; }
.direction ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 9px; }
.direction li { position: relative; padding-left: 22px; font-size: 16px; color: var(--muted); }
.direction li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 1px; background: var(--accent); }
.direction__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Преимущества портала */
.features { display: grid; gap: 0; margin: 28px 0 8px; }
.features > div { padding: 20px 0; border-top: 1px solid var(--line); }
.features h3 { font-size: 18px; }
.features p { font-size: 15.5px; margin: 8px 0 0; }

/* Форма заявки */
.lead-form { margin: 30px 0 24px; display: grid; gap: 16px; max-width: 560px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: block; font-size: 13.5px; letter-spacing: .04em; color: var(--muted); }
.lead-form label small { color: rgba(138, 148, 143, .7); }
.lead-form input, .lead-form textarea {
    display: block; width: 100%; margin-top: 7px;
    font: 400 16px/1.4 var(--body); color: var(--text);
    background: rgba(24, 27, 26, .72); border: 1px solid var(--line-strong); border-radius: 2px; padding: 12px 14px;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-form__note { font-size: 13px; color: var(--muted); margin: 0; }
.lead-form__draft { font-size: 12.5px; color: rgba(138, 148, 143, .8); margin: 4px 0 0; }
.lead-form code { font-size: 12px; color: var(--accent); }

@media (max-width: 1100px) {
    .topbar__nav, .lang { display: none; }
    .burger { display: block; }
    .lead-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    body { padding-top: 62px; }
}

.topbar{z-index:30}


/* HOME-TONE-003: one stationary tone over the film, without section-sized panels.
   Keep the same graphite on every homepage section and in the footer.
   The film's own exposure/cuts still belong to the footage. */
.ozh-home {
    --film-overlay: linear-gradient(90deg,
        rgba(18, 18, 18, .94) 0%,
        rgba(18, 18, 18, .91) 40%,
        rgba(18, 18, 18, .84) 70%,
        rgba(18, 18, 18, .82) 100%);
}
.ozh-home .film-stage::after { background: var(--film-overlay); }
.ozh-home .hero,
.ozh-home .sec,
.ozh-home .footer { background: transparent; }

/* HOME-LAYOUT-005: shared homepage grid, readable copy, existing film and theme. */
.ozh-home {
    --copy-measure: 64ch;
    --layout-gap: clamp(24px, 3vw, 44px);
    --home-header-h: 68px;
}
@media (min-width: 1600px) {
    .ozh-home { --wrap: 1400px; --home-header-h: 76px; }
}
.ozh-home .hero__in {
    display: block;
    padding-inline: var(--wrap-gutter);
}
.ozh-home .hero__in > div { max-width: 900px; }
.ozh-home .hero h1 { max-width: 23ch; }
.ozh-home main p { max-width: var(--copy-measure); }
.ozh-home main h2 { max-width: 28ch; }
.ozh-home .sec .wrap > * { max-width: none; }
.ozh-home .sec .wrap > p { max-width: var(--copy-measure); }
.ozh-home .sec .wrap > h2 { max-width: 28ch; }
.ozh-home .home-about__heading,
.ozh-home .home-about__copy,
.ozh-home .home-contact__copy,
.ozh-home .direction > div { min-width: 0; }
.ozh-home .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--layout-gap);
    margin: 24px 0 0;
}
.ozh-home .facts > div { padding: 24px 0 0; border-left: 0; min-width: 0; }
.ozh-home .facts dt { white-space: normal; }
.ozh-home .facts dd { overflow-wrap: anywhere; }
.ozh-home .brands {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.ozh-home .brands li { min-width: 0; }
.ozh-home .brands a { overflow-wrap: anywhere; }
.ozh-home #parts .direction { margin-top: 32px; }
.ozh-home .direction p:last-child { margin-bottom: 0; }
.ozh-home .direction__cta { max-width: none; }
.ozh-home .features { gap: var(--layout-gap); }
.ozh-home .features > div { min-width: 0; }
.ozh-home #portal .checks { display: grid; gap: 0 var(--layout-gap); }
.ozh-home .cta { text-align: left; }
.ozh-home .cta h2,
.ozh-home .cta p,
.ozh-home .cta .wrap > * { margin-inline: 0; }
.ozh-home .cta .row { justify-content: flex-start; }
.ozh-home .cta .lead-form { max-width: none; width: 100%; margin-top: 0; }
.ozh-home .home-contact__copy { margin-bottom: 32px; }
.ozh-home .home-contact__copy .note { margin-top: 24px; }
.ozh-home .lead-form__row { grid-template-columns: 1fr; }
.ozh-home .lead-form .row { margin-top: 8px; }

@media (min-width: 768px) {
    .ozh-home #import .wrap,
    .ozh-home .features,
    .ozh-home #portal .checks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--layout-gap);
    }
    .ozh-home .features,
    .ozh-home #portal .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ozh-home .lead-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .ozh-home #about .wrap {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 32px var(--layout-gap);
        align-items: start;
    }
    .ozh-home #about .facts { grid-column: 1 / -1; margin-top: 0; }
    .ozh-home #parts .direction {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--layout-gap);
    }
    .ozh-home #parts .direction ul { margin-top: 0; }
}
@media (min-width: 1000px) {
    .ozh-home .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ozh-home #contact .wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: var(--layout-gap);
        align-items: start;
    }
    .ozh-home .home-contact__copy { margin-bottom: 0; }
}
/* Wide content needs a reserved navigation band, not a floating bar over copy. */
@media (min-width: 1101px) {
    .ozh-home main { padding-top: 54px; }
    .ozh-home .film-hud {
        top: var(--home-header-h);
        bottom: auto;
        left: 0;
        transform: none;
        width: 100%;
        padding: 12px var(--wrap-gutter);
        background: var(--bg);
        border-bottom: 1px solid var(--line);
    }
    .ozh-home .film-hud__steps,
    .ozh-home .film-hud__bar {
        max-width: calc(var(--wrap) - 2 * var(--wrap-gutter));
        margin-inline: auto;
    }
    .ozh-home .hero,
    .ozh-home .sec { scroll-margin-top: calc(var(--home-header-h) + 70px); }
}
