.bsb-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0 40px;
    position: relative;
    z-index: 10;
}

.bsb-footer-container {
    display: flex;
    flex-direction: column;
}

/* TOP AREA */
.bsb-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
}

.bsb-footer-top-left {
    flex: 1 1 50%;
    max-width: 600px;
}

.bsb-footer-logo {
    display: block;
    margin-bottom: 30px;
    max-width: 126px;
}

.bsb-footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.bsb-footer-headline {
    font-family: var(--bsb-font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.bsb-footer-top-right {
    flex: 1 1 50%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.bsb-footer-desc {
    font-family: var(--bsb-font-primary);
    font-size: 1.5rem;
    line-height: 1.5;
}

.bsb-footer-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 10px;
    position: relative;
    transition: border-color 0.3s ease;
}

.bsb-footer-form:focus-within {
    border-color: var(--bsb-color-menu);
}

.bsb-footer-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--bsb-font-primary);
    font-size: 1.1rem;
    flex: 1;
    outline: none;
    padding: 5px 0;
}

.bsb-footer-input::placeholder {
    color: #6D6D6D;
}

.bsb-footer-submit {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.bsb-footer-submit:hover {
    transform: translateX(5px);
    color: var(--bsb-color-menu);
}

.bsb-footer-submit svg {
    width: 24px;
    height: 24px;
}

.bsb-footer-disclaimer {
    font-family: var(--bsb-font-primary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* DIVIDER */
.bsb-footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    margin-bottom: 60px;
    transform-origin: left;
}

/* MIDDLE LINKS */
.bsb-footer-middle {
    margin-bottom: 40px;
    max-width: 800px;
}

.bsb-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    column-gap: 24px;
}

@media (min-width: 1024px) {
    .bsb-footer-menu {
        column-count: 3;
    }
}

@media (min-width: 768px) {
    .bsb-footer-menu {
        column-count: 2;
    }
}

.bsb-footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--bsb-font-primary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: opacity 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-bottom: .75rem;
    width: fit-content;
}

.bsb-footer-menu a:hover {
    opacity: 1;
    color: var(--bsb-color-menu);
}

/* BOTTOM AREA */
.bsb-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 40px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.bsb-footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--bsb-font-primary);
    font-size: 0.8rem;
}

.bsb-footer-locations {
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: .5rem;
}

.bsb-footer-copyright {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bsb-footer-separator {
    color: #fff;
}

.bsb-footer-copyright a {
    color: #fff;
    /* text-decoration: none; */
    transition: color 0.3s ease;
}

.bsb-footer-copyright a:hover {
    color: var(--bsb-color-menu);
}

.bsb-footer-bottom-center {
    display: flex;
    justify-content: center;
    align-self: flex-end;
}

.bsb-footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.bsb-footer-social a {
    color: #ffffff;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.bsb-footer-social a:hover {
    transform: translateY(-3px);
}

.bsb-footer-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.bsb-footer-bottom-right {
    display: flex;
    justify-content: flex-end;
}

.bsb-footer-backtotop {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--bsb-font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.bsb-footer-backtotop:hover {
    color: var(--bsb-color-menu);
}

.bsb-footer-backtotop svg {
    width: 20px;
    height: 20px;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.bsb-footer-backtotop:hover svg {
    transform: rotate(-90deg) translateX(5px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bsb-footer-menu {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }

    .bsb-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .bsb-footer-bottom-center,
    .bsb-footer-bottom-right {
        width: 100%;
        justify-content: flex-start;
    }

    .bsb-footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .bsb-footer-top {
        flex-direction: column;
    }

    .bsb-footer-top-left,
    .bsb-footer-top-right {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .bsb-footer-menu {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row;
    }
}

/* ANIMATION CLASSES */
.bsb-footer .reveal-item {
    opacity: 0;
    transform: translateY(30px);
}