/* ============================================================
   UNIVERSAL CARGO - CARRUSEL CLIENTES v2.0.4
   Código completamente nuevo
   ============================================================ */

.uc2-clients {
    background: #f5f6f7;
    padding: 68px 0 64px;
    overflow: hidden;
}

.uc2-clients__header {
    width: calc(100% - 40px);
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.uc2-clients__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #6e747b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uc2-clients__title {
    margin: 0;
    color: #25292d;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.uc2-clients__text {
    max-width: 650px;
    margin: 16px auto 0;
    color: #6d737a;
    font-size: 16px;
    line-height: 1.7;
}


/* CONTENEDOR */

.uc2-marquee {
    position: relative;
    width: calc(100% - 70px);
    max-width: 1240px;
    margin: 0 auto;
}

.uc2-marquee__viewport {
    overflow: hidden;
    width: 100%;
    padding: 40px;    /*10px 0;*/

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 4%,
        #000 96%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 4%,
        #000 96%,
        transparent 100%
    );
}


/* TRACK */

.uc2-marquee__track {
    display: flex;
    width: max-content;
    animation: uc2Move 28s linear infinite;
    will-change: transform;
}

@keyframes uc2Move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* GRUPOS */

.uc2-marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}


/* TARJETAS */

.uc2-logo {
    display: flex;
    flex: 0 0 185px;
    align-items: center;
    justify-content: center;

    width: 185px;
    height: 108px;

    padding: 18px 22px;

    box-sizing: border-box;

    background: #fff;
    border: 1px solid rgba(20, 25, 30, .08);
    border-radius: 8px;

    box-shadow: 0 8px 26px rgba(20, 25, 30, .06);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.uc2-logo img {
    display: block;
    max-width: 140px;
    max-height: 100px;    /*62px;*/
    width: auto;
    height: auto;
    object-fit: contain;

    opacity: .9;

    transition:
        transform .35s ease,
        opacity .35s ease;
}

@media (hover:hover) and (pointer:fine) {

    .uc2-logo:hover {
        transform: translateY(-4px);
        border-color: rgba(20, 25, 30, .14);
        box-shadow: 0 14px 34px rgba(20, 25, 30, .1);
    }

    .uc2-logo:hover img {
        transform: scale(1.03);
        opacity: 1;
    }
}


/* FLECHAS */

.uc2-marquee__arrow {
    display: none;

    position: absolute;
    top: 50%;
    z-index: 20;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(20, 25, 30, .12);
    border-radius: 50%;

    background: #fff;
    color: #333;

    font-size: 20px;
    line-height: 40px;
    text-align: center;

    box-shadow: 0 6px 20px rgba(20, 25, 30, .1);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.uc2-marquee__arrow--left {
    left: -22px;
}

.uc2-marquee__arrow--right {
    right: -22px;
}

.uc2-marquee__arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 26px rgba(20, 25, 30, .14);
}


/* PC */

@media (min-width: 992px) {
    .uc2-marquee__arrow {
        display: block;
    }
}


/* TABLET */

@media (max-width: 991px) {

    .uc2-clients {
        padding: 58px 0 54px;
    }

    .uc2-marquee {
        width: calc(100% - 36px);
    }

    .uc2-marquee__track {
        animation-duration: 26s;
    }

    .uc2-marquee__group {
        gap: 20px;
        padding-right: 20px;
    }

    .uc2-logo {
        flex-basis: 165px;
        width: 165px;
        height: 98px;
    }

    .uc2-logo img {
        max-width: 125px;
        max-height: 56px;
    }
}


/* MOBILE */

@media (max-width: 640px) {

    .uc2-clients {
        padding: 48px 0 44px;
    }

    .uc2-clients__header {
        width: calc(100% - 28px);
        margin-bottom: 28px;
    }

    .uc2-clients__title {
        font-size: 27px;
    }

    .uc2-clients__text {
        font-size: 15px;
    }

    .uc2-marquee {
        width: calc(100% - 20px);
    }

    .uc2-marquee__track {
        animation-duration: 24s;
    }

    .uc2-marquee__group {
        gap: 15px;
        padding-right: 15px;
    }

    .uc2-logo {
        flex-basis: 200px;
        width: 200px;
        height: 116px;
        padding: 14px 16px;
    }

    .uc2-logo img {
        /* v2.0.4: +50% respecto de mobile v2.0.3 (112x48 -> 168x72) */
        max-width: 168px;
        max-height: 72px;
    }
}
