/* ===========================
   FOOTER , static
   =========================== */

.site-footer {
    background-color: var(--ub-footer-bg);
    color: rgba(255, 255, 255, 0.85);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 8px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ub-footer-text);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.footer-menu,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--ub-footer-text);
}

.footer-contact li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 0;            /* depend on icon's margin-right, not flex gap, so
                          stray whitespace text nodes don't create their
                          own gaps and shift the label horizontally. */
    line-height: 1.4;
}
.footer-contact li > i {
    flex: 0 0 14px;
    width: 14px;
    text-align: center;
    line-height: 1.4;
    margin-right: 8px;
    transform: translateY(2px);  /* optical baseline nudge */
}
.footer-contact li > span { flex: 1 1 auto; min-width: 0; }

.footer-contact a {
    color: inherit;
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--ub-footer-text);
    text-decoration: underline;
}

.footer-strip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--ub-footer-strip-text);
    padding: 8px 20px 40px;
    /* Honour iOS safe-area + clear the floating WhatsApp button so the
       Cookievoorkeuren link isn't hidden behind it or the mobile
       browser's bottom toolbar. */
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.footer-divider {
    color: var(--ub-footer-strip-text);
}

.footer-strip-link,
.footer-cookie-link {
    color: var(--ub-footer-strip-text);
    text-decoration: none;
}

.footer-strip-link:hover,
.footer-cookie-link:hover {
    color: var(--ub-footer-link-hover);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    /* Bigger tap targets on touch devices */
    .footer-menu a,
    .footer-contact a {
        display: inline-block;
        padding: 6px 0;
        font-size: 14px;
    }
    .footer-menu {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile footer strip: stack the three pieces vertically so they
   each get their own line, and pad the bottom enough to clear the
   floating WhatsApp button. wa-float is 48-52px tall sitting
   12-16px from bottom + safe-area, so ~80px clearance keeps the
   cookie link well above it. */
@media (max-width: 768px) {
    .footer-strip-content {
        flex-direction: column;
        gap: 6px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
        text-align: center;
    }
    .footer-strip-content > * { margin-left: 0 !important; }
}

/* Footer hub , sitewide internal-link cluster sitting above the
   regular site-footer. Targets the Tier-1 SEO pages so every page
   passes topical authority through to them. */
.footer-hub {
    background: var(--ub-grey-ultralight, #f5f7fa);
    border-top: 1px solid var(--ub-grey-light, #e5e7eb);
    padding: 32px 0 24px;
}
.footer-hub__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.footer-hub__col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ub-text-muted, #6b7280);
    margin: 0 0 10px;
    font-weight: 700;
}
.footer-hub__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-hub__col li {
    margin: 4px 0;
}
.footer-hub__col a {
    color: var(--ub-text, #111827);
    text-decoration: none;
    font-size: 13px;
}
.footer-hub__col a:hover {
    text-decoration: underline;
}
@media (max-width: 640px) {
    .footer-hub__inner { padding: 0 16px; gap: 18px; }
    .footer-hub { padding: 24px 0 16px; }
}
