.clientes-socios {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    position: relative;
    overflow: hidden;
}

.clientes-socios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(160, 8, 178, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(224, 64, 251, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.clientes-socios-contenedor {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* ==================
   SECCIÓN CLIENTES
================== */
.seccion-clientes {
    margin-bottom: 8rem;
}

.clientes-encabezado {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
}

.clientes-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(160, 8, 178, 0.15);
    border: 1px solid rgba(160, 8, 178, 0.2);
}

.clientes-etiqueta i {
    color: var(--accent);
}

.clientes-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -2px;
}

.clientes-resaltado {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.clientes-descripcion {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Carrusel Infinito de Clientes */
.clientes-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
}

.clientes-carousel-wrapper::before,
.clientes-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.clientes-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.clientes-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.clientes-carousel-track {
    display: flex;
    gap: 3rem;
    animation: scroll-clientes 30s linear infinite;
    width: fit-content;
}

.clientes-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-clientes {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cliente-logo-item {
    flex-shrink: 0;
    width: 250px;
    height: 215px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(160, 8, 178, 0.1);
    position: relative;
    overflow: hidden;
}

.cliente-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 8, 178, 0.05), rgba(224, 64, 251, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cliente-logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(160, 8, 178, 0.2);
    border-color: var(--primary);
}

.cliente-logo-item:hover::before {
    opacity: 1;
}

.cliente-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.cliente-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ==================
   SECCIÓN SOCIOS
================== */
.seccion-socios {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 6rem 4rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
}

.seccion-socios::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.seccion-socios::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.socios-contenido {
    position: relative;
    z-index: 10;
}

.socios-encabezado {
    text-align: center;
    margin-bottom: 4rem;
}

.socios-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.socios-etiqueta i {
    color: white;
}

.socios-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -2px;
}

.socios-descripcion {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de Socios Estratégicos */
.socios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.socio-tarjeta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.socio-tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.socio-tarjeta:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.socio-tarjeta:hover::before {
    opacity: 1;
}

.socio-logo-contenedor {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.socio-tarjeta:hover .socio-logo-contenedor {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
}

.socio-logo-contenedor img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.socio-nombre {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.socio-descripcion {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.socio-insignia {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .clientes-socios {
        padding: 5rem 5%;
    }

    .seccion-clientes {
        margin-bottom: 5rem;
    }

    .clientes-titulo,
    .socios-titulo {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .clientes-descripcion,
    .socios-descripcion {
        font-size: 1rem;
    }

    .clientes-carousel-track {
        gap: 2rem;
    }

    .cliente-logo-item {
        width: 160px;
        height: 100px;
    }

    .seccion-socios {
        padding: 4rem 2rem;
        border-radius: 30px;
    }

    .socios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .socio-logo-contenedor {
        width: 120px;
        height: 120px;
    }

    .socio-nombre {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .clientes-titulo,
    .socios-titulo {
        font-size: 2rem;
    }

    .cliente-logo-item {
        width: 140px;
        height: 90px;
    }

    .seccion-socios {
        padding: 3rem 1.5rem;
    }

    .socio-tarjeta {
        padding: 2.5rem 1.5rem;
    }
}
