/* ========== CARRUSEL HERO ========== */
#heroCarousel {
    margin-top: 0;
    border-radius: 0 !important;
}

#heroCarousel .carousel-item {
    height: 80vh;
    min-height: 480px;
    position: relative;
}

.carousel-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}

#heroCarousel .carousel-caption {
    position: relative;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
}

/* Indicadores rectangulares más evidentes */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background-color: #ffffff;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #0A66C2;
    border-color: #fff;
    width: 30px;
}

/* Controles laterales con fondo sutil */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    #heroCarousel .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    .carousel-overlay {
        background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%);
    }
    #heroCarousel .carousel-caption h1 {
        font-size: 2.2rem;
    }
    #heroCarousel .carousel-caption .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    #heroCarousel .carousel-item {
        height: 60vh;
        min-height: 360px;
    }
    #heroCarousel .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-indicators {
        bottom: 15px;
    }
}