#qlo-partners-section {
    padding: 40px 0;
    background-color: transparent; /* Fondo transparente */
    margin-bottom: 30px;
}

.block .title_block {
    background: none !important;
    border-top: none !important;
}

.partners-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

/* LA REJILLA */
.partners-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que bajen a la siguiente línea si no caben */
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
    gap: 30px; /* Espacio entre logos */
}

/* CADA LOGO */
.partner-item {
    width: 150px; /* Ancho base del contenedor del logo */
    height: 100px; /* Alto fijo para alinear todo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent; /* Fondo transparente */
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px); /* Efecto de flotar al pasar el mouse */
}

/* ENLACE DEL LOGO */
.partner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* IMAGEN DEL LOGO */
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* CRUCIAL: Mantiene la proporción del PNG sin cortarlo */
    filter: grayscale(0%); /* Mostrar siempre a color */
    opacity: 1; /* Opacidad completa */
    transition: all 0.3s ease;
}

.partner-item:hover img {
    /* Ya está a color por defecto, pero se mantiene la transición */
    filter: grayscale(0%);
    opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .partners-grid {
        gap: 15px;
    }
    .partner-item {
        width: 120px;
        height: 80px;
    }
}