/* Estilos para el Hero Section — diseño con bordes redondeados e indicadores verticales */
.hero-section {
    position: relative;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 20px;
}

/* Wrapper con radius y control de overflow para que el slider herede el radio */
.hero-wrapper {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: transparent; /* la imagen cubre todo */
    height: 77vh; /* altura explícita para que los hijos con 100% funcionen */
}

@media (min-width: 768px) {
    .hero-wrapper { height: 440px; }
}

.hero-wrapper .carousel,
.hero-wrapper .carousel-inner,
.hero-wrapper .carousel-item {
    height: 100%;
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Indicadores verticales a la derecha con estilo "píldora" */
.hero-section .carousel-indicators {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 10px 6px;
    background: rgba(205, 204, 204, 0.751);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 999px;
}

.hero-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.7;
    border: 0;
    margin: 0; /* anula margen por defecto de bootstrap */
    transition: all 0.2s ease;
}

.hero-section .carousel-indicators [data-bs-target]:hover {
    background-color: #7BC043;
    opacity: 1;
}

.hero-section .carousel-indicators .active {
    width: 10px;
    height: 28px; /* píldora vertical */
    border-radius: 999px;
    background-color: #7BC043; /* verde destacado del diseño */
    opacity: 1;
}

/* En móviles mover indicadores abajo al centro y en fila */
@media (max-width: 767.98px) {
    .hero-section .carousel-indicators {
        top: auto;
        bottom: 12px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        padding: 6px 8px;
        gap: 8px;
        background: rgba(255, 255, 255, 0.28);
    }

    .hero-section .carousel-indicators .active {
        width: 28px;
        height: 10px; /* píldora horizontal en móvil */
    }
}

