/* ============================================================
   footer.css — Site footer
   ============================================================ */

.site-footer {
    background: var(--dark-footer-bg);
    color: rgba(255, 255, 255, 0.92);
    padding: 56px 0 32px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ---- Grid layout ---- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* ---- Brand column ---- */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text .map {
    color: var(--white);
}

.footer-logo-text .outcomes {
    color: var(--compass-gold);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin: 0;
}

/* ---- Link columns ---- */
.footer-col-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--compass-gold);
    text-decoration: none;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--compass-gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ---- Bottom bar ---- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.footer-hosted {
    font-size: 12px !important;
    letter-spacing: 0.3px;
}

/* ---- CAAHEP non-affiliation disclaimer (task #3969) ---- */
/* Subdued legal notice above the bottom bar. 12px rgba(255,255,255,0.65)
   on --dark-footer-bg (#1a2a30) ≈ 7.2:1 contrast — passes WCAG 2.1 AA. */
.footer-disclaimer {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}
