/* Public footer: colors and type match the existing public header. */
.bf-site-footer { flex-shrink: 0; margin-top: auto; background: #21272d; color: #edf0f2; font-family: 'Open Sans', sans-serif; font-size: 13px; line-height: 1.7; }
.bf-site-footer *, .bf-site-footer *::before, .bf-site-footer *::after { box-sizing: border-box; }
.bf-footer-shell { width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; }
.bf-footer-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; padding: 56px 0 42px; }
.bf-footer-grid > * { min-width: 0; }
.bf-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.bf-footer-brand:hover { color: #fff; }
.bf-footer-brand img { display: block; width: 54px; height: 54px; flex-shrink: 0; }
.bf-footer-brand span { font-size: 14px; font-weight: 700; letter-spacing: .09em; }
.bf-footer-about p { max-width: 340px; margin: 22px 0 0; color: #bac4cc; font-size: 13px; line-height: 1.85; }
.bf-footer-column h2 { margin: 8px 0 21px; color: #bac4cc; font: 700 11px/1.5 'Open Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.bf-footer-links { display: flex; flex-direction: column; gap: 3px; list-style: none; padding: 0; margin: 0; }
.bf-footer-links a, .bf-footer-contact { display: inline-block; padding: 5px 0; color: #edf0f2; font-size: 13px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.bf-site-footer a:hover { color: #f38c96; }
.bf-site-footer a:focus-visible { outline: 3px solid #e46c75; outline-offset: 4px; border-radius: 2px; }
.bf-footer-contacts address { margin: 0; font-style: normal; }
.bf-footer-contact { display: block; width: fit-content; max-width: 100%; }
.bf-footer-details { margin: 18px 0 14px; color: #bac4cc; font-size: 12px; line-height: 1.85; }
.bf-footer-terms { display: inline-block; max-width: 100%; color: #edf0f2; font-size: 12px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #89929b; }
.bf-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 21px 0 25px; border-top: 1px solid #ffffff1f; color: #bac4cc; font-size: 11px; }
.bf-footer-bottom small { font-size: inherit; }
@media (max-width: 1099px) {
    .bf-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 64px; padding-top: 42px; }
    .bf-footer-column h2 { margin-top: 0; }
}
@media (max-width: 640px) {
    .bf-footer-shell { width: calc(100% - 36px); }
    .bf-footer-grid { gap: 30px 24px; padding: 34px 0 30px; }
    .bf-footer-about, .bf-footer-contacts { grid-column: 1 / -1; }
    .bf-footer-about p { max-width: 440px; margin-top: 18px; }
    .bf-footer-column h2 { margin-bottom: 14px; }
    .bf-footer-links { gap: 0; }
    .bf-footer-links a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; line-height: 1.65; }
    .bf-footer-contact { padding: 8px 0; }
    .bf-footer-details { margin-top: 16px; }
    .bf-footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 0 22px; }
}
