﻿/* =========================================================
   MAU FEEDS - DEALERSHIP PAGE
   Page-specific styles only
========================================================= */


/* =========================================================
   1. HERO
========================================================= */

.dealership-hero {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

    .dealership-hero .mau-page-hero-text {
        position: relative;
        z-index: 3;
        max-width: 520px;
    }

.dealership-hero-action {
    margin-top: 24px;
}


/* =========================================================
   2. SECTION HEADINGS
========================================================= */

.dealership-section-heading {
    margin-bottom: 28px;
}

.dealership-benefits-section {
    padding-top: 28px;
    padding-bottom: 25px;
}

    .dealership-benefits-section
    .dealership-section-heading .mau-eyebrow {
        margin-bottom: 0;
    }


/* =========================================================
   3. BENEFIT CARDS
========================================================= */

.dealership-benefit-card {
    min-height: 175px;
    padding: 20px 14px;
    box-shadow: none;
}

    .dealership-benefit-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

.dealership-benefit-icon {
    margin-bottom: 14px;
    font-size: 2.4rem;
}

.dealership-benefit-card .mau-feature-card-title {
    min-height: 42px;
    margin-bottom: 8px;
}

.dealership-benefit-card .mau-feature-card-text {
    line-height: 1.55;
}


/* =========================================================
   4. WHO CAN APPLY / REQUIREMENTS
========================================================= */

.dealership-eligibility-section {
    padding-bottom: 25px;
}

.dealership-info-card,
.dealership-requirements-card {
    height: 100%;
    border-radius: var(--radius-md);
    background-color: var(--mau-bg-light);
}

.dealership-info-card {
    padding: 25px;
}

    .dealership-info-card h3,
    .dealership-requirements-card h3 {
        margin-bottom: 22px;
        color: var(--mau-green);
        font-family: var(--font-body);
        font-size: var(--fs-base);
        font-weight: 700;
    }

.dealership-info-body {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .dealership-info-body .mau-icon-circle {
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
        font-size: 2rem;
    }

    .dealership-info-body p {
        margin: 0;
        color: var(--mau-text);
        font-size: var(--fs-sm);
        line-height: 1.7;
    }

.dealership-requirements-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.dealership-requirements-content {
    flex: 1;
    padding: 25px;
}

    .dealership-requirements-content .mau-check-list {
        margin-top: 8px;
    }

        .dealership-requirements-content .mau-check-list li {
            margin-bottom: 11px;
        }

.dealership-requirements-image {
    flex: 0 0 34%;
    min-height: 175px;
}

    .dealership-requirements-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* =========================================================
   5. HOW IT WORKS
========================================================= */

.dealership-process-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.dealership-process {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
}

.dealership-step {
    flex: 1;
    text-align: center;
}

.dealership-step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--mau-green);
    color: var(--mau-white);
    font-size: 1.5rem;
}

.dealership-step-number {
    margin-bottom: 4px;
    color: var(--mau-gold);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.dealership-step h4 {
    min-height: 44px;
    margin-bottom: 8px;
    color: var(--mau-text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.3;
}

.dealership-step p {
    margin: 0;
    color: var(--mau-text-light);
    font-size: var(--fs-xs);
    line-height: 1.55;
}

.dealership-step-arrow {
    flex: 0 0 25px;
    padding-top: 18px;
    color: var(--mau-gold);
    font-size: 1.1rem;
}


/* =========================================================
   6. DEALERSHIP FORM
========================================================= */

.dealership-form-wrapper {
    padding-left: 10px;
}

.dealership-form-heading {
    margin-bottom: 18px;
}

    .dealership-form-heading h3 {
        margin-bottom: 5px;
        color: var(--mau-green);
        font-family: var(--font-body);
        font-size: var(--fs-base);
        font-weight: 700;
    }

    .dealership-form-heading p {
        margin-bottom: 0;
        color: var(--mau-text-light);
        font-size: var(--fs-sm);
    }

.dealership-form-wrapper .mau-form .form-control,
.dealership-form-wrapper .mau-form .form-select {
    min-height: 40px;
    font-size: var(--fs-xs);
}

.dealership-form-wrapper .mau-form textarea.form-control {
    min-height: 75px;
}

.dealership-form-wrapper .mau-btn {
    margin-top: 2px;
}


/* =========================================================
   7. CTA
========================================================= */

.dealership-cta-section {
    padding-top: 0;
    padding-bottom: 0;
}

    .dealership-cta-section .mau-cta {
        margin-bottom: 0;
    }


/* =========================================================
   8. TABLET
========================================================= */

@media (max-width: 991.98px) {

    .dealership-hero .mau-page-hero-text {
        max-width: 55%;
    }

    .dealership-benefit-card {
        min-height: 165px;
    }

    .dealership-requirements-image {
        flex-basis: 30%;
    }

    .dealership-process {
        gap: 2px;
    }

    .dealership-step-arrow {
        flex-basis: 18px;
    }

    .dealership-form-wrapper {
        padding-left: 0;
    }
}


/* =========================================================
   9. MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .dealership-hero {
        background-position: 65% center;
    }

        .dealership-hero .mau-page-hero-text {
            max-width: 100%;
        }

    .dealership-hero-action {
        margin-top: 20px;
    }


    .dealership-benefits-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .dealership-benefit-card {
        min-height: 165px;
        padding: 18px 12px;
    }


    .dealership-info-body {
        align-items: flex-start;
    }

    .dealership-requirements-card {
        flex-direction: column;
    }

    .dealership-requirements-image {
        flex: none;
        min-height: 190px;
        order: 2;
    }


    .dealership-process {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .dealership-step-arrow {
        display: none;
    }

    .dealership-step-icon {
        width: 56px;
        height: 56px;
    }


    .dealership-process-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .dealership-form-wrapper {
        margin-top: 15px;
    }


    .dealership-cta-section .mau-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .dealership-cta-section .mau-btn {
        width: 100%;
        justify-content: center;
    }
}
