:root {
    --bc-red: #e50914;
    --bc-red-dark: #b20710;
    --bc-footer-bg: #070b12;
    --bc-footer-bg-soft: #0d1420;
    --bc-footer-text: #f8fafc;
    --bc-footer-muted: #a8b3c4;
    --bc-footer-border: rgba(255, 255, 255, 0.10);
    --bc-footer-card: rgba(255, 255, 255, 0.055);
    --bc-footer-radius: 18px;
}

.bc-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(229, 9, 20, 0.16), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(135deg, #070b12, #0b111d 52%, #070b12);
    color: var(--bc-footer-text);
    border-top: 4px solid var(--bc-red);
    font-family: var(--cn-font-body, Inter, system-ui, sans-serif);
}

.bc-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}

.bc-footer-shell {
    width: min(calc(100% - 40px), var(--cn-container, 1360px));
    max-width: var(--cn-container, 1360px);
    margin: 0 auto;
    padding: 46px 0 24px;
}

.bc-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: clamp(32px, 5vw, 58px);
    align-items: start;
}

.bc-footer-brand {
    min-width: 0;
}

.bc-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
}

.bc-footer-logo:hover,
.bc-footer-logo:focus {
    color: #ffffff;
}

.bc-footer-logo-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px !important;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.bc-footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-footer-logo-text {
    display: block;
    color: #ffffff;
    font-family: var(--cn-font-heading, "Inter Tight", Inter, system-ui, sans-serif);
    font-size: clamp(1.75rem, 2.2vw, 2.25rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
}

.bc-footer-description {
    max-width: 580px;
    margin: 16px 0 0;
    color: var(--bc-footer-muted);
    font-size: 15px;
    line-height: 1.65;
}

.bc-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bc-footer-socials:empty {
    display: none;
}

.bc-footer-social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bc-footer-border);
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.bc-footer-social-link:hover,
.bc-footer-social-link:focus {
    transform: translateY(-2px);
    border-color: rgba(229, 9, 20, 0.55);
    background: rgba(229, 9, 20, 0.16);
    color: #ffffff;
}

.bc-footer-newsletter {
    border: 1px solid var(--bc-footer-border);
    border-radius: var(--bc-footer-radius) !important;
    background:
        radial-gradient(circle at top left, rgba(229, 9, 20, 0.22), transparent 38%),
        var(--bc-footer-card);
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
}

.bc-footer-newsletter-kicker {
    display: inline-flex;
    margin-bottom: 9px;
    color: #ffb4ba;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.bc-footer-newsletter-title {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--cn-font-heading, "Inter Tight", Inter, system-ui, sans-serif);
    font-size: clamp(1.45rem, 2vw, 1.75rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

.bc-footer-newsletter-text {
    margin: 0;
    color: var(--bc-footer-muted);
    font-size: 14px;
    line-height: 1.55;
}

.bc-footer-form {
    margin-top: 16px;
}

.bc-footer-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.bc-footer-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    padding: 12px 14px;
    font-size: 14px;
}

.bc-footer-input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.bc-footer-submit {
    min-height: 46px;
    border: 0;
    border-radius: 12px !important;
    background: var(--bc-red);
    color: #ffffff;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.bc-footer-submit:hover,
.bc-footer-submit:focus {
    background: var(--bc-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.bc-footer-consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 12px 0 0;
    color: var(--bc-footer-muted);
    font-size: 12px;
    line-height: 1.45;
}

.bc-footer-consent input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: var(--bc-red);
}

.bc-footer-consent a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.bc-footer-consent a:hover,
.bc-footer-consent a:focus {
    color: #ffb4ba;
}

.bc-footer-divider {
    height: 1px;
    margin: 32px 0 28px;
    background: linear-gradient(90deg, transparent, var(--bc-footer-border), transparent);
}

.bc-footer-links {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.05fr 1fr 1fr;
    gap: clamp(24px, 3vw, 38px);
}

.bc-footer-column {
    min-width: 0;
}

.bc-footer-heading {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: var(--cn-font-heading, "Inter Tight", Inter, system-ui, sans-serif);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-footer-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc-footer-link {
    display: inline-flex;
    width: fit-content;
    color: var(--bc-footer-muted);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.28;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.bc-footer-link:hover,
.bc-footer-link:focus {
    color: #ffffff;
    transform: translateX(3px);
}

.bc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--bc-footer-border);
    color: var(--bc-footer-muted);
    font-size: 13px;
}

.bc-footer-copyright {
    margin: 0;
}

.bc-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.bc-footer-legal-link {
    color: var(--bc-footer-muted);
    text-decoration: none;
    font-weight: 700;
}

.bc-footer-legal-link:hover,
.bc-footer-legal-link:focus {
    color: #ffffff;
}

.bc-footer-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bc-footer a:focus-visible,
.bc-footer button:focus-visible,
.bc-footer input:focus-visible {
    outline: 3px solid rgba(229, 9, 20, 0.45);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .bc-footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .bc-footer-newsletter {
        max-width: 560px;
    }

    .bc-footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .bc-footer-shell {
        width: min(calc(100% - 32px), var(--cn-container, 1360px));
        padding: 42px 0 24px;
    }

    .bc-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .bc-footer-input-row {
        grid-template-columns: 1fr;
    }

    .bc-footer-submit {
        width: 100%;
    }

    .bc-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .bc-footer-shell {
        width: min(calc(100% - 28px), var(--cn-container, 1360px));
    }

    .bc-footer-logo {
        align-items: flex-start;
    }

    .bc-footer-logo-text {
        font-size: 26px;
        line-height: 1.08;
    }

    .bc-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }
}

@media (max-width: 340px) {
    .bc-footer-links {
        grid-template-columns: 1fr;
    }
}
