/* ==========================================================================
Certified Vehicles
Global Website Styles
========================================================================== */
/* ==========================================================================
1. Global Variables
========================================================================== */
:root {
    --color-primary: #111827;
    --color-secondary: #374151;
    --color-accent: #07a0bb;
    --color-background: #ffffff;
    --color-surface: #f8fafc;
    --color-border: #e5e7eb;
    --color-text: #111827;
    --color-text-muted: #6b7280;
    --color-text-light: #ffffff;
    --font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}
/* ==========================================================================
2. Global Reset
========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* ==========================================================================
3. Global Elements
========================================================================== */
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
address {
    font-style: normal;
}
/* ==========================================================================
4. Global Layout
========================================================================== */
.site-main {
    min-height: 50vh;
}
.site-header-inner,
.site-footer-inner,
.container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}
/* ==========================================================================
5. Header
========================================================================== */
.site-header {
    position: relative;
    width: 100%;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}
.site-header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: var(--spacing-xl);
}
/* ==========================================================================
6. Logo / Brand
========================================================================== */
.site-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    color: var(--color-primary);
    font-weight: 700;
    transition:
    transform var(--transition-medium),
    opacity var(--transition-medium);
}
.site-logo:hover {
    opacity: 0.9;
}
.site-logo-placeholder {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--border-radius-md);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition:
    transform var(--transition-medium),
    background-color var(--transition-medium);
}
.site-logo:hover .site-logo-placeholder {
    transform: translateY(-2px);
    background: var(--color-accent);
}
.site-logo-name {
    font-size: 1.05rem;
    line-height: 1.2;
}
/* ==========================================================================
7. Mobile Menu Button
========================================================================== */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-primary);
    touch-action: manipulation;
    transition:
    background-color var(--transition-medium),
    border-color var(--transition-medium),
    color var(--transition-medium);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    background: var(--color-surface);
    border-color: var(--color-primary);
}
.mobile-menu-icon {
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform-origin: center;
    transition:
    transform var(--transition-medium),
    opacity var(--transition-medium);
}

/* ==========================================================================
9. Main Navigation
========================================================================== */
.site-navigation {
    display: block;
    margin-left: auto;
}
.navigation-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    white-space: nowrap;
}
.navigation-item {
    position: relative;
    display: block;
}
/* ==========================================================================
10. Standard Navigation Links
========================================================================== */
.navigation-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition:
    color var(--transition-medium),
    transform var(--transition-medium);
}
.navigation-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition:
    transform var(--transition-medium);
}
.navigation-link:hover,
.navigation-link:focus-visible {
    color: var(--color-primary);
    transform: translateY(-1px);
}
.navigation-link:hover::after,
.navigation-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}
/* ==========================================================================
11. Navigation Dropdown
========================================================================== */
.navigation-dropdown {
    position: relative;
}
/* Dropdown Toggle */
.navigation-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0;
    background: transparent;
    border: 0;
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition:
    color var(--transition-medium),
    transform var(--transition-medium);
}
.navigation-dropdown-toggle:hover,
.navigation-dropdown-toggle:focus-visible {
    color: var(--color-accent);
    transform: translateY(-1px);
}
/* Dropdown Arrow */
.navigation-dropdown-arrow {
    display: inline-block;
    font-size: 0.7rem;
    line-height: 1;
    transition:
    transform var(--transition-medium);
}
.navigation-dropdown.is-open
.navigation-dropdown-arrow {
    transform: rotate(180deg);
}
/* ==========================================================================
12. Desktop Dropdown Menu
========================================================================== */
.navigation-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    min-width: 210px;
    padding: 0.5rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow:
    0 12px 30px rgba(17, 24, 39, 0.12);
    transform:
    translate(-50%, -8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
}
.navigation-dropdown.is-open
.navigation-dropdown-menu {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Dropdown Items */
.navigation-dropdown-item {
    display: block;
}
/* Dropdown Links */
.navigation-dropdown-link {
    display: block;
    width: 100%;
    padding: 0.7rem 0.8rem;
    color: var(--color-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    transition:
    color var(--transition-medium),
    background-color var(--transition-medium),
    transform var(--transition-medium);
}
.navigation-dropdown-link:hover,
.navigation-dropdown-link:focus-visible {
    color: var(--color-accent);
    background: var(--color-surface);
    transform: translateX(3px);
}
/* ==========================================================================
13. Footer
========================================================================== */
.site-footer {
    margin-top: var(--spacing-3xl);
    background: var(--color-primary);
    color: var(--color-text-light);
}
.site-footer-inner {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
    display: grid;
    grid-template-columns:
    minmax(0, 2fr)
    minmax(160px, 1fr)
    minmax(160px, 1fr);
    gap: var(--spacing-2xl);
}
/* ==========================================================================
14. Footer Business Section
========================================================================== */
.footer-business-name {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    font-size: 1.2rem;
    font-weight: 700;
    transition:
    color var(--transition-medium);
}
.footer-business-name:hover {
    color: #bfdbfe;
}
.footer-business-description {
    max-width: 420px;
    margin-bottom: var(--spacing-lg);
    color: #d1d5db;
}
.footer-contact p {
    margin-bottom: var(--spacing-xs);
    color: #d1d5db;
}
.footer-contact a {
    color: #ffffff;
    transition:
    color var(--transition-medium);
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #bfdbfe;
}
/* ==========================================================================
15. Footer Navigation
========================================================================== */
.footer-heading {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 700;
}
.footer-links {
    display: grid;
    gap: var(--spacing-xs);
}
.footer-links a {
    color: #d1d5db;
    transition:
    color var(--transition-medium),
    transform var(--transition-medium);
}
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-text-light);
    transform: translateX(3px);
}
/* ==========================================================================
16. Footer Bottom
========================================================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: var(--spacing-lg) 1rem;
    text-align: center;
}
.footer-bottom p {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    color: #9ca3af;
    font-size: 0.875rem;
}
/* ==========================================================================
17. Focus Accessibility
========================================================================== */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}
/* ==========================================================================
18. Tablet
========================================================================== */
@media (max-width: 900px) {
    .site-header-inner {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
.navigation-list {
    gap: 1.25rem;
}
.site-footer-inner {
    grid-template-columns: 1fr 1fr;
}
}

/* ==========================================================================
19. Mobile Header
========================================================================== */

@media (max-width: 700px) {

    /*
    |--------------------------------------------------------------------------
    | Mobile Header Row
    |--------------------------------------------------------------------------
    */

.site-header-inner {
    position: relative;

    width: min(100% - 1.5rem, var(--container-width));

    display: grid;

    grid-template-columns: 44px 1fr auto;

    grid-template-rows: 64px auto;

    align-items: center;

    gap: 0;

    padding-top: 0;
    padding-bottom: 0;
}


    /*
    |--------------------------------------------------------------------------
    | Mobile Menu Button
    |--------------------------------------------------------------------------
    */

    .mobile-menu-toggle {
        display: inline-flex;

        grid-column: 1;
        grid-row: 1;

        justify-self: start;

        flex-shrink: 0;

        z-index: 3;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Logo
    |--------------------------------------------------------------------------
    */

   .site-logo {
    grid-column: 3;
    grid-row: 1;

    justify-self: end;

    gap: 0;

    z-index: 2;
}

    .site-logo-placeholder {
        width: 40px;
        height: 40px;
    }

    .site-logo-name {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Navigation
    |--------------------------------------------------------------------------
    */

    .site-navigation {
        display: none;

        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;

        margin-top: 0;
        margin-bottom: 0.75rem;

        padding: 0.5rem;

        background: var(--color-background);

        border: 1px solid var(--color-border);
        border-radius: var(--border-radius-md);

        box-shadow:
            0 10px 30px rgba(17, 24, 39, 0.08);
    }


    /*
    |--------------------------------------------------------------------------
    | Open Navigation
    |--------------------------------------------------------------------------
    */

    .site-header.menu-open .site-navigation {
        display: block;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Navigation List
    |--------------------------------------------------------------------------
    */

    .navigation-list {
        display: grid;

        grid-template-columns: 1fr;

        gap: 0;

        width: 100%;

        white-space: normal;
    }


    .navigation-item {
        border-bottom: 1px solid var(--color-border);
    }

    .navigation-item:last-child {
        border-bottom: 0;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Navigation Links
    |--------------------------------------------------------------------------
    */

    .navigation-link {
        display: flex;

        width: 100%;

        padding: 0.85rem 0.75rem;

        font-size: 0.95rem;

        border-radius: 6px;

        transition:
            color var(--transition-medium),
            background-color var(--transition-medium),
            transform var(--transition-medium);
    }


    .navigation-link::after {
        bottom: 0.3rem;

        left: 0.75rem;

        width: 40px;
    }


    .navigation-link:hover,
    .navigation-link:focus-visible {
        transform: translateX(3px);

        background: var(--color-surface);
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Dropdown Toggle
    |--------------------------------------------------------------------------
    */

    .navigation-dropdown-toggle {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 0.85rem 0.75rem;

        text-align: left;

        font-size: 0.95rem;

        border-radius: 6px;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Dropdown Arrow
    |--------------------------------------------------------------------------
    */

    .navigation-dropdown-arrow {
        font-size: 0.75rem;

        transition:
            transform var(--transition-medium);
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Dropdown Menu
    |--------------------------------------------------------------------------
    */

    .navigation-dropdown-menu {
        position: static;

        display: none;

        min-width: 0;

        padding: 0.25rem 0 0.5rem;

        background: var(--color-surface);

        border: 0;
        border-radius: 0;

        box-shadow: none;

        transform: none;

        opacity: 1;
        visibility: visible;

        pointer-events: auto;
    }


    .navigation-dropdown.is-open
    .navigation-dropdown-menu {
        display: block;

        transform: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Dropdown Links
    |--------------------------------------------------------------------------
    */

    .navigation-dropdown-link {
        padding: 0.7rem 1rem 0.7rem 1.5rem;

        font-size: 0.92rem;
    }


    .navigation-dropdown-link:hover,
    .navigation-dropdown-link:focus-visible {
        transform: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Hamburger → Close Animation
    |--------------------------------------------------------------------------
    */

    .site-header.menu-open
    .mobile-menu-icon span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open
    .mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open
    .mobile-menu-icon span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}

/* ==========================================================================
20. Small Mobile
========================================================================== */
@media (max-width: 600px) {
    .site-header-inner,
    .site-footer-inner {
        width: min(100% - 1.5rem, var(--container-width));
    }
.site-footer-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}
}
/* ==========================================================================
21. Reduced Motion
========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
*,
*::before,
*::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
}
}


/* ==========================================================================
MAIN PAGES
1. Homepage Hero
========================================================================== */
.homepage-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.78) 42%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        url('../images/system/hero-vehicle.webp')
        center / cover no-repeat;
    color: var(--color-text-light);
}
.homepage-hero .container {
    position: relative;
    width: min(100% - 2rem, var(--container-width));
    z-index: 2;
}
.homepage-hero-content {
    max-width: 700px;
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
}
.homepage-hero h1 {
    max-width: 680px;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
    font-size: clamp(
    2.5rem,
    5vw,
    4.25rem
    );
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.homepage-hero h1 span {
    display: block;
}
.homepage-hero-description {
    max-width: 650px;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.7;
}
.homepage-hero-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}
.homepage-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition:
    background-color var(--transition-medium),
    border-color var(--transition-medium),
    color var(--transition-medium),
    transform var(--transition-medium);
}
.homepage-hero-button:hover,
.homepage-hero-button:focus-visible {
    transform: translateY(-2px);
}
/*
|--------------------------------------------------------------------------
| Primary Hero Button
|--------------------------------------------------------------------------
*/
.homepage-hero-button-primary {
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    color: var(--color-text-light);
}
.homepage-hero-button-primary:hover,
.homepage-hero-button-primary:focus-visible {
    background: #36e9e0;
    border-color: #36e9e0;
}
/*
|--------------------------------------------------------------------------
| Secondary Hero Button
|--------------------------------------------------------------------------
*/
.homepage-hero-button-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-text-light);
}
.homepage-hero-button-secondary:hover,
.homepage-hero-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-text-light);
}

/*
|--------------------------------------------------------------------------
| Mobile Hero
|--------------------------------------------------------------------------
*/
@media (max-width: 700px) {

.homepage-hero {
    min-height: 500px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.90) 42%,
            rgba(0, 0, 0, 0.55) 72%,
            rgba(0, 0, 0, 0.30) 100%
        ),
        url('../images/system/hero-vehicle-mobile.webp')
        center bottom / cover no-repeat;
}

.homepage-hero-content {
    max-width: 100%;

    padding-top: 2.25rem;
    padding-bottom: 2rem;
}
.homepage-hero h1 {
    font-size: clamp(
    2.25rem,
    11vw,
    3.25rem
    );
    line-height: 1.05;
}
.homepage-hero-description {
    font-size: 1rem;
    line-height: 1.65;
}
.homepage-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.homepage-hero-button {
    width: auto;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}
}

/* ==========================================================================
2. Homepage Service Marquee
========================================================================== */

