/* ─────────────────────────────────────────
   Footer Layout
───────────────────────────────────────── */
.footer-container {
    background: #f9f9f9;
    padding: var(--space-6);
    padding-bottom: 100px;
    margin-top: var(--space-6);
}

.footer-grid {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    padding: var(--space-6);
}

.footer-grid .footer-item {
    box-sizing: border-box;
    margin-bottom: 30px;
}

.footer-item h6 {
    margin: 0 0 12px;
    font-weight: 600;
}

.footer-item__toggle {
    display: none;
}

/* ─────────────────────────────────────────
   Sub-footer & Scroll-to-top
───────────────────────────────────────── */
.sub-footer-container {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.scroll-top {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    margin-bottom: 10px;
}

.scroll-top svg {
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-top__bg {
    transform-origin: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.scroll-top__arrow {
    transform-origin: center;
    transition: transform 0.35s ease;
}

.scroll-top:hover svg         { transform: translateY(-6px); }
.scroll-top:hover .scroll-top__bg    { transform: scale(1.1); filter: brightness(0.8); }
.scroll-top:hover .scroll-top__arrow { transform: translateY(-3px); }
.scroll-top:active svg        { transform: translateY(-2px) scale(0.95); }

/* ─────────────────────────────────────────
   Awards Bar — Desktop
───────────────────────────────────────── */
.awards-footer {
    font-size: 14px;
}

.grid-flex-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    margin-bottom: 25px;
}

.awards-images {
    max-width: 100px;
    margin: 25px;
    object-fit: contain;
}

/* ─────────────────────────────────────────
   Mobile (≤ 991px)
───────────────────────────────────────── */

@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }

    /* Footer grid */
    .footer-grid {
        flex-direction: column;
        padding: var(--space-3, 12px);
    }

    .footer-grid .footer-item {
        margin-bottom: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .footer-item h6 {
        display: none;
    }

    /* Accordion toggle */
    .footer-item__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: transparent;
        border: none;
        padding: 14px 0;
        cursor: pointer;
        font-size: inherit;
        font-weight: 600;
        font-family: inherit;
        color: inherit;
        text-align: left;
    }

    .footer-item__toggle::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        flex-shrink: 0;
    }

    .footer-item--open .footer-item__toggle::after {
        transform: rotate(-135deg);
    }

    /* Accordion nav */
    .footer-item .footer-nav {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .footer-item--open .footer-nav {
        max-height: 600px;
    }

    .footer-item .footer-nav ul {
        padding-bottom: 12px;
    }

    /* Sub-footer */
    .sub-footer-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: left;
    }

    .sub-footer-container .scroll-top {
        display: none;
    }

    .footer-bar-inner {
        font-size: 12pt;
        gap: 10px;
    }

    /* Awards — marquee on mobile */
    .awards-footer {
        overflow: hidden;
    }

    .awards-footer .container {
        overflow: hidden;
        padding: 0;
        max-width: 100%;
        width: 100%;
    }

    .grid-flex-awards {
        flex-wrap: nowrap;
        width: max-content;
        justify-content: flex-start;
        will-change: transform;
    }

    .awards-images {
        flex-shrink: 0;
        max-width: 80px;
        height: 80px;
        margin: 15px 12px;
    }

    .socials-colored img {
        height: 40px;
    }
    .footer-bar-inner {
        border-top: 0 !important;
    }
}
