/* ==========================================
BRANDS
========================================== */

#brands {
    padding: 60px 6%;
    text-align: center;
    background: var(--white);
}

#brands h2 {
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1;
}

#brands p {
    width: 100%;
    letter-spacing: 0.7px;
    opacity: 0.7;
    text-align: justify;
}

/* GRID */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 14px;
    /* grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 18px; */
    align-items: center;
    justify-items: center;

    max-width: 900px;
    margin: 0 auto;
}

/* BRAND ITEM (no card, no border) */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    opacity: 0.85;
    transition: 0.25s ease;
}

/* LOGOS */
.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;

    filter: grayscale(100%) brightness(1.2);
    transition: 0.25s ease;
}

/* TEXT */
.brand span {
    font-size: 12px;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

/* HOVER = subtle premium lift */
.brand:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.brand:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px) {
    #brands p {
        padding: 0 30px;
    }
}