
/* Clients & Experience Section - Aesthetic Redesign */
.clients-experience-section {
    margin: 8rem auto;
    padding: 2rem;
    position: relative;
    max-width: 1200px;
}

/* Background blob for atmosphere */
.clients-experience-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.clients-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side: Typography & Content */
.clients-content {
    padding-right: 2rem;
}

.clients-header {
    margin-bottom: 2.5rem;
}

.clients-super-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6366f1; /* Indigo-500 */
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.clients-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.clients-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.client-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f0fdfa; /* Cyan-50 tint */
    color: #0ea5e9; /* Sky-500 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #1e293b; /* Slate-800 */
    font-weight: 600;
}

.feature-text p {
    margin: 0;
    color: #64748b; /* Slate-500 */
    line-height: 1.6;
    font-size: 1rem;
}

/* Highlight box for "Soluciones a la medida" */
.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(to right, #f8fafc, #fff);
    border-left: 4px solid #8b5cf6; /* Violet border */
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.highlight-box p {
    margin: 0;
    font-weight: 600;
    color: #4f46e5;
    font-size: 1.1rem;
}

.highlight-sub {
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-top: 0.25rem !important;
}

/* Right Side: Aesthetic Image Composition */
.clients-image-composition {
    position: relative;
    height: 500px;
}

.main-img-frame {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 90%;
    height: 90%;
    border-radius: 24px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.main-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-time-capsule {
    position: absolute;
    top: 20px;
    right: 320px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.capsule-icon {
    color: #f59e0b; /* Amber */
    font-size: 24px;
}

.capsule-text strong {
    display: block;
    font-size: 1.2rem;
    color: #1e293b;
    line-height: 1;
}

.capsule-text span {
    font-size: 0.8rem;
    color: #64748b;
}

/* Decorative background shapes for image */
.bg-shape-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: #e0e7ff; /* Indigo-100 */
    border-radius: 50%;
    z-index: 1;
}

.bg-shape-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #a5f3fc 0%, #c4b5fd 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 900px) {
    .clients-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .clients-content {
        padding-right: 0;
    }

    .clients-image-composition {
        height: 400px;
    }
    
    .clients-time-capsule {
        right: 20px;
        top: -20px;
    }
}
