        /* Critical CSS - Inlined for faster rendering */
        :root {
            --primary: #1a237e;
            --primary-dark: #0d153f;
            --secondary: #00bcd4;
            --secondary-light: #e0f7fa;
            --accent: #7c4dff;
            --dark: #0d1021;
            --light: #f5f5f7;
            --gray: #6b7280;
            --light-gray: #e5e7eb;
            --white: #ffffff;
            --success: #4CAF50;
            --warning: #ff9800;
            --error: #f44336;
            --transition: all 0.3s ease;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
        }
        
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            color: var(--dark);
            line-height: 1.6;
            background-color: var(--light);
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }
        
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        
        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background-color: var(--white);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }
        
        header.scrolled {
            box-shadow: var(--shadow-md);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 50px;
        }
        
        .logo2 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
        }
        
        .logo-img {
            height: 40px;
            width: auto;
        }
        
        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .logo-text span {
            color: var(--accent);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        .nav-links a {
            position: relative;
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 0;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: var(--transition);
        }
        
        .nav-links a:hover::after,
        .nav-links a:focus::after {
            width: 100%;
        }
        
        .nav-links a:hover,
        .nav-links a:focus {
            color: var(--primary);
        }
        
        .nav-cta {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
            padding: 0.5rem;
        }
        
        /* Hero Section */
        .hero {
            position: relative;
            padding: 180px 0 100px;
            color: var(--white); /* Usar variable CSS */
            overflow: hidden;
            min-height: 100vh; /* Asegura que ocupe al menos la altura de la ventana */
            display: flex; /* Para centrar el contenido verticalmente */
            align-items: center; /* Centra verticalmente */
            justify-content: center; /* Centra horizontalmente el contenido */
            text-align: center; /* Alinea el texto del contenido */
        }
        
        .hero-video-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2; /* Más bajo que el overlay */
        }
        
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Asegura que el video cubra todo el espacio */
            opacity: 0.4;
            /* Si quieres que el video se adapte a resoluciones más bajas, puedes ajustar la opacidad */
        }
        
        .hero-video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(13, 16, 33, 0.9) 100%);
            z-index: -1; /* Para que esté sobre el video pero bajo el contenido */
        }
        
        .hero-content {
            position: relative;
            z-index: 1; /* Asegura que el contenido esté sobre el overlay y el video */
            max-width: 800px;
            margin: 0 auto;
            /* text-align: center; Ya lo aplica el .hero padre */
            padding: 0 1rem; /* Pequeño padding para móviles */
        }
        
        .hero h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }
        
        .hero p {
            font-size: clamp(1rem, 2vw, 1.25rem);
            opacity: 0.9;
            margin-bottom: 2.5rem;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
        }
        
        .btn-primary {
            background-color: var(--white);
            color: var(--primary);
        }
        
        .btn-primary:hover,
        .btn-primary:focus {
            background-color: gray;
            color: var(--white);
            border-color: var(--white);
            transform: translateY(-2px);
        }
        
        .btn-secondary {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        
        .btn-secondary:hover,
        .btn-secondary:focus {
            background-color: var(--white);
            color: var(--primary);
            transform: translateY(-2px);
        }
        
        /* Section Styling */
        .section {
            padding: 5rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-title h2 {
            font-size: clamp(1.75rem, 3vw, 2.25rem);
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            color: var(--gray);
        }
        
        /* Value Proposition */
        .pillars {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .pillar {
            background-color: var(--white);
            padding: 2rem;
            border-radius: var(--radius-md);
            text-align: center;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }
        
        .pillar:hover {
            transform: translateY(-0.5rem);
            box-shadow: var(--shadow-lg);
        }
        
        .pillar-icon {
            border-radius: 2%; 
        }
        
        .pillar h3 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        
        .pillar p {
            font-size: 0.9rem;
        }
        /* Solutions Grid */
        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .solution-card {
            background-color: var(--white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }
        
        .solution-card:hover {
            transform: translateY(-0.5rem);
            box-shadow: var(--shadow-lg);
        }
        
        .solution-img {
            height: 200px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .solution-content {
            padding: 1.5rem;
        }
        
        .solution-content h3 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        
        .solution-features {
        font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
        
        .solution-features li {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .solution-features li::before {
            content: '?';
            color: var(--accent);
            font-weight: bold;
        }
        
        /* Featured Product */
        .featured-product {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        
        .product-image {
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        
        .product-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .product-content h2 {
            font-size: 1.75rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .product-content h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .product-benefits {
            margin-bottom: 2rem;
        }
        
        .product-benefits li {
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }
        
        .product-benefits li i {
            color: var(--accent);
            margin-top: 0.25rem;
        }
        
        /* Testimonials */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .testimonial-card {
            background-color: var(--white);
            padding: 2rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }
        
        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            color: var(--gray);
            position: relative;
        }
        
        .testimonial-text::before {
            content: '"';
            font-size: 3rem;
            color: var(--light-gray);
            position: absolute;
            top: -1rem;
            left: -1rem;
            z-index: -1;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-info h4 {
            font-size: 1rem;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }
        
        .author-info p {
            font-size: 0.875rem;
            color: var(--gray);
        }
        
        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
            color: var(--white);
            text-align: center;
            padding: 4rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('img/dots-pattern.svg') center/cover no-repeat;
            opacity: 0.1;
            pointer-events: none;
        }
        
        .cta-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .cta-section h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 1rem;
        }
        
        .cta-section p {
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: var(--white);
            padding: 4rem 0 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .footer-logo {
            margin-bottom: 1.5rem;
        }
        
        .footer-logo img {
            height: 40px;
        }
        
        .footer-about p {
            color: var(--light-gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--white);
            transition: var(--transition);
        }
        
        .social-links a:hover,
        .social-links a:focus {
            background-color: var(--accent);
            transform: translateY(-3px);
        }
        
        .footer-links h3 {
            font-size: 1.125rem;
            margin-bottom: 1.5rem;
            color: var(--secondary);
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover,
        .footer-links a:focus {
            color: var(--white);
            text-decoration: underline;
        }
        
        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
            color: var(--light-gray);
        }
        
        .footer-contact i {
            margin-top: 0.25rem;
            color: var(--secondary);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light-gray);
            font-size: 0.875rem;
        }
        
        .footer-bottom a {
            color: var(--secondary);
            text-decoration: none;
        }
        
        .footer-bottom a:hover,
        .footer-bottom a:focus {
            text-decoration: underline;
        }
        
        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--white);
            z-index: 999;
            padding: 2rem;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .mobile-menu.active {
            transform: translateX(0);
        }
        
        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }
        
        .mobile-nav-links {
            list-style: none;
            flex-grow: 1;
        }
        
        .mobile-nav-links li {
            margin-bottom: 1.5rem;
        }
        
        .mobile-nav-links a {
            font-size: 1.25rem;
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
        }
        
        .mobile-menu-footer {
            margin-top: auto;
        }
        
        /* Responsive Styles */
        @media (max-width: 1024px) {
            .featured-product {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .product-image {
                max-width: 600px;
                margin: 0 auto;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links,
            .nav-cta {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero {
                padding: 150px 0 80px;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .section {
                padding: 3rem 0;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }
            
            .hero h1 {
                font-size: 1.75rem;
            }
            
            .section-title h2 {
                font-size: 1.5rem;
            }
        }
   



 
    form {
      max-width:370px;
      margin: auto;
      background-color: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    input, select {
      height: 40px;
      border-radius: 10px;
      border: 1px solid #ccc;
      padding: 0 10px;
      font-size: 14px;
      width: 100%;
      box-sizing: border-box;
    }

    .whatsapp-group {
      display: flex;
      border: 1px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      height: 40px;
    }

    .whatsapp-group select {
      border: none;
      background-color: #f0f0f0;
      width: 40%;
      padding-left: 10px;
      font-size: 14px;
      appearance: none;
    }

    .whatsapp-group input {
      border: none;
      width: 60%;
      padding-left: 10px;
      font-size: 14px;
    }

    .whatsapp-group select:focus,
    .whatsapp-group input:focus {
      outline: none;
    }

    .checkbox-line {
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .checkbox-line input {
      width: 16px;
      height: 16px;
      margin: 0;
    }

    .checkbox-line a {
      color: #007BFF;
      align-self: left;
      text-decoration: none;
    }

    .checkbox-line a:hover {
      text-decoration: underline;
    }
    
    .boton-submit {
  background-color: #e53935; /* rojo fuerte */
  color: white;
  height: 40px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  width: 50%;
  align-self: center;
  transition: background-color 0.3s ease;
}

.boton-submit:hover {
  background-color: #c62828; /* rojo más oscuro al pasar el mouse */
}
