/* =========================================================
   CHRIS BROWN — FOOTER
   ========================================================= */


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    position: relative;
    width: 100%;
    padding: 55px 0 30px;
    background: var(--color-brown-deep);
    border-top: 1px solid rgba(231, 220, 199, 0.12);
}


/* ---------------------------------------------------------
   FOOTER CONTENT
   --------------------------------------------------------- */

.footer-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}


/* ---------------------------------------------------------
   LEGAL
   --------------------------------------------------------- */

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal p {
    color: rgba(231, 220, 199, 0.52);
    font-family: var(--font-sans);
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}


/* ---------------------------------------------------------
   FOOTER LINKS
   --------------------------------------------------------- */

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(231, 220, 199, 0.58);
    font-family: var(--font-sans);
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

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


/* ---------------------------------------------------------
   SOCIAL ICONS
   --------------------------------------------------------- */

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(231, 220, 199, 0.68);
    font-size: 13px;
    transition:
        color var(--transition-base),
        transform var(--transition-base);
}

.footer-socials a:hover {
    color: var(--color-cream);
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   FOOTER FADE
   --------------------------------------------------------- */

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(231, 220, 199, 0.18),
        transparent
    );
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .site-footer {
        padding: 45px 0 25px;
    }

    .footer-content {
        align-items: center;
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .footer-legal {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
        order: -1;
    }

}


/* ---------------------------------------------------------
   SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .site-footer {
        padding: 40px 0 22px;
    }

    .footer-socials {
        gap: 15px;
    }

    .footer-socials a {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .footer-links {
        gap: 16px;
    }

}