.bc-footer {
    font-family: 'VazirFD', 'Shabnam', 'Vazir', sans-serif;
    direction: rtl;
    position: relative;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid #dfe8ef;
    background: linear-gradient(110deg, #edf5fa, #fff 60%);
    color: #465465;
}
.bc-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    inset-inline-start: max(24px, calc((100% - 1152px) / 2));
    width: 64px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: #2585b7;
}
.bc-footer-container { max-width: 1200px; margin: 0 auto; padding: 18px 24px; }
.bc-footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.bc-footer-brand { min-width: 0; }
.bc-footer-logo { display: inline-block; color: #183b56; font-size: 1.05rem; font-weight: 900; text-decoration: none; }
.bc-footer-tagline { margin: 4px 0 0; font-size: .78rem; line-height: 1.8; }
.bc-footer-heading { margin: 0; color: #617487; font-size: .72rem; font-weight: 600; line-height: 1.6; }
.bc-footer-navigation { order: 1; }
.bc-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.bc-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #465465; font-size: .8rem; text-decoration: none; }
.bc-footer a { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.bc-footer a:hover { color: #0969ad; text-decoration: none; }
.bc-footer a:focus-visible { outline: 2px solid #0969ad; outline-offset: 3px; border-radius: 6px; }
.bc-footer-social { display: flex; flex-wrap: wrap; gap: 4px; order: 2; }
.bc-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; color: #315775; border: 1px solid #dbe7ef; border-radius: 50%; background: #fff; }
.bc-footer-social a:hover { color: #0969ad; background: #e3f1fb; border-color: #9cbfda; }
.bc-footer-social svg { display: block; width: 21px; height: 21px; }
@media (max-width: 1000px) {
    .bc-footer-brand { flex: 1 1 280px; }
    .bc-footer-navigation { order: 0; }
    .bc-footer-social { flex-basis: 100%; }
}
@media (max-width: 600px) {
    .bc-footer-container { padding: 16px; }
    .bc-footer-main { justify-content: center; gap: 10px; text-align: center; }
    .bc-footer-brand { flex-basis: 100%; }
    .bc-footer-navigation { flex-basis: 100%; }
    .bc-footer-links, .bc-footer-social { justify-content: center; }
    .bc-footer-links { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .bc-footer a { transition: none; }
}
