/* ===== SECCIÓN INSTALACIONES ===== */
#instalaciones {
    background-color: var(--color-blanco);
}

/* ===== CARRUSEL ===== */
.carrusel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carrusel-slides {
    position: relative;
    width: 100%;
    height: 550px;
}

.carrusel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carrusel-item.active {
    opacity: 1;
    z-index: 1;
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carrusel-item label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* ===== CONTROLES DEL CARRUSEL ===== */
.carrusel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primario);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carrusel-control:hover {
    background-color: var(--color-primario);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.carrusel-control.prev {
    left: 20px;
}

.carrusel-control.next {
    right: 20px;
}

/* ===== INDICADORES ===== */
.carrusel-indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicador:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicador.active {
    background-color: var(--color-blanco);
    border-color: var(--color-primario);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .carrusel-slides {
        height: 400px;
    }

    .carrusel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carrusel-item label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carrusel-slides {
        height: 280px;
    }

    .carrusel-control {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .carrusel-control.prev {
        left: 10px;
    }

    .carrusel-control.next {
        right: 10px;
    }

    .indicador {
        width: 10px;
        height: 10px;
    }

    .carrusel-item label {
        font-size: 0.9rem;
        padding: 20px 15px 10px;
    }
}