/* =====================================================
   CONTENEDOR Y ESTRUCTURA GENERAL
===================================================== */
#services-alt .services-alt-carousel {
    transform: none;
    margin: 0 auto;
    padding-bottom: 15px;
    max-width: 90%;
    font-family: 'Montserrat', sans-serif;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

/* Items del carrusel */
.services-alt-item {
    width: 100%;
    box-sizing: border-box;
}

.services-alt-item img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 4px;
}

/* =====================================================
   DISEÑO DE LOS ELEMENTOS (FIGURE & CAPTION)
===================================================== */
.services-alt-figure {
    position: relative;
    margin: 0;
    overflow: hidden;
}

/* Línea separadora lateral (Solo visible en escritorio) */
.services-alt-figure::before {
    content: "";
    position: absolute;
    right: -10px;
    top: 10%;
    width: 1px;
    height: 80%;
    background: #414f53;
    z-index: 2;
}

.services-alt-caption {
    position: absolute;
    left: 0;
    bottom: 15px;
    background: rgba(0,0,0,.6);
    padding: 10px 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    width: auto;
    max-width: 90%;
}

.services-alt-caption b {
    display: inline-block;
    font-size: 19px;
    border-bottom: 1px solid #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 5px #000;
}

#services-alt a {
    color: #fff;
    text-decoration: none;
}

/* =====================================================
   PAGINACIÓN (DOTS)
===================================================== */
#services-alt .owl-dots {
    text-align: center;
    margin-top: 20px;
}

#services-alt .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(2,102,120,.45);
    display: block;
    transition: all .3s ease;
    margin: 0 5px;
}

#services-alt .owl-dot.active span {
    background: #045c59;
    transform: scale(1.3);
}

#services-alt .owl-nav {
    display: none;
}

/* =====================================================
   RESPONSIVE (MÓVIL Y TABLET)
===================================================== */
@media (max-width: 991px) {
    /* Quitamos el separador lateral */
    .services-alt-figure::before {
        display: none;
    }
}

@media (max-width: 480px) {
    #services-alt .services-alt-carousel {
        max-width: 95%; /* Ocupa más espacio en pantallas pequeñas */
        transform: none !important; /* Aseguramos que no haya desplazamieto */
    }

    .services-alt-caption {
        padding: 8px 15px;
        bottom: 10px;
    }

    .services-alt-caption b {
        font-size: 16px;
    }
}