.ours-clients {
    background-color: #F1F5FB;
    padding: 80px 15px;
}

.ours-clients h2 {
    text-align: center;
    font-size: 50px;
    color: #1F2432;
    font-weight: 600;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
    overflow: hidden;
    /* oculta el extra */
}

.carousel-track {
    display: flex;
    gap: 15px;
    will-change: transform;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    padding: 8px 2px;
    /* espacio para sombras */
}

/* Default: 3 en desktop */
.slide {
    flex: 0 0 calc(100% / 3);
    gap: 15px;
}

/* Tablet: 2 por vista */
@media (max-width: 1024px) {
    .slide {
        flex: 0 0 calc(100% / 2);
    }
}

/* Móvil: 1 por vista */
@media (max-width: 640px) {
    .slide {
        flex: 0 0 100%;
    }
}

/* Tarjeta */
.card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(16,37,74,.08);
    border: 1px solid rgba(16, 37, 74, .08);
    padding: 22px;
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: -8px auto 14px;
    border: 6px solid #f1f5fb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.text {
    color: #1f2432;
    line-height: 1.6;
    margin: 4px auto 14px;
    max-width: 44ch
}

.brand-name {
    font-weight: 800;
    letter-spacing: .3px;
    color: #0d2a5a
}

/* Controles */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    height: 100px;
}

.btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(16, 37, 74, .25);
    background: #3C5E8A;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(16, 37, 74, .25), inset 0 1px 0 rgba(255, 255, 255, .14);
    transition: transform .2s ease, opacity .2s ease;
}

.btn:disabled {
    opacity: .45;
    cursor: not-allowed
}

.btn:not(:disabled):hover {
    transform: translateY(-2px)
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

/* Paginación (dots) */
.dots {
    display: flex;
    gap: 8px;
    align-items: center
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9fb0c7;
    opacity: .7;
    transition: opacity .25s, width .25s;
}

.dot.active {
    opacity: 1;
    width: 18px;
    border-radius: 999px;
    background: #2a3f66
}

@media (max-width: 640px) {
    .wrap {
        padding: 16px 10px 28px
    }

    .carousel-track {
        gap: 16px
    }

    :root {
        --gap: 16px
    }

    .slide {
        flex: 0 0 100%;
    }

    /* 1 por vista */
    .avatar {
        width: 96px;
        height: 96px
    }
}