:root {
    --black: #111310;
    --graphite: #1a1d19;
    --green: #58634d;
    --acid: #d9ef52;
    --sand: #d5cfbf;
    --light: #f2f0e9;
    --white: #ffffff;
    --line: rgba(17, 19, 16, .14);
    --radius: 3px;
    --max-width: 1440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--black);
    background: var(--light);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 50%;
    width: min(calc(100% - 64px), var(--max-width));
    height: 92px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: max-content;
}

.brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--black);
    background: var(--acid);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.brand__name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .12em;
}

.main-nav {
    display: flex;
    gap: 34px;
    font-size: 13px;
}

.main-nav a,
.site-footer a {
    transition: opacity .2s ease;
}

.main-nav a:hover,
.site-footer a:hover {
    opacity: .6;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.icon-button {
    color: inherit;
    background: transparent;
    border: 0;
    font-size: 27px;
    cursor: pointer;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.cart-link span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--black);
    background: var(--acid);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 7, .72) 0%,
            rgba(7, 9, 7, .42) 38%,
            rgba(7, 9, 7, .08) 68%,
            rgba(7, 9, 7, 0) 100%
        ),
        url('/assets/images/brand/hero-atv-main.jpg')
        center center / cover no-repeat;
}



.hero__texture {
    position: absolute;
    inset: 0;
    opacity: .25;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero__content {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 64px), var(--max-width));
    margin: 0 auto;
    padding-top: 225px;
}

.eyebrow {
    margin: 0 0 28px;
    color: var(--acid);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.eyebrow--dark {
    color: #667150;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 850px;
    margin-bottom: 30px;
    font-size: clamp(56px, 6.8vw, 106px);
    line-height: .91;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

h1 span {
    display: block;
    color: var(--sand);
    font-weight: 400;
}

.hero__lead {
    max-width: 570px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, .71);
    font-size: 18px;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 27px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    color: var(--black);
    background: var(--acid);
}

.button--ghost {
    color: var(--white);
    border-color: rgba(255,255,255,.35);
}

.button--dark {
    color: var(--white);
    background: var(--black);
}

.hero__spec {
    position: absolute;
    z-index: 5;
    right: 4%;
    bottom: 35px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px 20px;
    align-items: end;
    font-size: 9px;
    letter-spacing: .15em;
}

.hero__spec strong {
    grid-row: span 2;
    font-size: 57px;
    line-height: .8;
}

.selection,
.catalog-section,
.video-section,
.delivery {
    width: min(calc(100% - 64px), var(--max-width));
    margin: 0 auto;
}

.selection {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
    padding: 105px 0;
    border-bottom: 1px solid var(--line);
}

.selection h2,
.section-heading h2,
.terrain h2,
.video-copy h2,
.delivery h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 4.5vw, 68px);
    line-height: .98;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

.selection p {
    max-width: 460px;
    color: #66695f;
    line-height: 1.6;
}

.selection-form {
    align-self: end;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
}

.selection-form label {
    display: grid;
    gap: 10px;
}

.selection-form label span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.selection-form input,
.selection-form select {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    outline: none;
}

