/* ============================================================
   BLEND PIXEL STUDIO -- footer.css v1.0
   Premium footer with trust bar, 4-column sitemap, newsletter,
   and bottom bar. Fully responsive, uses existing design tokens.
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   KADENCE FOOTER SUPPRESSION
════════════════════════════════════════════════════════════ */
#colophon,
.site-footer,
.site-footer-wrap,
.footer-html,
.kadence-footer,
.kadence-footer-area,
.kadence-footer-container,
.kadence-footer-inner {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ════════════════════════════════════════════════════════════
   TRUST BAR (above main footer)
════════════════════════════════════════════════════════════ */
.bps-trust-bar {
    background: var(--s2, #18161f);
    border-bottom: 1px solid var(--bd, #2a2738);
    padding: 18px 32px;
}
html[data-theme="light"] .bps-trust-bar {
    background: var(--s2, #ede9e3);
    border-color: var(--bd, #ccc6bc);
}

.bps-trust-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.bps-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--t2, #9a8e7e);
    white-space: nowrap;
}
html[data-theme="light"] .bps-trust-item {
    color: var(--t2, #5c5248);
}

.bps-trust-item svg {
    flex-shrink: 0;
    color: var(--acc, #efb07d);
}

/* ════════════════════════════════════════════════════════════
   MAIN FOOTER
════════════════════════════════════════════════════════════ */
.bps-footer {
    background: var(--s1, #111018);
    border-top: 1px solid var(--bd, #2a2738);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--t2, #9a8e7e);
}
html[data-theme="light"] .bps-footer {
    background: #ffffff;
    border-color: var(--bd, #ccc6bc);
}

.bps-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 32px 32px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER GRID (4 columns)
════════════════════════════════════════════════════════════ */
.bps-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* ════════════════════════════════════════════════════════════
   BRAND COLUMN
════════════════════════════════════════════════════════════ */
.bps-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bps-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.bps-footer-logo img {
    height: 36px;
    width: auto;
    display: block;
}
.bps-footer-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--t1, #f0ede8);
    letter-spacing: -0.02em;
}
html[data-theme="light"] .bps-footer-logo-text {
    color: var(--t1, #1a1612);
}

.bps-footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--t2, #9a8e7e);
    max-width: 280px;
    margin: 0;
}

/* Social links */
.bps-footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.bps-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--s2, #18161f);
    border: 1px solid var(--bd, #2a2738);
    color: var(--t2, #9a8e7e);
    transition: all 0.2s ease;
    text-decoration: none;
}
.bps-social-link:hover {
    background: var(--acc, #efb07d);
    border-color: var(--acc, #efb07d);
    color: #000;
    transform: translateY(-2px);
}
html[data-theme="light"] .bps-social-link {
    background: var(--s2, #ede9e3);
    border-color: var(--bd, #ccc6bc);
    color: var(--t2, #5c5248);
}

.bps-social-link svg {
    width: 16px;
    height: 16px;
}

/* ════════════════════════════════════════════════════════════
   LINK COLUMNS
════════════════════════════════════════════════════════════ */
.bps-footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--t1, #f0ede8);
    margin: 0 0 20px;
}
html[data-theme="light"] .bps-footer-col-title {
    color: var(--t1, #1a1612);
}

.bps-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bps-footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--t2, #9a8e7e);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}
.bps-footer-links a:hover {
    color: var(--acc, #efb07d);
}
html[data-theme="light"] .bps-footer-links a {
    color: var(--t2, #5c5248);
}

/* ════════════════════════════════════════════════════════════
   NEWSLETTER COLUMN
════════════════════════════════════════════════════════════ */
.bps-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bps-footer-newsletter-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--t3, #5c5248);
    margin: -8px 0 4px;
}

.bps-footer-form {
    display: flex;
    gap: 8px;
}

.bps-footer-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    background: var(--s2, #18161f);
    border: 1.5px solid var(--bd, #2a2738);
    border-radius: 8px;
    color: var(--t1, #f0ede8);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.bps-footer-form input[type="email"]:focus {
    border-color: var(--acc, #efb07d);
    box-shadow: 0 0 0 3px rgba(239, 176, 125, 0.12);
}
.bps-footer-form input[type="email"]::placeholder {
    color: var(--t3, #5c5248);
}
html[data-theme="light"] .bps-footer-form input[type="email"] {
    background: var(--s2, #ede9e3);
    border-color: var(--bd, #ccc6bc);
    color: var(--t1, #1a1612);
}
html[data-theme="light"] .bps-footer-form input[type="email"]::placeholder {
    color: var(--t3, #9a8e7e);
}

.bps-footer-form button {
    padding: 11px 18px;
    background: var(--acc, #efb07d);
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.bps-footer-form button:hover {
    background: var(--acc-l, #f5c89a);
    transform: translateY(-1px);
}

.bps-footer-note {
    font-size: 11px;
    color: var(--t3, #5c5248);
    margin: 4px 0 0;
}

/* ════════════════════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════════════════════ */
.bps-footer-divider {
    height: 1px;
    background: var(--bd, #2a2738);
    margin: 0 0 24px;
}

/* ════════════════════════════════════════════════════════════
   BOTTOM BAR
════════════════════════════════════════════════════════════ */
.bps-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.bps-footer-copyright {
    font-size: 12px;
    color: var(--t3, #5c5248);
    margin: 0;
}

.bps-footer-copyright a {
    color: var(--acc, #efb07d);
    text-decoration: none;
}
.bps-footer-copyright a:hover {
    text-decoration: underline;
}

.bps-footer-payments {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bps-payment-icon {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    background: var(--s2, #18161f);
    border: 1px solid var(--bd, #2a2738);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t3, #5c5248);
    font-size: 10px;
    font-weight: 600;
}
html[data-theme="light"] .bps-payment-icon {
    background: var(--s2, #ede9e3);
    border-color: var(--bd, #ccc6bc);
    color: var(--t3, #9a8e7e);
}

.bps-back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--s2, #18161f);
    border: 1px solid var(--bd, #2a2738);
    color: var(--t2, #9a8e7e);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.bps-back-to-top:hover {
    background: var(--acc, #efb07d);
    border-color: var(--acc, #efb07d);
    color: #000;
    transform: translateY(-2px);
}
.bps-back-to-top svg {
    width: 16px;
    height: 16px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bps-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .bps-trust-bar-inner {
        gap: 24px 48px;
    }
}

@media (max-width: 768px) {
    .bps-footer-inner {
        padding: 40px 20px 24px;
    }
    .bps-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        margin-bottom: 32px;
    }
    .bps-trust-bar {
        padding: 14px 16px;
    }
    .bps-trust-bar-inner {
        gap: 14px 28px;
    }
    .bps-trust-item {
        font-size: 12px;
    }
    .bps-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .bps-footer-form {
        flex-direction: column;
    }
    .bps-footer-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bps-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .bps-footer-inner {
        padding: 32px 16px 20px;
    }
    .bps-trust-item {
        font-size: 11px;
        gap: 6px;
    }
    .bps-footer-newsletter {
        grid-column: 1 / -1;
    }
}