/* =====================
   SLIDER SERVICIOS
===================== */
.services-slider-wrapper {
    overflow: hidden;
}

.services-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Cada bloque */
.service-box {
    min-width: calc(100% / 3 - 14px);
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Hover profesional */
.service-box:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* Texto */
.service-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 15px;
    color: #555;
}

/* =====================
   CONTROLES
===================== */
.slider-controls {
    position: absolute;
    bottom: -25px;
    right: 15px;
    display: flex;
    gap: 12px;
}

.slider-controls button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #0d6efd;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: #084298;
    transform: scale(1.1);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 992px) {
    .service-box {
        min-width: calc(100% / 2 - 10px);
    }
}

@media (max-width: 576px) {
    .service-box {
        min-width: 100%;
    }
}

/* =====================
   ANIMACIÓN ENTRADA
===================== */
.service-box {
    opacity: 0;
    transform: translateY(40px);
}

/* Cuando entra en pantalla */
.service-box.show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

/* Efecto cascada */
.service-box:nth-child(1) { transition-delay: 0.05s; }
.service-box:nth-child(2) { transition-delay: 0.1s; }
.service-box:nth-child(3) { transition-delay: 0.15s; }
.service-box:nth-child(4) { transition-delay: 0.2s; }
.service-box:nth-child(5) { transition-delay: 0.25s; }
.service-box:nth-child(6) { transition-delay: 0.3s; }
.service-box:nth-child(7) { transition-delay: 0.35s; }
