.bidr-footer {
    --bidr-footer-bg: #071b18;
    --bidr-footer-text: #f4fbf7;
    --bidr-footer-muted: #9ab5aa;
    --bidr-footer-accent: #70c69a;
    background: var(--bidr-footer-bg);
    color: var(--bidr-footer-text);
    padding: 2.25rem clamp(1.25rem, 4vw, 4rem) 1.1rem;
}

.bidr-footer__upper,
.bidr-footer__lower {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.bidr-footer__upper {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(0, 2.5fr) minmax(100px, 1fr);
    align-items: center;
    gap: 2rem;
}

.bidr-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bidr-footer__brand img {
    display: block;
    width: min(100%, 8.5rem);
    height: 3.3rem;
    object-fit: contain;
    object-position: left center;
}

.bidr-footer__brand p,
.bidr-footer__lower p {
    margin: 0;
    color: var(--bidr-footer-muted);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.bidr-footer__brand p {
    margin-top: 0.45rem;
}

.bidr-footer__navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
}

.bidr-footer__navigation a,
.bidr-footer__legal span,
.bidr-footer__legal-link {
    color: var(--bidr-footer-text);
    font-size: 0.76rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 160ms ease;
}

.bidr-footer__legal-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.bidr-footer__navigation a {
    padding: 0.45rem 0.1rem;
}

.bidr-footer__navigation a:hover,
.bidr-footer__navigation a:focus-visible,
.bidr-footer__legal span:hover,
.bidr-footer__legal-link:hover,
.bidr-footer__legal-link:focus-visible {
    color: var(--bidr-footer-accent);
}

.bidr-footer__social {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    min-height: 1.5rem;
}

.bidr-footer__social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    background: rgba(112, 198, 154, 0.16);
    color: var(--bidr-footer-accent);
    cursor: not-allowed;
    font-size: 0.9rem;
    opacity: 1;
}

.bidr-footer__social-button:disabled {
    color: var(--bidr-footer-accent);
    opacity: 1;
}

.bidr-footer__lower {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.55rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(112, 198, 154, 0.2);
}

.bidr-footer__legal {
    display: flex;
    gap: 1.1rem;
}

.bidr-footer__legal span + span,
.bidr-footer__legal-link + span {
    position: relative;
}

.bidr-footer__legal span + span::before {
    position: absolute;
    top: 50%;
    left: -0.6rem;
    width: 1px;
    height: 0.7rem;
    background: rgba(154, 181, 170, 0.45);
    content: "";
    transform: translateY(-50%);
}

@media (max-width: 1023px) {
    .bidr-footer {
        padding-top: 2rem;
    }

    .bidr-footer__upper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .bidr-footer__brand {
        align-items: center;
    }

    .bidr-footer__brand img {
        object-position: center;
    }

    .bidr-footer__navigation {
        max-width: 44rem;
    }

    .bidr-footer__social {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .bidr-footer {
        padding: 1.8rem 1rem 1rem;
    }

    .bidr-footer__upper {
        gap: 0.8rem;
    }

    .bidr-footer__navigation {
        column-gap: 0.8rem;
        row-gap: 0.2rem;
    }

    .bidr-footer__navigation a {
        min-height: 2.5rem;
        padding: 0.55rem 0.35rem;
    }

    .bidr-footer__lower {
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1rem;
        padding-top: 0.9rem;
        text-align: center;
    }

    .bidr-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}
