/* ==========================================================================
   Footer Redesign 2026
   Replaces the old FoundationPress footer layout.
   ========================================================================== */

/* ── Reset old footer chrome ── */
#footer-container {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
#footer-container #footer {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}
#footer-container #footer .footer-primary {
    display: none !important;
}
#footer-container #footer .footer-secondary {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    max-width: none;
    text-align: left;
}

/* ── New footer shell ── */
.site-footer {
    background: #1a2050;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
}

/* Gradient accent line at the very top */
.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #293262 0%, #00a285 100%);
}

/* ── Inner layout ── */
.site-footer__inner {
    max-width: 70rem;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.5rem 3rem;
}

@media (max-width: 860px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2rem;
    }
}
@media (max-width: 540px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem 1.5rem;
    }
}

/* ── Column: Brand ── */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.site-footer__logo {
    display: block;
    width: 140px;
    height: auto;
}
.site-footer__tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.83rem;
    margin: 0;
    line-height: 1.5;
}

/* ── Column headings ── */
.site-footer__col-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00a285;
    margin: 0 0 0.9rem;
}

/* ── Navigation links ── */
.site-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.site-footer__nav li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer__nav li a:hover {
    color: #00a285;
    text-decoration: none;
}

/* ── Contact block ── */
.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.site-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
}
.site-footer__contact-row svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #00a285;
}
.site-footer__contact-row a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer__contact-row a:hover {
    color: #00a285;
    text-decoration: none;
}

/* ── Copyright bar ── */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 70rem;
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}
.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer__bottom a:hover {
    color: #00a285;
    text-decoration: none;
}
.site-footer__legal-links {
    display: flex;
    gap: 1.25rem;
}
