/**
 * Site footer — static 4-column middle section + bottom bar
 */

 .site-footer {
    --bb-footer-accent: #eb7d1e;
    --bb-footer-container-max: 96rem;
    background: #1f2937;
    color: #e5e7eb;
}

.site-footer-middle {
    padding: clamp(2rem, 5vw, 2.5rem) 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.site-footer-middle__container {
    width: 100%;
    max-width: var(--bb-footer-container-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
    box-sizing: border-box;
}

.site-footer-middle__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.site-footer-middle__column {
    min-width: 0;
}

.site-footer-middle__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.site-footer-middle__links {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.site-footer-middle__links li + li {
    margin-top: 0.625rem;
}

.site-footer-middle__link {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-middle__link:hover {
    color: var(--bb-footer-accent);
}

.site-footer-middle__extra {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem 1rem;
    min-height: 85px;
}

.site-footer-middle__extra-title {
    margin: 0;
    flex: 0 0 auto;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.site-footer-middle__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-middle__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #ffffff;
    background: rgb(255 255 255 / 0.08);
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer-middle__social-link:hover {
    color: #ffffff;
    background: var(--bb-footer-accent);
}

.site-footer-middle__figure {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.site-footer-middle__figure img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-footer-middle__column:first-child,
.site-footer-middle__column:nth-child(2),
.site-footer-middle__column:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.site-footer-middle__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-middle__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.site-footer-middle__contact-item + .site-footer-middle__contact-item {
    margin-top: 0.875rem;
}

.site-footer-middle__contact-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--bb-footer-accent);
}

.site-footer-middle__address {
    margin: 0;
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #d1d5db;
}

.site-footer-middle__hours {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 1024px) {
    .site-footer-middle__hours {
        padding-top: 0;
        border-top: none;
    }
}

.site-footer-middle__hours-title {
    margin: 0 0 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.site-footer-middle__hours-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #d1d5db;
}

.site-footer__bottom {
    background: #111827;
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding-block: 1rem;
    text-align: center;
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #9ca3af;
}

@media (max-width: 1023px) {
    .site-footer-middle__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .site-footer-middle__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer-middle__extra {
        flex-direction: column;
        align-items: flex-start;
    }
}