.catalog-section {
    padding: 110px 0 130px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.text-link {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--black);
    font-size: 13px;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-card {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    color: var(--white);
    border-radius: var(--radius);
    background: #252a22;
    transition: transform .25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card::before {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -145px;
    width: 380px;
    height: 380px;
    border: 52px solid rgba(0, 0, 0, .38);
    border-radius: 50%;
}

.category--utv {
    background: #5e6654;
}

.category--sets {
    color: var(--black);
    background: #d3cfbf;
}

.category--trailer {
    background: #171916;
}

.category-card__number {
    position: relative;
    z-index: 2;
    color: var(--acid);
    font-size: 11px;
    font-weight: 800;
}

.category--sets .category-card__number {
    color: #65704f;
}

.category-card div {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.category-card h3 {
    margin-bottom: 16px;
    font-size: 44px;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.category-card p {
    min-height: 50px;
    color: rgba(255,255,255,.68);
    line-height: 1.5;
}

.category--sets p {
    color: rgba(0,0,0,.6);
}

.category-card__link {
    display: inline-block;
    margin-top: 25px;
    font-size: 12px;
    font-weight: 800;
}

.terrain {
    min-height: 670px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 80px;
    padding: 100px max(32px, calc((100vw - var(--max-width)) / 2));
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(10,12,9,.94), rgba(16,20,14,.48)),
        linear-gradient(135deg, #20251d, #687259);
}

.terrain__content {
    max-width: 720px;
}

.terrain__content p:not(.eyebrow) {
    max-width: 570px;
    margin-bottom: 34px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.6;
}

.terrain__types {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.28);
}

.terrain__types span {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    font-size: 14px;
    text-transform: uppercase;
}

.advantages {
    width: min(calc(100% - 64px), var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 115px 0;
}

.advantages article {
    min-height: 235px;
    padding: 0 42px;
    border-right: 1px solid var(--line);
}

.advantages article:first-child {
    padding-left: 0;
}

.advantages article:last-child {
    border-right: 0;
}

.advantages article > span {
    color: #6a7455;
    font-size: 11px;
    font-weight: 800;
}

.advantages h3 {
    margin: 70px 0 15px;
    font-size: 24px;
}

.advantages p {
    max-width: 310px;
    color: #676a61;
    line-height: 1.55;
}

.video-section {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 70px;
    align-items: center;
    padding-bottom: 130px;
}

.video-placeholder {
    min-height: 520px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 20px;
    color: var(--white);
    background:
        radial-gradient(circle at center, rgba(217,239,82,.16), transparent 25%),
        linear-gradient(135deg, #121511, #41493a);
}

.video-placeholder .play {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    padding-left: 5px;
    color: var(--black);
    background: var(--acid);
    border-radius: 50%;
}

.video-placeholder p {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.video-copy p:not(.eyebrow) {
    color: #64675e;
    line-height: 1.65;
}

.delivery {
    margin-bottom: 90px;
    padding: 80px;
    color: var(--white);
    background: var(--green);
}

.delivery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,.25);
}

.delivery__grid div {
    display: grid;
    gap: 10px;
    padding: 25px 25px 0 0;
}

.delivery__grid strong {
    font-size: 16px;
}

.delivery__grid span {
    color: rgba(255,255,255,.63);
    font-size: 13px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding: 75px max(32px, calc((100vw - var(--max-width)) / 2));
    color: var(--white);
    background: var(--black);
}

.site-footer > div {
    display: grid;
    align-content: start;
    gap: 13px;
}

.site-footer p,
.site-footer a,
.site-footer span:not(.brand__name) {
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

@media (max-width: 950px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero::before,
    .hero::after {
        right: -190px;
        opacity: .7;
    }

    .selection,
    .video-section {
        grid-template-columns: 1fr;
    }

    .selection-form {
        grid-template-columns: 1fr 1fr;
    }

    .selection-form button {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .site-header,
    .hero__content,
    .selection,
    .catalog-section,
    .advantages,
    .video-section,
    .delivery {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .site-header {
        height: 72px;
    }

    .brand__name {
        font-size: 13px;
    }

    .icon-button {
        display: none;
    }

    .cart-link {
        font-size: 0;
    }

    .hero {
        min-height: 720px;
    }

    .hero__content {
        padding-top: 165px;
    }

    h1 {
        font-size: 48px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .hero__spec {
        display: none;
    }

    .selection,
    .catalog-section {
        padding: 75px 0;
    }

    .selection-form,
    .category-grid,
    .advantages,
    .delivery__grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .selection-form button {
        grid-column: auto;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 25px;
    }

    .category-card {
        min-height: 340px;
    }

    .terrain {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 80px 20px;
    }

    .advantages {
        gap: 45px;
        padding: 75px 0;
    }

    .advantages article,
    .advantages article:first-child {
        min-height: auto;
        padding: 0 0 35px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .advantages h3 {
        margin-top: 25px;
    }

    .video-placeholder {
        min-height: 360px;
    }

    .delivery {
        padding: 55px 25px;
    }

    .site-footer {
        padding: 55px 25px;
    }
}

/* Category image: ATV */
.category-card.category--atv {
    background:
        linear-gradient(
            180deg,
            rgba(8, 10, 8, .12) 0%,
            rgba(8, 10, 8, .28) 42%,
            rgba(8, 10, 8, .94) 100%
        ),
        url('/assets/images/catalog/category-atv.png')
        center center / cover no-repeat;
}

.category-card.category--atv::before {
    display: none;
}

/* Фото категории ATV */
.category-card.category--atv {
    background:
        linear-gradient(
            180deg,
            rgba(8, 10, 8, .10) 0%,
            rgba(8, 10, 8, .24) 42%,
            rgba(8, 10, 8, .94) 100%
        ),
        url('/assets/images/category-atv-v1.png')
        center center / cover no-repeat;
}

.category-card.category--atv::before {
    display: none;
}

/* Фото категории UTV / SxS */
.category-card.category--utv {
    background:
        linear-gradient(
            180deg,
            rgba(7, 9, 7, .08) 0%,
            rgba(7, 9, 7, .20) 40%,
            rgba(7, 9, 7, .94) 100%
        ),
        url('/assets/images/category-utv-sxs-v1.png')
        center center / cover no-repeat;
}

.category-card.category--utv::before {
    display: none;
}

/* Фото категории: комплекты шин */
.category-card.category--sets {
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            rgba(7, 9, 7, .06) 0%,
            rgba(7, 9, 7, .18) 42%,
            rgba(7, 9, 7, .95) 100%
        ),
        url('/assets/images/category-atv-sets-v1.png')
        center center / cover no-repeat;
}

.category-card.category--sets::before {
    display: none;
}

.category-card.category--sets .category-card__number {
    color: var(--acid);
}

.category-card.category--sets p {
    color: rgba(255, 255, 255, .70);
}

/* Фото категории: шины для прицепов */
.category-card.category--trailer {
    background:
        linear-gradient(
            180deg,
            rgba(7, 9, 7, .16) 0%,
            rgba(7, 9, 7, .20) 38%,
            rgba(7, 9, 7, .96) 100%
        ),
        url('/assets/images/category-atv-trailer-v1.png')
        center center / cover no-repeat;
}

.category-card.category--trailer::before {
    display: none;
}

/* Светлый технический блок подбора по грунту */
.terrain {
    color: #111310;
    background: #d8d4c8;
}

.terrain .eyebrow {
    color: #596447;
}

.terrain__content p:not(.eyebrow) {
    color: rgba(17, 19, 16, .68);
}

.terrain__types {
    border-top-color: rgba(17, 19, 16, .25);
}

.terrain__types span {
    border-bottom-color: rgba(17, 19, 16, .25);
    transition:
        padding-left .25s ease,
        color .25s ease,
        background .25s ease;
}

.terrain__types span:hover {
    padding-left: 18px;
    color: #111310;
    background: rgba(255, 255, 255, .23);
}

.terrain .button--light {
    color: #111310;
    background: #d9ef52;
}

/* HEADER BRAND FIX */
.site-header{grid-template-columns:minmax(320px,1fr) auto minmax(210px,1fr);column-gap:28px}
.brand{display:flex;align-items:center;gap:14px;width:max-content;text-decoration:none}
.brand__logo{display:block;width:64px;height:64px;object-fit:contain;flex:0 0 64px;filter:drop-shadow(0 5px 12px rgba(0,0,0,.35))}
.brand__text{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.brand__name{display:block;color:#fff;font-size:17px;font-weight:900;line-height:1;letter-spacing:.14em;white-space:nowrap}
.brand__subtitle{display:block;color:#d9ef52;font-size:8px;font-weight:800;line-height:1.15;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
@media(max-width:1200px){.site-header{grid-template-columns:auto 1fr auto}.main-nav{gap:20px}.brand__subtitle{display:block}}
@media(max-width:950px){.brand__subtitle{display:block}}
@media(max-width:700px){.brand__logo{width:48px;height:48px;flex-basis:48px}.brand__name{font-size:14px}.brand__subtitle{font-size:7px;letter-spacing:.06em}}
