/**
 * ==========================================================================
 * StabilityTest Theme - Footer Styles
 * ==========================================================================
 *
 * Styles for the global site footer.
 *
 * Responsibilities:
 *
 * - Footer layout
 * - Footer navigation
 * - Copyright area
 * - Footer spacing
 * - Footer visual styling
 *
 * Keep all footer-related styles isolated within this file.
 *
 * @package StabilityTest_Theme
 * @since 1.0.0
 * ==========================================================================
 */

.site-footer {
    border-top: 1px solid var(--stabilitytest-border-light);
    background: rgba(9, 9, 15, 0.85);
}

/* Footer Top */

.site-footer__top {
    border-bottom: 1px solid var(--stabilitytest-border-light);
}

.site-footer__top-inner {
    max-width: var(--stabilitytest-container-width);
    margin: 0 auto;
    padding: 72px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
}

.site-footer__column:not(:last-child) {
    border-right: 1px solid var(--stabilitytest-border-light);
}

.site-footer__logo-link {
    display: inline-flex;
    margin-bottom: 28px;
}

.site-footer__logo {
    height: 32px;
    width: auto;
}

.site-footer__tagline {
    margin: 0 0 8px;
}

.site-footer__heading {
    margin: 0 0 7px;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li:not(:last-child) {
    margin-bottom: 7px;
}

.site-footer__links a {
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--stabilitytest-color-text);
}

/* Footer Bottom */

.site-footer__inner {
    max-width: var(--stabilitytest-container-width);
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

.site-footer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 18px;
}

.site-footer__nav a {
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--stabilitytest-color-text);
}

@media (max-width: 960px) {

    .site-footer__top-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 24px;
    }

    .site-footer__column:not(:last-child) {
        border-right: 0;
    }

    .site-footer__inner {
        padding: 28px 24px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .site-footer__brand p {
        max-width: 260px;
        line-height: 1.7;
    }

    .site-footer__nav ul {
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}