 /* ALERTA SUPERIOR */
 .custom-head {
    background: linear-gradient(to left, #FF8C00, #FF5C00);
    color: #fff;
    padding: 5px;           
    text-align: center;
    max-height: 30px; /* Establecer el height máximo */
}
/* FIN ALERTA SUPERIOR */
/* Estilo personalizado para btn-primary */
.btn-primary {
    background: linear-gradient(to right, #FF8C00, #FF5C00); /* Rojo Naldo */
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.4rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(to right, #FF8C00, #FF5C00);
    color: #fff;
    transform: scale(1.03);
}


/*CARRUSEL INFINITO LISTO NO TOCAR MAS*/
.marquee-container {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.marquee {
    display: flex;
    animation: scroll-marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
}

.img-marquee {
    height: 150px;
    margin-right: 0.75rem; /* Menor separación entre imágenes */
    margin-left: 0.75rem;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s;
}

.img-marquee:hover {
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
    cursor: pointer;
}

/* Responsivo CAMBIOS DE TAMAÑO*/
@media (max-width: 992px) { /* tablets */
    .img-marquee {
        height: 130px;
        margin: 0 0.5rem;
    }
}

@media (max-width: 576px) { /* móviles */
    .img-marquee {
        height: 100px;
        margin: 0 0.3rem;
    }
}
/* FIN CARRUSEL INFINITO LISTO NO TOCAR MAS*/


/* DISEÑO MOVIL: Imagen a la izquierda, contenido a la derecha */
@media (max-width: 767.98px) {
    .card-horizontal {
        flex-direction: row !important;
        align-items: center;
    }

    .card-horizontal img {
        width: 40%;
        height: auto;
        object-fit: cover;
        border-top-right-radius: 0;
        border-bottom-left-radius: .25rem;
    }

    .card-horizontal .card-body {
        width: 60%;
        padding: 1rem;
    }
}

/* Efecto hover zoom */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Quitar subrayado y ajustar enlace contenedor */
.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