.homepage-marquee {
    position: relative;

    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #0b0f14;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.78);
}


.homepage-marquee-track {
    display: flex;

    width: max-content;

    flex-shrink: 0;

    will-change: transform;
}


.homepage-marquee-group {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.homepage-marquee-item {
    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    padding: 0 2.25rem;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.homepage-marquee-divider {
    position: relative;

    display: inline-block;

    width: 18px;
    height: 2px;

    flex-shrink: 0;

    background: var(--color-accent);

    opacity: 0.8;
}


/*
|--------------------------------------------------------------------------
| Small Automotive Detail
|--------------------------------------------------------------------------
*/

.homepage-marquee-divider::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    background: var(--color-accent);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}



/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .homepage-marquee {
        height: 46px;
    }


    .homepage-marquee-item {
        padding: 0 1.5rem;

        font-size: 0.65rem;

        letter-spacing: 0.12em;
    }


    .homepage-marquee-divider {
        width: 14px;
    }



}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .homepage-marquee-track {
        animation: none;
    }

}

/* ======================================================================
   Homepage Featured Vehicles
====================================================================== */

.homepage-featured-vehicles {
    padding: 96px 0;
    background: var(--color-background);
}


/* ----------------------------------------------------------------------
   Section Header
---------------------------------------------------------------------- */

.homepage-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.homepage-section-header > div {
    flex: 0 0 auto;
}

.homepage-section-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.homepage-section-header h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.homepage-section-header p {
    max-width: 500px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}


/* ----------------------------------------------------------------------
   Vehicle Grid
---------------------------------------------------------------------- */

.homepage-featured-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* ----------------------------------------------------------------------
   Vehicle Card
---------------------------------------------------------------------- */

.vehicle-card {
    min-width: 0;
    overflow: hidden;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.vehicle-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
    transform: translateY(-3px);
}


/* ----------------------------------------------------------------------
   Vehicle Image
---------------------------------------------------------------------- */

.vehicle-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface);
}

.vehicle-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.035);
}


/* ----------------------------------------------------------------------
   Vehicle Card Content
---------------------------------------------------------------------- */

.vehicle-card-content {
    padding: 24px;
}

.vehicle-card-title {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.vehicle-card-title a {
    color: inherit;
    text-decoration: none;
}

.vehicle-card-title a:hover {
    color: var(--color-accent);
}


/* ----------------------------------------------------------------------
   Vehicle Specifications
---------------------------------------------------------------------- */

.vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.vehicle-card-specs span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.vehicle-card-specs span:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 10px;
    border-radius: 50%;
    background: #9ca3af;
}


/* ----------------------------------------------------------------------
   Vehicle Description
---------------------------------------------------------------------- */

.vehicle-card-description {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.15em;
    margin: 0 0 24px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* ----------------------------------------------------------------------
   Vehicle Status
---------------------------------------------------------------------- */

.vehicle-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    line-height: 1;
}

.vehicle-card-condition {
    color: var(--color-text-muted);
    font-weight: 500;
}

.vehicle-card-availability {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* ----------------------------------------------------------------------
   Vehicle Card Footer
---------------------------------------------------------------------- */

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.vehicle-card-price {
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.vehicle-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicle-card-link::after {
    content: "→";
    font-size: 0.95rem;
    transition: transform 180ms ease;
}

.vehicle-card-link:hover {
    color: var(--color-primary);
}

.vehicle-card-link:hover::after {
    transform: translateX(3px);
}


/* ----------------------------------------------------------------------
   View All Vehicles
---------------------------------------------------------------------- */

.homepage-featured-vehicles-action {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.homepage-section-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.homepage-section-button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}


/* ======================================================================
   Featured Vehicles — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-featured-vehicles {
        padding: 80px 0;
    }

    .homepage-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 36px;
    }

    .homepage-section-header p {
        max-width: 650px;
    }

    .homepage-featured-vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ======================================================================
   Featured Vehicles — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-featured-vehicles {
        padding: 64px 0;
    }

    .homepage-section-header {
        margin-bottom: 30px;
    }

    .homepage-section-header h2 {
        font-size: 2rem;
    }

    .homepage-section-header p {
        font-size: 0.92rem;
    }

    .homepage-featured-vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vehicle-card-content {
        padding: 20px;
    }

    .vehicle-card-title {
        font-size: 1.1rem;
    }

    .vehicle-card-description {
        font-size: 0.86rem;
    }

    .homepage-featured-vehicles-action {
        margin-top: 36px;
    }

    .homepage-section-button {
        width: 100%;
    }

}

/* ======================================================================
   Homepage — How The Process Works
====================================================================== */

.homepage-process {
    padding: 96px 0;
    background: var(--color-surface);
}


/* ----------------------------------------------------------------------
   Process Grid
---------------------------------------------------------------------- */

.homepage-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   Process Step
---------------------------------------------------------------------- */

.homepage-process-step {
    position: relative;
    min-width: 0;
    padding: 34px 28px 38px;
}

.homepage-process-step:not(:last-child) {
    border-right: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   Step Number
---------------------------------------------------------------------- */

.homepage-process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 28px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}


/* ----------------------------------------------------------------------
   Step Content
---------------------------------------------------------------------- */

.homepage-process-content h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.homepage-process-content p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}


/* ----------------------------------------------------------------------
   Learn More
---------------------------------------------------------------------- */

.homepage-process-action {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}


/* ----------------------------------------------------------------------
   Process Intro Card
---------------------------------------------------------------------- */

.homepage-process-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.8fr);
    align-items: stretch;
    width: 100%;
    max-width: 560px;
    min-height: 150px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-background);
}

.homepage-process-intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 26px;
}

.homepage-process-intro-label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.homepage-process-intro-copy p {
    max-width: none;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.homepage-process-intro-image {
    min-width: 0;
    overflow: hidden;
    background: var(--color-surface);
}

.homepage-process-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================================
   How The Process Works — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-process {
        padding: 80px 0;
    }

    .homepage-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-process-step:nth-child(2) {
        border-right: none;
    }

    .homepage-process-step:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-border);
    }

}

/* ======================================================================
   How The Process Works — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-process {
        padding: 64px 0;
    }


    /* ---------------------------------------------------------------
       Section Header
    --------------------------------------------------------------- */

    .homepage-process .homepage-section-header {
        gap: 20px;
        margin-bottom: 28px;
    }

    .homepage-process .homepage-section-header h2 {
        font-size: 1.95rem;
        line-height: 1.08;
    }


    /* ---------------------------------------------------------------
       Process Intro Card
    --------------------------------------------------------------- */

    .homepage-process-intro-card {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 100%;
        min-height: 0;
        border-radius: 8px;
        background: var(--color-background);
    }

    .homepage-process-intro-copy {
        padding: 20px 20px 18px;
    }

    .homepage-process-intro-label {
        margin-bottom: 8px;
        font-size: 0.64rem;
    }

    .homepage-process-intro-copy p {
        font-size: 0.8rem;
        line-height: 1.6;
    }


    /* ---------------------------------------------------------------
       Intro Image
    --------------------------------------------------------------- */

    .homepage-process-intro-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 145px;
        background: var(--color-surface);
    }

    .homepage-process-intro-image img {
        width: 100%;
        height: 100%;
       
    }


    /* ---------------------------------------------------------------
       Process Grid
    --------------------------------------------------------------- */

    .homepage-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border: 0;
    }


    /* ---------------------------------------------------------------
       Process Steps
    --------------------------------------------------------------- */

    .homepage-process-step {
        min-width: 0;
        padding: 22px 16px 24px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        background: var(--color-background);
    }

    .homepage-process-step:nth-child(odd),
    .homepage-process-step:nth-child(even),
    .homepage-process-step:nth-child(3),
    .homepage-process-step:nth-child(4) {
        border-right: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }


    /* ---------------------------------------------------------------
       Step Number
    --------------------------------------------------------------- */

    .homepage-process-number {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
        font-size: 0.68rem;
    }


    /* ---------------------------------------------------------------
       Step Content
    --------------------------------------------------------------- */

    .homepage-process-content h3 {
        margin-bottom: 8px;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .homepage-process-content p {
        font-size: 0.75rem;
        line-height: 1.55;
    }


    /* ---------------------------------------------------------------
       Learn More
    --------------------------------------------------------------- */

    .homepage-process-action {
        margin-top: 28px;
    }

    .homepage-process-action .homepage-section-button {
        width: 100%;
    }

}

/* ======================================================================
   Homepage — Why Buy Through Us / Service Value
====================================================================== */

.homepage-service-value {
    padding: 96px 0;
    background: var(--color-background);
}


/* ----------------------------------------------------------------------
   Service Value Grid
---------------------------------------------------------------------- */

.homepage-service-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}


/* ----------------------------------------------------------------------
   Service Value Item
---------------------------------------------------------------------- */

.homepage-service-value-item {
    min-width: 0;
    padding: 0 30px;
    border-left: 1px solid var(--color-border);
}

.homepage-service-value-item:first-child {
    padding-left: 0;
    border-left: none;
}

.homepage-service-value-item:last-child {
    padding-right: 0;
}


/* ----------------------------------------------------------------------
   Service Number
---------------------------------------------------------------------- */

.homepage-service-value-number {
    display: block;
    margin-bottom: 28px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
}


/* ----------------------------------------------------------------------
   Service Content
---------------------------------------------------------------------- */

.homepage-service-value-item h3 {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.homepage-service-value-item p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}


/* ======================================================================
   Service Value — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-service-value {
        padding: 80px 0;
    }

    .homepage-service-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 44px;
    }

    .homepage-service-value-item {
        padding: 0 24px;
    }

    .homepage-service-value-item:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }

}


/* ======================================================================
   Service Value — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-service-value {
        padding: 64px 0;
    }

    .homepage-service-value-grid {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .homepage-service-value-item,
    .homepage-service-value-item:nth-child(3) {
        padding: 28px 0;
        border-left: none;
        border-bottom: 1px solid var(--color-border);
    }

    .homepage-service-value-item:first-child {
        padding-top: 0;
    }

    .homepage-service-value-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .homepage-service-value-number {
        margin-bottom: 18px;
    }

}

/* ======================================================================
   Homepage — Shipping & Delivery
====================================================================== */

.homepage-shipping {
    padding: 96px 0;
    background: var(--color-primary);
    color: var(--color-text-light);
}


/* ----------------------------------------------------------------------
   Main Layout
---------------------------------------------------------------------- */

.homepage-shipping-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 96px;
}


/* ----------------------------------------------------------------------
   Shipping Copy
---------------------------------------------------------------------- */

.homepage-shipping-copy {
    max-width: 620px;
}

.homepage-shipping-copy .homepage-section-eyebrow {
    color: var(--color-accent);
}

.homepage-shipping-copy h2 {
    max-width: 580px;
    margin: 0 0 24px;
    color: var(--color-text-light);
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-shipping-copy p {
    max-width: 600px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.8;
}

.homepage-shipping-copy .homepage-section-button {
    margin-top: 18px;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.homepage-shipping-copy .homepage-section-button:hover {
    background: var(--color-text-light);
    border-color: var(--color-text-light);
    color: var(--color-primary);
}


/* ----------------------------------------------------------------------
   Shipping Route Card
---------------------------------------------------------------------- */

.homepage-shipping-visual {
    display: flex;
    justify-content: center;
}

.homepage-shipping-route {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
}


/* ----------------------------------------------------------------------
   Shipping Image
---------------------------------------------------------------------- */

.homepage-shipping-route-image {

    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);

}

.homepage-shipping-route-image img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}


/* ----------------------------------------------------------------------
   Shipping Steps
---------------------------------------------------------------------- */

.homepage-shipping-route-steps {
    padding: 28px 34px 32px;
}


/* ----------------------------------------------------------------------
   Route Point
---------------------------------------------------------------------- */

.homepage-shipping-route-point {
    display: flex;
    align-items: center;
    gap: 20px;
}

.homepage-shipping-route-marker {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.homepage-shipping-route-point strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 700;
}

.homepage-shipping-route-point span:not(
    .homepage-shipping-route-marker
) {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    line-height: 1.5;
}


/* ----------------------------------------------------------------------
   Route Line
---------------------------------------------------------------------- */

.homepage-shipping-route-line {
    width: 1px;
    height: 34px;
    margin: 6px 0 6px 22px;
    background: linear-gradient(
        to bottom,
        var(--color-accent),
        rgba(7, 160, 187, 0.15)
    );
}

/* ======================================================================
   Shipping & Delivery — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-shipping {
        padding: 80px 0;
    }

    .homepage-shipping-content {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .homepage-shipping-copy {
        max-width: 700px;
    }

    .homepage-shipping-visual {
        justify-content: flex-start;
    }

}


/* ======================================================================
   Shipping & Delivery — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-shipping {
        padding: 64px 0;
    }

    .homepage-shipping-content {
        gap: 40px;
    }

    .homepage-shipping-copy h2 {
        font-size: 2rem;
    }

    .homepage-shipping-copy p {
        font-size: 0.88rem;
    }

    .homepage-shipping-copy .homepage-section-button {
        width: 100%;
    }

     .homepage-shipping-route-steps {
    padding: 24px 20px 26px;
}

.homepage-shipping-route-image {
    height: 200px;
}

.homepage-shipping-route-point {
    gap: 15px;
}

.homepage-shipping-route-marker {
    width: 42px;
    height: 42px;
}

.homepage-shipping-route-line {
    height: 30px;
    margin-left: 20px;
}

}

/* ======================================================================
   Homepage — Payment / Reservation
====================================================================== */

