/* Footer */
.site-footer {
    background: var(--color-primary-deep);
    color: var(--color-ivory);
}

.site-footer-content {
    display: grid;
    grid-template-columns: minmax(22rem, 1.1fr) minmax(32rem, 1.4fr) minmax(16rem, 0.7fr);
    gap: var(--space-8);
    padding-block: var(--space-8);
}

.site-footer .site-brand-footer .site-brand-name {
    color: var(--color-ivory);
}

.site-brand-footer {
    margin-bottom: var(--space-5);
    color: var(--color-ivory);
}

.site-footer-brand > p {
    max-width: 48rem;
    margin: 0;
    color: rgb(247 243 234 / 68%);
    font-size: var(--text-sm);
}

.site-footer-brand .footer-social {
    margin-top: var(--space-6);
}

.footer-navigation-group > p,
.footer-social > p {
    margin-bottom: var(--space-4);
    color: var(--color-sand);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-navigation-group ul,
.footer-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-navigation {
    min-width: 0;
}

.footer-navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6) var(--space-7);
}

.footer-navigation-group {
    min-width: 0;
}

.footer-navigation-group li + li {
    margin-top: var(--space-2);
}

.footer-navigation-group a {
    color: rgb(247 243 234 / 76%);
    font-size: var(--text-sm);
}

.footer-navigation-group a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.footer-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-social a {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border: 1px solid var(--color-sand);
    border-radius: 50%;
    color: var(--color-sand);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-social a > span {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: var(--color-sand);
    color: var(--color-primary-deep);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    border-top: 1px solid var(--color-border-dark);
    color: rgb(247 243 234 / 58%);
    font-size: var(--text-xs);
}

.site-footer-bottom p {
    margin: 0;
}

.site-footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.site-footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgb(247 243 234 / 75%);
}

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

@media (max-width: 760px) {
    .site-footer-content {
        grid-template-columns: 1.5fr 1fr;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .footer-navigation-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-brand {
        grid-column: auto;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-bottom-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: var(--space-2);
    }
}
