.tcx{
	--tcx-h:38px; --tcx-n:6; --tcx-op:1;
	--tcx-line:#e6e9ea; --tcx-blob:rgba(255,99,99,.12); --tcx-glow:rgba(15,61,62,.35);
	--tcx-ease:cubic-bezier(.34,1.56,.64,1);
	width:100%; box-sizing:border-box;
}
.tcx *{box-sizing:border-box}

/* Cabecera y pie */
.tcx__head,.tcx__foot{display:flex;align-items:center;gap:18px}
.tcx__title,.tcx__foot-text{margin:0;white-space:nowrap;font-size:15px;line-height:1.3}
.tcx__line{flex:1;height:1px;background:var(--tcx-line);min-width:30px}
.tcx__foot{margin-top:6px}
.tcx__hl{font-weight:500}

/* Carrusel */
.tcx__viewport{overflow:hidden;padding:26px 0;position:relative;container-type:inline-size}
.tcx--fade .tcx__viewport{
	-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);
	        mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);
}
.tcx__track{display:flex;width:max-content;will-change:transform}
.tcx.is-ready .tcx__track{animation:tcx-scroll var(--tcx-dur,30s) linear infinite}
.tcx[data-direction="right"].is-ready .tcx__track{animation-direction:reverse}
.tcx--pause:hover .tcx__track{animation-play-state:paused}
@keyframes tcx-scroll{
	from{transform:translate3d(0,0,0)}
	to{transform:translate3d(calc(var(--tcx-shift,0px) * -1),0,0)}
}
.tcx__group{display:flex;align-items:center;flex-shrink:0}

/* Logo */
.tcx__item{
	display:flex;align-items:center;justify-content:center;flex-shrink:0;
	width:calc(100cqw / var(--tcx-n));padding:0 12px;text-decoration:none;outline:0;
}
.tcx__logo{
	position:relative;display:inline-flex;align-items:center;justify-content:center;
	transition:transform .55s var(--tcx-ease),filter .4s ease,box-shadow .4s ease;
	opacity:var(--tcx-op);
}
.tcx__logo img{
	display:block;height:var(--tcx-h);width:auto;max-width:100%;object-fit:contain;
	position:relative;z-index:1;user-select:none;-webkit-user-drag:none;
	transition:filter .4s ease,transform .55s var(--tcx-ease);
}
.tcx--gray .tcx__logo img{filter:grayscale(1) contrast(.9)}
.tcx--gray .tcx__item:hover .tcx__logo img{filter:none}

/* Hover: burbuja + elevación (como en la referencia) */
.tcx[data-hover="blob"] .tcx__logo::before{
	content:"";position:absolute;left:50%;top:50%;
	width:calc(var(--tcx-h) * 1.7);height:calc(var(--tcx-h) * 1.7);
	border-radius:50%;background:var(--tcx-blob);z-index:0;
	transform:translate(-50%,-50%) scale(0);opacity:0;
	transition:transform .6s var(--tcx-ease),opacity .35s ease;
}
.tcx[data-hover="blob"] .tcx__item:hover .tcx__logo::before{transform:translate(-50%,-50%) scale(1);opacity:1}
.tcx[data-hover="blob"] .tcx__item:hover .tcx__logo{transform:translateY(-6px) scale(1.1)}

.tcx[data-hover="lift"] .tcx__item:hover .tcx__logo{transform:translateY(-8px)}
.tcx[data-hover="lift"] .tcx__item:hover .tcx__logo img{filter:drop-shadow(0 10px 10px rgba(0,0,0,.18))}

.tcx[data-hover="zoom"] .tcx__item:hover .tcx__logo{transform:scale(1.2)}

.tcx[data-hover="glow"] .tcx__item:hover .tcx__logo img{filter:drop-shadow(0 0 12px var(--tcx-glow)) drop-shadow(0 0 3px var(--tcx-glow));transform:scale(1.07)}

.tcx[data-hover="tilt"] .tcx__item{perspective:600px}
.tcx[data-hover="tilt"] .tcx__item:hover .tcx__logo{transform:rotateX(14deg) rotateY(-16deg) scale(1.1)}

.tcx[data-hover="bounce"] .tcx__item:hover .tcx__logo{animation:tcx-bounce .7s ease}
@keyframes tcx-bounce{0%,100%{transform:translateY(0)}30%{transform:translateY(-12px)}55%{transform:translateY(0)}75%{transform:translateY(-5px)}}

.tcx[data-hover="shine"] .tcx__logo{overflow:hidden}
.tcx[data-hover="shine"] .tcx__logo::after{
	content:"";position:absolute;top:0;left:-80%;width:50%;height:100%;z-index:2;pointer-events:none;
	background:linear-gradient(100deg,transparent,rgba(255,255,255,.85),transparent);transform:skewX(-20deg);
}
.tcx[data-hover="shine"] .tcx__item:hover .tcx__logo::after{left:140%;transition:left .8s ease}
.tcx[data-hover="shine"] .tcx__item:hover .tcx__logo{transform:scale(1.06)}

/* Animaciones de entrada (escalonadas) */
.tcx:not([data-entrance="none"]) .tcx__item{opacity:0}
.tcx.is-in .tcx__item{animation-duration:.9s;animation-timing-function:cubic-bezier(.2,.8,.2,1);animation-fill-mode:both;animation-delay:calc(var(--i) * 110ms)}
.tcx[data-entrance="fade-up"].is-in .tcx__item{animation-name:tcx-fade-up}
.tcx[data-entrance="zoom"].is-in .tcx__item{animation-name:tcx-zoom}
.tcx[data-entrance="blur"].is-in .tcx__item{animation-name:tcx-blur}
.tcx[data-entrance="slide-left"].is-in .tcx__item{animation-name:tcx-slide}
.tcx[data-entrance="flip"].is-in .tcx__item{animation-name:tcx-flip}
@keyframes tcx-fade-up{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes tcx-zoom{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
@keyframes tcx-blur{from{opacity:0;filter:blur(14px);transform:scale(1.15)}to{opacity:1;filter:blur(0);transform:none}}
@keyframes tcx-slide{from{opacity:0;transform:translateX(90px)}to{opacity:1;transform:none}}
@keyframes tcx-flip{from{opacity:0;transform:perspective(500px) rotateY(-90deg)}to{opacity:1;transform:perspective(500px) rotateY(0)}}

@media (max-width:767px){
	.tcx__title,.tcx__foot-text{font-size:13px;white-space:normal}
}
@media (prefers-reduced-motion:reduce){
	.tcx.is-ready .tcx__track{animation-duration:calc(var(--tcx-dur,30s) * 3)}
	.tcx .tcx__item{opacity:1!important;animation:none!important}
}