.homepage-payment {
    padding: 96px 0;
    background: var(--color-surface);
}


/* ----------------------------------------------------------------------
   Main Layout
---------------------------------------------------------------------- */

.homepage-payment-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 96px;
}


/* ----------------------------------------------------------------------
   Introduction
---------------------------------------------------------------------- */

.homepage-payment-intro {
    max-width: 560px;
}

.homepage-payment-intro h2 {
    margin: 0 0 24px;
    color: var(--color-text);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-payment-intro p {
    max-width: 520px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.homepage-payment-intro .homepage-section-button {
    margin-top: 28px;
}


/* ----------------------------------------------------------------------
   Payment Details
---------------------------------------------------------------------- */

.homepage-payment-details {
    border-top: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   Payment Item
---------------------------------------------------------------------- */

.homepage-payment-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.homepage-payment-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.homepage-payment-item h3 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.homepage-payment-item p {
    max-width: 600px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}


/* ======================================================================
   Payment / Reservation — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-payment {
        padding: 80px 0;
    }

    .homepage-payment-content {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .homepage-payment-intro {
        max-width: 700px;
    }

}


/* ======================================================================
   Payment / Reservation — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-payment {
        padding: 64px 0;
    }

    .homepage-payment-content {
        gap: 40px;
    }

    .homepage-payment-intro h2 {
        font-size: 2rem;
    }

    .homepage-payment-intro p {
        font-size: 0.88rem;
    }

    .homepage-payment-intro .homepage-section-button {
        width: 100%;
    }

    .homepage-payment-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 16px;
        padding: 24px 0;
    }

    .homepage-payment-number {
        width: 40px;
        height: 40px;
    }

    .homepage-payment-item p {
        font-size: 0.86rem;
    }

}

/* ======================================================================
   Homepage — About The Dealership
====================================================================== */

.homepage-about {
    padding: 96px 0;
    background: var(--color-background);
}


/* ----------------------------------------------------------------------
   Main Layout
---------------------------------------------------------------------- */

.homepage-about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 96px;
}


/* ----------------------------------------------------------------------
   About Copy
---------------------------------------------------------------------- */

.homepage-about-copy {
    max-width: 650px;
}

.homepage-about-copy h2 {
    max-width: 600px;
    margin: 0 0 24px;
    color: var(--color-text);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-about-copy p {
    max-width: 620px;
    margin: 0 0 16px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.homepage-about-copy .homepage-section-button {
    margin-top: 12px;
}


/* ----------------------------------------------------------------------
   About Information Panel
---------------------------------------------------------------------- */

.homepage-about-panel {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.homepage-about-panel-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 0;
}

.homepage-about-panel-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.homepage-about-panel-label {
    color: var(--color-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.homepage-about-panel-item strong {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}


/* ======================================================================
   About The Dealership — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-about {
        padding: 80px 0;
    }

    .homepage-about-content {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .homepage-about-copy {
        max-width: 700px;
    }

    .homepage-about-panel {
        max-width: 700px;
    }

}


/* ======================================================================
   About The Dealership — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-about {
        padding: 64px 0;
    }

    .homepage-about-content {
        gap: 40px;
    }

    .homepage-about-copy h2 {
        font-size: 2rem;
    }

    .homepage-about-copy p {
        font-size: 0.88rem;
    }

    .homepage-about-copy .homepage-section-button {
        width: 100%;
    }

    .homepage-about-panel-item {
        padding: 22px 0;
    }

}


/* ======================================================================
   Homepage — Customer Reviews Carousel
====================================================================== */

.homepage-reviews {
    padding: 96px 0;
    background: var(--color-surface);
}

/* Reviews Header */

.homepage-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.homepage-reviews-header h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-reviews-header > p {
    max-width: 430px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Carousel Viewport */

.homepage-reviews-viewport {
    width: 100%;
    overflow: hidden;
}

/* Carousel Track */

.homepage-reviews-grid {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
}

/* Review Card */

.homepage-review-card {
    display: flex;
    flex: 0 0 calc((100% - 48px) / 3);
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-background);
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.homepage-review-card:hover {
    border-color: rgba(7, 160, 187, 0.35);
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.07);
}

/* Star Rating */

.homepage-review-stars {
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

/* Review Text */

.homepage-review-text {
    flex: 1;
    margin: 0 0 28px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Customer Information */

.homepage-review-customer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Customer Profile Image */

.homepage-review-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(7, 160, 187, 0.1);
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 700;
    object-fit: cover;
    overflow: hidden;
}

.homepage-review-customer h3 {
    margin: 0 0 4px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.homepage-review-customer span {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Carousel Navigation */

.homepage-reviews-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.homepage-reviews-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;

    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-background);
    color: var(--color-primary);
    font-size: 1.2rem;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
    
}

.homepage-reviews-controls button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.homepage-reviews-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Tablet */

@media (max-width: 900px) {

    .homepage-reviews {
        padding: 80px 0;
    }

    .homepage-reviews-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 36px;
    }

    .homepage-reviews-header > p {
        max-width: 650px;
    }

    .homepage-reviews-grid {
        gap: 18px;
    }

    .homepage-review-card {
        flex-basis: calc((100% - 18px) / 2);
    }

}

/* Mobile */

@media (max-width: 640px) {

    .homepage-reviews {
        padding: 64px 0;
    }

    .homepage-reviews-header {
        gap: 14px;
        margin-bottom: 28px;
    }

    .homepage-reviews-header h2 {
        font-size: 2rem;
    }

    .homepage-reviews-header > p {
        font-size: 0.88rem;
    }

    .homepage-reviews-grid {
        gap: 16px;
    }

    .homepage-review-card {
        flex-basis: 100%;
        padding: 26px 22px;
    }

    .homepage-review-text {
        margin-bottom: 24px;
        font-size: 0.86rem;
    }

    .homepage-reviews-controls {
        margin-top: 24px;
    }

}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .homepage-reviews-grid {
        transition: none;
    }

}


/* ======================================================================
   Homepage — FAQ
====================================================================== */

.homepage-faq {
    padding: 96px 0;
    background: var(--color-background);
}


/* ----------------------------------------------------------------------
   FAQ Header
---------------------------------------------------------------------- */

.homepage-faq-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.homepage-faq-header h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.homepage-faq-header p {
    max-width: 500px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ----------------------------------------------------------------------
   FAQ Layout
---------------------------------------------------------------------- */

.homepage-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 72px;
}


/* ----------------------------------------------------------------------
   FAQ List
---------------------------------------------------------------------- */

.homepage-faq-list {
    border-top: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   FAQ Item
---------------------------------------------------------------------- */

.homepage-faq-item {
    border-bottom: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   FAQ Question
---------------------------------------------------------------------- */

.homepage-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 76px;
    padding: 20px 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.homepage-faq-question > span:first-child {
    padding-right: 30px;
}

.homepage-faq-question:hover {
    color: var(--color-accent);
}


/* ----------------------------------------------------------------------
   FAQ Icon
---------------------------------------------------------------------- */

.homepage-faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 300ms ease;
}

.homepage-faq-icon::before,
.homepage-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.homepage-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
    transition: transform 250ms ease;
}


/* ----------------------------------------------------------------------
   FAQ Open State
---------------------------------------------------------------------- */

.homepage-faq-question[aria-expanded="true"] {
    color: var(--color-accent);
}

.homepage-faq-question[aria-expanded="true"]
.homepage-faq-icon {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-text-light);
}

.homepage-faq-question[aria-expanded="true"]
.homepage-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* ----------------------------------------------------------------------
   FAQ Answer
---------------------------------------------------------------------- */

.homepage-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    transition:
        grid-template-rows 300ms ease,
        opacity 200ms ease;
}

.homepage-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.homepage-faq-answer p {
    max-width: 700px;
    margin: 0;
    padding: 0 50px 26px 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.homepage-faq-item.is-open .homepage-faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}


/* ----------------------------------------------------------------------
   FAQ Side Panel
---------------------------------------------------------------------- */

.homepage-faq-side {
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.homepage-faq-side-label {
    display: block;
    margin-bottom: 14px;
    color: var(--color-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.homepage-faq-side h3 {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.homepage-faq-side p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.homepage-faq-side .homepage-section-button {
    width: 100%;
    margin-top: 26px;
}


/* ======================================================================
   FAQ — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-faq {
        padding: 80px 0;
    }

    .homepage-faq-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 36px;
    }

    .homepage-faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .homepage-faq-side {
        max-width: 600px;
    }

}


/* ======================================================================
   FAQ — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-faq {
        padding: 64px 0;
    }

    .homepage-faq-header h2 {
        font-size: 2rem;
    }

    .homepage-faq-header p {
        font-size: 0.88rem;
    }

    .homepage-faq-question {
        min-height: 68px;
        font-size: 0.9rem;
    }

    .homepage-faq-answer p {
        padding-right: 10px;
        padding-bottom: 22px;
        font-size: 0.85rem;
    }

    .homepage-faq-side {
        padding: 26px 22px;
    }

    
}

/* ======================================================================
   Homepage — Final Contact / Inquiry CTA
====================================================================== */

.homepage-final-cta {
    padding: 58px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------------
   CTA Layout
---------------------------------------------------------------------- */

.homepage-final-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}


/* ----------------------------------------------------------------------
   CTA Copy
---------------------------------------------------------------------- */

.homepage-final-cta-copy {
    max-width: 650px;
}

.homepage-final-cta-copy .homepage-section-eyebrow {
    margin-bottom: 10px;
    color: var(--color-accent);
}

.homepage-final-cta-copy h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-final-cta-copy p {
    max-width: 600px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}


/* ----------------------------------------------------------------------
   CTA Actions
---------------------------------------------------------------------- */

.homepage-final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}


/* ----------------------------------------------------------------------
   CTA Buttons
---------------------------------------------------------------------- */

.homepage-final-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}


/* ----------------------------------------------------------------------
   Contact Us
---------------------------------------------------------------------- */

.homepage-final-cta-button-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-light);
}

.homepage-final-cta-button-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-1px);
}


/* ----------------------------------------------------------------------
   WhatsApp
---------------------------------------------------------------------- */

.homepage-final-cta-button-whatsapp {
    background: var(--color-background);
    border-color: var(--color-border);
    color: var(--color-text);
}

.homepage-final-cta-button-whatsapp:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-1px);
}


/* ----------------------------------------------------------------------
   Browse Vehicles
---------------------------------------------------------------------- */

.homepage-final-cta-button-secondary {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-muted);
}

.homepage-final-cta-button-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}


/* ======================================================================
   Final CTA — Tablet
====================================================================== */

@media (max-width: 900px) {

    .homepage-final-cta {
        padding: 52px 0;
    }

    .homepage-final-cta-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .homepage-final-cta-actions {
        justify-content: flex-start;
    }

}


/* ======================================================================
   Final CTA — Mobile
====================================================================== */

@media (max-width: 640px) {

    .homepage-final-cta {
        padding: 48px 0;
    }

    .homepage-final-cta-content {
        gap: 26px;
    }

    .homepage-final-cta-copy h2 {
        font-size: 2rem;
    }

    .homepage-final-cta-copy p {
        font-size: 0.86rem;
    }

    .homepage-final-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .homepage-final-cta-button {
        width: 100%;
    }

}

.homepage-section-icon {
    display: block;
    width: 54px;
    height: 32px;
    margin: 18px 0 18px;
    object-fit: contain;
}

.homepage-shipping .homepage-section-icon {
    filter: brightness(0) invert(1);
}

/* =========================================================
   BROWSE BY BRANDS
   ========================================================= */

.homepage-browse-brands {
    padding: 80px 0;
    background: var(--color-background);
}

.homepage-browse-brands-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 420px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--color-surface);
}


/* ---------------------------------------------------------
   LEFT — COPY
   --------------------------------------------------------- */

.homepage-browse-brands-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
}

.homepage-browse-brands-copy h2 {
    max-width: 480px;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.homepage-browse-brands-copy > p {
    max-width: 480px;
    margin: 20px 0 28px;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   BRAND CHIPS
   --------------------------------------------------------- */

.homepage-browse-brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 500px;
    margin-bottom: 30px;
}

.homepage-brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-background);
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.homepage-brand-chip:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   BROWSE BUTTON
   --------------------------------------------------------- */

.homepage-browse-brands-copy .homepage-section-button {
    align-self: flex-start;
}


/* ---------------------------------------------------------
   RIGHT — IMAGE
   --------------------------------------------------------- */

.homepage-browse-brands-visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #e5e7eb;
}

.homepage-browse-brands-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
}


/* ---------------------------------------------------------
   IMAGE LABEL
   --------------------------------------------------------- */

.homepage-browse-brands-label {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.92);
    color: var(--color-text-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.homepage-browse-brands-label strong {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.homepage-browse-brands-label span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    line-height: 1.3;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .homepage-browse-brands-content {
        grid-template-columns: 1fr;
    }

    .homepage-browse-brands-copy {
        padding: 48px;
    }

    .homepage-browse-brands-visual {
        min-height: 360px;
    }

    .homepage-browse-brands-image {
        min-height: 360px;
    }
}


@media (max-width: 640px) {

    .homepage-browse-brands {
        padding: 64px 0;
    }

    .homepage-browse-brands-content {
        border-radius: 16px;
    }

    .homepage-browse-brands-copy {
        padding: 36px 28px;
    }

    .homepage-browse-brands-copy h2 {
        font-size: 2rem;
    }

    .homepage-browse-brands-copy > p {
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .homepage-browse-brands-list {
        gap: 8px;
        margin-bottom: 26px;
    }

    .homepage-brand-chip {
        min-height: 36px;
        padding: 8px 13px;
        font-size: 0.74rem;
    }

    .homepage-browse-brands-visual {
        min-height: 300px;
    }

    .homepage-browse-brands-image {
        min-height: 300px;
        object-position: center;
    }

    .homepage-browse-brands-label {
        right: 18px;
        bottom: 18px;
        padding: 11px 14px;
    }
}

/* =========================================================
   VEHICLES PAGE
   ========================================================= */

.vehicles-page {
    width: 100%;
}


/* =========================================================
   SHARED VEHICLES CONTAINER
   ========================================================= */

.vehicles-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   PAGE INTRODUCTION
   ========================================================= */

.vehicles-intro {
    padding: 70px 0 35px;
    text-align: center;
}

.vehicles-intro h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.vehicles-intro p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   VEHICLE SEARCH
   ========================================================= */

.vehicle-search-main {
    width: 100%;
    margin-bottom: 28px;
}

.vehicle-search-main > label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
}

.vehicle-search-box {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-background);

    overflow: hidden;

    transition:
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}

.vehicle-search-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}


/* Search input area */

.vehicle-search-input {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.vehicle-search-input input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 56px;

    padding: 0 10px 0 18px;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--color-text);

    font: inherit;
    font-size: 0.95rem;
}

.vehicle-search-input input::placeholder {
    color: var(--color-text-muted);
}


/* Clear button */

.vehicle-search-clear {
    flex: 0 0 42px;
    width: 42px;
    height: 56px;

    padding: 0;

    border: 0;
    background: transparent;
    color: #777;

    font: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}

.vehicle-search-clear:hover {
    background: transparent;
    color: #111;
}

.vehicle-search-clear:active {
    background: transparent;
}

.vehicle-search-clear[hidden] {
    display: none;
}


/* Search submit button */

.vehicle-search-submit {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 0 24px;

    border: 0;
    background: var(--color-primary);
    color: var(--color-text-light);

    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;
}

.vehicle-search-submit:hover {
    background: var(--color-accent);
}


/* =========================================================
   VEHICLE SEARCH — MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vehicle-search-main {
        margin-bottom: 22px;
    }

    .vehicle-search-box {
        min-height: 54px;
    }

    .vehicle-search-input input {
        height: 54px;
        padding: 0 8px 0 14px;

        font-size: 16px !important;
    }

    .vehicle-search-clear {
        flex-basis: 42px;
        width: 42px;
        height: 54px;
        font-size: 22px;
    }

    .vehicle-search-submit {
        min-width: 80px;
        padding: 0 13px;
        font-size: 0.82rem;
    }

}
/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.vehicles-page .section-heading {
    margin-bottom: 35px;
}

.vehicles-page .section-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.vehicles-page .section-heading p {
    margin: 0;
    line-height: 1.6;
}


/* =========================================================
   AVAILABLE VEHICLES
   ========================================================= */

