/* =========================================================
   MY RIDE — FOOTER
   ========================================================= */

.mr-footer {
    background: var(--mr-black);
    color: var(--mr-white);
}

.mr-footer__top {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;

    padding-top: 80px;
    padding-bottom: 70px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.mr-footer__logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.mr-footer__logo-main {
    color: var(--mr-white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.mr-footer__logo-sub {
    margin-top: 5px;
    color: #888;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.mr-footer__description {
    max-width: 340px;
    margin-top: 24px;
    margin-bottom: 0;

    color: #999;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   COLUMNS
   --------------------------------------------------------- */

.mr-footer__column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.mr-footer__column h3 {
    margin-bottom: 10px;

    color: var(--mr-white);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mr-footer__column a {
    color: #999;
    font-size: 14px;

    transition:
        color var(--mr-transition),
        transform var(--mr-transition);
}

.mr-footer__column a:hover {
    color: var(--mr-white);
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.mr-footer__eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #777;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.mr-footer__cta h3 {
    margin-bottom: 22px;

    color: var(--mr-white);

    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.mr-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 0 18px;

    background: var(--mr-white);
    color: var(--mr-black);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background-color var(--mr-transition),
        transform var(--mr-transition);
}

.mr-footer__button:hover {
    background: #e9e9e9;
    color: var(--mr-black);
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.mr-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 24px 0;

    border-top: 1px solid #242424;
}

.mr-footer__bottom p {
    margin: 0;

    color: #666;
    font-size: 12px;
}

.mr-footer__legal {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mr-footer__legal a {
    color: #666;
    font-size: 12px;

    transition: color var(--mr-transition);
}

.mr-footer__legal a:hover {
    color: var(--mr-white);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .mr-footer__top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }

    .mr-footer__cta {
        grid-column: 1 / -1;
        padding-top: 20px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .mr-footer {
        /*
         * Space required for the fixed mobile bottom navigation.
         * This is intentionally part of the black footer so that
         * no white strip appears underneath the navigation.
         */
        padding-bottom: 84px;
    }

    .mr-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;

        padding-top: 60px;
        padding-bottom: 50px;
    }

    .mr-footer__brand {
        grid-column: 1 / -1;
    }

    .mr-footer__description {
        max-width: 100%;
    }

    .mr-footer__cta {
        grid-column: 1 / -1;
        padding-top: 8px;
    }

    .mr-footer__cta h3 {
        font-size: 27px;
    }

    .mr-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .mr-footer__legal {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}


/* ---------------------------------------------------------
   VERY SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .mr-footer {
        padding-bottom: 80px;
    }
}