/* =========================================================
   Footer – Three‑column grid, proportional text
   ========================================================= */

.c-footer {
    background: #1a1218;
    color: rgba(255,255,255,0.85);
    padding: 4rem 0 2rem;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

.c-footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.c-footer a:hover {
    color: var(--color-primary-hover);
}

/* Donate button in footer – ensure text is white */
.c-footer a.c-donate-btn {
    color: var(--donate-btn-text, #ffffff);
}

.c-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .c-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .c-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.c-footer__col {
    display: flex;
    flex-direction: column;
}

.c-footer__logo {
    display: block;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    width: auto;
    height: 2.5rem;
    max-height: 2.5rem;
}

.c-footer__heading {
    font-family: var(--font-body);
    font-size: var(--font-size-2xs) !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}

.c-footer__address,
.c-footer__phone,
.c-footer__email {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm) !important;
}
.c-footer__phone a,
.c-footer__email a {
    color: rgba(255,255,255,0.7);
}
.c-footer__phone a:hover,
.c-footer__email a:hover {
    color: #fff;
}

.c-footer__regulator {
    margin-top: 1rem;
}
.c-footer__regulator img {
    height: 4rem;
    width: auto;
}

.c-footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.c-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #fff;
    transition: opacity 0.2s ease;
}
.c-footer__social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    max-width: 100%;
    max-height: 100%;
    fill: currentColor;
}
.c-footer__social-link:hover {
    opacity: 0.8;
    color:#fff !important;
}

/* Social icon colours – platform‑specific classes */
.c-footer__social-link--facebook  { color: #1877F2 !important; }
.c-footer__social-link--twitter   { color: #000000 !important; }
.c-footer__social-link--instagram { color: #E4405F !important; }
.c-footer__social-link--linkedin  { color: #0A66C2 !important; }
.c-footer__social-link--youtube   { color: #FF0000 !important; }
.c-footer__social-link--tiktok    { color: #000000 !important; }

/* Remove any hover background */
.c-footer__social-link:hover {
    background: transparent !important;
    opacity: 0.8;
}

/* Services list */
.c-footer__services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.c-footer__services-list li {
    margin-bottom: 0.5rem;
}
.c-footer__services-list a {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
}
.c-footer__services-list a:hover {
    color: #fff;
}

/* Mission blurb + donate button */
.c-footer__mission-text {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm) !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Copyright bar – forced full width, cleared */
.c-footer__copyright {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    clear: both;          /* ensures it sits below any floated or grid columns */
    width: 100%;          /* spans the full container width */
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .c-footer__copyright {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.c-footer__copyright p {
    margin: 0;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem) !important;
}

.c-footer__legal-nav,
.c-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.c-footer__legal-nav a,
.c-footer__legal-list a {
    color: rgba(255,255,255,0.7);
    font-size: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.c-footer__legal-nav a:hover,
.c-footer__legal-list a:hover {
    color: var(--color-primary);
}

/* ── Mobile refinements ─────────────────────────────── */
@media (max-width: 767px) {
    .c-footer__col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .c-footer__col:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .c-footer__grid {
        gap: 0.2rem;
    }

    .c-footer__heading {
        font-size: var(--font-size-body) !important;
        margin-bottom: 0.5rem;
        letter-spacing: 0.15em;
    }

    .c-footer__address,
    .c-footer__phone,
    .c-footer__email {
        font-size: var(--font-size-sm) !important;
    }

    .c-footer {
        padding: 2rem 0 2rem;
    }

    .c-footer__logo {
        margin-bottom: 0;
    }

    .c-footer__social {
        margin-top: 0.5rem;
    }
}