/* =========================
   VEHICLES PAGE
========================= */

.vehicles-intro {
    padding: 54px 0 30px;
    background: #f8fafc;
}

.vehicles-intro-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.vehicles-intro h1 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.vehicles-intro p:not(.kicker) {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.4vw, 19px);
}

.vehicles-count {
    flex: 0 0 auto;
    padding: 11px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.vehicles-section {
    padding: 34px 0 82px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vehicle-listing-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vehicle-listing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 154, 43, 0.45);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.13);
}

.vehicle-listing-image {
    overflow: hidden;
    height: 230px;
    background: #111827;
}

.vehicle-listing-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.vehicle-listing-card:hover .vehicle-listing-image img {
    transform: scale(1.045);
    opacity: 0.94;
}

.vehicle-listing-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.vehicle-brand {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.vehicle-listing-body h2,
.vehicle-listing-body h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.vehicle-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.vehicle-infos span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.vehicle-listing-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.vehicle-price {
    color: var(--text);
    font-size: clamp(24px, 2.3vw, 30px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.vehicle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
    transition: 0.22s ease;
}

.vehicle-listing-card:hover .vehicle-link {
    background: var(--primary);
    color: #111827;
}

/* EMPTY STATE */

.vehicles-empty {
    padding: 44px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.vehicles-empty h2 {
    margin-bottom: 10px;
}

.vehicles-empty p {
    margin-bottom: 24px;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .vehicles-intro {
        padding: 42px 0 24px;
    }

    .vehicles-intro-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicles-count {
        width: fit-content;
    }
}

@media (max-width: 720px) {
    .vehicles-section {
        padding: 30px 0 62px;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vehicle-listing-card {
        border-radius: 20px;
    }

    .vehicle-listing-image {
        height: 220px;
    }

    .vehicle-listing-body {
        padding: 21px;
    }

    .vehicle-listing-body h2,
    .vehicle-listing-body h3 {
        font-size: 21px;
    }

    .vehicle-listing-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-link {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .vehicles-intro h1 {
        font-size: 42px;
    }

    .vehicle-listing-image {
        height: 205px;
    }
}