/* --- VARIABLES --- */
:root {
    --bg-light: #EEF2F2;
    --primary-color: #243333;
    --text-color: #4A6464;
}

body.brand-page {
    background: var(--bg-light);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.04em;
}

/* SECTION */
.brand-section {
    padding: 0 0 80px 0;
    flex: 1;
}

.brand-header {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 64px;
    margin-top: 64px;
}

.brand-main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: -0.07em;
    line-height: 1.2;
    margin-top: 10px;
}

/* BRAND GRID */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.brand-item {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }

    .brand-item {
        padding: 20px;
        height: 180px;
    }
}