.brands-section {
    background: #2a2a2a;
    border-top: none;
    border-bottom: none;
}

.brands-shell {
    padding: 2rem 1.5rem 2.2rem;
}

.brands-title {
    margin: 7rem 0 1.7rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.28em;
    font-size: clamp(0.75rem, 1.15vw, 1.05rem);
    font-weight: 500;
}

.brands-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 0.9rem 1.2rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.brand-logo {
    min-height: 86px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.68);
    background: none;
    border: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
    padding: 0.85rem 1rem;
}

.brand-logo__img {
    width: 100%;
    max-width: 235px;
    max-height: 86px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.brand-logo:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .brands-shell {
        padding: 1.5rem 1rem 1.75rem;
    }

    .brands-title {
        margin-bottom: 1.1rem;
        letter-spacing: 0.18em;
    }

    .brands-logos {
        grid-template-columns: repeat(4, minmax(80px, 1fr));
        gap: 0.7rem;
    }

    .brand-logo {
        min-height: 76px;
    }

    .brand-logo__img {
        max-height: 44px;
    }
}

@media (max-width: 576px) {
    .brands-shell {
        padding: 1.25rem 0.9rem 1.4rem;
    }

    .brands-title {
        margin-bottom: 0.95rem;
        letter-spacing: 0.11em;
        line-height: 1.35;
    }

    .brands-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .brand-logo {
        min-height: 68px;
        border-radius: 10px;
    }

    .brand-logo__img {
        max-height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-logo {
        transition: none;
    }
}
