/* ──────────────────────────────────────────────────────────
   PARTNERS SECTION – Premium Reproduction
   ────────────────────────────────────────────────────────── */
.sp-partners-section {
    position: relative;
    padding: 3rem 0 2.5rem;
    background: linear-gradient(175deg, #f5f7ff 0%, #ffffff 25%, #f8f6ff 60%, #f0f4ff 100%);
    overflow: hidden;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    z-index: 1;
}

/* Nuageux ambient blobs */
.sp-partners-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: cloudDrift 20s ease-in-out infinite alternate;
}

.sp-partners-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.10) 0%, transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: cloudDrift 25s ease-in-out infinite alternate-reverse;
}

/* Extra blobs */
.sp-partners-section .sp-bg-blob-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 40%;
    left: 55%;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: blobDrift3 18s ease-in-out infinite alternate;
}

.sp-partners-section .sp-bg-blob-4 {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 25%;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.07) 0%, transparent 55%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: blobDrift4 22s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.15); }
}
@keyframes blobDrift4 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -25px) scale(1.2); }
}

@keyframes cloudDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ── Background Elements ── */
.sp-partners-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

/* Particules dans le ciel */
.sp-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: #c4b5fd;
    border-radius: 50%;
    box-shadow: 0 0 15px 2px rgba(139, 92, 246, 0.8);
    animation: floatParticle 8s ease-in-out infinite alternate;
}
.particle.p1 { top: 15%; left: 20%; animation-delay: 0s; }
.particle.p2 { top: 40%; left: 80%; animation-delay: 2s; width: 6px; height: 6px; background: #93c5fd; }
.particle.p3 { top: 70%; left: 10%; animation-delay: 1s; }
.particle.p4 { top: 60%; left: 90%; animation-delay: 3s; background: #f9a8d4; }
.particle.p5 { top: 25%; left: 60%; animation-delay: 4s; width: 3px; height: 3px; }

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    100% { transform: translateY(-25px) scale(1.8); opacity: 1; }
}

/* ── Grand Orbe Galactique (Voie Lactée) ── */
.sp-orb-large {
    position: absolute;
    top: 10%;
    left: 4%;
    width: 260px;
    height: 260px;
    animation: floatOrb 14s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(99, 102, 241, 0.2));
}

.sp-orb-large .orb-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        #ffffff 0%,
        #e0d6ff 10%,
        #a78bfa 25%,
        #7c3aed 45%,
        #4c1d95 70%,
        #1e0a3c 100%
    );
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.35),
        0 0 120px rgba(99, 102, 241, 0.15),
        0 0 200px rgba(124, 58, 237, 0.08),
        inset -25px -25px 50px rgba(0, 0, 0, 0.35),
        inset 15px 15px 30px rgba(255, 255, 255, 0.5);
}

/* Anneaux orbitaux galactiques */
.sp-orb-large .orb-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform-style: preserve-3d;
}

.ring-1 {
    width: 480px;
    height: 480px;
    border: 2.5px solid rgba(167, 139, 250, 0.25);
    box-shadow:
        0 0 25px rgba(167, 139, 250, 0.12),
        inset 0 0 25px rgba(167, 139, 250, 0.06),
        0 0 60px rgba(139, 92, 246, 0.06);
    animation: spinRing1 30s linear infinite;
}

.ring-2 {
    width: 620px;
    height: 620px;
    border: 1.5px solid rgba(139, 92, 246, 0.18);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.08),
        inset 0 0 30px rgba(139, 92, 246, 0.04);
    animation: spinRing2 40s linear infinite reverse;
}

.ring-3 {
    width: 350px;
    height: 350px;
    border: 1.5px solid rgba(196, 181, 253, 0.18);
    box-shadow:
        0 0 20px rgba(196, 181, 253, 0.10),
        inset 0 0 20px rgba(196, 181, 253, 0.05);
    animation: spinRing3 22s linear infinite;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg);
}

