/* ==========================================================================
   Footer Branches Section — All 8 Branch Locations
   ========================================================================== */

.footer-branches-section {
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
    border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
}

.footer-branches-section .footer-heading {
    margin-bottom: var(--space-lg);
}

.footer-branches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md) var(--space-lg);
}

.footer-branch-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.branch-location {
    font-size: var(--text-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-light);
    line-height: var(--line-height-normal);
}

.branch-link {
    font-size: var(--text-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
    transition: color var(--transition-fast);
    display: inline-block;
    width: fit-content;
}

.branch-link:hover {
    color: var(--color-accent-hover);
}

/* Tablet — 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg) var(--space-xl);
    }
}

/* Mobile — Vertical with row layout */
@media (max-width: 767px) {
    .footer-branches-section {
        padding: var(--space-lg) 0;
        margin-bottom: var(--space-lg);
    }

    .footer-branches-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-branch-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-branch-item:last-child {
        border-bottom: none;
    }

    .branch-location {
        font-size: var(--text-caption);
        color: var(--color-text-light);
    }

    .branch-link {
        font-size: var(--text-caption);
        color: var(--color-accent);
    }
}
