        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            scroll-behavior: smooth;
            background-color: #ffffff;
            color: #1e293b;
            overflow-x: hidden;
        }

        /* Hero con NUEVO Canvas de Partículas Interactivas con líneas conectadas */
        #particle-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        .hero-bg {
            background-image: linear-gradient(rgba(2, 6, 23, 0.85), rgba(10, 25, 47, 0.95)), url('imgs/topbanner.webp');
            background-size: cover;
            background-position: center;
            position: relative;
            background-attachment: fixed;
        }

        /* Animaciones personalizadas para imágenes */
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }

        @keyframes tilt {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(1deg); }
            75% { transform: rotate(-1deg); }
        }

        @keyframes wave {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            25% { transform: translateY(-10px) rotate(1deg); }
            75% { transform: translateY(5px) rotate(-1deg); }
        }

        @keyframes zoom {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(5deg); }
        }

        @keyframes skew {
            0% { transform: skew(0deg); }
            100% { transform: skew(2deg, 2deg); }
        }

        @keyframes img-scale {
            0% { transform: scale(1); }
            100% { transform: scale(1.1); }
        }

        /* Clases de animación para imágenes */
        .animate-float { animation: float 6s ease-in-out infinite; }
        .animate-shake { animation: shake 0.5s ease-in-out; }
        .animate-tilt { animation: tilt 10s infinite linear; }
        .animate-wave { animation: wave 8s infinite linear; }
        .animate-zoom { animation: zoom 0.5s ease-out; }
        .animate-rotate { animation: rotate 0.5s ease-out; }
        .animate-skew { animation: skew 0.5s ease-out; }
        .animate-scale { animation: img-scale 0.5s ease-out forwards; }

        /* Menú con Efecto Hover Mejorado */
        .nav-link {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            position: relative;
        }
        .nav-link:hover {
            color: #0077b6 !important;
            font-weight: 750;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: #0077b6;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }

        /* Menú Sticky Blanco */
        .nav-white {
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        /* Sección Productos - MEJORADO: Sin redondeo en la parte inferior de las tarjetas */
        .products-section {
            background: linear-gradient(135deg, #020617 0%, #0a192f 100%);
            color: #f8fafc;
        }

        .product-card {
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            border-radius: 1rem 1rem 0 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 119, 182, 0.3);
        }

        .product-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 119, 182, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .product-card:hover .product-overlay { opacity: 1; }
        .product-card img { transition: transform 0.8s ease; width: 100%; height: 100%; object-fit: cover; }
        .product-card:hover img { transform: scale(1.1); }
        
        /* Lupa grande para el hover */
        .zoom-icon {
            font-size: 3.5rem;
            color: white;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            transform: scale(0.8);
        }
        
        .product-card:hover .zoom-icon {
            transform: scale(1);
        }

        /* Pie de tarjeta sin redondeo - MEJORADO con número de imágenes */
        .product-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.85);
            border-radius: 0;
            backdrop-filter: blur(5px);
        }

        /* Degradado diagonal para productos */
        .products-gradient {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

        /* Sección de Contacto Rediseñada */
        .contact-section {
            background: linear-gradient(135deg, #064649 0%, #023a3d 30%, #5ca3a7 100%);
            position: relative;
            overflow: hidden;
        }
        
        .contact-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 24px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
        }
        
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }
        
        .contact-info-item {
            transition: all 0.3s ease;
            border-radius: 12px;
            padding: 16px;
        }
        
        .contact-info-item:hover {
            background: rgba(0, 119, 182, 0.05);
            transform: translateX(5px);
        }
        
        .contact-info-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .contact-info-item:hover .contact-info-icon {
            transform: scale(1.1) rotate(5deg);
        }

        /* Formulario mejorado con CAPTCHA */
        .form-input {
            transition: all 0.3s ease;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
        }
        
        .form-input:focus {
            border-color: #0077b6;
            box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
        }
        
        .form-btn {
            background: linear-gradient(135deg, #0077b6 0%, #005a8c 100%);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .form-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
        }
        
        .form-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .form-btn:hover::after {
            left: 100%;
        }

        /* Estilos para el CAPTCHA */
        .captcha-container {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            border: 2px solid #e2e8f0;
        }
        
        .captcha-code {
            font-family: 'Courier New', monospace;
            font-weight: bold;
            letter-spacing: 5px;
            font-size: 24px;
            background: linear-gradient(90deg, #0077b6, #005a8c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-align: center;
            padding: 10px;
            border-radius: 8px;
            border: 1px dashed #cbd5e1;
        }
        
        .refresh-captcha {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .refresh-captcha:hover {
            transform: rotate(5deg);
            color: #0077b6;
        }

        /* --- NUEVOS ESTILOS PARA POPUP DE GALERÍA --- */
        #lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .popup-container {
            background: white;
            width: 100%;
            max-width: 1100px;
            max-height: 90vh;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        @media (min-width: 768px) {
            .popup-container { 
                flex-direction: row; 
                max-height: 85vh;
            }
        }

        .popup-image-side {
            background: #ffffff;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            min-height: 300px;
        }

        .popup-info-side {
            flex: 1.2;
            padding: 30px;
            overflow-y: auto;
            background: rgb(241, 241, 241);
            color: #1e293b;
        }

        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2rem;
            color: #1e293b;
            cursor: pointer;
            z-index: 10;
            transition: transform 0.3s ease;
        }
        .popup-close:hover { transform: rotate(25deg); }

        .popup-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            background: rgba(255,255,255,0.9);
            padding: 10px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .popup-nav-btn {
            color: #0077b6;
            cursor: pointer;
            font-size: 1.2rem;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
        }
        .popup-nav-btn:hover { 
            background: #0077b6;
            color: white;
            transform: scale(1.1);
        }
        
        /* Estilos para la nueva estructura de información */
        .info-section {
            margin-bottom: 25px;
        }
        
        .info-section h4 {
            font-size: 1.1rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #0077b6;
            margin-bottom: 10px;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 8px;
        }
        
        .info-section ul {
            list-style: none;
            padding: 0;
        }
        
        .info-section li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
            font-size: 0.95rem;
            line-height: 1.5;
            color: #334155;
        }
        
        .info-section li:before {
            content: "•";
            color: #0077b6;
            font-weight: bold;
            position: absolute;
            left: 5px;
        }
        
        .btn-whatsapp-personal {
            background: linear-gradient(135deg, #25d366, #128C7E);
            color: white;
            padding: 15px 25px;
            border-radius: 50px;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            text-decoration: none;
            width: 100%;
            font-size: 1.1rem;
            margin-top: 20px;
            border: none;
            cursor: pointer;
        }
        
        .btn-whatsapp-personal:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        }

        /* WhatsApp Floating */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
            z-index: 100;
            transition: all 0.3s ease;
            animation: float 3s ease-in-out infinite;
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
        }

        /* Elementos decorativos para la sección de contacto */
        .contact-decoration {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: 0;
        }
        
        .decoration-1 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, #0077b6 0%, transparent 70%);
            top: -150px;
            right: -150px;
        }
        
        .decoration-2 {
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, #25d366 0%, transparent 70%);
            bottom: -100px;
            left: -100px;
        }

        /* Mobile Menu - CORREGIDO */
        #mobile-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
            background-color: white;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 50;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        #mobile-menu.active {
            max-height: 500px;
        }

        /* Secciones sin altura forzada para scroll natural */
        section {
            position: relative;
            z-index: 1;
            padding-top: 80px;
            padding-bottom: 80px;
        }
        
        #hero {
            padding-top: 80px;
            min-height: 100vh;
        }
        
        /* Ajuste para móviles */
        @media (max-width: 768px) {
            section {
                padding-top: 60px;
                padding-bottom: 60px;
            }
            
            .zoom-icon {
                font-size: 2.5rem;
            }
            
            .popup-container {
                flex-direction: column;
                max-height: 95vh;
            }
            
            .popup-info-side {
                padding: 20px;
            }
            
            #hero {
                min-height: calc(100vh - 60px);
            }
        }

        @media (max-width: 1024px) {
            .contact-decoration {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            
            .mb-mobile {
                margin-bottom: 2rem !important;
            }
            
            #hamburger {
                display: flex !important;
                align-items: center;
                justify-content: center;
            }
        }

        /* Estilos para la sección de inversión mejorada */
        .investment-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            padding: 30px;
            color: white;
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            border: none;
        }

        .investment-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 50px rgba(102, 126, 234, 0.4);
        }

        .investment-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.3;
            z-index: 0;
        }

        .investment-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            display: block;
            animation: float 4s ease-in-out infinite;
        }

        /* Estilos para las secciones de productos */
        .product-section-title {
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(90deg, #0077b6, #00b4d8);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            display: inline-block;
            margin-bottom: 2rem;
            padding-bottom: 10px;
        }

        .product-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            border-radius: 2px;
        }

        .image-box {
            max-width: 1000px;
            margin: 0 auto;
            padding: 5px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .image-box img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }

        .image-full {
            width: 100%;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .image-full img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }

        /* Ocultar secciones si no tienen contenido */
        .info-section:empty {
            display: none;
        }

        /* .full-height {
            min-height: 100vh;
        }*/

        /* Footer */
        .footer-gradient {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }