/* Carrusel */

.carrusel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 88px;
    height: calc(100vh - 80px);
    min-height: 600px;
    animation: carruselEntrada 0.8s ease-out;
}

@keyframes carruselEntrada {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 992px) {
    .carrusel {
        padding-top: 10px;
    }
}
@media screen and (max-width: 768px) {
    .carrusel {
        padding-top: 20px;
        min-height: 220px;
        height: 360px;
    }
}
@media screen and (max-width: 480px) {
    .carrusel {
        padding-top: 5px;
        min-height: 140px;
        height: 360px;
    }
}

@media screen and (max-width: 1024px) {
    .carrusel {
        padding-top: 20px;
    }
}

.carrusel .open:checked + figure {
    position: static;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.carrusel figure {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease-out;
}

.carrusel figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease-out;
}

.carrusel-nav {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    transform: translate(0, -50%);
    transition: opacity 0.4s linear;
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carrusel-nav.anterior {
    left: 0.5ch;
}

.carrusel-nav.siguiente {
    right: 0.5ch;
}

.carrusel-nav:hover {
    opacity: 0.8;
}

    #uno:checked ~ .uno,
    #dos:checked ~ .dos,
    #tres:checked ~ .tres {
    display: block;
}

.carrusel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,26,122,0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    transition: background 0.2s;
}
.carrusel-arrow.left {
    left: 20px;
}
.carrusel-arrow.right {
    right: 20px;
}
.carrusel-arrow:hover {
    background: #f68b1f;
    color: #fff;
}

/* Fin Carrusel */

/* Carrusel marcas */

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: white;
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    width: calc(20px * 14);
    animation: scroll 30s linear infinite;
    position: relative;
    left: 0;
    user-select: none;
}

.slide {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permite el arrastre sobre los enlaces */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.slide:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 7));
    }
}

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

.dragging {
    animation: none !important;
}

@media screen and (max-width: 768px) {
    .slide {
        width: 150px;
        height: 150px;
    }
    .slider-track {
        width: calc(10px * 14);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 7));
        }
    }

    .container-title {
        margin-top: 5rem;
    }
}

@media screen and (max-width: 480px) {
    .slide {
        width: 100px;
        height: 100px;
    }
    .slider-track {
        width: calc(5px * 14);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 7));
        }
    }
}

/* Partners Section */
.partners-section {
    text-align: center;
    padding: 5px 0 20px 0;
    background: #fff;
}

div#sobre-nosotros-container {
    margin-top: 20px;
    text-align: center;
}

.container-title {
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.decorated-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.decorated-title .line {
    width: 350px;
    height: 8px;
    background-color: #f68b1f;
}



.partners-title {
    color: #001689;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .partners-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 1.8rem;
    }
}

/* Carrusel marcas */



