/* ── Site Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, #0d1526 0%, #1e2f52 100%);
    padding: 48px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top row: flag column on the left, then the brand + 3 link columns
   evenly distributed across the remaining width. */
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;   /* keep the whole cluster centered on the page */
    gap: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-founded {
    flex: 0 0 auto;            /* flag column, natural width */
}

.footer-main {
    display: flex;             /* content-width so the group stays tight & centered */
    align-items: flex-start;
    gap: 56px;                 /* even gaps between brand & the link columns */
}

.footer-brand {
    flex: 0 0 240px;           /* brand text block */
}

.footer-main .footer-col {
    flex: 0 0 auto;            /* link columns size to content */
}

/* Brand */
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-logo span { color: #1e40af; }

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
    margin-top: 10px;
}

/* Column label */
.footer-col-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1e40af;
    margin-bottom: 12px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
    padding-top: 18px;
}

.footer-founded-img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 0 8px;
}

.footer-founded-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #C5A76C; /* antique gold */
    white-space: nowrap;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, .25);
    text-align: center;
}

/* Manufacturer non-affiliation line under the copyright: the site shows
   recognizable (badge-free) cars in its banners, so say plainly that no
   manufacturer sponsors or endorses it. */
.footer-disclaimer {
    margin-top: 6px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    /* Everything center-aligned on smaller screens */
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        text-align: center;
    }
    .footer-main {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 28px 48px;
        text-align: center;
    }
    .footer-brand {
        flex-basis: 100%;
    }
    .footer-founded-img {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 560px) {
    .site-footer { padding: 36px 0 16px; }
    .footer-main {
        flex-direction: column;
        gap: 22px;
    }
}
