/* ==========================================================================
   COMPONENT: site-footer (global footer)
   ========================================================================== */
.bc-site-footer {
    background: linear-gradient(180deg, transparent 0%, var(--bg-surface-1) 100%);
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}
.bc-site-footer::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200%;
    background: var(--glow-gold);
    filter: blur(180px);
    opacity: 0.08;
    pointer-events: none;
}
.bc-site-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
}
.bc-site-footer__inner--three-col {
    grid-template-columns: 1fr 1fr 1.5fr;
}
.bc-site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.bc-site-footer__logo {
    height: 48px;
    width: auto;
    max-width: 240px;
    display: block;
    align-self: flex-start;
    object-fit: contain;
}
.bc-site-footer__logo.logo-light { display: none; }
[data-theme="light"] .bc-site-footer__logo.logo-dark { display: none; }
[data-theme="light"] .bc-site-footer__logo.logo-light { display: block; }
.bc-site-footer__tagline {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    max-width: 32ch;
}
.bc-site-footer__social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.bc-site-footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.bc-site-footer__social a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}
.bc-site-footer__social svg { width: 16px; height: 16px; }
.bc-site-footer__heading {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.bc-site-footer__col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.bc-site-footer__col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--duration-fast);
}
.bc-site-footer__col a:hover { color: var(--accent-primary); }
.bc-site-footer__newsletter-desc {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 1rem;
}
.bc-site-footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.bc-site-footer__col--follow .bc-site-footer__social {
    margin-bottom: 1rem;
}
.bc-site-footer__col--follow .bc-site-footer__social a {
    width: 36px;
    height: 36px;
}
.bc-site-footer__newsletter-msg {
    display: block;
    margin-top: 0.35rem;
    font-size: var(--text-xs);
}
.bc-site-footer__newsletter-form input {
    padding: 0.65rem 1rem;
    background: var(--bg-base);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: border-color var(--duration-fast);
}
.bc-site-footer__newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.bc-site-footer__newsletter-form button {
    padding: 0.65rem 1rem;
    background: var(--gradient-gold);
    color: #000;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    cursor: pointer;
    transition: transform var(--duration-fast);
}
.bc-site-footer__newsletter-form button:hover { transform: translateY(-2px); }

.bc-site-footer__bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    letter-spacing: var(--tracking-wide);
    flex-wrap: wrap;
    position: relative;
}
.bc-site-footer__bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.bc-site-footer__bottom-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--duration-fast);
}
.bc-site-footer__bottom-links a:hover { color: var(--accent-primary); }

@media (max-width: 900px) {
    .bc-site-footer__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem;
    }
    .bc-site-footer__inner--three-col { grid-template-columns: 1fr 1fr; }
    .bc-site-footer__brand { grid-column: 1 / -1; }
    .bc-site-footer__col:last-child { grid-column: 1 / -1; max-width: 420px; }
    .bc-site-footer__inner--three-col .bc-site-footer__col--follow { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 600px) {
    .bc-site-footer__inner,
    .bc-site-footer__inner--three-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.25rem 1.5rem;
    }
    .bc-site-footer__col:last-child { max-width: none; }
    .bc-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
}

