/* Contenedor principal */
.carousel-container {
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

/* Carrusel que se mueve */
.carousel {
    width: 100%;
    display: flex;
    overflow: hidden;
}

/* Pista del carrusel con animación infinita */
.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

/* Logos */
.carousel-item {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-sizing: border-box;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

/* Animación infinita */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item { width: 140px; height: 70px; }
}

@media (max-width: 480px) {
    .carousel-item { width: 120px; height: 60px; }
}
