@charset "utf-8";
/* CSS Document */

#barra {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c32e4, #00c6ff);
    width: 0%;
    z-index: 9999;
}

body {
    scroll-behavior: smooth;
}
.hero {
    background-image: url('/comunes/fondo.png');
    background-size: cover;
    background-position: center;
}
.navbar-brand {
    font-weight: bold;
}
.card {
    transition: transform 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
}

modulo-card {
        transition: transform 0.2s ease;
    }

    .modulo-card:hover {
        transform: scale(1.02);
    }

    .modulo-card:hover .modulo-label {
        background-color: #0d6efd; /* Azul Bootstrap */
        color: white;
    }

.nav-hover:hover {
        background-color: #006; /* Bootstrap primary */
        color: white !important;
        border-radius: 0.375rem; /* rounded */
        padding: 0.5rem 0.75rem;
        transition: all 0.2s ease-in-out;
    }
    
    /* Preloader que cubre toda la pantalla */
    #preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease;
    }

    #preloader.hide {
        opacity: 0;
        pointer-events: none;
    }

    .preloader-content img {
        width: 100px;
        max-width: 30vw;
        height: auto;
    }
    
    .clientes-tech {
            padding: 80px 0;
            text-align: center;
            background: radial-gradient(circle at top, #0f172a, #020617);
            color: #e2e8f0;
            overflow: hidden;
        }
        
        .clientes-tech h2 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .clientes-tech p {
            color: #94a3b8;
            margin-bottom: 50px;
        }
        
        /* Contenedor del slider */
        .logo-slider {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        /* Pista de logos */
        .logo-track {
            display: flex;
            gap: 80px;
            width: max-content;
            animation: scroll 30s linear infinite;
        }
        
        /* Logos */
        .logo-track img {
            height: 150px;
            width: auto;
            object-fit: contain;
            filter: grayscale(100%) brightness(0.8);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        /* Hover individual */
        .logo-track img:hover {
            filter: grayscale(0%) brightness(1.1);
            opacity: 1;
            transform: scale(1.08);
        }
        
        /* Pausa animación al pasar mouse */
        .logo-slider:hover .logo-track {
            animation-play-state: paused;
        }
        
        /* Animación infinita */
        @keyframes scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }
        
        .clientes-tech::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 150px;
            height: 100%;
            background: linear-gradient(to right, #020617, transparent);
            z-index: 2;
        }
        
        .clientes-tech::after {
            content: "";
            position: absolute;
            right: 0;
            top: 0;
            width: 150px;
            height: 100%;
            background: linear-gradient(to left, #020617, transparent);
            z-index: 2;
        }
        
        
    /* ===== Widget Bot IA ===== */
    .bot-widget {
        position: fixed;
        bottom: 100px;
        right: 25px;
        width: 320px;
        max-height: 420px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0,0,0,.25);
        overflow: hidden;
        z-index: 9999;
        display: none;
        font-family: system-ui;
    }
    
    .bot-header {
        background: #0d6efd;
        color: white;
        padding: 12px;
        font-weight: 600;
        font-size: 14px;
    }
    
    .bot-body {
        padding: 12px;
        height: 260px;
        overflow-y: auto;
        font-size: 13px;
    }
    
    .bot-msg {
        background: #f1f3f5;
        padding: 8px 10px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .bot-user {
        background: #d1e7dd;
        text-align: right;
    }
    
    .bot-footer {
        padding: 10px;
        border-top: 1px solid #eee;
    }
    
    .bot-footer input {
        width: 100%;
        padding: 6px 8px;
        border-radius: 8px;
        border: 1px solid #ccc;
    }

