/* PrimeNest - footer styles */

.site-footer {
    background: var(--color-navy-dark);
    color: #fff;
    padding: 3rem 1.5rem 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__logo {
    display: block;
    width: 180px;
    height: auto;
    margin-bottom: 1.25rem;
}

.site-footer__heading {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}

.site-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer__links a:hover {
    color: var(--color-red-accent);
    text-decoration: underline;
}

.site-footer__contact p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__heading--secondary {
    margin-top: 1.5rem;
}

.site-footer__social {
    display: flex;
    gap: 0.9rem;
}

.site-footer__social a {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__social a:hover {
    color: var(--color-red-accent);
}

.site-footer__bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-navy-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .site-footer {
        padding: 3rem 1.5rem 1.75rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding: 3rem 1.5rem 2rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    /* Stacked single-column layout reads as thin without something marking
       where one section ends and the next begins — a plain gap alone isn't
       enough visual weight, so each section (after the first) gets its own
       divider + generous top/bottom padding instead of just a gap. */
    .site-footer__col {
        padding: 2rem 0;
        border-top: 1px solid var(--color-navy-border);
    }

    .site-footer__col:first-child {
        padding-top: 0;
        border-top: none;
    }

    .site-footer__col:last-child {
        padding-bottom: 0;
    }

    .site-footer__logo {
        margin-bottom: 1.5rem;
    }

    .site-footer__heading {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }

    .site-footer__links {
        gap: 0.9rem;
    }

    .site-footer__links a {
        font-size: 0.95rem;
    }

    .site-footer__bottom {
        margin-top: 2.5rem;
        padding-top: 1.75rem;
    }
}
