
        /* --- VARIABLES Y RESET --- */
        :root {
            --primary: #0f172a;      /* Azul oscuro fondo general */
            --secondary: #3b82f6;    /* Azul brillante botones */
            --accent: #0ea5e9;       /* Cian detalles */
            --text-light: #f8fafc;   /* Texto blanco */
            --text-gray: #cbd5e1;    /* Texto gris claro (ajustado para mejor contraste) */
            --card-bg: #1e293b;      /* Fondo tarjetas */
            --success: #22c55e;      /* Verde WhatsApp */
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
        body { background-color: var(--primary); color: var(--text-light); line-height: 1.6; scroll-behavior: smooth; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul { list-style: none; }

        /* --- HEADER CON EFECTO CRISTAL --- */
        header {
            background: rgba(15, 23, 42, 0.7); /* Más transparente para ver el fondo */
            padding: 1rem 5%; position: sticky; top: 0; z-index: 1000;
            display: flex; justify-content: space-between; align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px); /* Efecto borroso potente */
        }
        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
        .logo span { color: var(--accent); }
        nav ul { display: flex; gap: 2rem; align-items: center; }
        nav a { font-weight: 500; font-size: 0.95rem; opacity: 0.9; }
        nav a:hover { color: var(--accent); opacity: 1; }
        .btn-contact {
            background: var(--secondary); padding: 0.6rem 1.2rem; border-radius: 50px;
            font-weight: 600; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        }
        .btn-contact:hover { background: var(--accent); transform: translateY(-2px); }

        /* --- HERO SECTION (FONDO DATA CENTER) --- */
        .hero {
            height: 95vh; 
            display: flex; align-items: center; justify-content: center; text-align: center;
            padding: 0 5%;
            position: relative;
            
            /* IMAGEN DE FONDO + CAPA OSCURA */
            background: 
                linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95)),
                url('https://wallpapers.com/images/hd/futuristic-data-server-with-red-led-lights-in-dark-room-a888z9n508edb45k.webp');
            
            background-size: cover;
            background-position: center;
            background-attachment: fixed; /* Efecto Parallax: la imagen se queda quieta */
        }

        .hero-content { position: relative; z-index: 2; }

        .hero-content h1 {
            font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800;
            text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Sombra para leer mejor sobre foto */
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }

        .hero-content p { 
            font-size: 1.35rem; color: var(--text-gray); margin-bottom: 2.5rem; max-width: 700px; margin-inline: auto; 
            text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Sombra al texto pequeño */
        }

        .btn-main {
            background: linear-gradient(to right, var(--secondary), var(--accent));
            color: white; padding: 1.2rem 3rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem;
            box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.5); border: 1px solid rgba(255,255,255,0.2);
        }
        .btn-main:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.7); }

        /* --- SECCIONES GENERALES --- */
        .section { padding: 6rem 8%; }
        .section-title { text-align: center; font-size: 2.5rem; margin-bottom: 4rem; font-weight: 700; }
        .section-title span { position: relative; z-index: 1; }
        .section-title span::after {
            content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
            width: 60px; height: 4px; background: var(--accent); border-radius: 2px;
        }

        /* --- SERVICIOS TI --- */
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
        .card {
            background: linear-gradient(145deg, #1e293b, #162032);
            padding: 2.5rem 2rem; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative; overflow: hidden;
        }
        .card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
        .icon {
            font-size: 2.5rem; margin-bottom: 1.5rem; display: inline-block; padding: 15px;
            background: rgba(14, 165, 233, 0.1); border-radius: 16px; color: var(--accent);
        }
        .card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
        .card p { color: #94a3b8; }

        /* --- TIENDA ONLINE --- */
        .store-section { background: #0b1120; }
        .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; }
        .product-card {
            background: var(--card-bg); border-radius: 16px; overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
            display: flex; flex-direction: column;
        }
        .product-card:hover { border-color: var(--secondary); box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5); }
        .product-img {
            height: 240px; background: #111827; display: flex; align-items: center; justify-content: center;
            font-size: 4rem; position: relative;
        }
        .badge-new { position: absolute; top: 15px; right: 15px; background: var(--accent); color: #000; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;}
        
        .product-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .product-info h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; }
        .price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
        .price { font-size: 1.5rem; font-weight: 800; color: var(--text-light); }
        .price span { font-size: 1rem; color: var(--accent); }
        
        .btn-buy-wa {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            width: 100%; padding: 1rem;
            background: rgba(34, 197, 94, 0.1); border: 1px solid var(--success);
            color: var(--success); border-radius: 12px; font-weight: 700; transition: all 0.3s ease;
        }
        .btn-buy-wa:hover { background: var(--success); color: white; transform: scale(1.02); }

        /* --- FOOTER --- */
        footer { background: #020617; padding: 4rem 10% 2rem; text-align: center; color: var(--text-gray); border-top: 1px solid rgba(255,255,255,0.05); }
        .socials { margin: 2rem 0; display: flex; justify-content: center; gap: 1.5rem; }
        .socials a { 
            padding: 10px; background: rgba(255,255,255,0.05); border-radius: 50%; width: 50px; height: 50px;
            display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.2rem;
        }
        .socials a:hover { background: var(--accent); color: white; transform: translateY(-5px); }
        .copyright { font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; margin-top: 3rem;}

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            nav { display: none; }
            .hero-content h1 { font-size: 2.8rem; }
            .section { padding: 4rem 5%; }
            .hero { background-attachment: scroll; } /* Desactiva parallax en móviles antiguos */
        }

        /* --- MODAL (VENTANA FLOTANTE DE DETALLES) --- */
        .modal {
            display: none; /* Oculto por defecto */
            position: fixed; 
            z-index: 2000; 
            left: 0; 
            top: 0;
            width: 100%; 
            height: 100%;
            background-color: rgba(2, 6, 23, 0.85); /* Fondo un poco más oscuro para resaltar el producto */
            backdrop-filter: blur(8px);
            align-items: center; 
            justify-content: center;
        }

        .modal-content {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid var(--accent);
            width: 90%; 
            max-width: 500px; /* Ventana un poco más ancha */
            text-align: center;
            position: relative;
            box-shadow: 0 15px 50px rgba(0,0,0,0.8);
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .close-btn {
            position: absolute; 
            top: 15px; 
            right: 20px;
            color: var(--text-gray); 
            font-size: 28px; 
            font-weight: bold;
            cursor: pointer; 
            transition: 0.3s;
        }

        .close-btn:hover { color: var(--accent); }

        /* AQUÍ ESTÁ EL CAMBIO PRINCIPAL PARA LA IMAGEN */
        .modal-content img {
            width: 100%;
            max-width: 250px; /* Antes estaba en 120px, ahora es el doble de grande */
            height: auto;
            margin-bottom: 1.5rem;
            object-fit: contain; /* Asegura que la imagen no se deforme */
            filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4)); /* Sombra a la imagen para darle efecto 3D/Producto */
        }

        .modal-content h3 {
            color: var(--text-light);
            margin-bottom: 1rem;
            font-size: 1.6rem; /* Título un poco más grande */
        }

        .modal-content p {
            color: var(--text-gray);
            font-size: 1rem;
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }

        .modal-price {
            font-size: 2rem; /* Precio más destacado */
            font-weight: 800;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }

        /* Botón para abrir detalles (en las tarjetas) */
        .btn-details {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            width: 100%; padding: 0.8rem; margin-bottom: 10px;
            background: transparent; border: 1px solid var(--accent);
            color: var(--accent); border-radius: 12px; font-weight: 600; 
            transition: all 0.3s ease; cursor: pointer;
            font-size: 0.9rem;
        }

        .btn-details:hover { background: var(--accent); color: white; transform: scale(1.02); }

 

 

/* --- AJUSTE PARA MENÚ SIEMPRE VISIBLE EN MÓVIL --- */
@media (max-width: 768px) {
    /* 1. Quitamos el display: none que oculta el menú */
    nav { 
        display: block !important; 
        width: 100%;
        margin-top: 10px;
    }

    /* 2. Alineamos el logo y el menú en columna para que no se amontonen */
    header {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    /* 3. Ajustamos la lista para que las opciones fluyan horizontalmente */
    nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Si el celular es muy pequeño, los botones bajan solos */
        gap: 15px;
        padding: 0;
    }

    /* 4. Reducimos un poco el tamaño de letra para que quepan todos */
    nav a {
        font-size: 0.9rem;
    }

    /* 5. Ajustamos el botón de contactar para que no sea tan gigante en móvil */
    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        
       
  
    }
}