.vehicles-inventory {
    padding: 70px 0;
    background: #f7f7f7;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   VEHICLE CARD
   ========================================================= */

.vehicle-card {
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.vehicle-card > a {
    display: block;
}

.vehicle-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.vehicle-card-content {
    padding: 20px;
}

.vehicle-card h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.vehicle-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.vehicle-card-details span {
    padding-right: 9px;
    border-right: 1px solid #ddd;
    font-size: 0.9rem;
}

.vehicle-card-details span:last-child {
    padding-right: 0;
    border-right: 0;
}

.vehicle-card-price {
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-weight: 700;
}

.vehicle-card-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   EMPTY VEHICLE STATE
   ========================================================= */

.vehicles-empty {
    padding: 50px 25px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.vehicles-empty h3 {
    margin: 0 0 10px;
}

.vehicles-empty p {
    margin: 0;
    line-height: 1.6;
}


/* =========================================================
   BROWSE BY BRAND
   ========================================================= */

.vehicles-brands {
    padding: 75px 0;
}

.vehicle-brands-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 70px;
    border-top: 1px solid #e5e5e5;
}

.vehicle-brand-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
    min-width: 0;

    padding: 14px 10px 14px 0;

    border-bottom: 1px solid #e5e5e5;

    color: #25a2eb;
    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease,
        background-color 0.25s ease;
}

.vehicle-brand-link:hover {
    padding-left: 7px;
    color: var(--color-accent);
    background: rgba(7, 160, 187, 0.04);
}

.vehicle-brand-name {
    min-width: 0;

    color: inherit;
    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.vehicle-brand-link:hover .vehicle-brand-name {
    transform: translateX(2px);
}

.vehicle-brand-count {
    flex-shrink: 0;

    color: var(--color-text-muted);
    font-size: 0.82rem;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.vehicle-brand-link:hover .vehicle-brand-count {
    color: var(--color-accent);
    transform: translateX(2px);
}

@keyframes vehicleBrandAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-brand-link {
    animation: vehicleBrandAppear 0.45s ease both;
}

.vehicle-brand-link:nth-child(2) {
    animation-delay: 0.05s;
}

.vehicle-brand-link:nth-child(3) {
    animation-delay: 0.10s;
}

.vehicle-brand-link:nth-child(4) {
    animation-delay: 0.15s;
}

.vehicle-brand-link:nth-child(5) {
    animation-delay: 0.20s;
}

.vehicle-brand-link:nth-child(6) {
    animation-delay: 0.25s;
}

.vehicle-brand-link:nth-child(7) {
    animation-delay: 0.30s;
}

.vehicle-brand-link:nth-child(8) {
    animation-delay: 0.35s;
}

/* =========================================================
   FURTHER INFORMATION
   ========================================================= */

.vehicles-information {
    padding: 55px 0;
    background: #f7f7f7;
}

.vehicles-information-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 35px;
}

.vehicles-information-links a {
    display: flex;
    align-items: center;

    min-height: 48px;
    padding: 11px 0;

    border-bottom: 1px solid #dedede;

    color: #123f72;
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.vehicles-information-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vehicles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicles-information-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-brands-list {
        column-gap: 35px;
    }
}


/* =========================================================
   MOBILE VEHICLE SEARCH
   ========================================================= */

@media (max-width: 640px) {

    .vehicles-page .container {
        width: min(100% - 30px, 1180px);
    }

    .vehicles-intro {
        padding: 50px 0 25px;
    }

    .vehicles-intro p {
        font-size: 0.98rem;
    }

    .vehicles-search {
        padding: 15px 0 50px;
    }

    .vehicles-search form {
        width: 100%;
    }

    .vehicles-search label {
        margin-bottom: 14px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .vehicle-search-box {
        position: relative;
        display: block;
        width: 100%;
        min-height: 56px;
        border: 1px solid #d8d8d8;
        border-radius: 10px;
        background: #fff;
        overflow: hidden;

        transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.2s ease;

        touch-action: manipulation;
    }

    .vehicle-search-box:focus-within {
        border-color: #111;
        box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
    }

    .vehicle-search-box input {
    display: block;
    width: 100%;
    min-height: 56px;
    box-sizing: border-box;

    border: 0;
    outline: none;

    padding: 0 62px 0 16px;

    font: inherit;
    font-size: 16px !important;

    background: transparent;
    color: #383737;

    touch-action: manipulation;
}

    .vehicle-search-box input::placeholder {
        color: #888;
    }

.vehicle-search-box > button[type="submit"] {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 40px;
    height: 40px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 7px;

    background: #111;
    color: #fff;

    cursor: pointer;

    z-index: 3;
}


    .vehicle-search-box button:hover {
        background: #222;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    }

    .vehicle-search-box button:hover::before {
        transform: translateX(2px);
    }

    .vehicle-search-box button:active {
        transform: scale(0.94);
        box-shadow: none;
    }

    .vehicle-search-box {
        animation: vehicleSearchAppear 0.5s ease both;
    }

    @keyframes vehicleSearchAppear {

        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }

    .vehicles-inventory,
    .vehicles-brands,
    .vehicles-information {
        padding: 55px 0;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vehicle-brands-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 18px;
    }

    .vehicle-brand-link {
    padding: 13px 6px 13px 0;
    font-size: 0.88rem;
}

.vehicle-brand-count {
    font-size: 0.75rem;
}
    .vehicles-information-links {
        grid-template-columns: 1fr;
    }

    .vehicle-card-content {
        padding: 18px;
    }

}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
    width: 100%;
}


/* =========================================================
   ABOUT INTRO
   ========================================================= */

.about-intro {
    padding: 75px 0 70px;
    background: var(--color-background);
}

.about-content {
    max-width: 850px;
}

.about-eyebrow {
    margin: 0 0 10px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-content h1 {
    margin: 0 0 30px;
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.about-copy {
    max-width: 760px;
}

.about-copy p {
    margin: 0 0 18px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LOCATION
   ========================================================= */

.about-location {
    padding: 65px 0;
    background: #f7f7f7;
}

.about-location-content {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
    align-items: center;
    gap: 70px;
}

.about-location-content h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.about-location-content p:not(.about-eyebrow) {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.about-location-placeholder {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    border: 1px dashed var(--color-border);
    background: var(--color-background);

    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
}


/* =========================================================
   INTERNAL LINKS
   ========================================================= */

.about-links {
    padding: 65px 0;
    background: var(--color-background);
}

.about-links-heading {
    margin-bottom: 28px;
}

.about-links-heading h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.about-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 45px;
    border-top: 1px solid var(--color-border);
}

.about-links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 52px;
    padding: 13px 5px 13px 0;

    border-bottom: 1px solid var(--color-border);

    color: #123f72;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.about-links-list a:hover {
    padding-left: 6px;
    color: var(--color-accent);
}

.about-link-arrow {
    color: inherit;
    font-size: 1rem;

    transition: transform 0.2s ease;
}

.about-links-list a:hover .about-link-arrow {
    transform: translateX(4px);
}


/* =========================================================
   ABOUT PAGE — MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .about-intro {
        padding: 50px 0 55px;
    }

    .about-content h1 {
        margin-bottom: 24px;
    }

    .about-copy p {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .about-location {
        padding: 50px 0;
    }

    .about-location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-location-placeholder {
        min-height: 140px;
    }

    .about-links {
        padding: 50px 0;
    }

    .about-links-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .about-links-list a {
        min-height: 48px;
        font-size: 0.88rem;
    }

}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.site-breadcrumbs {
    width: min(100% - 2rem, var(--container-width));
    margin: 0 auto;
    padding: 18px 0 0;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-width: 0;

    color: var(--color-text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.breadcrumb-link {
    color: var(--color-text-muted);
    text-decoration: none;

    transition:
        color var(--transition-fast);
}

.breadcrumb-link:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    color: #a1a1aa;
    font-size: 0.85rem;
    line-height: 1;
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 500;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    width: 100%;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
    padding: 42px 0 48px;
    background: #fff;
}

.contact-section .section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.contact-eyebrow {
    margin: 0 0 6px;

    color: #245b8f;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-section .section-heading h1 {
    margin: 0 0 10px;

    color: #071a33;

    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.contact-section .section-heading > p:last-child {
    max-width: 680px;
    margin: 0;

    color: #536276;

    font-size: 0.94rem;
    line-height: 1.65;
}


/* =========================================================
   CONTACT LAYOUT
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information {
    padding-top: 4px;
}

.contact-information h2 {
    margin: 0 0 10px;

    color: #071a33;

    font-size: 1.3rem;
    line-height: 1.3;
}

.contact-information > p {
    max-width: 480px;
    margin: 0 0 12px;

    color: #536276;

    font-size: 0.88rem;
    line-height: 1.65;
}


/* =========================================================
   CONTACT INTERNAL LINKS
   ========================================================= */

.contact-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;

    margin-top: 20px;
}

.contact-help-links a {
    color: #245b8f;

    font-size: 0.84rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.contact-help-links a:hover {
    color: #071a33;
    transform: translateX(2px);
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
    padding: 22px;

    border: 1px solid #e1e5e9;
    border-radius: 8px;

    background: #fafafa;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-field label {
    color: #071a33;

    font-size: 0.82rem;
    font-weight: 600;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d7dce2;
    border-radius: 6px;

    background: #fff;
    color: #071a33;

    font-family: inherit;
    font-size: 0.88rem;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.contact-form-field input,
.contact-form-field select {
    height: 43px;
    padding: 0 12px;
}

.contact-form-field textarea {
    min-height: 125px;
    padding: 11px 12px;

    resize: vertical;
    line-height: 1.5;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: #245b8f;

    box-shadow: 0 0 0 2px rgba(36, 91, 143, 0.08);
}


/* =========================================================
   FORM BUTTON
   ========================================================= */

.contact-form-submit {
    width: 100%;
    min-height: 44px;

    margin-top: 2px;

    border: 0;
    border-radius: 6px;

    background: #071a33;
    color: #fff;

    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.contact-form-submit:hover {
    background: #245b8f;
    transform: translateY(-1px);
}

.contact-form-submit:active {
    transform: translateY(0);
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.contact-form-honeypot {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   FORM MESSAGES
   ========================================================= */

.contact-form-message {
    margin-bottom: 16px;
    padding: 12px 14px;

    border-radius: 6px;

    font-size: 0.82rem;
    line-height: 1.5;
}

.contact-form-message strong {
    display: block;
    margin-bottom: 4px;
}

.contact-form-message p {
    margin: 0;
}

.contact-form-message ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.contact-form-error {
    border: 1px solid #e6caca;
    background: #fff7f7;
    color: #7d2929;
}

.contact-form-success {
    border: 1px solid #c9dfd0;
    background: #f5fbf6;
    color: #285b36;
}


/* =========================================================
   FAQ SECTION
   ========================================================= */

.contact-faq {
    padding: 46px 0 55px;
    background: #f7f8fa;
}

.contact-faq .section-heading {
    max-width: 700px;
    margin-bottom: 22px;
}

.contact-faq .section-heading h2 {
    margin: 0 0 9px;

    color: #071a33;

    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-faq .section-heading > p:last-child {
    margin: 0;

    color: #536276;

    font-size: 0.88rem;
    line-height: 1.6;
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.faq-list {
    max-width: 900px;

    border-top: 1px solid #dfe3e7;
}

.faq-item {
    border-bottom: 1px solid #dfe3e7;
}


/* =========================================================
   FAQ QUESTION
   ========================================================= */

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 15px 3px;

    border: 0;
    background: transparent;

    color: #071a33;

    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.18s ease,
        padding-left 0.18s ease;
}

.faq-question:hover {
    padding-left: 7px;
    color: #245b8f;
}


/* =========================================================
   FAQ ICON
   ========================================================= */

.faq-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    color: #245b8f;

    font-size: 1rem;
    font-weight: 400;

    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}


/* =========================================================
   FAQ ANSWER
   ========================================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    overflow: hidden;

    transition: grid-template-rows 0.23s ease;
}

.faq-answer > * {
    min-height: 0;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    max-width: 760px;

    margin: 0;
    padding: 0 35px 0 3px;

    color: #536276;

    font-size: 0.84rem;
    line-height: 1.65;

    opacity: 0;

    transition:
        opacity 0.18s ease,
        padding 0.23s ease;
}

.faq-item.is-open .faq-answer p {
    padding-bottom: 7px;
    opacity: 1;
}


/* =========================================================
   FAQ LINK
   ========================================================= */

.faq-answer a {
    width: fit-content;

    margin: 0;
    padding: 0 35px 14px 3px;

    color: #245b8f;

    font-size: 0.8rem;
    font-weight: 600;

    text-decoration: none;

    opacity: 0;

    transition:
        color 0.18s ease,
        opacity 0.18s ease;
}

.faq-item.is-open .faq-answer a {
    opacity: 1;
}

.faq-answer a:hover {
    color: #071a33;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .contact-section {
        padding: 34px 0 40px;
    }

    .contact-section .section-heading {
        margin-bottom: 23px;
    }

    .contact-section .section-heading h1 {
        margin-bottom: 9px;
        font-size: 1.9rem;
    }

    .contact-section .section-heading > p:last-child {
        font-size: 0.84rem;
        line-height: 1.6;
    }


    /* Contact columns become one */

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    /* Contact information */

    .contact-information h2 {
        font-size: 1.18rem;
    }

    .contact-information > p {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .contact-help-links {
        gap: 6px 14px;
        margin-top: 15px;
    }

    .contact-help-links a {
        font-size: 0.8rem;
    }


    /* Form */

    .contact-form-wrapper {
        padding: 17px;
        border-radius: 7px;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form-field {
        gap: 5px;
    }

    .contact-form-field label {
        font-size: 0.78rem;
    }

    .contact-form-field input,
    .contact-form-field select {
        height: 42px;
        font-size: 0.84rem;
    }

    .contact-form-field textarea {
        min-height: 115px;
        font-size: 0.84rem;
    }

    .contact-form-submit {
        min-height: 42px;
    }


    /* FAQ */

    .contact-faq {
        padding: 38px 0 45px;
    }

    .contact-faq .section-heading {
        margin-bottom: 18px;
    }

    .contact-faq .section-heading h2 {
        font-size: 1.5rem;
    }

    .contact-faq .section-heading > p:last-child {
        font-size: 0.83rem;
    }

    .faq-question {
        min-height: 52px;
        padding: 14px 2px;

        font-size: 0.84rem;
    }

    .faq-question:hover {
        padding-left: 2px;
    }

    .faq-answer p {
        padding-right: 5px;
        padding-left: 2px;

        font-size: 0.81rem;
        line-height: 1.6;
    }

    .faq-item.is-open .faq-answer p {
        padding-bottom: 6px;
    }

    .faq-answer a {
        padding-right: 5px;
        padding-left: 2px;
        padding-bottom: 12px;

        font-size: 0.78rem;
    }

}

/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-page {
    width: 100%;
    background: #fff;
}

.legal-content {
    padding: 42px 0 60px;
}

.legal-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.legal-eyebrow {
    margin: 0 0 7px;

    color: #245b8f;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-header h1 {
    margin: 0 0 12px;

    color: #071a33;

    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.legal-header > p:last-child {
    max-width: 700px;
    margin: 0;

    color: #536276;

    font-size: 0.94rem;
    line-height: 1.65;
}


/* =========================================================
   LEGAL BODY
   ========================================================= */

.legal-body {
    max-width: 820px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 8px;

    color: #071a33;

    font-size: 1.15rem;
    line-height: 1.35;
}

.legal-section p {
    margin: 0 0 10px;

    color: #536276;

    font-size: 0.88rem;
    line-height: 1.7;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: #245b8f;
    font-weight: 600;
    text-decoration: none;
}

.legal-section a:hover {
    color: #071a33;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .legal-content {
        padding: 34px 0 45px;
    }

    .legal-header {
        margin-bottom: 27px;
    }

    .legal-header h1 {
        font-size: 1.9rem;
    }

    .legal-header > p:last-child {
        font-size: 0.84rem;
    }

    .legal-section {
        margin-bottom: 23px;
    }

    .legal-section h2 {
        font-size: 1.05rem;
    }

    .legal-section p {
        font-size: 0.82rem;
        line-height: 1.65;
    }

}

/* ==========================================================================
   INDIVIDUAL VEHICLE PAGE
   ========================================================================== */


/* ==========================================================================
   VEHICLE PAGE BASE
   ========================================================================== */

.vehicle-page {
    width: 100%;
    background: #ffffff;
}

.vehicle-page .container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* ==========================================================================
   VEHICLE NOT FOUND
   ========================================================================== */

.vehicle-not-found {
    padding: 80px 0;
    text-align: center;
}

.vehicle-not-found h1 {
    margin-bottom: 15px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.vehicle-not-found p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-muted);
}

.vehicle-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: var(--border-radius-md);

    background: var(--color-primary);
    color: #ffffff;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.vehicle-page-button:hover {
    background: #1f2937;
    transform: translateY(-1px);
}


/* ==========================================================================
   VEHICLE HERO
   ========================================================================== */

.vehicle-hero {
    padding: 42px 0 70px;
}

.vehicle-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
    gap: 42px;
    align-items: start;
}


/* ==========================================================================
   VEHICLE GALLERY
   ========================================================================== */

.vehicle-gallery {
    min-width: 0;
}

.vehicle-gallery-main {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    border-radius: 16px;

    background: #f1f3f5;
}

.vehicle-gallery-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Gallery navigation */

.vehicle-gallery-control {
    position: absolute;
    top: 50%;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(17, 24, 39, 0.86);
    color: #ffffff;

    font-size: 20px;
    line-height: 1;

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;

        touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.vehicle-gallery-control:hover {
    background: var(--color-primary);
}

.vehicle-gallery-control:active {
    transform: translateY(-50%) scale(0.96);
}

.vehicle-gallery-prev {
    left: 18px;
}

.vehicle-gallery-next {
    right: 18px;
}


/* Image counter */

.vehicle-gallery-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;

    min-width: 48px;
    padding: 6px 11px;

    border-radius: 999px;

    background: rgba(17, 24, 39, 0.86);
    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 700;

    text-align: center;
}


/* ==========================================================================
   VEHICLE THUMBNAILS
   ========================================================================== */

.vehicle-gallery-thumbnails {
    display: flex;
    gap: 10px;

    margin-top: 14px;

    overflow-x: auto;

    scrollbar-width: thin;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}


.vehicle-gallery-thumbnail {
    flex: 0 0 82px;

    width: 82px;
    height: 60px;

    padding: 2px;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 8px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.vehicle-gallery-thumbnail:hover {
    opacity: 0.85;
}

.vehicle-gallery-thumbnail.is-active {
    border-color: var(--color-primary);
}

.vehicle-gallery-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 5px;
}

/* ==========================================================================
   VEHICLE SUMMARY
   ========================================================================== */

.vehicle-summary {
    min-width: 0;

    display: flex;
    flex-direction: column;

    height: 80%;
    padding: 7px;

   
}

.vehicle-summary-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vehicle-condition {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 4px 10px;

    margin-bottom: 14px;

    border: 1px solid #d9dee5;
    border-radius: 999px;

    background: #f8fafc;
    color: #475569;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vehicle-title {
    margin: 0;

    color: var(--color-primary);

    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.vehicle-availability {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    margin-top: 16px;
    padding: 5px 12px;

    border-radius: 999px;

    background: #ecfdf5;
    color: #087443;

    font-size: 0.84rem;
    font-weight: 700;
}

.vehicle-summary-price {
    margin-top: 26px;
    margin-bottom: 4px;

    color: var(--color-primary);

    font-size: clamp(2rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}


/* ==========================================================================
   COMPACT INQUIRY
   ========================================================================== */

.vehicle-inquiry-compact {
    margin-top: auto;
    padding: 22px;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    background: var(--color-surface);
}

.vehicle-inquiry-label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vehicle-inquiry-compact p {
    margin: 0 0 16px;

    color: var(--color-text-muted);

    font-size: 0.88rem;
    line-height: 1.5;
}

.vehicle-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 48px;

    padding: 0 22px;

    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);

    background: var(--color-primary);
    color: #ffffff;

    font-size: 0.94rem;
    font-weight: 700;

    line-height: 1;
    text-align: center;

    cursor: pointer;

    transition:
        background-color var(--transition-medium),
        border-color var(--transition-medium),
        transform var(--transition-medium);
}

.vehicle-inquiry-button:hover,
.vehicle-inquiry-button:focus-visible {
    background: #1f2937;
    border-color: #1f2937;
    transform: translateY(-1px);
}

.vehicle-inquiry-button span {
    display: inline-flex;
    align-items: center;
}

.vehicle-inquiry-phone-icon {
    font-size: 0.9rem;
    line-height: 1;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .vehicle-summary {
        height: auto;
    }

    .vehicle-inquiry-compact {
        margin-top: 26px;
    }

}


@media (max-width: 640px) {

    .vehicle-summary {
        padding: 22px;
        border-radius: 12px;
    }

    .vehicle-summary-price {
        margin-top: 22px;
    }

    .vehicle-inquiry-compact {
        margin-top: 22px;
        padding: 20px;
    }

    .vehicle-inquiry-button {
        min-height: 48px;
    }

}

/* ==========================================================================
   VEHICLE INQUIRY MODAL
   ========================================================================== */

.vehicle-inquiry-modal {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 24px;
}

.vehicle-inquiry-modal.is-open {
    display: flex;
}


/* --------------------------------------------------------------------------
   Overlay
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(17, 24, 39, 0.72);

    backdrop-filter: blur(3px);
}


/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-dialog {
    position: relative;

    z-index: 1;

    width: min(100%, 480px);

    padding: 34px;

    background: var(--color-background);

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);

    box-shadow:
        0 24px 70px rgba(17, 24, 39, 0.24);
}


/* --------------------------------------------------------------------------
   Close Button
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-close {
    position: absolute;

    top: 16px;
    right: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    background: var(--color-background);
    color: var(--color-secondary);

    font-size: 1.4rem;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color var(--transition-medium),
        border-color var(--transition-medium),
        color var(--transition-medium);
}

.vehicle-inquiry-modal-close:hover,
.vehicle-inquiry-modal-close:focus-visible {
    background: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   Modal Content
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-content {
    padding-right: 20px;
}

.vehicle-inquiry-modal-content .vehicle-section-eyebrow {
    margin-bottom: 10px;
}

.vehicle-inquiry-modal-content h2 {
    margin: 0 0 14px;

    color: var(--color-primary);

    font-size: clamp(1.65rem, 4vw, 2rem);
    line-height: 1.15;
}

.vehicle-inquiry-modal-content p {
    margin: 0;

    color: var(--color-text-muted);

    font-size: 0.92rem;
    line-height: 1.7;
}


/* --------------------------------------------------------------------------
   Modal Actions
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-actions {
    display: grid;

    gap: 12px;

    margin-top: 26px;
}

.vehicle-inquiry-modal-action {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 20px;

    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);

    background: var(--color-primary);
    color: var(--color-text-light);

    font-size: 0.9rem;
    font-weight: 700;

    text-align: center;

    transition:
        background-color var(--transition-medium),
        border-color var(--transition-medium),
        transform var(--transition-medium);
}

.vehicle-inquiry-modal-action:hover,
.vehicle-inquiry-modal-action:focus-visible {
    background: #1f2937;
    border-color: #1f2937;

    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   Mobile Modal
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {

    .vehicle-inquiry-modal {
        padding: 16px;
    }

    .vehicle-inquiry-modal-dialog {
        padding: 28px 22px 24px;

        border-radius: var(--border-radius-md);
    }

    .vehicle-inquiry-modal-content {
        padding-right: 8px;
    }

    .vehicle-inquiry-modal-close {
        top: 12px;
        right: 12px;
    }

}

/* ==========================================================================
   Vehicle Inquiry Modal
   ========================================================================== */

.vehicle-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


.vehicle-inquiry-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* --------------------------------------------------------------------------
   Overlay
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.72);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 480px);

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.25);

    transform: translateY(12px) scale(0.98);

    transition:
        transform 0.2s ease;
}


.vehicle-inquiry-modal.is-open
.vehicle-inquiry-modal-dialog {
    transform: translateY(0) scale(1);
}


/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-content {
    padding: 34px;
}


.vehicle-inquiry-modal-content .vehicle-section-eyebrow {
    display: block;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #64748b;
}


.vehicle-inquiry-modal-content h2 {
    margin: 0 48px 12px 0;

    font-size: 30px;
    line-height: 1.15;
}


.vehicle-inquiry-modal-content > p {
    margin: 0 0 26px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.65;
}


/* --------------------------------------------------------------------------
   Close Button
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #e2e8f0;
    border-radius: 50%;

    background: #ffffff;

    color: #334155;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.vehicle-inquiry-modal-close:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}


.vehicle-inquiry-modal-close:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Action Buttons
   -------------------------------------------------------------------------- */

.vehicle-inquiry-modal-actions {
    display: grid;
    gap: 10px;
}


.vehicle-inquiry-modal-action {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 20px;

    border-radius: 8px;

    background: #111827;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.vehicle-inquiry-modal-action:hover {
    background: #1f2937;
    color: #ffffff;

    transform: translateY(-1px);
}


.vehicle-inquiry-modal-action:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Phone Number
   -------------------------------------------------------------------------- */

.vehicle-inquiry-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid #e2e8f0;
}


.vehicle-inquiry-phone-label {
    color: #64748b;

    font-size: 13px;
    font-weight: 600;
}


.vehicle-inquiry-phone-number {
    color: #0f172a;

    font-size: 15px;
    font-weight: 600;

    user-select: text;
    -webkit-user-select: text;
}


/* --------------------------------------------------------------------------
   Prevent background scrolling while modal is open
   -------------------------------------------------------------------------- */

body.inquiry-modal-open {
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {

    .vehicle-inquiry-modal {
        align-items: flex-end;

        padding: 12px;
    }


    .vehicle-inquiry-modal-dialog {
        width: 100%;

        border-radius: 16px 16px 12px 12px;
    }


    .vehicle-inquiry-modal-content {
        padding: 28px 22px 24px;
    }


    .vehicle-inquiry-modal-content h2 {
        font-size: 25px;
    }


    .vehicle-inquiry-modal-close {
        top: 14px;
        right: 14px;
    }


    .vehicle-inquiry-phone {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

}

/* ==========================================================================
   VEHICLE OVERVIEW
   ========================================================================== */

.vehicle-overview {
    padding: 65px 0 40px;

    background: #f8fafc;

    border-top: 1px solid #eef0f3;
}

.vehicle-specifications-section {
    width: 100%;
}


/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.vehicle-section-heading {
    margin-bottom: 25px;
   
}

.vehicle-section-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #64748b;

    font-size: 0.74rem;
    font-weight: 800;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.vehicle-section-heading h2 {
    margin: 0;

    color: var(--color-primary);

    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
}


/* ==========================================================================
   SPECIFICATIONS
   ========================================================================== */

.vehicle-specifications {
    min-width: 0;
    width: 100%;
    margin-bottom: 30px;
}

.vehicle-specifications-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin: 0;

    border-top: 1px solid #dce2e8;
    border-left: 1px solid #dce2e8;

    background: #ffffff;
}

.vehicle-specification {
    min-width: 0;

    min-height: 82px;

    padding: 15px 18px;

    border-right: 1px solid #dce2e8;
    border-bottom: 1px solid #dce2e8;

    background: #ffffff;
}

.vehicle-specification dt {
    margin-bottom: 5px;

    color: #64748b;

    font-size: 0.70rem;
    font-weight: 800;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vehicle-specification dd {
    margin: 0;

    color: var(--color-primary);

    font-size: 0.95rem;
    font-weight: 700;

    line-height: 1.35;
}


/* ==========================================================================
   FEATURES
   ========================================================================== */

.vehicle-features {
    padding: 75px 0;

    background: #ffffff;
}

.vehicle-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vehicle-feature {
    display: inline-flex;
    align-items: center;

    min-height: 38px;

    padding: 7px 13px;

    border: 1px solid var(--color-border);
    border-radius: 999px;

    background: #f8fafc;
    color: #374151;

    font-size: 0.88rem;
    font-weight: 600;
}


/* ==========================================================================
   PAYMENT + DELIVERY
   ========================================================================== */

.vehicle-purchase-information {
    padding: 75px 0;

    background: #f8fafc;

    border-top: 1px solid #eef0f3;
}

.vehicle-purchase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.vehicle-purchase-card {
    min-width: 0;

    padding: 32px;

    border: 1px solid #dce2e8;
    border-radius: 14px;

    background: #ffffff;
}

.vehicle-purchase-card h2 {
    margin: 0 0 13px;

    color: var(--color-primary);

    font-size: 1.45rem;
}

.vehicle-purchase-card p {
    margin: 0 0 22px;

    color: #5f7085;

    line-height: 1.7;
}

.vehicle-purchase-card a {
    color: var(--color-primary);

    font-weight: 700;

    transition: color 0.2s ease;
}

.vehicle-purchase-card a:hover {
    color: var(--color-accent);
}


/* ==========================================================================
   VEHICLE NAVIGATION
   ========================================================================== */

.vehicle-navigation {
    padding: 28px 0 30px;

    background: #ffffff;
}

.vehicle-navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.vehicle-navigation a {
    color: #334155;

    font-size: 0.92rem;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.vehicle-navigation a:hover {
    color: var(--color-accent);
    transform: translateX(2px);
}

/* ==========================================================================
   RELATED VEHICLES
   ========================================================================== */

.vehicle-related {
    padding: 70px 0 10px;
}

.vehicle-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    margin-top: 30px;
}

.vehicle-related-card {
    display: block;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(17, 24, 39, 0.04);

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.vehicle-related-card:hover {
    border-color: #cbd5e1;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(17, 24, 39, 0.09);
}

.vehicle-related-image {
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f1f3f5;
}

.vehicle-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}

.vehicle-related-card:hover .vehicle-related-image img {
    transform: scale(1.025);
}

.vehicle-related-content {
    padding: 17px 18px 18px;
}

.vehicle-related-content h3 {
    margin: 0;

    color: var(--color-primary);

    font-size: 1rem;
    font-weight: 750;
    line-height: 1.35;
}

.vehicle-related-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 15px;

    padding-top: 14px;

    border-top: 1px solid var(--color-border);
}

.vehicle-related-availability {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 5px 9px;

    border-radius: 999px;

    background: #ecfdf3;
    color: #15803d;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.04em;
    line-height: 1;

    text-transform: uppercase;

    white-space: nowrap;
}

.vehicle-related-price {
    color: var(--color-primary);

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;
}


/* ==========================================================================
   RELATED VEHICLES — MOBILE
   ========================================================================== */

@media (max-width: 640px) {

    .vehicle-related {
        padding: 55px 0 10px;
    }

    .vehicle-related-grid {
        display: flex;

        gap: 14px;

        margin-top: 25px;

        overflow-x: auto;
        overflow-y: hidden;

        padding-bottom: 8px;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .vehicle-related-grid::-webkit-scrollbar {
        display: none;
    }

    .vehicle-related-card {
        flex: 0 0 86%;

        scroll-snap-align: start;
    }

    .vehicle-related-image {
        aspect-ratio: 16 / 10;
    }

    .vehicle-related-content {
        padding: 16px 17px 17px;
    }

    .vehicle-related-content h3 {
        font-size: 0.98rem;
    }

    .vehicle-related-meta {
        margin-top: 13px;
        padding-top: 12px;
    }

    .vehicle-related-price {
        font-size: 0.95rem;
    }

}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 950px) {

    .vehicle-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .vehicle-summary {
        max-width: 760px;
    }

    .vehicle-specifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 640px) {

    .vehicle-page .container {
        width: min(100% - 30px, 1180px);
    }


    /* --------------------------------------------------------------
       Hero
       -------------------------------------------------------------- */

    .vehicle-hero {
        padding: 25px 0 50px;
    }

    .vehicle-hero-layout {
        gap: 28px;
    }


    /* --------------------------------------------------------------
       Gallery
       -------------------------------------------------------------- */

    .vehicle-gallery-main {
        aspect-ratio: 4 / 3;

        border-radius: 12px;
    }

    .vehicle-gallery-control {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }

    .vehicle-gallery-prev {
        left: 10px;
    }

    .vehicle-gallery-next {
        right: 10px;
    }

    .vehicle-gallery-counter {
        right: 10px;
        bottom: 10px;

        padding: 5px 9px;
    }

    .vehicle-gallery-thumbnails {
        margin-top: 10px;
    }

    .vehicle-gallery-thumbnail {
        flex-basis: 72px;

        width: 72px;
        height: 54px;
    }


    /* --------------------------------------------------------------
       Summary
       -------------------------------------------------------------- */

    .vehicle-summary {
        display: flex;
        flex-direction: column;
    }

    .vehicle-summary-heading {
        order: 1;
    }

    .vehicle-summary-price {
        order: 2;

        margin-top: 20px;

        font-size: 2rem;

    }

    .vehicle-quick-details {
        order: 4;

        margin-top: 24px;
    }

    .vehicle-inquiry-compact {
        order: 3;

        margin-top: 18px;
        padding-top: 18px;
    }

    .vehicle-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .vehicle-condition {
        margin-bottom: 11px;
    }

    .vehicle-availability {
        margin-top: 13px;
    }


/* --------------------------------------------------------------
   Specifications
   -------------------------------------------------------------- */

.vehicle-overview {
    padding: 50px 0 55px;
}

.vehicle-section-heading {
    margin-bottom: 20px;
}

.vehicle-specifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-specification {
    min-height: 74px;

    padding: 12px 13px;
}

.vehicle-specification dt {
    font-size: 0.65rem;
}

.vehicle-specification dd {
    font-size: 0.84rem;
}

    /* --------------------------------------------------------------
       Features
       -------------------------------------------------------------- */

    .vehicle-features {
        padding: 60px 0;
    }


    /* --------------------------------------------------------------
       Payment + Delivery
       -------------------------------------------------------------- */

    .vehicle-purchase-information {
        padding: 60px 0;
    }

    .vehicle-purchase-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-purchase-card {
        padding: 25px;
    }


    /* --------------------------------------------------------------
       Navigation
       -------------------------------------------------------------- */

    .vehicle-navigation {
        padding: 25px 0 5px;
    }

    .vehicle-navigation .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 420px) {

    .vehicle-page .container {
        width: min(100% - 24px, 1180px);
    }

    .vehicle-hero {
        padding-top: 20px;
    }

    .vehicle-quick-details {
        grid-template-columns: 1fr;
    }

    .vehicle-quick-detail {
        min-height: auto;
    }

    .vehicle-purchase-card {
        padding: 22px;
    }

}

/* ==================================================
   HOW IT WORKS PAGE
================================================== */

.how-it-works-page {
    background: #ffffff;
}


/* ==================================================
   SHARED CONTAINER
================================================== */

.how-it-works-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==================================================
   HERO
================================================== */

.how-it-works-hero {
    padding: 90px 0 85px;
    border-bottom: 1px solid #e5e7eb;
}

.how-it-works-hero .container {
    max-width: 900px;
    margin-left: max(20px, calc((100% - 1180px) / 2));
}

.how-it-works-hero .eyebrow,
.section-heading .eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.how-it-works-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.how-it-works-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: #64748b;
    font-size: 19px;
    line-height: 1.7;
}


/* ==================================================
   PROCESS SECTION
================================================== */

.how-it-works-process {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 65px;
}

.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.section-heading p {
    margin: 20px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}


/* ==================================================
   PROCESS LIST
================================================== */

.process-list {
    max-width: 900px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    position: relative;
    padding: 0 0 55px;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 55px;
    left: 39px;
    width: 1px;
    height: calc(100% - 55px);
    background: #dbe1e8;
}

.process-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;

    border: 1px solid #dbe1e8;
    border-radius: 50%;

    background: #ffffff;
    color: #0f172a;

    font-size: 15px;
    font-weight: 700;
}

.process-content {
    padding-top: 7px;
}

.process-content h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.3;
}

