/* FOOTER MX AUTONOME */

.mx-footer {
    --mx-footer-bg: #050505;
    --mx-footer-red: #e01818;
    --mx-footer-white: #ffffff;
    --mx-footer-muted: #a7a7a7;
    --mx-footer-line: rgba(255,255,255,.16);
    --mx-footer-wrap: 1140px;

    margin-top: 70px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.82)),
        url('/assets/img/ecv3-1/depot-original3.png') center / cover;
    border-top: 1px solid var(--mx-footer-line);
    color: var(--mx-footer-white);
    font-family: Arial, Helvetica, sans-serif;
}

.mx-footer *,
.mx-footer *::before,
.mx-footer *::after {
    box-sizing: border-box;
}

.mx-footer-main {
    width: min(var(--mx-footer-wrap), calc(100% - 48px));
    margin: auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
    gap: 34px;
}

.mx-footer-brand img {
    width: 84px;
    margin-bottom: 24px;
    display: block;
}

.mx-footer-brand h2 {
    margin: 0;
    font-size: 34px;
    line-height: .95;
    text-transform: uppercase;
    font-weight: 950;
}

.mx-footer-brand h2 span {
    color: var(--mx-footer-red);
}

.mx-footer-col {
    border-left: 1px solid var(--mx-footer-line);
    padding-left: 24px;
}

.mx-footer-col h3 {
    margin: 0 0 18px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 950;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mx-footer-col h3::before {
    content: "";
    width: 12px;
    height: 5px;
    background: var(--mx-footer-red);
    flex: 0 0 auto;
}

.mx-footer p {
    margin: 0 0 10px;
    color: #d7d7d7;
    font-size: 14px;
    line-height: 1.45;
}

.mx-footer a {
    color: inherit;
    text-decoration: none;
}

.mx-footer a:hover {
    color: var(--mx-footer-red);
}

.mx-footer-red {
    color: var(--mx-footer-red) !important;
}

.mx-footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mx-footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #d7d7d7;
    font-size: 14px;
}

.mx-footer-hours span {
    color: var(--mx-footer-white);
    font-weight: 900;
}

.mx-footer .home-btn,
.mx-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 48px;
    padding: 0 22px;
    margin-top: 10px;
    border: 1px solid var(--mx-footer-red);
    background: var(--mx-footer-red);
    color: var(--mx-footer-white);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    transition: .22s ease;
    cursor: pointer;
}

.mx-footer .home-btn:hover,
.mx-footer-btn:hover {
    background: #ff2929;
    color: var(--mx-footer-white);
}

.mx-footer-socials {
    margin-top: 22px;
    display: flex;
    gap: 10px;
}

.mx-footer-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--mx-footer-line);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    background: rgba(255,255,255,.04);
}

.mx-footer-socials a:hover {
    background: var(--mx-footer-red);
    border-color: var(--mx-footer-red);
    color: var(--mx-footer-white);
}

.mx-footer-bottom {
    min-height: 66px;
    border-top: 1px solid var(--mx-footer-line);
    width: min(var(--mx-footer-wrap), calc(100% - 48px));
    margin: auto;
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--mx-footer-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.mx-footer-bottom nav {
    margin-left: auto;
    display: flex;
    gap: 24px;
    font-weight: 900;
}

.mx-footer-top {
    color: var(--mx-footer-red) !important;
    font-size: 24px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .mx-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .mx-footer-bottom {
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .mx-footer-bottom nav {
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .mx-footer-main {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        padding: 34px 0;
    }

    .mx-footer-col {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--mx-footer-line);
        padding-top: 24px;
    }

    .mx-footer-bottom {
        width: calc(100% - 28px);
        flex-direction: column;
        align-items: flex-start;
    }

    .mx-footer-bottom nav {
        flex-wrap: wrap;
        gap: 14px;
    }
}