.home-brands {
    padding: 56px 0 48px;
    background: #f6f7f9;
    overflow: hidden;
}

.home-brands-header {
    text-align: center;
    margin-bottom: 28px;
}

.home-brands-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.home-brands-header p {
    margin: 10px 0 0;
    font-size: 16px;
    color: #6b7280;
}

.brands-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 36px;
    animation: brandScroll 28s linear infinite;
}

.brand-item {
    flex: 0 0 auto;
    width: 150px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.brand-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    object-position: center;
    opacity: .85;
    transition: all .3s ease;
    filter: grayscale(100%);
}

.brand-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes brandScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .home-brands {
        padding: 40px 0 34px;
    }

    .home-brands-header {
        margin-bottom: 16px;
    }

    .home-brands-header h2 {
        font-size: 26px;
    }

    .home-brands-header p {
        font-size: 14px;
        margin-top: 8px;
    }

    .brands-track {
        gap: 18px;
        animation-duration: 24s;
    }

    .brand-item {
        width: 116px;
        height: 50px;
        padding: 4px 6px;
    }

    .brand-item img {
        max-height: 34px;
    }
}