.process-content > p {
    max-width: 680px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}


/* ==================================================
   PAYMENT NOTE
================================================== */

.process-note {
    display: flex;
    flex-direction: column;
    gap: 6px;

    max-width: 500px;
    margin-top: 22px;
    padding: 20px 22px;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    background: #f8fafc;
}

.process-note strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
}

.process-note span {
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
}

.process-note small {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* ==================================================
   CTA
================================================== */

.how-it-works-cta {
    padding: 100px 0;
    text-align: center;
}

.how-it-works-cta .container {
    max-width: 760px;
}

.how-it-works-cta h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.how-it-works-cta p {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-top: 32px;
}

.cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border: 1px solid #0f172a;
    border-radius: 6px;

    background: #0f172a;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.cta-actions a:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.cta-actions a:last-child {
    background: #ffffff;
    color: #0f172a;
}

.cta-actions a:last-child:hover {
    background: #f8fafc;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

    .how-it-works-hero {
        padding: 75px 0;
    }

    .how-it-works-process,
    .customer-journey,
    .how-it-works-cta {
        padding: 80px 0;
    }

    .journey-flow {
        flex-wrap: wrap;
        row-gap: 35px;
    }

    .journey-item {
        flex: 0 0 calc(33.333% - 20px);
    }

    .journey-arrow {
        display: none;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .how-it-works-page .container {
        width: min(100% - 32px, 1180px);
    }


    /* Hero */

    .how-it-works-hero {
        padding: 55px 0 60px;
    }

    .how-it-works-hero .container {
        margin-left: auto;
    }

    .how-it-works-hero h1 {
        font-size: 40px;
        line-height: 1.08;
    }

    .how-it-works-hero p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.65;
    }


    /* Process */

    .how-it-works-process {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .process-step {
        grid-template-columns: 52px 1fr;
        gap: 18px;
        padding-bottom: 45px;
    }

    .process-step:not(:last-child)::after {
        top: 52px;
        left: 25px;
        height: calc(100% - 52px);
    }

    .process-number {
        width: 52px;
        height: 52px;
        font-size: 12px;
    }

    .process-content {
        padding-top: 3px;
    }

    .process-content h3 {
        margin-bottom: 9px;
        font-size: 20px;
    }

    .process-content > p {
        font-size: 15px;
        line-height: 1.65;
    }

    .process-note {
        padding: 17px;
    }

    .process-note span {
        font-size: 20px;
    }


    /* Customer Journey */

    .customer-journey {
        padding: 65px 0;
    }

    .journey-flow {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
        overflow: visible;
    }

    .journey-item {
        min-width: 0;
    }


    /* CTA */

    .how-it-works-cta {
        padding: 65px 0;
    }

    .how-it-works-cta h2 {
        font-size: 32px;
    }

    .how-it-works-cta p {
        font-size: 16px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions a {
        width: 100%;
    }

}

/* ==================================================
   SHIPPING & PAYMENT PAGE
================================================== */

.shipping-page {
    background: #ffffff;
}


/* ==================================================
   SHIPPING HERO
================================================== */

.shipping-hero {
    border-bottom: 1px solid #e5e7eb;
}


/* ==================================================
   SHIPPING SECTIONS
================================================== */

.shipping-section {
    padding: 100px 0;
}

.shipping-section-light {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}


/* ==================================================
   PAYMENT / INFORMATION CARDS
================================================== */

.shipping-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    max-width: 900px;
}

.shipping-info-card {
    position: relative;

    padding: 30px;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    background: #ffffff;
}

.shipping-card-number {
    display: block;
    margin-bottom: 35px;

    color: #94a3b8;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.shipping-info-card h3 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 20px;
    line-height: 1.3;
}

.shipping-info-card p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.65;
}

