:root {
    --blue: #006edc;
    --blue-light: #078df0;
    --gray-header: #aeb2b6;
    --page-bg: #f6f7f9;
    --dark: #020a12;
    --text: #121721;
    --muted: #616b7a;
    --line: #dbe0e8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--page-bg);
}

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

.container {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.top-header {
    background: var(--gray-header);
    min-height: 190px;
}

.top-header__inner {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: .9;
    transform: skew(-8deg);
}

.brand__l2 {
    font-size: clamp(54px, 5vw, 82px);
    font-weight: 800;
    color: #fff;
    text-shadow: -3px 3px 0 #020a12;
}

.brand__l2::first-letter {
    color: var(--blue-light);
}

.brand__vehicles {
    margin-top: 2px;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 800;
    color: #fff;
    text-shadow: -2px 2px 0 #020a12;
}

.brand__logo small {
    background: var(--blue);
    color: #fff;
    padding: 4px 12px;
    margin-top: 5px;
    font-size: 10px;
    border-radius: 3px;
    transform: skew(8deg);
}

.top-header__info {
    display: flex;
    align-items: center;
    gap: 38px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 18px;
    color: var(--muted);
}

.info-block strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
}


.info-block--phone {
    align-items: flex-start;
}



.info-block--address {
    text-align: right;
}

.top-header__divider {
    width: 1px;
    height: 110px;
    background: rgba(18, 23, 33, .5);
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.phone-row img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.phone-row span {
    line-height: 1;
}

.main-nav {
    background: var(--blue);
    min-height: 80px;
}

.main-nav__inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.main-nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 17px;
    white-space: nowrap;
    text-decoration: none;
}

.nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-link:hover,
.nav-link--active {
    opacity: .95;
}

.nav-separator {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, .65);
}

.quick-search {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-search input {
    width: 252px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    font: inherit;
    color: var(--muted);
    outline: none;
}

.quick-search button {
    width: 70px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: var(--blue-light);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.offers {
    padding: 80px 0 125px;
}

.offers h1,
.offers__title {
    margin: 0 0 32px;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
}

.vehicle-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 1px 0 rgba(2, 10, 18, .03);
    transition: transform .18s ease, box-shadow .18s ease;
}

.vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(2, 10, 18, .08);
}

.vehicle-card--promotion {
    border: 2px solid #e6a100;
    box-shadow: 0 0 0 3px rgba(230, 161, 0, .16);
}

.vehicle-card--promotion:hover {
    box-shadow: 0 0 0 3px rgba(230, 161, 0, .22), 0 12px 28px rgba(2, 10, 18, .08);
}

.vehicle-card__image {
    height: 180px;
    margin: 16px 16px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e5ebf0;
}

.vehicle-card__image--placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.vehicle-card__content {
    padding: 14px 16px 13px;
}

.vehicle-card__content h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
}

.vehicle-card__content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text);
}

.vehicle-card__content p span {
    margin: 0 4px;
}

.vehicle-card__price {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    color: #fff;
    background: var(--blue);
    font-size: 19px;
    font-weight: 700;
}

.offers__cta {
    display: flex;
    justify-content: center;
    margin-top: 72px;
}

.stock-button {
    min-width: 375px;
    height: 48px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--blue);
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}

.footer-highlight {
    background: var(--blue);
    color: #fff;
}

.footer-highlight__inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-highlight__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-highlight__item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-highlight__item strong {
    font-size: 15px;
}

.footer-highlight__icon {
     width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-main {
    background: var(--dark);
    color: #fff;
    padding: 38px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.footer-column__subheading {
    margin-top: 8px !important;
}

.footer-line {
    display: block;
    width: 245px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    margin-bottom: 2px;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}


@media (max-width: 1100px) {
    .top-header__inner {
        flex-direction: column;
        justify-content: center;
        padding: 28px 0;
    }

    .main-nav__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
    }

    .main-nav__links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .quick-search {
        justify-content: center;
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1440px);
    }

    .top-header__info {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .info-block--address {
        text-align: center;
    }

    .top-header__divider,
    .nav-separator {
        display: none;
    }

    .main-nav__links {
        gap: 16px;
    }

    .quick-search input {
        width: 100%;
    }

    .offers {
        padding: 52px 0 80px;
    }

    .offers h1,
    .offers__title {
        font-size: 30px;
    }

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

    .stock-button {
        min-width: 0;
        width: 100%;
    }

    .footer-highlight__inner,
    .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-highlight__inner {
        padding: 18px 0;
    }

    .footer-grid {
        display: grid;
        gap: 32px;
    }
}

.offers__section + .offers__section {
    margin-top: 56px;
}

.offers__empty {
    text-align: center;
    color: var(--muted);
}

.vehicle-card__image {
    position: relative;
    flex-shrink: 0;
}

.vehicle-card__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.vehicle-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.vehicle-card {
    display: flex;
    flex-direction: column;
}

.vehicle-card__price {
    margin-top: auto;
}

.vehicle-card__old-price {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 400;
}
