/* =========================
   HOME - JD AUTOMOBILE
========================= */

.hero {
    position: relative;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.92) 0%,
            rgba(15, 23, 42, 0.82) 34%,
            rgba(15, 23, 42, 0.55) 62%,
            rgba(15, 23, 42, 0.30) 100%
        ),
        url('/assets/images/hero.png');

    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
}

.hero::before {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero .kicker {
    color: #fff;
}

.hero h1 {
    max-width: 780px;
    color: #fff;
}

.hero-text {
    max-width: 610px;
    margin-bottom: 0;
    color: rgba(255,255,255,.85);
    font-size: clamp(17px, 1.4vw, 20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.hero-trust span {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}


/* BENEFITS */

.benefits-section {
    padding-top: 54px;
    background: #fff;
}

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

.benefit-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.benefit-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--primary-soft);
}

.benefit-card span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--primary-dark);
    font-weight: 950;
    font-size: 13px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.benefit-card p {
    margin-bottom: 0;
}

/* FEATURED */

.featured-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.featured-section .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.vehicle-card-image {
    display: block;
    overflow: hidden;
    background: var(--dark);
}

.vehicle-card-image img {
    transition: transform 0.35s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 22px;
}

.vehicle-meta span {
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vehicle-card-footer a {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 950;
}

/* CONTACT BAND */

.contact-band {
    padding-top: 0;
    background: #f8fafc;
}

.contact-band-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: clamp(30px, 5vw, 54px);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88)),
        radial-gradient(circle at top right, rgba(217, 154, 43, 0.35), transparent 28rem);
    color: #fff;
    box-shadow: var(--shadow);
}

.contact-band h2 {
    color: #fff;
}

.contact-band p {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.72);
}

.contact-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .hero {
        background-position: 68% center;
    }

    .hero-grid {
        max-width: 760px;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 720px;
        padding: 70px 0;
        background-position: 74% center;
    }

    .hero-grid {
        min-height: auto;
        display: flex;
        align-items: center;
    }

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

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

    .contact-band-inner {
        grid-template-columns: 1fr;
    }

    .contact-band-actions {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 650px;
        padding: 46px 0 54px;
        background-position: 80% center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions,
    .contact-band-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-band-actions .btn {
        width: 100%;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 24px;
    }

    .featured-section .vehicle-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .featured-section .vehicle-card {
        width: 100%;
    }

    .featured-section .vehicle-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .featured-section .vehicle-card-body {
        padding: 22px;
    }

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

    .vehicle-meta {
        gap: 8px;
    }

    .vehicle-meta span {
        font-size: 12px;
        padding: 8px 11px;
    }

    .vehicle-price {
        font-size: 26px;
    }

    .contact-band-inner {
        padding: 26px;
        border-radius: 26px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 620px;
        background-position: 84% center;
    }
}