/* 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: #fbe4e4;
    color: #b4070b;

    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 MARQUEE */
.brands-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    gap: 18px;

    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.brands-track {
    display: flex;
    flex-shrink: 0;
    gap: 18px;

    animation: brands-scroll 40s linear infinite;
}

.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 18px));
    }
}

.brand-card {
    flex: 0 0 auto;
    width: 190px;
    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 {
    border-color: #b4070b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.brand-card--lg {
    padding: 14px;
}

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

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

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

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

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

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

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

    .brand-card--lg {
        padding: 12px;
    }

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

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

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