/* Hub footer — match landing / Figma Footer App (4240:20847). ACF fields unchanged. */
.bg-footer {
    margin: 0;
    width: 100%;
    background-color: #151312;
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
}

.bg-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 0 40px;
    box-sizing: border-box;
}

.bg-footer .footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding-bottom: 32px;
}

.bg-footer .logo {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.bg-footer .logo img,
.bg-footer .logo svg {
    display: block;
    width: 204px;
    height: auto;
    max-width: 100%;
}

.bg-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-width: 0;
}

.bg-footer .footer-nav .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.bg-footer .footer-nav .nav-item:hover {
    color: #e8b923;
}

.bg-footer .footer-nav .nav-item img,
.bg-footer .footer-nav .nav-item svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: none;
    object-fit: contain;
}

.bg-footer .socials-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-shrink: 0;
}

.bg-footer .social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 6.4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bg-footer .social-item:hover {
    opacity: 0.85;
}

/* ACF / defaults are full 32×32 button art (chrome included) */
.bg-footer .social-item img,
.bg-footer .social-item svg {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bg-footer .divider {
    height: 1px;
    background: #3d3a48;
    margin: 0 0 32px;
}

.bg-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.bg-footer .footer-desc,
.bg-footer .copyright-text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #888596;
}

.bg-footer .footer-desc {
    max-width: 630px;
}

.bg-footer .copyrigt-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.bg-footer .links-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0 8px;
}

.bg-footer .links-wrapper a {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #f1f6fb;
    text-decoration: none;
    transition: color 0.2s;
}

.bg-footer .links-wrapper a:hover {
    color: #e8b923;
}

.bg-footer .links-sep {
    color: rgba(241, 246, 251, 0.4);
    font-size: 12px;
    line-height: 14px;
}

@media (max-width: 1100px) {
    .bg-footer__inner {
        padding: 48px 0 32px;
    }
}

@media (max-width: 900px) {
    .bg-footer .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .bg-footer .logo {
        margin: 0 auto;
    }

    .bg-footer .footer-nav,
    .bg-footer .socials-wrapper {
        justify-content: center;
    }

    .bg-footer .footer-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bg-footer .footer-desc {
        max-width: none;
    }

    .bg-footer .copyrigt-wrapper {
        align-items: flex-start;
    }

    .bg-footer .links-wrapper {
        justify-content: flex-start;
    }
}

@media (max-width: 1312px) {
    .bg-footer__inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .bg-footer__inner {
        padding: 40px 16px 28px;
    }

    .bg-footer .footer-top {
        text-align: left;
        gap: 40px;
    }

    .bg-footer .logo {
        margin: 0;
    }

    .bg-footer .logo img,
    .bg-footer .logo svg {
        width: 138px;
    }

    .bg-footer .footer-nav {
        display: contents;
    }

    .bg-footer .footer-nav .nav-item {
        justify-content: flex-start;
    }

    .bg-footer .socials-wrapper {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-bottom: 16px;
    }
}
