/* ════════════════════════════════════════════
   Footer — dark companion to Hero V7
   One continuous dark surface: centered header,
   footer nav columns (long lists auto-split into
   two sub-columns), social chips with gradient
   hover, quiet bottom bar with text payment
   badges. Replaces the site-directory's loud
   band + colored share buttons.
   Depends on scw-base (tokens).
   ════════════════════════════════════════════ */

.scw-ftr {
    background: var(--scw-ftr-bg, #08080B);
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    padding: 72px 0 40px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scw-ftr *,
.scw-ftr *::before,
.scw-ftr *::after {
    box-sizing: border-box;
}

/* ── Header ── */
.scw-ftr__header {
    text-align: center;
    margin-bottom: 56px;
}

.scw-ftr__heading {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--scw-ftr-heading, #FFFFFF);
    margin: 0 0 10px;
}

.scw-ftr__subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--scw-ftr-link, #A1A1AA);
    margin: 0;
}

/* ── Nav columns ── */
.scw-ftr__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scw-ftr__col {
    flex: 1 1 160px;
    min-width: 150px;
}

.scw-ftr__col--wide {
    flex: 2 1 340px;
}

.scw-ftr__col-heading {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--scw-ftr-heading, #FFFFFF);
    margin: 0 0 18px;
}

.scw-ftr__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scw-ftr__list--split {
    columns: 2;
    column-gap: 32px;
}

.scw-ftr__list li {
    margin-bottom: 12px;
    break-inside: avoid;
}

.scw-ftr__list a {
    font-size: 14px;
    line-height: 1.5;
    color: var(--scw-ftr-link, #A1A1AA);
    text-decoration: none;
    transition: color 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.scw-ftr__list a:hover {
    color: var(--scw-ftr-heading, #FFFFFF);
}

/* ── Social chips — gradient on hover ── */
.scw-ftr__social {
    display: flex;
    gap: 10px;
}

.scw-ftr__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--scw-ftr-link, #A1A1AA);
    transition: background 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                border-color 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                color 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.scw-ftr__social-link:hover {
    background: linear-gradient(135deg, var(--scw-ftr-a1, #A855F7) 0%, var(--scw-ftr-a2, #EC4899) 100%);
    border-color: transparent;
    color: #FFFFFF;
}

.scw-ftr__social-link:focus-visible {
    outline: 2px solid var(--scw-ftr-a2, #EC4899);
    outline-offset: 3px;
}

/* ── Bottom bar ── */
.scw-ftr__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 28px;
}

.scw-ftr__copyright {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.40);
    margin: 0;
}

.scw-ftr__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.scw-ftr__badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 4px 10px;
    line-height: 1.4;
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 767px)
   ════════════════════════════════════════════ */
@media (max-width: 767px) {
    .scw-ftr {
        padding: 56px 0 32px;
    }

    .scw-ftr__header {
        margin-bottom: 44px;
    }

    .scw-ftr__heading { font-size: 22px; }

    .scw-ftr__subtitle { font-size: 14px; }

    .scw-ftr__nav {
        gap: 36px 32px;
        padding-bottom: 40px;
    }

    .scw-ftr__col {
        flex: 1 1 40%;
    }

    .scw-ftr__col--wide {
        flex: 1 1 100%;
    }

    .scw-ftr__bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* ════════════════════════════════════════════
   Responsive — Small mobile (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
    .scw-ftr__col {
        flex: 1 1 100%;
    }

    .scw-ftr__list--split {
        column-gap: 20px;
    }
}

/* ── Elementor Editor Overrides ── */
.elementor-editor-active .scw-ftr {
    min-height: 200px;
}
