/* --- CLIENTES SPECTACULAR: THE GALAXY OF TRUST --- */
:root {
    --galaxy-bg: #030712;
    --galaxy-primary: #3b82f6;
    --galaxy-accent: #8b5cf6;
    --galaxy-gold: #fbbf24;
    --card-glass: rgba(17, 24, 39, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
}

body.clientes-page {
    background-color: var(--galaxy-bg);
    color: #e5e7eb;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- HERO SECTION: COSMIC CONNECTION --- */
.clientes-hero-spec {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1e3a8a 0%, var(--galaxy-bg) 70%);
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, #fff 100%, transparent),
        radial-gradient(1px 1px at 40% 70%, #fff 100%, transparent),
        radial-gradient(1px 1px at 60% 40%, #fff 100%, transparent),
        radial-gradient(2px 2px at 80% 80%, #fff 100%, transparent),
        radial-gradient(2px 2px at 10% 90%, #fff 100%, transparent);
    background-size: 550px 550px;
    opacity: 0.5;
    animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-5px);
    }
}

.hero-content-spec {
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    animation: fadeInZoom 1.2s ease-out;
}

.hero-badge-spec {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--galaxy-primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.hero-title-spec {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.hero-desc-spec {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- TRUST GRID --- */
.trust-grid-section {
    padding: 80px 0 120px;
    position: relative;
    z-index: 5;
}

.grid-container-spec {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-orb {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Glowing Border Effect */
.client-orb::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--galaxy-primary), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    border-radius: 22px;
}

.client-orb:hover::before {
    opacity: 1;
}

.client-orb:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.orb-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s;
}

.client-orb:hover .orb-icon-wrapper {
    background: var(--galaxy-primary);
    box-shadow: 0 0 30px var(--galaxy-primary);
    transform: rotateY(180deg);
}

.orb-icon-wrapper i {
    font-size: 2rem;
    color: #fff;
    transition: transform 0.5s;
}

.client-orb:hover .orb-icon-wrapper i {
    transform: rotateY(-180deg);
    /* Counter rotate to keep icon facing forward if wanted, or let it flip */
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.client-orb:hover .client-name {
    color: var(--galaxy-primary);
}

.client-category {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- STATS SECTION --- */
.impact-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 50px;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stat-item {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-label {
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* --- CTA --- */
.join-galaxy {
    text-align: center;
    padding: 100px 20px;
}

.galaxy-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(90deg, var(--galaxy-primary), var(--galaxy-accent));
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
}

.galaxy-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.5);
    filter: brightness(1.2);
}