:root {
    --primary: #1960ae;
    --primary-hover: #0659b1;
    --text: #151516;
    --muted: #54595c;
    --surface: #f5f8fc;
    --accent: #0056b3;
    --line: #e4ebf3;
    --footer: #0e2a45;
    --white: #fff;
    --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .04);
    --radius: 1rem;
    --wrap: 80rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}

img { max-width: 100%; }

a { color: var(--accent); }

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

h1, h2, h3 { line-height: 1.2; }

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

h3 { font-size: 1.05rem; margin-bottom: .4rem; }

p { color: var(--muted); }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--white);
    padding: .5rem 1rem;
    z-index: 20;
}

.skip:focus { top: 1rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2rem));
    margin-inline: auto;
}

.wrap--narrow { width: min(52rem, calc(100% - 2rem)); }

.promo {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: .55rem 1rem;
}

.promo p { margin: 0; color: var(--white); font-size: .92rem; }

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--text);
    text-decoration: none;
    margin-right: auto;
}

.logo__mark {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: .75rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.logo__title, .logo__sub { display: block; }

.logo__title { font-weight: 700; }

.logo__sub {
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav, .header__side { display: none; }

.nav { gap: 1rem; }

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
}

.header__contacts { text-align: right; }

.header__phone, .footer__phone {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.header__mail, .footer__mail {
    color: var(--muted);
    font-size: .8rem;
    text-decoration: none;
}

.burger {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    display: grid;
    gap: .3rem;
    align-content: center;
    justify-items: end;
    cursor: pointer;
}

.burger__line {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: var(--text);
}

.burger__line--short { width: 1rem; }

.mobile {
    border-top: 1px solid var(--line);
    padding-bottom: 1rem;
}

.mobile__inner {
    display: grid;
    gap: .7rem;
    padding-top: .8rem;
}

.mobile a { color: var(--text); text-decoration: none; font-weight: 600; }

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: .7rem 1.3rem;
    border: 0;
}

.btn:hover { background: var(--primary-hover); }

.btn--light { background: var(--white); color: var(--primary); }

.btn--light:hover { background: #eaf3fb; }

.btn--small { padding: .45rem 1rem; font-size: .92rem; }

.hero {
    background: linear-gradient(135deg, #0659b1 0%, #1960ae 42%, #2a7fd4 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero h1, .hero p, .hero li { color: inherit; }

.hero__lead { font-size: 1.25rem; font-weight: 650; margin-bottom: .4rem; }

.hero__text { max-width: 36rem; color: #d6e6f8; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 1.4rem 0;
}

.hero__price span { font-size: 1.8rem; font-weight: 800; }

.hero__price s { margin-left: .4rem; color: #c5d9ef; }

.hero__price { margin: 0; }

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: .25rem .8rem;
    font-size: .8rem;
    font-weight: 700;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.checks li::before { content: "✓ "; }

.hero__art { display: none; }

.hero__sheet, .hero__chip {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1.2rem;
}

.hero__sheet {
    width: 16rem;
    min-height: 18rem;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    gap: .4rem;
}

.hero__chip {
    position: absolute;
    left: 11rem;
    bottom: 1.4rem;
    padding: 1.2rem;
    font-weight: 700;
}

.search { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }

.search__box input, .field input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: .9rem 1.1rem;
    font: inherit;
    color: var(--text);
}

.search__box input:focus, .field input:focus {
    outline: 2px solid rgba(25, 96, 174, .35);
    border-color: var(--primary);
}

.section { padding: 4rem 0; }

.section--surface { background: var(--surface); }

.section__head { text-align: center; margin-bottom: 2rem; }

.section__head p { max-width: 40rem; margin-inline: auto; }

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
}

.card--flat { background: var(--surface); box-shadow: none; }

.section--surface .card--flat, .section--surface .card { background: var(--white); }

.card--wide { gap: .8rem; }

.card p:last-child { margin-bottom: 0; }

.card__meta { color: var(--primary); font-weight: 700; font-size: .85rem; margin-bottom: .3rem; }

.card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
    padding-top: 1rem;
}

.card__price { margin: 0; color: var(--text); }

.card__price span { font-weight: 800; font-size: 1.15rem; }

.card__price s { color: var(--muted); margin-left: .3rem; }

.list { margin: 0; padding-left: 1.1rem; color: var(--muted); }

.list li + li { margin-top: .4rem; }

.steps { list-style: none; padding: 0; margin: 0; }

.step {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    margin-bottom: .7rem;
}

.step--soft { background: rgba(25, 96, 174, .12); color: var(--primary); }

.tiers { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

.tier {
    background: var(--surface);
    border-radius: .8rem;
    padding: .7rem .9rem;
    text-align: center;
    margin: 0;
}

.tier span { display: block; color: var(--muted); font-size: .85rem; }

.tier strong { color: var(--primary); font-size: 1.2rem; }

.field { display: grid; gap: .35rem; margin-top: 1rem; }

.field span { font-weight: 650; color: var(--text); }

.calc__result { color: var(--text); font-weight: 700; }

.about {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }

.pills li {
    background: var(--white);
    border-radius: 999px;
    padding: .35rem .8rem;
    box-shadow: var(--shadow);
}

.benefits {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
}

.benefits h2, .benefits h3, .benefits p { color: var(--white); }

.benefits p { color: #d6e6f8; }

.license {
    display: grid;
    gap: 1.2rem;
}

.license__plate {
    min-height: 12rem;
    border-radius: 1rem;
    background: var(--surface);
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

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

.license__plate img {
    width: min(100%, 16rem);
    height: auto;
    border-radius: .8rem;
}

.license__scan {
    display: grid;
    justify-items: center;
    gap: .4rem;
    color: var(--accent);
    font-size: .9rem;
    text-decoration: none;
}

.license__scan:hover { color: var(--primary-hover); }

.facts {
    display: grid;
    gap: .85rem;
    margin: 0;
}

.facts div { display: grid; gap: .1rem; }

.facts dt { color: var(--muted); font-size: .85rem; }

.facts dd { margin: 0; }

.card__title {
    font-size: 1.05rem;
    margin-bottom: .8rem;
}

.catalog-search { margin: 0 auto 1.5rem; max-width: 40rem; }

.crumb { margin-bottom: 1rem; }

.tax { margin-top: 1rem; }

.faq { display: grid; gap: .6rem; }

.faq__item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq__item button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 700;
    padding: 1rem 1.1rem;
    cursor: pointer;
    color: var(--text);
}

.faq__item div { padding: 0 1.1rem 1rem; }

.footer {
    background: var(--footer);
    color: var(--white);
    padding: 3rem 0 1.4rem;
}

.footer a { color: #c5d9ef; text-decoration: none; }

.footer__lead, .footer__note { color: #c5d9ef; }

.footer__h { font-size: 1rem; color: var(--white); }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }

.footer__phone { font-size: 1.25rem; color: var(--white); }

.footer__grid { display: grid; gap: 1.5rem; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer__bottom p { color: #9eb6d0; font-size: .85rem; }

.logo--footer .logo__title { color: var(--white); font-size: .95rem; }

.swatches, .row { display: flex; flex-wrap: wrap; gap: .6rem; }

.swatch {
    margin: 0;
    border-radius: .8rem;
    padding: 1rem;
    min-width: 9rem;
    font-weight: 700;
}

.swatch--primary { background: var(--primary); color: var(--white); }
.swatch--hover { background: var(--primary-hover); color: var(--white); }
.swatch--text { background: var(--text); color: var(--white); }
.swatch--muted { background: var(--muted); color: var(--white); }
.swatch--surface { background: var(--surface); color: var(--text); }
.swatch--accent { background: var(--accent); color: var(--white); }

@media (min-width: 800px) {
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about { grid-template-columns: 1.2fr .8fr; }
    .license { grid-template-columns: 14rem 1fr; align-items: center; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1100px) {
    .nav, .header__side { display: flex; align-items: center; gap: 1rem; }
    .burger { display: none; }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero__grid {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        align-items: center;
        gap: 2rem;
    }
    .hero__art {
        display: block;
        position: relative;
        width: 20rem;
        min-height: 22rem;
        margin-left: auto;
    }
}

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