/* Comètes voyageuses sur les anneaux */
.ring-dot {
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 .ring-dot {
    width: 14px;
    height: 10px;
    background: radial-gradient(ellipse at 30% 50%, #ffffff 0%, #c4b5fd 40%, transparent 70%);
    box-shadow:
        0 0 20px #ffffff,
        0 0 40px rgba(167, 139, 250, 0.6),
        -8px 0 12px rgba(167, 139, 250, 0.4),
        -16px 0 20px rgba(167, 139, 250, 0.15),
        -30px 0 30px rgba(167, 139, 250, 0.05);
    animation: cometPulse 3s ease-in-out infinite alternate;
}

.ring-2 .ring-dot {
    width: 10px;
    height: 8px;
    background: radial-gradient(ellipse at 30% 50%, #ffffff 0%, #93c5fd 40%, transparent 70%);
    box-shadow:
        0 0 15px #ffffff,
        0 0 30px rgba(147, 197, 253, 0.5),
        -6px 0 10px rgba(147, 197, 253, 0.3),
        -12px 0 16px rgba(147, 197, 253, 0.1);
    animation: cometPulse 4s ease-in-out infinite alternate 1s;
}

.ring-3 .ring-dot {
    width: 8px;
    height: 6px;
    background: radial-gradient(ellipse at 30% 50%, #ffffff 0%, #f9a8d4 40%, transparent 70%);
    box-shadow:
        0 0 12px #ffffff,
        0 0 25px rgba(249, 168, 212, 0.5),
        -5px 0 8px rgba(249, 168, 212, 0.3);
    animation: cometPulse 2.5s ease-in-out infinite alternate 2s;
}

@keyframes spinRing1 {
    0% { transform: translate(-50%, -50%) rotateX(75deg) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(75deg) rotate(360deg); }
}

@keyframes spinRing2 {
    0% { transform: translate(-50%, -50%) rotateX(75deg) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(75deg) rotate(-360deg); }
}

@keyframes spinRing3 {
    0% { transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotate(360deg); }
}

@keyframes cometPulse {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scaleX(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scaleX(1.8); }
}

/* ── Floating Decorative Shapes ── */
.sp-partners-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}
.sp-partners-shape.diamond {
    width: 28px; height: 28px;
    border: 2px solid rgba(139, 92, 246, 0.25);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    border-radius: 4px;
    animation: shapeFloat1 12s ease-in-out infinite;
}
.sp-partners-shape.diamond-2 {
    width: 18px; height: 18px;
    border: 2px solid rgba(147, 197, 253, 0.2);
    transform: rotate(45deg);
    border-radius: 3px;
    animation: shapeFloat2 14s ease-in-out infinite 2s;
}
.sp-partners-shape.cross {
    width: 20px; height: 20px;
    position: absolute;
    animation: shapeFloat1 10s ease-in-out infinite 1s;
}
.sp-partners-shape.cross::before,
.sp-partners-shape.cross::after {
    content: '';
    position: absolute;
    background: rgba(167, 139, 250, 0.2);
}
.sp-partners-shape.cross::before {
    width: 100%; height: 3px;
    top: 50%; left: 0;
    transform: translateY(-50%);
    border-radius: 2px;
}
.sp-partners-shape.cross::after {
    width: 3px; height: 100%;
    left: 50%; top: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}
.sp-partners-shape.cross-2 { animation: shapeFloat2 11s ease-in-out infinite 3s; }
.sp-partners-shape.cross-2::before,
.sp-partners-shape.cross-2::after {
    background: rgba(147, 197, 253, 0.15);
}
.sp-partners-shape.s-1 { top: 12%; left: 8%; }
.sp-partners-shape.s-2 { top: 22%; right: 15%; }
.sp-partners-shape.s-3 { bottom: 35%; left: 70%; }
.sp-partners-shape.s-4 { bottom: 25%; left: 15%; }

@keyframes shapeFloat1 {
    0%, 100% { transform: rotate(45deg) translateY(0) scale(1); }
    50% { transform: rotate(45deg) translateY(-18px) scale(1.1); }
}
@keyframes shapeFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0) scale(1); }
    50% { transform: rotate(45deg) translateY(-12px) scale(1.15); }
}

/* ── Compas Céleste (droite) ── */
.sp-celestial-compass {
    position: absolute;
    top: 18%;
    right: 6%;
    width: 200px;
    height: 200px;
    animation: compassFloat 16s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.1));
}

