/* BRANDS SECTION */
.brands-section {
    width: 100%;
    background: #f8f8f8;
    padding: 90px 45px;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADING */
.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
    padding: 10px 26px;

    background: #b4070b;
    color: #ffffff;

    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
}

.section-heading h2 {
    margin-bottom: 14px;

    color: #333333;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
}

.section-heading p {
    color: #555555;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
}

/* LOGO GRID */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.brand-card {
    min-height: 150px;
    padding: 28px;

    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: #b4070b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.brand-card img {
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
    display: block;
}

/* HIDDEN BRANDS */
.hidden-brand {
    display: none;
}

.brands-grid.show-all .hidden-brand {
    display: flex;
}

/* BUTTON */
.brands-button-wrap {
    margin-top: 34px;
    text-align: center;
}

.brands-toggle-btn {
    height: 46px;
    padding: 0 26px;

    background: #ffffff;
    color: #0c1c44;

    border: 1px solid #e2e2e2;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transition: 0.25s ease;
}

.brands-toggle-btn:hover {
    background: #b4070b;
    color: #ffffff;
    border-color: #b4070b;
}

/* TABLET */
@media (max-width: 950px) {
    .brands-section {
        padding: 70px 28px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-heading h2 {
        font-size: 36px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .brands-section {
        padding: 55px 18px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .brand-card {
        min-height: 125px;
        padding: 22px;
    }

    .brand-card img {
        max-height: 62px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 15px;
    }
}