:root {
    --q-green: #9dff00;
    --q-bg: #080d11;
    --q-panel: #10181e;
    --q-text: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #000;
    color: var(--q-text);
    /* font-family: "Barlow Condensed", Arial, sans-serif; */
    font-family: "Roboto Condensed", sans-serif;

    font-weight: 500;
    letter-spacing: .01em
}


/*
.roboto-condensed-uniquified {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

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

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

.container {
    max-width: 1200px
}

.site-header {
    background: #0e1419
}

.site-header__inner {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center
}

.brand__logo {
    width: min(330px, 70vw);
    height: auto
}

.hero {
    padding-top: 18px
}

.hero__title {
    background: linear-gradient(90deg, #11191f, #172027, #11191f);
    text-align: center;
    padding: 12px 20px 10px;
    margin: 0 70px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(27px, 4vw, 43px);
    line-height: .95;
    font-weight: 800
}

.hero p {
    margin: 2px 0 0;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1;
    font-weight: 600
}

.cars-section {
    margin-top: 18px;
    background: #10181e;
    padding: 13px 38px 8px;
    position: relative
}

.cars-slider {
    position: relative
}

.cars-viewport {
    overflow: hidden
}

.cars-track {
    display: flex;
    gap: 18px;
    transition: transform .45s ease;
    will-change: transform
}

.car-card {
    flex: 0 0 calc((100% - 54px)/4);
    min-width: 0;
    background: #121a20;
    border: 1px solid #3a454d;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .25)
}

.car-card__link {
    display: block;
    height: 100%
}

.car-card__image-wrap {
    position: relative;
    aspect-ratio: 1.82/1;
    background: #222;
    overflow: hidden
}

.car-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.car-card__link:hover .car-card__image {
    transform: scale(1.03)
}

.car-card__badge {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 7px;
    padding: 2px 6px;
    background: #111;
    color: #fff;
    border-radius: 3px;
    font: 800 9px Arial, sans-serif
}

.car-card__body {
    padding: 7px 9px 8px
}

.car-card h2 {
    margin: 0 0 2px;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.car-card__data {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 7px;
    align-items: center;
    color: #d3d7da;
    font-size: 14px;
    line-height: 1
}

.car-card__data strong {
    justify-self: end;
    color: #fff;
    font-size: 15px;
    white-space: nowrap
}

.car-card__cta {
    display: block;
    margin-top: 7px;
    padding: 7px 8px 6px;
    background: var(--q-green);
    color: #070a06;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: background .2s ease
}

.car-card__link:hover .car-card__cta {
    background: #b3ff42
}

.slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    border: 2px solid var(--q-green);
    border-radius: 5px;
    background: #11191f;
    color: #fff;
    font: 500 35px/20px Arial, sans-serif;
    display: grid;
    place-items: center;
    padding: 0 0 5px;
    cursor: pointer
}

.slider-arrow:hover {
    background: var(--q-green);
    color: #000
}

.slider-arrow:disabled {
    opacity: .35;
    cursor: default
}

.slider-arrow--prev {
    left: -29px
}

.slider-arrow--next {
    right: -29px
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 9px
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #46502d;
    border: 0;
    padding: 0
}

.slider-dot.is-active {
    background: var(--q-green)
}

.all-listings {
    padding-top: 27px
}

.all-listings__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 8px 18px;
    background: var(--q-green);
    color: #050800;
    font-size: clamp(16px, 2vw, 23px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: background .2s ease, transform .2s ease
}

.all-listings__button:hover {
    background: #b3ff42;
    transform: translateY(-1px)
}

.all-listings__arrow {
    font-size: 26px
}

.why-section {
    padding-top: 9px
}

.why-section>h2 {
    margin: 0;
    padding: 6px 15px;
    background: #10181e;
    text-align: center;
    font-size: clamp(23px, 2.7vw, 31px);
    line-height: 1;
    font-weight: 700
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 9px auto 18px;
    max-width: 945px;
    background: #10181e
}

.feature {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 8px 15px;
    font-size: 17px;
    line-height: .95;
    text-align: left
}

.feature+.feature {
    border-left: 1px solid #465059
}

.feature__icon {
    width: 39px;
    height: 39px;
    object-fit: contain
}

.feature strong {
    font-weight: 800
}

.site-footer {
    background: #0d1419;
    border-top: 4px solid #10181e
}

.footer-grid {
    min-height: 108px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: center;
    gap: 25px
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 13px
}

.footer-location__icon {
    width: 50px;
    height: 50px;
    object-fit: contain
}

.footer-location strong,
.footer-location span {
    display: block
}

.footer-location strong {
    font-size: 19px;
    line-height: 1
}

.footer-location span {
    margin-top: 4px;
    color: #d1d4d6;
    font-size: 15px;
    line-height: 1.05
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.footer-contact a {
    font-size: 17px;
    line-height: 1
}

.footer-contact a:hover {
    color: var(--q-green)
}

.contact-icon {
    color: var(--q-green);
    margin-right: 5px
}

.footer-logo-wrap {
    display: flex;
    justify-content: flex-end
}

.footer-logo {
    width: min(220px, 100%);
    max-height: 65px;
    object-fit: contain;
    object-position: right center
}

@media(max-width:991.98px) {
    .cars-section {
        padding-left: 28px;
        padding-right: 28px
    }

    .car-card {
        flex-basis: calc((100% - 18px)/2)
    }

    .slider-arrow--prev {
        left: -21px
    }

    .slider-arrow--next {
        right: -21px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px 15px
    }

    .footer-logo-wrap {
        grid-column: 1/-1;
        justify-content: center
    }
}

@media(max-width:767.98px) {
    .site-header__inner {
        min-height: 94px
    }

    .brand__logo {
        width: 245px
    }

    .hero {
        padding-top: 12px
    }

    .hero__title {
        padding: 10px 12px 9px
    }

    .cars-section {
        margin-top: 12px;
        padding: 10px 29px 7px
    }

    .cars-track {
        gap: 12px
    }

    .car-card {
        flex-basis: 100%
    }

    .car-card h2 {
        font-size: 20px
    }

    .car-card__data {
        font-size: 15px
    }

    .car-card__data strong {
        font-size: 16px
    }

    .slider-arrow {
        width: 30px;
        height: 30px
    }

    .slider-arrow--prev {
        left: -23px
    }

    .slider-arrow--next {
        right: -23px
    }

    .all-listings {
        padding-top: 18px
    }

    .all-listings__button {
        padding: 10px;
        font-size: 18px
    }

    .features {
        grid-template-columns: 1fr;
        max-width: 100%
    }

    .feature {
        min-height: 57px;
        justify-content: flex-start;
        padding-left: 25%
    }

    .feature+.feature {
        border-left: 0;
        border-top: 1px solid #465059
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 17px
    }

    .footer-logo-wrap {
        grid-column: auto;
        justify-content: center
    }

    .footer-logo {
        max-width: 230px
    }
}

@media(max-width:420px) {
    .car-card__data {
        grid-template-columns: 1fr 1fr;
        gap: 4px
    }

    .car-card__data strong {
        grid-column: 1/-1;
        justify-self: start
    }

    .feature {
        padding-left: 16%
    }
}
