.galeria-servicios {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.galeria-contenedor {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
    scrollbar-width: none;
}

.galeria-contenedor::-webkit-scrollbar {
    display: none;
}

.tarjeta {
    flex: 0 0 280px;
    height: 380px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    background-color: transparent;
    text-decoration: none;
    transition: all .3s;
    overflow: hidden;
}

.tarjeta:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: multiply;
    transition: all .3s;
}

.tarjeta:hover h3{
    transition: all .3s;
    background-color: #EB0D1E;
}

.tarjeta h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 30px;
    background-color: rgba(0, 0, 0, .5);
    margin-bottom: 0;
    transition: all .3s;
}

.flecha {
    z-index: 10;
    background-color: #d4d4d4;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
}

.flecha:hover {
    background-color: #EB0D1E;
}

.izquierda {
    
}

.derecha {
    margin-left: 10px;
}

.barra-progreso {
    width: 90%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0 0;
    position: relative;
    border-radius: 0;
    border-bottom: solid 1px #4c4c4c;
}

.barra {
    height: 100%;
    width: 0%;
    background-color: #4c4c4c;
    transition: width 0.3s ease;
    border-radius: 0;
}

.galeria-contenedor.dragging {
    cursor: grabbing;
    user-select: none;
    scroll-behavior: auto !important;
}

/* AJUSTES RESPONSIVE SOLO PARA TARJETAS */
@media (min-width: 576px) {
    .tarjeta {
        flex: 0 0 320px;
        height: 420px;
    }
}

@media (min-width: 768px) {
    .tarjeta {
        flex: 0 0 350px;
        height: 450px;
    }
}

@media (min-width: 992px) {
    .tarjeta {
        flex: 0 0 400px;
        height: 480px;
        font-size: 24px;
    }
}