.bd.bd-footer {
    background: var(--bd-ink);
    color: var(--bd-white);
    font-size: 14px;
    line-height: 1.55;
}

.bd .bd-footer__grid {
    display: grid;
    gap: 28px;
    padding-block: 32px;
}

.bd .bd-footer__logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.bd .bd-footer__logo img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
}

.bd .bd-footer__title {
    margin: 0 0 10px;
    color: var(--bd-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.bd .bd-footer__text,
.bd .bd-footer__links a,
.bd .bd-footer__bottom {
    color: #cbd5e1;
}

.bd .bd-footer__links,
.bd .bd-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bd .bd-footer__links {
    display: grid;
    gap: 5px;
}

.bd .bd-footer__links a {
    display: inline-block;
    padding-block: 4px;
}

.bd .bd-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.bd .bd-footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #475569;
    border-radius: var(--bd-r-md);
    color: var(--bd-white);
}

.bd .bd-footer__links a:hover {
    color: var(--bd-white);
    text-decoration: underline;
}

.bd .bd-footer__social a:hover {
    color: var(--bd-ink);
    background: var(--bd-brand-50);
    text-decoration: none;
}

.bd.bd-footer a:focus-visible {
    outline: 2px solid var(--bd-accent);
    outline-offset: 3px;
}

.bd .bd-footer__badge {
    display: inline-block;
    max-width: 100%;
    padding: 6px 8px;
    border-radius: var(--bd-r-sm);
    background: var(--bd-white);
    vertical-align: top;
}

.bd .bd-footer__badge img {
    display: block;
    max-width: 100%;
    height: auto;
}

.bd .bd-footer__badge--payments {
    width: 232px;
    margin-top: 12px;
}

.bd .bd-footer__badge--certificate {
    width: 184px;
}

.bd .bd-footer__bottom {
    border-top: 1px solid #334155;
    padding-block: 16px;
    font-size: 12px;
}

@media (min-width: 600px) {
    .bd .bd-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bd .bd-footer__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .9fr);
        padding-block: 40px;
    }
}

@media (max-width: 599px) {
    .bd .bd-footer__grid > * + * {
        border-top: 1px solid #334155;
        padding-top: 20px;
    }

    .bd .bd-footer__bottom {
        padding-right: 76px;
    }
}
