/* Reglas globales para las imágenes del carrusel de autos */
.slide-auto img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: filter 0.3s, transform 0.3s;
}

.slide-auto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    margin: 0 8px;
    padding: 4px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(7,98,189,0.08);
    z-index: 1;
}
.slider-logos-autos {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 10px 0;
    height: 120px;
    background: transparent;
    display: flex;
    align-items: center;
}

/* Parpadeo eliminado: txt-auto ahora es texto estático */
/* Reglas globales para las imágenes del carrusel de autos */
.slide-auto img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
    transition: filter 0.3s, transform 0.3s;
}
.slide-auto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 140px;
    margin: 0 8px;
    padding: 4px;
    background: transparent;
    border-radius: 18px;
    box-shadow: none;
    z-index: 1;
}
/* Parpadeo para el texto de marca-autos */
.parpadeo-txt-auto {
    animation: parpadeoTxtColor 0.7s infinite alternate;
}

@keyframes parpadeoTxtColor {
    0% {
        color: #117499;
        opacity: 1;
    }
    100% {
        color: #0000;
        opacity: 1;
    }
}
/* Estilos para el carrusel de marcas de autos */
.marca-autos {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 24px rgba(7, 98, 189, 0.08);
    padding: 30px 10px 10px 10px;
    margin: 40px auto 30px auto;
    max-width: 1100px;
    text-align: center;
}
.marca-autos h2 {
    color: #0762BD;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.marca-autos p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 20px;
}
.slider-logos-autos {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 10px 0;
}
.slide-track-autos {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.txt-auto {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0762BD;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .txt-auto {
        font-size: 1.05rem;
    }
}

.slide-auto:hover {
    transform: scale(1.08);
    background: #e3f1f8;
}
.slide-auto:hover img {
    filter: grayscale(0);
}

/* Puntos de navegación */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    outline: none;
}
.carousel-dot.active {
    background: #0762BD;
    transform: scale(1.2);
}
@media (max-width: 760px) {
    .marca-autos {
        padding: 15px 2px 2px 2px;

    .slide-auto {
        width: 90px;
        height: 45px;
        margin: 0 1px;
        padding: 1px;
    }
    .slide-auto img {
        display: block;
        width: 160px;
        height: 120px;
        object-fit: contain;
        margin: 0 auto;
        transition: filter 0.3s, transform 0.3s;
        background: transparent;
    }
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    .slide-track-autos {
        flex-direction: row;
    }
}
