/* ===================================
   PREMIUM STICKY BRANDS
   MOBILE FIRST
=================================== */


.brands-sticky{

    position:sticky;
    top:0;
    z-index:1000;

    width:100%;

    padding:18px 0;

    background:
    linear-gradient(
        135deg,
        rgba(15,23,42,.92),
        rgba(2,6,23,.88)
    );

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

    overflow:hidden;

}


.brands-sticky::before{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    top:-100px;
    left:-80px;

    background:#00d4ff;

    filter:blur(100px);

    opacity:.15;

}



.brands-container{

    width:100%;

    display:flex;

    flex-direction:column;

    gap:18px;

    padding:0 20px;

}



/* TEXTO */

.brands-title{

    text-align:center;

}


.brands-title span{

    display:block;

    color:white;

    font-size:.75rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}


.brands-title p{

    margin:7px 0 0;

    color:rgba(255,255,255,.55);

    font-size:.82rem;

}



/* SLIDER */

.brands-slider{

    width:100%;

    overflow:hidden;

    position:relative;

}



.brands-slider::before,
.brands-slider::after{

    content:"";

    position:absolute;

    top:0;

    width:45px;

    height:100%;

    z-index:2;

}


.brands-slider::before{

    left:0;

    background:
    linear-gradient(
        90deg,
        #07101f,
        transparent
    );

}


.brands-slider::after{

    right:0;

    background:
    linear-gradient(
        -90deg,
        #07101f,
        transparent
    );

}



.brands-track{

    display:flex;

    align-items:center;

    gap:45px;

    width:max-content;

    animation:
    brandsMove 25s linear infinite;

}



.brand{

    height:55px;

    min-width:110px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:12px 20px;


    background:

    linear-gradient(
        145deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.02)
    );


    border:

    1px solid rgba(255,255,255,.08);


    border-radius:16px;


    transition:.35s;

}



.brand img{

    max-width:80px;

    max-height:35px;

    object-fit:contain;

    opacity:1;

    transition:.35s;

}



.brand:hover{

    transform:translateY(-5px);

    background:
    rgba(255,255,255,.12);

}






/* ANIMACION */

@keyframes brandsMove{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}



/* TABLET */

@media(min-width:768px){


    .brands-container{

        flex-direction:row;

        align-items:center;

        gap:35px;

        padding:0 40px;

    }


    .brands-title{

        min-width:240px;

        text-align:left;

    }


    .brands-track{

        gap:60px;

    }


}



/* DESKTOP */

@media(min-width:1200px){


    .brands-sticky{

        padding:22px 0;

    }


    .brands-container{

        max-width:1400px;

        margin:auto;

    }


    .brand{

        min-width:130px;

        height:65px;

        border-radius:20px;

    }


    .brand img{

        max-width:95px;

    }


}