/* ==================================================
   FOOTER
================================================== */

.site-footer {
    width: 100%;
    min-height: 720px;
    padding:
        clamp(100px, 9vw, 175px)
        var(--page-padding)
        clamp(70px, 7vw, 120px);
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer-layout {
    display: grid;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    grid-template-columns:
        minmax(220px, 0.9fr)
        minmax(420px, 1.3fr)
        minmax(280px, 0.9fr);
    gap: clamp(60px, 8vw, 150px);
    align-items: center;
}


/* Footer logo */

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand a {
    display: inline-block;
}

.footer-logo {
    display: block;
    width: clamp(220px, 18vw, 330px);
    height: auto;
}


/* Footer navigation */

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-navigation a {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 1.7vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.footer-navigation a:hover {
    color: var(--color-yellow);
    transform: translateX(4px);
}


/* Website address */

.footer-website {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-website a {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2.3rem);
    font-weight: 900;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.footer-website a:hover {
    color: var(--color-yellow);
}


/* Bottom footer text */

.footer-bottom {
    width: 100%;
    max-width: var(--content-width);
    margin: clamp(65px, 7vw, 115px) auto 0;
    text-align: center;
}

.footer-tagline {
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    font-style: italic;
    line-height: 1.4;
}

.footer-copyright {
    font-size: 0.95rem;
    font-style: italic;
}


/* ==================================================
   FOOTER — TABLETS
================================================== */

@media (max-width: 1050px) {

    .site-footer {
        min-height: auto;
    }

    .footer-layout {
        grid-template-columns: 1fr 1.3fr;
        gap: 70px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-website {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .footer-website a {
        text-align: center;
    }

}


/* ==================================================
   FOOTER — PHONES
================================================== */

@media (max-width: 700px) {

    .site-footer {
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .footer-layout {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .footer-brand,
    .footer-website {
        justify-content: center;
    }

    .footer-logo {
        width: min(280px, 80vw);
    }

    .footer-navigation a {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
        line-height: 1.15;
    }

    .footer-website a {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
        text-align: center;
    }

    .footer-bottom {
        margin-top: 70px;
    }

}