/* ============================================================
   Site footer — dark navy, radial-gradient glow, link columns.
   Single source of truth: footer.html (server-inlined like nav).
   ============================================================ */

.site-footer {
    width: 100%;
    color: rgba(255, 255, 255, 0.72);
    background-color: #03253c;
    /* Single glow radiating from the center of the footer */
    background-image:
        radial-gradient(90% 150% at 50% 50%, rgba(45, 139, 186, 0.32) 0%, rgba(45, 139, 186, 0) 60%),
        linear-gradient(180deg, #053452 0%, #03243b 100%);
    font-family: 'Roboto', sans-serif;
    border-top: none;
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 32px 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
}

/* ---- Brand block ---- */
.site-footer__brand {
    flex: 1 1 240px;
    max-width: 300px;
}

.site-footer__logo-link {
    display: inline-block;
    line-height: 0;
}

.site-footer__logo {
    height: 34px;
    width: auto;
    /* Dark-blue wordmark PNG -> render white on the dark footer */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.site-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.25s, transform 0.2s;
}

.site-footer__social a:hover {
    background-color: #2d8bba;
    transform: translateY(-2px);
}

.site-footer__social svg {
    width: 17px;
    height: 17px;
    fill: #ffffff;
}

/* ---- Link columns ---- */
.site-footer__cols {
    flex: 2 1 620px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.site-footer__col-title {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(140, 200, 235, 0.9);
}

.site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col li {
    margin-bottom: 11px;
}

.site-footer__col a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__col a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ---- Bottom bar ---- */
.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    align-items: center;
}

.site-footer__copy,
.site-footer__legal {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__legal a:hover {
    color: #ffffff;
}

.site-footer__legal span {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .site-footer__inner {
        flex-direction: column;
        gap: 32px;
    }

    /* In a column layout the flex-basis becomes a height — reset both blocks
       to size to their content so there's no reserved empty space. */
    .site-footer__brand {
        flex: 0 0 auto;
        max-width: none;
    }

    .site-footer__cols {
        flex: 0 0 auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 24px;
    }
}

@media (max-width: 560px) {
    .site-footer__inner {
        padding: 40px 22px 28px;
    }

    .site-footer__bar {
        padding: 18px 22px;
        flex-direction: column;
        align-items: flex-start;
    }
}