/* ==================================================
   PAYMENT METHODS
================================================== */

.payment-methods {
    display: flex;
    align-items: flex-start;
    gap: 60px;

    max-width: 900px;
    padding-top: 8px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 110px;
}

.payment-method strong {
    display: block;
    margin-bottom: 14px;

    color: var(--color-text);

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}


/* ==================================================
   PAYMENT LOGOS
================================================== */

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100px;
    height: 42px;
}

.payment-logo img {
    display: block;

    width: auto;
    max-width: 100px;
    max-height: 38px;

    object-fit: contain;
}


/* ==================================================
   MOBILE MONEY
================================================== */

.mobile-money-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--color-primary);
    color: var(--color-text-light);

    font-size: 16px;
    font-weight: 700;
}


/* ==================================================
   PAYMENT METHODS — MOBILE
================================================== */

@media (max-width: 700px) {

    .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px 40px;

        width: 100%;
        max-width: 360px;

        padding-top: 4px;
    }

    .payment-method {
        min-width: 0;
    }

    .payment-method strong {
        margin-bottom: 9px;

        font-size: 0.78rem;
        line-height: 1.25;
    }

    .payment-logo {
        width: 80px;
        height: 32px;
    }

    .payment-logo img {
        max-width: 80px;
        max-height: 30px;
    }

    .mobile-money-icon {
        width: 30px;
        height: 30px;

        font-size: 13px;
    }

}


/* ==================================================
   VERY SMALL MOBILE
================================================== */

@media (max-width: 400px) {

    .payment-methods {
        gap: 26px 24px;
        max-width: 300px;
    }

    .payment-method strong {
        font-size: 0.75rem;
    }

    .payment-logo {
        width: 70px;
        height: 28px;
    }

    .payment-logo img {
        max-width: 70px;
        max-height: 27px;
    }

}
@media (max-width: 700px) {

    .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 28px;

        width: 100%;
        max-width: 320px;

        padding-top: 4px;
    }

    .payment-method {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        min-width: 0;
    }

    .payment-method strong {
        margin-bottom: 7px;

        font-size: 0.72rem;
        line-height: 1.2;
    }

    .payment-logo {
        width: 60px;
        height: 30px;
    }

    .payment-logo img {
        max-width: 60px;
        max-height: 28px;
    }

    .mobile-money-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

}

/* ==================================================
   SHIPPING DETAILS
================================================== */

.shipping-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    max-width: 1050px;

    padding-top: 5px;
}

.shipping-detail {
    padding-top: 24px;

    border-top: 1px solid #cbd5e1;
}

.shipping-detail-label {
    display: block;
    margin-bottom: 12px;

    color: #94a3b8;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shipping-detail strong {
    display: block;

    color: #0f172a;

    font-size: 21px;
    line-height: 1.3;
}

.shipping-detail p {
    margin: 12px 0 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.65;
}


/* ==================================================
   BEFORE SHIPPING
================================================== */

.shipping-process {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;

    align-items: start;

    max-width: 1050px;
}

.shipping-process-content {
    max-width: 500px;
}

.shipping-process-content h2 {
    margin: 0;

    color: #0f172a;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.shipping-process-content p {
    margin: 20px 0 0;

    color: #64748b;

    font-size: 16px;
    line-height: 1.7;
}


/* ==================================================
   SHIPPING PROCESS LIST
================================================== */

.shipping-process-list {
    border-top: 1px solid #dbe1e8;
}

.shipping-process-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;

    align-items: center;

    padding: 19px 0;

    border-bottom: 1px solid #dbe1e8;
}

.shipping-process-item span {
    color: #94a3b8;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.shipping-process-item p {
    margin: 0;

    color: #334155;

    font-size: 15px;
    line-height: 1.5;
}


/* ==================================================
   CTA
================================================== */

.shipping-cta {
    border-top: 0;
}

.shipping-cta .eyebrow {
    display: block;
    margin-bottom: 15px;

    color: #64748b;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shipping-cta p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

    .shipping-section {
        padding: 80px 0;
    }

    .shipping-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }

    .shipping-details {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .shipping-process {
        grid-template-columns: 1fr;
        gap: 55px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .shipping-section {
        padding: 65px 0;
    }


    /* Information cards */

    .shipping-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shipping-info-card {
        padding: 24px;
    }

    .shipping-card-number {
        margin-bottom: 25px;
    }


    /* Payment methods */

    .payment-methods {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .payment-method strong {
        font-size: 15px;
    }

    .payment-method span {
        font-size: 12px;
    }


    /* Shipping details */

    .shipping-details {
        gap: 30px;
    }

    .shipping-detail strong {
        font-size: 19px;
    }


    /* Process */

    .shipping-process {
        gap: 45px;
    }

    .shipping-process-content h2 {
        font-size: 32px;
    }

    .shipping-process-content p {
        font-size: 15px;
    }

    .shipping-process-item {
        grid-template-columns: 38px 1fr;
        gap: 10px;
    }


    /* CTA */

    .shipping-cta {
        padding: 65px 0;
    }

}

/* =========================================================
   VEHICLES CATALOGUE — SEARCH & FILTERS
   ========================================================= */

.vehicles-page {
    width: 100%;
}

.vehicles-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   PAGE INTRO
   ========================================================= */

.vehicles-intro {
    padding: 70px 0 35px;
    text-align: center;
}

.vehicles-intro h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.vehicles-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   SEARCH & FILTER AREA
   ========================================================= */

.vehicles-search {
    padding: 20px 0 70px;
    background: var(--color-background);
}

.vehicles-filter-form {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   MAIN SEARCH
   ========================================================= */

.vehicle-search-main {
    width: 100%;
    margin-bottom: 28px;
}

.vehicle-search-main > label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
}

.vehicle-search-box {
    position: relative;

    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-background);

    overflow: hidden;

    transition:
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}

.vehicle-search-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.vehicle-search-box input {
    flex: 1;
    min-width: 0;

    padding: 0 18px;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--color-text);

    font: inherit;
    font-size: 0.95rem;
}

.vehicle-search-box input::placeholder {
    color: var(--color-text-muted);
}

.vehicle-search-box input::-webkit-search-cancel-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
}
.vehicle-search-clear {
    position: absolute;

    top: 50%;
    right: 125px;

    width: 28px;
    height: 28px;

    padding: 0;

    transform: translateY(-50%);

    border: 0 !important;
    border-radius: 50%;

    background: transparent !important;
    color: #777 !important;

    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1;

    cursor: pointer;

    z-index: 2;
}

.vehicle-search-clear:hover {
    background: transparent !important;
    color: #111 !important;
    transform: translateY(-50%);
}

.vehicle-search-clear:active {
    transform: translateY(-50%);
    box-shadow: none;
}

.vehicle-search-clear[hidden] {
    display: none;
}



   /* =========================================================
   FILTER TOGGLE
   ========================================================= */

.vehicle-filter-toggle {
    display: none;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 46px;

    padding: 0 14px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);

    background: var(--color-background);
    color: var(--color-text);

    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;

    cursor: pointer;
}

.vehicle-filter-toggle-icon {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
}

.vehicle-filters {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;

    padding: 22px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);

    background: var(--color-surface);
}


/* Individual filter */

.vehicle-filter {
    min-width: 0;
}

.vehicle-filter > label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}


/* Select */

.vehicle-filter select {
    display: block;

    width: 100%;
    min-height: 46px;

    padding: 0 34px 0 12px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);

    background-color: var(--color-background);
    color: var(--color-text);

    font-size: 0.84rem;
    font-weight: 500;

    cursor: pointer;

    outline: none;

    transition:
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}

.vehicle-filter select:hover {
    border-color: #c4c9d1;
}

.vehicle-filter select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}


/* =========================================================
   FILTER ACTIONS
   ========================================================= */

.vehicle-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    
}

.vehicle-filter-apply {
    min-height: 44px;

    padding: 0 22px;

    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);

    background: var(--color-primary);
    color: var(--color-text-light);

    font-size: 0.84rem;
    font-weight: 700;

    transition:
        background-color var(--transition-medium),
        border-color var(--transition-medium),
        transform var(--transition-medium);
}

.vehicle-filter-apply:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.vehicle-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);

    background: var(--color-background);
    color: var(--color-secondary);

    font-size: 0.84rem;
    font-weight: 600;

    transition:
        color var(--transition-medium),
        border-color var(--transition-medium),
        background-color var(--transition-medium);
}

