/* =====================================================
   C2CIMS Dealership Footer
   ===================================================== */

.c2cims-footer {
    background: var(--c2cims-dark-bg);
    color: var(--c2cims-muted-on-dark);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 60px;
}

.c2cims-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}

@media (max-width: 900px) {
    .c2cims-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .c2cims-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* --- Shared column styles --- */
.c2cims-footer-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--c2cims-accent);
    margin-bottom: 14px;
}

/* --- Brand column --- */
.c2cims-footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--c2cims-text-on-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.c2cims-footer-address {
    font-style: normal;
    margin-bottom: 10px;
    color: #aaa;
}

.c2cims-footer-phone a,
.c2cims-footer-email a {
    color: var(--c2cims-text-on-dark);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    transition: color 0.15s ease;
}

.c2cims-footer-phone a:hover,
.c2cims-footer-email a:hover {
    color: var(--c2cims-accent);
}

/* --- Hours column --- */
.c2cims-footer-hours-table {
    border-collapse: collapse;
    width: 100%;
}

.c2cims-footer-hours-table td {
    padding: 4px 0;
    vertical-align: top;
    color: #aaa;
}

.c2cims-footer-hours-table td:first-child {
    padding-right: 12px;
    white-space: nowrap;
    color: var(--c2cims-muted-on-dark);
}

/* --- Links column --- */
.c2cims-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.c2cims-footer-links li {
    margin-bottom: 6px;
}

.c2cims-footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.c2cims-footer-links a:hover {
    color: var(--c2cims-accent);
}

/* --- Social column --- */
.c2cims-footer-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.c2cims-footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2e2e2e;
    color: var(--c2cims-muted-on-dark);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.c2cims-footer-social-icon:hover {
    background: var(--c2cims-accent);
    color: var(--c2cims-dark-bg);
}

.c2cims-footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.c2cims-footer-cert {
    display: inline-block;
    background: #2e2e2e;
    color: #aaa;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Bottom bar --- */
.c2cims-footer-bottom {
    border-top: 1px solid #2e2e2e;
    background: var(--c2cims-darker-bg);
}

.c2cims-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.c2cims-footer-legal a {
    color: #666;
    text-decoration: none;
    transition: color 0.15s ease;
}

.c2cims-footer-legal a:hover {
    color: #aaa;
}