.compass-star {
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    margin: -10px 0 0 -10px;
    background: radial-gradient(circle at 40% 40%, #ffffff 0%, #c4b5fd 40%, transparent 70%);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(167, 139, 250, 0.6),
        0 0 40px rgba(167, 139, 250, 0.3),
        0 0 60px rgba(139, 92, 246, 0.15);
    z-index: 2;
    animation: starPulse 4s ease-in-out infinite alternate;
}

.compass-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cr-1 {
    width: 140px; height: 140px;
    border: 1.5px solid rgba(167, 139, 250, 0.15);
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.06);
    animation: compassSpin1 30s linear infinite;
}

.cr-1::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px dashed rgba(167, 139, 250, 0.08);
}

.cr-2 {
    width: 100px; height: 100px;
    border: 1px solid rgba(139, 92, 246, 0.12);
    animation: compassSpin2 22s linear infinite reverse;
}

.cr-2::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    right: -10px; bottom: -10px;
    border-radius: 50%;
    border: 1px dotted rgba(99, 102, 241, 0.06);
}

.cr-3 {
    width: 60px; height: 60px;
    border: 2px solid rgba(196, 181, 253, 0.10);
    animation: compassSpin1 18s linear infinite;
}

/* Rayons de la boussole */
.compass-ray {
    position: absolute;
    top: 50%; left: 50%;
    width: 80px;
    height: 1px;
    transform-origin: left center;
    opacity: 0;
    animation: rayFadeIn 3s ease-in-out infinite alternate;
}

.compass-ray::before {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.2);
}

.compass-ray::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.08), transparent);
}

.r1 { transform: rotate(0deg); animation-delay: 0s; }
.r2 { transform: rotate(45deg); animation-delay: 0.3s; }
.r3 { transform: rotate(90deg); animation-delay: 0.6s; }
.r4 { transform: rotate(135deg); animation-delay: 0.9s; }
.r5 { transform: rotate(180deg); animation-delay: 1.2s; }
.r6 { transform: rotate(225deg); animation-delay: 1.5s; }
.r7 { transform: rotate(270deg); animation-delay: 1.8s; }
.r8 { transform: rotate(315deg); animation-delay: 2.1s; }

@keyframes compassFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

@keyframes starPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; }
}

@keyframes compassSpin1 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes compassSpin2 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes rayFadeIn {
    0% { opacity: 0; transform-origin: left center; }
    50% { opacity: 0.6; }
    100% { opacity: 0; }
}

/* Petite orbe bleue (droite, haut) */
.sp-orb-small {
    position: absolute;
    border-radius: 50%;
}

.sp-orb-small.blue {
    width: 14px;
    height: 14px;
    top: 16%;
    right: 20%;
    background: radial-gradient(circle at 30% 30%, #dbeafe 0%, #60a5fa 40%, #1e40af 100%);
    box-shadow:
        0 0 15px rgba(96, 165, 250, 0.4),
        0 0 30px rgba(96, 165, 250, 0.15);
    animation: floatOrb 10s ease-in-out infinite 3s;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(8px); }
}

/* ── Vagues élégantes (guilloché) – bas de section uniquement ── */
.sp-waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sp-waves-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 1440 200' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100,200 C320,0, 520,250, 1540,50' fill='none' stroke='url(%23gradWave1)' stroke-width='1.5' opacity='0.3'/%3E%3Cpath d='M-100,180 C350,-20, 550,230, 1540,30' fill='none' stroke='url(%23gradWave2)' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M-100,220 C300,20, 480,270, 1540,70' fill='none' stroke='url(%23gradWave1)' stroke-width='0.5' opacity='0.2'/%3E%3Cdefs%3E%3ClinearGradient id='gradWave1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%238b5cf6'/%3E%3Cstop offset='100%25' stop-color='%233b82f6'/%3E%3C/linearGradient%3E%3ClinearGradient id='gradWave2' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23ec4899'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.sp-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.95;
}

.swave-layer {
    transform-origin: center bottom;
    will-change: transform;
}

.swave-1 {
    animation: waveFlow1 10s ease-in-out infinite alternate;
}

.swave-2 {
    animation: waveFlow2 14s ease-in-out infinite alternate;
}