.vehicle-filter-clear:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-surface);
}


/* =========================================================
   INVENTORY
   ========================================================= */

.vehicles-inventory {
    padding: 70px 0;
    background: var(--color-surface);
}

.vehicles-page .section-heading {
    margin-bottom: 35px;
}

.vehicles-page .section-heading h2 {
    margin: 0 0 10px;

    color: var(--color-text);

    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.vehicles-page .section-heading p {
    margin: 0;

    color: var(--color-text-muted);

    line-height: 1.6;
}


/* =========================================================
   VEHICLE GRID
   ========================================================= */

.vehicles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   VEHICLE CARD
   ========================================================= */

.vehicles-page .vehicle-card {
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);

    background: var(--color-background);

    transition:
        border-color var(--transition-medium),
        box-shadow var(--transition-medium),
        transform var(--transition-medium);
}

.vehicles-page .vehicle-card:hover {
    border-color: #d1d5db;

    box-shadow:
        0 14px 32px rgba(17, 24, 39, 0.08);

    transform: translateY(-3px);
}


/* =========================================================
   VEHICLE IMAGE
   ========================================================= */

.vehicles-page .vehicle-card-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--color-surface);
}

.vehicles-page .vehicle-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 350ms ease;
}

.vehicles-page .vehicle-card:hover
.vehicle-card-image img {
    transform: scale(1.035);
}


/* =========================================================
   VEHICLE CARD CONTENT
   ========================================================= */

.vehicles-page .vehicle-card-content {
    padding: 22px;
}

.vehicles-page .vehicle-card-title {
    margin: 0 0 12px;

    color: var(--color-text);

    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.vehicles-page .vehicle-card-title a {
    color: inherit;
}

.vehicles-page .vehicle-card-title a:hover {
    color: var(--color-accent);
}


/* =========================================================
   VEHICLE STATUS
   ========================================================= */

.vehicles-page .vehicle-card-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 14px;

    font-size: 0.76rem;
}

.vehicles-page .vehicle-card-condition {
    color: var(--color-text-muted);
    font-weight: 600;
}

.vehicles-page .vehicle-card-availability {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    border-radius: 999px;

    background: #ecfdf3;
    color: #15803d;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}


/* =========================================================
   VEHICLE SPECS
   ========================================================= */

.vehicles-page .vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 0;

    margin-bottom: 16px;

    color: var(--color-text-muted);

    font-size: 0.76rem;
    font-weight: 600;
}

.vehicles-page .vehicle-card-specs span {
    display: inline-flex;
    align-items: center;

    white-space: nowrap;
}

.vehicles-page .vehicle-card-specs
span:not(:last-child)::after {
    content: "";

    width: 3px;
    height: 3px;

    margin: 0 9px;

    border-radius: 50%;

    background: #9ca3af;
}


/* =========================================================
   VEHICLE DESCRIPTION
   ========================================================= */

.vehicles-page .vehicle-card-description {
    display: -webkit-box;

    min-height: 3.15em;

    margin: 0 0 20px;

    overflow: hidden;

    color: var(--color-text-muted);

    font-size: 0.84rem;
    line-height: 1.65;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* =========================================================
   PRICE
   ========================================================= */

.vehicles-page .vehicle-card-price {
    margin: 0 0 18px;

    padding-top: 16px;

    border-top: 1px solid var(--color-border);

    color: var(--color-text);

    font-size: 1rem;
    font-weight: 700;
}

.vehicles-page .vehicle-card-price p {
    margin: 0;
}


/* =========================================================
   VIEW VEHICLE
   ========================================================= */

.vehicles-page .vehicle-card-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--color-accent);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    text-transform: uppercase;
}

.vehicles-page .vehicle-card-link::after {
    content: "→";

    font-size: 0.95rem;

    transition: transform 180ms ease;
}

.vehicles-page .vehicle-card-link:hover {
    color: var(--color-primary);
}

.vehicles-page .vehicle-card-link:hover::after {
    transform: translateX(3px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.vehicles-empty {
    padding: 50px 25px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);

    background: var(--color-background);

    text-align: center;
}

.vehicles-empty h3 {
    margin: 0 0 10px;
}

.vehicles-empty p {
    margin: 0;

    color: var(--color-text-muted);
}


/* =========================================================
   BROWSE BY BRAND
   ========================================================= */

.vehicles-brands {
    padding: 75px 0;
    background: var(--color-background);
}

.vehicle-brands-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 70px;

    border-top: 1px solid var(--color-border);
}



.vehicle-brand-link:hover {
    padding-left: 7px;

    color: var(--color-accent);

    background: rgba(7, 160, 187, 0.04);
}

.vehicle-brand-name {
    font-weight: 600;
}

.vehicle-brand-count {
    flex-shrink: 0;

    color: var(--color-text-muted);

    font-size: 0.82rem;
}


/* =========================================================
   FURTHER INFORMATION
   ========================================================= */

.vehicles-information {
    padding: 55px 0;
    background: var(--color-surface);
}

.vehicles-information-links {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0 35px;
}

.vehicles-information-links a {
    display: flex;
    align-items: center;

    min-height: 48px;

    padding: 11px 0;

    border-bottom: 1px solid var(--color-border);

    color: var(--color-secondary);

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        color var(--transition-medium),
        padding-left var(--transition-medium);
}

.vehicles-information-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .vehicle-filters {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .vehicles-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vehicles-information-links {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vehicles-page .container {
        width: min(100% - 30px, 1180px);
    }


    .vehicles-intro {
        padding: 50px 0 25px;
    }

    .vehicles-intro p {
        font-size: 0.98rem;
    }


    .vehicles-search {
        padding: 15px 0 50px;
    }


    .vehicle-search-main {
        margin-bottom: 22px;
    }


    .vehicle-search-box {
        min-height: 54px;
    }

    .vehicle-search-box input {
        min-height: 54px;

        padding: 0 14px;

        font-size: 0.70rem;
    }

    .vehicle-search-box button {
        min-width: 80px;

        padding: 0 13px;

        font-size: 0.82rem;
    }


        .vehicle-search-clear {
           right: 59px;
    }

/* =========================================================
   MOBILE FILTERS
   ========================================================= */

.vehicle-filter-toggle {
    display: flex;

    margin-bottom: 0;
}


/*
 * Filters are closed by default on mobile.
 * JavaScript will add .is-open when the user taps Filters.
 */

.vehicle-filters {
    display: none;

    grid-template-columns: 1fr;

    gap: 13px;

    margin-top: 10px;

    padding: 18px;

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);

    background: var(--color-surface);
}


/*
 * Open state.
 */

.vehicle-filters.is-open {
    display: grid;
}


.vehicle-filter select {
    min-height: 48px;
}


/*
 * Filter actions
 */

.vehicle-filter-actions {
    justify-content: stretch;

    flex-direction: column;

    gap: 10px;
}


.vehicle-filter-apply,
.vehicle-filter-clear {
    width: 100%;
}
    .vehicles-inventory,
    .vehicles-brands,
    .vehicles-information {
        padding: 55px 0;
    }


    .vehicles-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .vehicles-page .vehicle-card-content {
        padding: 18px;
    }


    .vehicle-brands-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 18px;
    }


    .vehicle-brand-link {
        padding: 13px 6px 13px 0;

        font-size: 0.88rem;
    }


    .vehicles-information-links {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================================
   HEADER VEHICLE SEARCH
   ========================================================================== */

/*
|--------------------------------------------------------------------------
| Search Panel Base
|--------------------------------------------------------------------------
*/

.site-search-panel {
    position: absolute;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}


/*
|--------------------------------------------------------------------------
| Desktop Header Search
|--------------------------------------------------------------------------
*/

@media (min-width: 701px) {

    .site-header {
        position: relative;
    }


    /*
    | Hide the search icon on desktop.
    | Desktop gets the full search field instead.
    */

    .site-search-toggle {
        display: none;
    }


    /*
    | Make the search panel part of the header layout.
    */

    .site-search-panel {
        position: static;
        display: block;
        border: 0;
        border-top: 1px solid #e5e7eb;
        box-shadow: none;
        background: #ffffff;
    }


    /*
    | hidden is used by JavaScript for mobile.
    | On desktop we always want the search visible.
    */

    .site-search-panel[hidden] {
        display: block;
    }


    .site-search-panel-inner {
        max-width: 1180px;
        margin: 0 auto;
        padding: 14px 24px;
    }


    .site-search-form {
        width: 100%;
    }


    .site-search-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }


    .site-search-form-row {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }


    .site-search-form-row input {
        flex: 1;
        min-width: 0;
        height: 46px;
        padding: 0 16px;

        border: 1px solid #d7dce3;
        border-right: 0;

        border-radius: 7px 0 0 7px;

        background: #ffffff;
        color: #111827;

        font-family: inherit;
        font-size: 14px;

        outline: none;
    }


    .site-search-form-row input::placeholder {
        color: #8a94a3;
    }


    .site-search-form-row input:focus {
        border-color: #111827;
    }


    .site-search-submit {
        height: 46px;
        padding: 0 22px;

        border: 1px solid #111827;
        border-radius: 0 7px 7px 0;

        background: #111827;
        color: #ffffff;

        font-family: inherit;
        font-size: 14px;
        font-weight: 600;

        cursor: pointer;
    }


    .site-search-submit:hover {
        background: #1f2937;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile Header Search
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .site-header {
        position: relative;
    }


    /*
    | Desktop search panel becomes a mobile dropdown.
    */

    .site-search-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        border-left: 0;
        border-right: 0;
        border-radius: 0;

        box-shadow:
            0 8px 20px rgba(15, 23, 42, 0.10);
    }


    /*
    | The hidden attribute is respected on mobile.
    */

    .site-search-panel[hidden] {
        display: none;
    }


    .site-search-panel-inner {
        padding: 12px 16px 14px;
    }


    .site-search-label {
        display: block;
        margin-bottom: 7px;

        color: #111827;

        font-size: 12px;
        font-weight: 600;
    }


    .site-search-form-row {
        display: flex;
        align-items: stretch;
        width: 100%;
    }


    .site-search-form-row input {
        flex: 1;
        min-width: 0;

        height: 42px;

        padding: 0 12px;

        border: 1px solid #d7dce3;
        border-right: 0;

        border-radius: 6px 0 0 6px;

        background: #ffffff;
        color: #111827;

        font-family: inherit;
        font-size: 16px;

        outline: none;
    }


    /*
    | 16px prevents mobile browsers from automatically
    | zooming into the search field.
    */

    .site-search-form-row input:focus {
        border-color: #111827;
    }


    .site-search-submit {
        height: 42px;

        padding: 0 15px;

        border: 1px solid #111827;
        border-radius: 0 6px 6px 0;

        background: #111827;
        color: #ffffff;

        font-family: inherit;
        font-size: 13px;
        font-weight: 600;

        cursor: pointer;
    }


    .site-search-submit:active {
        transform: translateY(1px);
    }

}

/* ==========================================================================
   8. Header Search
   ========================================================================== */

.site-search {
    position: relative;
    justify-self: end;
    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Search Toggle
|--------------------------------------------------------------------------
*/

.site-search-toggle {
    width: 44px;
    height: 44px;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: 0;

    color: var(--color-primary);

    transition:
        color var(--transition-medium),
        background-color var(--transition-medium);
}

.site-search-toggle:hover,
.site-search-toggle:focus-visible {
    color: var(--color-accent);
}


/*
|--------------------------------------------------------------------------
| Search Icon
|--------------------------------------------------------------------------
*/

.site-search-icon {
    position: relative;

    width: 18px;
    height: 18px;

    display: block;

    border: 2px solid currentColor;
    border-radius: 50%;
}

.site-search-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -5px;
    bottom: -2px;

    background: currentColor;

    border-radius: 999px;

    transform: rotate(45deg);
    transform-origin: left center;
}


/*
|--------------------------------------------------------------------------
| Desktop Search Form
|--------------------------------------------------------------------------
*/

.site-search-form {
    display: flex;
    align-items: center;

    width: 320px;
    height: 42px;
}

.site-search-label {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


.site-search-form input {
    flex: 1;

    min-width: 0;
    height: 42px;

    padding: 0 13px;

    border: 1px solid var(--color-border);
    border-right: 0;

    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);

    background: var(--color-background);
    color: var(--color-text);

    font-size: 0.82rem;

    outline: none;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.site-search-form input::placeholder {
    color: var(--color-text-muted);
}


.site-search-form input:focus {
    border-color: var(--color-accent);

    box-shadow:
        0 0 0 1px var(--color-accent);
}


.site-search-submit {
    flex: 0 0 auto;

    height: 42px;

    padding: 0 16px;

    border: 1px solid var(--color-primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;

    background: var(--color-primary);
    color: var(--color-text-light);

    font-size: 0.78rem;
    font-weight: 600;

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}


.site-search-submit:hover,
.site-search-submit:focus-visible {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.site-logo-image {
    display: block;
    width: 190px;
    height: auto;
}

