/* Clients Section */
.clients {
    padding: 80px 0;
    background: #f8f8f8;
    overflow: hidden;
}

.clients__title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.clients__subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 50px;
}

/* Slider */
.clients__slider {
    position: relative;
    width: 100%;
}

.clients__slider::before,
.clients__slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients__slider::before {
    left: 0;
    background: linear-gradient(90deg, #f8f8f8 0%, transparent 100%);
}

.clients__slider::after {
    right: 0;
    background: linear-gradient(270deg, #f8f8f8 0%, transparent 100%);
}

.clients__track {
    display: flex;
    gap: 40px;
    animation: clients-scroll 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.clients__track:hover {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Item */
.clients__item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.clients__item:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.clients__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .clients {
        padding: 60px 0;
    }

    .clients__title {
        font-size: 1.875rem;
    }

    .clients__subtitle {
        margin-bottom: 40px;
    }

    .clients__slider::before,
    .clients__slider::after {
        width: 80px;
    }

    .clients__track {
        gap: 30px;
    }

    .clients__item {
        width: 150px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .clients {
        padding: 50px 0;
    }

    .clients__title {
        font-size: 1.5rem;
    }

    .clients__subtitle {
        font-size: 0.9375rem;
        margin-bottom: 32px;
    }

    .clients__slider::before,
    .clients__slider::after {
        width: 40px;
    }

    .clients__track {
        gap: 20px;
        animation-duration: 20s;
    }

    .clients__item {
        width: 120px;
        height: 70px;
        padding: 15px;
    }
}

