/* ---------- base ---------- */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #222;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.25rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container--narrow {
    max-width: 760px;
}

/* ---------- header ---------- */
.site-header {
    padding: 1.5rem 0 1.25rem;
    border-bottom: 20px solid #4a4a4a;
    margin-bottom: 20px;
}

.site-header .container {
    display: flex;
    justify-content: center;
}

.logo {
    max-height: 90px;
    width: auto;
}

/* ---------- hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #1a1a1a;
    margin-bottom: 20px;
}

.hero-image,
.hero-banner {
    min-height: 400px;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner {
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.hero-banner__small {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-banner__large {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* ---------- about ---------- */
.about {
    background: #c8c8c8;
    padding: 2.5rem 0;
}


.about p {
    margin: 0 0 1rem;
}

.about p:last-child {
    margin-bottom: 0;
}

/* ---------- brands ---------- */
.brands {
    background: #fff;
    padding: 2rem 0 2.5rem;

    .container
    {
        max-width: 1500px;
    }
}

.brands h2 {
    color: #555;
}

.brand-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.brand-list li {
    flex: 0 0 auto;
}

.brand-list img {
    max-height: 50px;
    width: auto;
}

/* ---------- dealer form ---------- */
.dealer {
    background: #1a1a1a;
    color: #fff;
    padding: 2.5rem 0 3rem;
}

.dealer h2 {
    color: #fff;
}

.dealer__intro {
    text-align: center;
    margin: 0 0 1.75rem;
}

.dealer-form .field {
    margin-bottom: 1rem;
}

.dealer-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.dealer-form input,
.dealer-form textarea {
    width: 100%;
    border: 0;
    background: #fff;
    color: #222;
    padding: 0.6rem 0.7rem;
    font: inherit;
    font-size: 1rem;
}

.dealer-form input:focus,
.dealer-form textarea:focus {
    outline: 2px solid #d51a1a;
    outline-offset: 1px;
}

.dealer-form textarea {
    min-height: 140px;
    resize: vertical;
}

.field__error {
    color: #ff9c9c;
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
}

.btn {
    background: #c8c8c8;
    color: #222;
    border: 0;
    padding: 0.6rem 1.5rem;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn:hover {
    background: #b5b5b5;
}

/* Honeypot — hidden from real users, visible to dumb bots */
.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- alerts ---------- */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert--success {
    background: #1f5e2a;
    color: #fff;
}

.alert--error {
    background: #7a1a1a;
    color: #fff;
}

/* ---------- footer ---------- */
.site-footer {
    background: #fff;
    text-align: center;
    padding: 1rem 0 1.25rem;
    font-size: 0.9rem;
    color: #222;
}

.site-footer p {
    margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image,
    .hero-banner {
        min-height: 160px;
    }

    .hero-banner {
        padding: 1.5rem 1rem;
    }

    .hero-banner__large {
        font-size: 3rem;
    }

    .brand-list {
        gap: 1.25rem;
    }

    .brand-list img {
        max-height: 36px;
    }
}