@keyframes waveFlow1 {
    0% { transform: scaleY(1) scaleX(1) translateX(0) rotate(0deg); opacity: 0.7; }
    25% { transform: scaleY(1.3) scaleX(1.05) translateX(-25px) rotate(2deg); opacity: 1; }
    50% { transform: scaleY(0.85) scaleX(0.95) translateX(20px) rotate(-1.5deg); opacity: 0.8; }
    75% { transform: scaleY(1.2) scaleX(1.02) translateX(-15px) rotate(1deg); opacity: 1; }
    100% { transform: scaleY(1) scaleX(1) translateX(0) rotate(0deg); opacity: 0.7; }
}

@keyframes waveFlow2 {
    0% { transform: scaleY(1) scaleX(1) translateX(0) rotate(0deg); opacity: 0.6; }
    33% { transform: scaleY(1.4) scaleX(1.08) translateX(30px) rotate(-2.5deg); opacity: 1; }
    66% { transform: scaleY(0.8) scaleX(0.92) translateX(-25px) rotate(1.5deg); opacity: 0.7; }
    100% { transform: scaleY(1) scaleX(1) translateX(0) rotate(0deg); opacity: 0.6; }
}

/* ── Header ── */

/* ── Header ── */
.sp-partners-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.sp-partners-section .sp-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.sp-partners-section .sp-title .text-gradient {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-partners-section .sp-subtitle {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 400;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
}

/* Fallback for any other .sp-title usage */
.sp-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.sp-title .text-gradient {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    margin: 0;
}

/* ── Main Glass Panel ── */
.sp-partners-glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 2rem 2.5rem;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.02),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    animation: spGlassPulse 5s ease-in-out infinite;
}

@keyframes spGlassPulse {
    0%, 100% { box-shadow: 0 30px 60px rgba(0,0,0,0.02), inset 0 1px 2px rgba(255,255,255,1); }
    50% { box-shadow: 0 30px 80px rgba(99,102,241,0.04), 0 0 100px rgba(99,102,241,0.02), inset 0 1px 2px rgba(255,255,255,1); }
}

/* ── Tabs ── */
.sp-partners-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 40px;
    padding: 0.35rem;
    margin: 0 auto 1.5rem;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
}

.sp-tab-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 33.33%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #2563eb 0%, #4f46e5 40%, #7c3aed 100%);
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
    will-change: transform, width;
}

.sp-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 1.3rem 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.sp-tab-btn:hover {
    color: #1e293b;
}

.sp-tab-btn.active {
    color: #ffffff;
}

.sp-tab-btn.active i {
    color: #ffffff;
}

/* ── Slider Area ── */
.sp-partners-slider-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Flèches de navigation débordantes */
.sp-slider-nav {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e3a8a;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    animation: navPulse 3s ease-in-out infinite;
}

.sp-slider-nav.next {
    animation-delay: 0.5s;
}

.sp-slider-nav.prev { left: -28px; }
.sp-slider-nav.next { right: -28px; }

.sp-slider-nav:hover {
    background: #f8fafc;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
    color: #4f46e5;
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(99, 102, 241, 0.2);
    animation-play-state: paused;
}

.sp-slider-nav:active {
    transform: translateY(-50%) scale(0.93);
}

.sp-slider-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.sp-slider-track {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    animation: fadeInTab 0.5s ease-out forwards;
}

.sp-slider-track.active {
    display: flex;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logos */
.sp-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 72px;
}

.sp-partner-logo-img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.05) contrast(1.05);
    transition:
        filter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-partner-logo:hover {
    transform: scale(1.06);
    background: #fff;
    box-shadow:
        0 8px 30px rgba(99, 102, 241, 0.12),
        inset 0 0 40px rgba(99, 102, 241, 0.04);
    border-color: rgba(99, 102, 241, 0.25);
}

.sp-partner-logo:hover .sp-partner-logo-img {
    filter: brightness(1.1) contrast(1.08);
    transform: scale(1.08);
}

/* Pagination */
.sp-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sp-slider-pagination .dot {
    width: 8px; height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-slider-pagination .dot.active {
    background: #4f46e5;
    width: 10px; height: 10px;
    animation: dotPulse 2s ease-in-out infinite;
}

/* ── KPI Cards Bottom ── */
.sp-partners-kpis {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    margin-top: -0.5rem;
}

.sp-kpi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.03),
        0 2px 8px rgba(0, 0, 0, 0.02);
    flex: 1;
    max-width: 340px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: kpiBreathe 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.sp-kpi-card:nth-child(2) { animation-delay: 0.5s; }
