/* ========================================
   FOOTER — RicAgE.dev
======================================== */

.site-footer {
    position: relative;
    flex-shrink: 0;

    width: calc(100% + 8rem);
    margin-left: -4rem;
    margin-bottom: -2rem;

    background: transparent;
    padding: 1.5rem 2rem 1.5rem 4rem;
    z-index: 1000;
}

.site-footer .contact-socials {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.site-footer__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-footer__logo {
    display: block;
    width: 90px;
    height: auto;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .site-footer__inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .site-footer {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        padding: 1.5rem;
    }
    .site-footer .contact-socials {
        position: static;
        transform: none;
        margin: 0;
        justify-content: center;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
    font-size: 0.8rem;
}

.footer-legal a {
    color: #fff;
    text-underline-offset: 4px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--color-home);
}
