:root {
        --primary: #2D9CDB;    /* Azul Cian (extraído del logo2) */
        --accent: #56CCF2;     /* Azul Claro */
        --warm: #FADBD8;       /* Melocotón */
        --text-dark: #1A252F;
        --glass: rgba(255, 255, 255, 0.9); /* Un poco más opaco para claridad */
    }

        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-dark);
            line-height: 1.7;
            background-color: #FDFDFD;
            overflow-x: hidden;
        }

        /* FONDO TECNOLÓGICO CLARO Y MODERNO (ACTUALIZADO) */
        .hero-bg-image {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            /* Overlay más claro para mayor nitidez de la imagen */
            background: linear-gradient(to bottom, rgba(253, 253, 253, 0.8) 0%, rgba(253, 253, 253, 0.95) 100%), 
                        url('../img/logo2.png');
            background-size: 300px; /* Tamaño controlado para el fondo */
            background-repeat: no-repeat;
            background-position: center;
            z-index: -2;
        }

        .container { width: 90%; max-width: 1200px; margin: 0 auto; }

        /* NAVEGACIÓN */
        nav {
            position: fixed; width: 100%; top: 0; z-index: 1000;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(15px);
            padding: 15px 0;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        .nav-content { display: flex; justify-content: space-between; align-items: center; }
        .logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); }
        .logo img { height: 35px; width: auto; display: block; transition: 0.3s; border-radius: 4px; }
        .logo span { color: var(--primary); margin-left: -4px; }
        .nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 0.75rem; margin-left: 25px; text-transform: uppercase; transition: 0.3s; }
        
        /* Estilo para la palabra 'Core' en dos colores */
        .colored-core {
            color: var(--primary);
        }
        .hero-concept-image {
            max-width: 100%; height: auto; display: block; margin: 0 auto 30px; border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .nav-links a:hover { color: var(--primary); }

        /* HERO */
        .hero { height: 90vh; display: flex; align-items: center; padding-top: 60px; }
        .hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
        h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 25px; }
        .gradient-text { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-desc { font-size: 1.3rem; max-width: 600px; margin-bottom: 40px; opacity: 0.8; }

        /* SECCIÓN PARTNERS */
        .partners-section { background: white; padding: 40px 0; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0; overflow: hidden; }
        .partners-track { display: flex; gap: 80px; align-items: center; justify-content: center; opacity: 0.5; filter: grayscale(1); }
        .partner-logo { font-weight: 900; font-size: 1.1rem; color: #999; letter-spacing: 2px; text-transform: uppercase; }

        /* SECCIONES GENERALES */
        section { padding: 120px 0; }
        .section-title { text-align: center; margin-bottom: 80px; }
        .section-title h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 15px; }
        .section-title p { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; }

        /* GRID Y CARDS */
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .glass-card {
            background: var(--glass); border: 1px solid white;
            padding: 45px; border-radius: 35px; backdrop-filter: blur(12px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.03); transition: 0.4s;
            text-align: center;
        }
        .glass-card:hover { transform: translateY(-10px); background: white; border-color: var(--primary); }

        /* CONTACTO */
        .contact-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; background: white; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.08); }
        .contact-info { background: var(--primary); color: white; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
        .contact-form { padding: 60px; }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; font-weight: 800; font-size: 0.7rem; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; }
        input, select, textarea { width: 100%; padding: 15px; border-radius: 12px; border: 1px solid #EEE; outline: none; font-family: inherit; font-size: 0.9rem; background: #FAFAFA; }
        input:focus, textarea:focus { border-color: var(--primary); background: white; }

        .btn-nexo {
            background: var(--primary); color: white; padding: 18px 45px; border-radius: 50px;
            text-decoration: none; font-weight: 700; display: inline-block; border: none; cursor: pointer;
            transition: 0.4s; box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3); text-transform: uppercase; letter-spacing: 1px;
        }
        .btn-nexo:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4); }

        /* FOOTER ROBUSTO */
        footer { background: white; padding: 100px 0 40px; border-top: 1px solid #EEE; margin-top: 50px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
        .footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: var(--primary); }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { text-decoration: none; color: var(--text-dark); opacity: 0.6; font-size: 0.9rem; transition: 0.3s; }
        .footer-links a:hover { opacity: 1; color: var(--primary); padding-left: 5px; }

        /* CHAT WIDGET */
        .nexo-chat-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 10000; }
        .nexo-chat-button {
            width: 65px; height: 65px; background: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            box-shadow: 0 15px 35px rgba(0,0,0,0.15); border: 1px solid #EEE; position: relative;
        }
        .vibrant-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: #2ECC71; border-radius: 50%; border: 2px solid white; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

        .chat-window {
            width: 360px; background: white; border-radius: 25px;
            box-shadow: 0 25px 60px rgba(0,0,0,0.15); margin-bottom: 20px;
            display: none; flex-direction: column; overflow: hidden; border: 1px solid #EEE;
        }
        .chat-header { background: var(--primary); color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
        .chat-body { height: 320px; padding: 25px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: #FDFDFD; }
        .bot-msg { background: #F0F2F5; padding: 14px; border-radius: 18px 18px 18px 0; font-size: 0.88rem; max-width: 85%; }
        .user-msg { background: var(--primary); color: white; padding: 14px; border-radius: 18px 18px 0 18px; font-size: 0.88rem; align-self: flex-end; max-width: 85%; }
        .chat-footer { padding: 15px 20px; display: flex; gap: 10px; border-top: 1px solid #EEE; background: white; }
        .chat-footer input { flex: 1; border: 1px solid #EEE; padding: 12px; border-radius: 10px; outline: none; }
        .bounce-in { animation: bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        @keyframes bounce { from { opacity: 0; transform: scale(0.8) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

        /* Efecto de código abstracto para el Hero */
        .code-snippet {
            position: absolute; color: var(--primary); opacity: 0.05; font-family: monospace; font-size: 0.8rem; pointer-events: none;
        }

        @media (max-width: 968px) {
            .hero-grid, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
            .hero { height: auto; padding: 120px 0 60px; text-align: center; }
            .logo img { height: 32px; } /* Logo más pequeño en tablets/móviles */
            .hero-desc { margin: 0 auto 30px; }
            .partners-track { gap: 40px; flex-wrap: wrap; }
            .hero-visual { display: none; } /* Ocultar visual en móvil para claridad */
        }