.sp-kpi-card:nth-child(3) { animation-delay: 1s; }

.sp-kpi-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.06);
    animation-play-state: paused;
}

.sp-kpi-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.sp-kpi-icon.purple { background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }
.sp-kpi-icon.blue { background: linear-gradient(135deg, #3b82f6, #0284c7); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); }
.sp-kpi-icon.pink { background: linear-gradient(135deg, #6366f1, #2563eb); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }

.sp-kpi-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-kpi-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.15;
}

.sp-kpi-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: #475569;
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.35;
    font-weight: 500;
}

.sp-kpi-text p.small-text {
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sp-partners-section { padding: 2.5rem 0 2rem; }
    .sp-orb-large { width: 160px; height: 160px; left: -40px; }
    .ring-1 { width: 320px; height: 320px; }
    .ring-2 { width: 420px; height: 420px; }
    .ring-3 { width: 240px; height: 240px; }
    .sp-celestial-compass { width: 140px; height: 140px; top: 20%; right: 3%; }
    .cr-1 { width: 100px; height: 100px; }
    .cr-2 { width: 70px; height: 70px; }
    .cr-3 { width: 44px; height: 44px; }
    .compass-ray { width: 56px; }
    .sp-orb-small.blue { right: 18%; }
    .sp-partners-tabs { flex-direction: column; border-radius: 20px; }
    .sp-tab-btn { border-radius: 12px; }
    .sp-tab-slider { display: none; }
    .sp-tab-btn.active { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 40%, #7c3aed 100%); color: #fff; }
    .sp-partners-glass-panel { padding: 1.5rem 1.25rem; }
    .sp-slider-nav.prev { left: -15px; }
    .sp-slider-nav.next { right: -15px; }
    .sp-slider-track { flex-wrap: wrap; justify-content: center; gap: 1rem;}
    .sp-partners-kpis { flex-direction: column; align-items: center; margin-top: 1rem; }
    .sp-kpi-card { width: 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .sp-partners-section { padding: 1.5rem 0 1.25rem; }
    .sp-orb-large { width: 100px; height: 100px; left: -60px; top: 20%; }
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 260px; height: 260px; }
    .ring-3 { width: 150px; height: 150px; }
    .sp-celestial-compass { width: 100px; height: 100px; right: 2%; top: 22%; }
    .cr-1 { width: 70px; height: 70px; }
    .cr-2 { width: 50px; height: 50px; }
    .cr-3 { width: 34px; height: 34px; }
    .compass-ray { width: 40px; }
    .compass-star { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
    .sp-orb-small.blue { width: 14px; height: 14px; }
    .sp-partner-logo { padding: 0.45rem 0.75rem; }
    .sp-partner-logo-img { max-height: 48px; }
    .sp-partners-section .sp-title { font-size: 2rem; }
    .sp-partners-section .sp-subtitle { font-size: 1rem; }
}

/* ── Animations ── */
@keyframes kpiBreathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.01); }
}

@keyframes navPulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
    50% { box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(79, 70, 229, 0); }
    50% { transform: scale(1.4); box-shadow: 0 0 12px rgba(79, 70, 229, 0.3); }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .sp-partners-section::before,
    .sp-partners-section::after,
    .sp-partners-section .sp-bg-blob-3,
    .sp-partners-section .sp-bg-blob-4,
    .particle,
    .sp-orb-large,
    .sp-orb-large .orb-ring,
    .ring-dot,
    .sp-celestial-compass,
    .compass-star,
    .compass-ring,
    .compass-ray,
    .sp-orb-small.blue,
    .swave-layer,
    .sp-partners-shape,
    .sp-tab-slider,
    .sp-kpi-card,
    .sp-slider-nav,
    .sp-slider-pagination .dot.active,
    .sp-partner-logo,
    .sp-partners-glass-panel {
        animation: none !important;
        transition: none !important;
    }
    .sp-partners-shape { opacity: 0.15; }
    .sp-orb-large { filter: none; }
    .sp-orb-large .orb-core {
        background: radial-gradient(circle at 30% 30%, #e0d6ff 0%, #a78bfa 45%, #7c3aed 100%);
    }
}
