@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.hero-title-modern {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-copy-modern {
    font-family: "Manrope", "Segoe UI", sans-serif;
    letter-spacing: -0.015em;
    line-height: 1.55;
    text-wrap: pretty;
}

/* Hero Cars Block Carousel */
.hero-cars-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-cars-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.car-content {
    min-height: 140px;
    display: flex;
    width: 170px;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
}

.car-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #186648;
}

.hero-cars-nav {
    top: calc(50% - 37px);
    transform: translateY(-50%);
}

.brand-filter-card-compact {
    padding: 0;
    background: transparent;
}

.brand-filter-card-body {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    height: 60px;
}

.brand-filter-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--brand-gradient, linear-gradient(90deg, #4b5563 0%, #111827 100%));
    z-index: 0;
}

.brand-filter-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding-right: 78px;
    padding-left: 0.35rem;
}

.brand-truck-wrap {
    display: flex;
    flex: 0 0 96px;
    align-items: center;
    justify-content: center;
    width: 96px;
    min-width: 96px;
    height: 58px;
    overflow: hidden;
}

.brand-truck-img {
    width: 100%;
    max-width: 252px;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1) translateX(0) translateY(0);
    transform-origin: center;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}

.brand-logo-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.brand-logo-frame {
    width: 100%;
    max-width: 104px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-frame-flex {
    max-width: 116px;
    height: 40px;
    flex: 1 1 auto;
    overflow: visible;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(var(--brand-logo-scale, 1.08));
    transform-origin: center;
    image-rendering: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.brand-logo-text {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.brand-count-wrap {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 3;
}

.brand-count-tip {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: #0b0b0b;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    z-index: 4;
}

@media (max-width: 640px) {
    .brand-filter-card-body {
        border-radius: 0.75rem;
        height: 56px;
    }

    .brand-filter-content {
        gap: 0.35rem;
        padding-right: 64px;
        padding-left: 0.25rem;
    }

    .brand-truck-wrap {
        flex-basis: 88px;
        width: 88px;
        min-width: 88px;
        height: 48px;
    }

    .brand-truck-img {
        height: 48px;
        transform: scale(0.96) translateX(0) translateY(0);
    }

    .brand-logo-frame {
        max-width: 90px;
        height: 30px;
    }

    .brand-logo-frame-flex {
        max-width: 96px;
        height: 34px;
    }

    .brand-logo-text {
        font-size: 0.72rem;
    }

    .brand-count-wrap {
        width: 62px;
        font-size: 1.2rem;
    }

    .brand-count-tip {
        width: 8px;
    }
}
