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

.footer {
    width: 100%;
    padding: 28px 6%;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
    align-items: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #888;
    font-size: 12px;
}


/* =========================================================
   01 — BRAND
========================================================= */

.footer-brand {
    color: #999;
    white-space: nowrap;
}


/* =========================================================
   02 — ROLE
========================================================= */

.footer-role {
    color: #999;
    text-align: center;
    white-space: nowrap;
}


/* =========================================================
   03 — LEGAL
========================================================= */

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    white-space: nowrap;
}

    .footer-legal a {
        color: #888;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-legal a:hover {
            color: var(--white);
        }


/* =========================================================
   04 — SOCIAL
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    white-space: nowrap;
}

    .footer-social a {
        color: #999;
        text-decoration: none;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .footer-social a:hover {
            color: var(--white);
            transform: translateY(-1px);
        }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .footer {
        grid-template-columns: 1fr 1fr;
        row-gap: 18px;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-role {
        text-align: right;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .footer-social {
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {

    .footer-social span {
        display: none;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer {
        grid-template-columns: 1fr;
        padding: 30px 6%;
        gap: 16px;
        text-align: center;
    }

    .footer-brand,
    .footer-role,
    .footer-legal,
    .footer-social {
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .footer-legal,
    .footer-social {
        flex-wrap: wrap;
        gap: 14px;
    }
}
