/* =========================
   SECCIÓN MARQUESINA (ENLACES EXTERNOS)
========================== */

.mp-marquee-section {
    padding: 2.5rem 0;
    background: #ffffff; /* Fondo blanco para destacar los logos */
}

.mp-marquee-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    position: relative; /* Para posicionar los botones */
}

.mp-marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-block: 1rem;
}

.mp-marquee-track.is-scrolling-left {
    animation: marquee-scroll-left 40s linear infinite;
}

.mp-marquee-track.is-scrolling-right {
    animation: marquee-scroll-right 40s linear infinite;
}

.mp-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll-left {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
}

.mp-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-marquee-item img {
    display: block;
    max-height: 117px; /* Aumentado un 30% */
    width: auto;
    padding: 10px; /* Añadido padding */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mp-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

/* --- Botones de Navegación --- */
.mp-marquee-nav {
    position: absolute;
    top: 50%;
    left: 20px; /* Más separación de los bordes */
    right: 20px; /* Más separación de los bordes */
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.mp-marquee-btn {
    pointer-events: auto;
    width: 50px; /* Más grandes */
    height: 50px; /* Más grandes */
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6); /* Fondo oscuro semitransparente */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
    color: #fff; /* Flecha blanca */
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mp-marquee-btn:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: scale(1.05);
}
