/* ==========================================================================
   sections/clients.css
   Sección CLIENTES: filas de logos en movimiento.
   ========================================================================== */
.section--clients { max-width: none; padding-inline: 0; }
.clients { display: grid; gap: 18px; transform: perspective(1200px) rotateX(10deg); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.clients__row { overflow: hidden; }
.clients__track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; padding: 10px 0; }
.clients__row.rev .clients__track { animation-direction: reverse; animation-duration: 46s; }
.clients__row:hover .clients__track { animation-play-state: paused; }
.client { position: relative; width: 210px; height: 120px; flex: none; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 18px; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 16px 40px -20px rgba(0,0,0,.8); }
.client img { max-height: 80px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.client span { position: absolute; left: 50%; bottom: -12px; transform: translate(-50%, 6px); white-space: nowrap; font-size: .72rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: var(--red); color: #fff; opacity: 0; transition: all .35s var(--ease); }
.client:hover { transform: translateY(-10px) rotateX(-10deg); box-shadow: 0 30px 60px -20px rgba(227,38,43,.6); }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client:hover span { opacity: 1; transform: translate(-50%, 0); }
