.logo-carousel-wrapper {
    width: 100%;
    max-width: 980px;
    height: 480px;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0 auto;
}

.logo-carousel-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    justify-content: space-evenly;
}

.logo-carousel-row {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
}

.logo-carousel-wrapper:hover .logo-carousel-row {
    animation-play-state: paused;
}

.logo-carousel-item {
    flex: 0 0 auto;
    width: 150px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.logo-carousel-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.logo-carousel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.logo-carousel-item:hover {
    background: transparent;
    transform: translateY(-5px);
}

/* Animación de desplazamiento */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .logo-carousel-wrapper {
        max-width: 100%;
        height: auto;
        min-height: 400px;
    }
    
    .logo-carousel-item {
        width: 130px;
        height: 140px;
        padding: 15px;
    }
    
    .logo-carousel-row {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .logo-carousel-wrapper {
        min-height: 350px;
    }
    
    .logo-carousel-item {
        width: 110px;
        height: 120px;
        padding: 12px;
    }
    
    .logo-carousel-container {
        gap: 0;
    }
    
    .logo-carousel-row {
        gap: 12px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .logo-carousel-wrapper {
        min-height: 300px;
    }
    
    .logo-carousel-item {
        width: 90px;
        height: 100px;
        padding: 10px;
    }
    
    .logo-carousel-row {
        gap: 10px;
        padding: 0 10px;
    }
}
