  :root {
            --primary: #2E7D32;           
            --primary-dark: #1E3D2F;
            --primary-light: #D2FF9F;     
            --secondary: #F17024;         
            --accent: #FEC847;            
            --turquoise: #21858B;               
            --dark: #212121;              
            --light: #F8F8F8;             
            --gray: #757575;              
            --transition: all 0.4s ease;
            --shadow: 0 5px 15px rgba(0,0,0,0.1);
            --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
        }

        /* Reset y box-sizing */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Raleway', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            overflow-x: hidden;
            background: var(--light);
        }

        /* Fondo de partículas */
        .particle-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: rgba(46, 125, 50, 0.15);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none !important; /* Quitar subrayado */
        }

        .logo img {
            height: 100px;
            border: none; /* Quitar borde */
            outline: none; /* Quitar contorno */
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: 0.5px;
            text-decoration: none !important; /* Quitar subrayado */
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 3.0rem;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--primary);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--primary);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .nav-menu a:hover::after {
            width: 100%;
        }
        
       

        /* ==========================================================================
   Anuncio de PV-CASCABEL
   ========================================================================== */
.promo-section {
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
  padding-top: 140px;
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* El contenedor */
.promo-container {
  max-width: 1051px; 
  width: 92%;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d; /* Mantiene los elementos hijos en el espacio 3D */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Contenedor de la imagen */
.promo-image-wrapper {
  width: 55%;
  display: block;
  transform-style: preserve-3d;
}


/* estilos de la imagen */
.promo-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px 0 0 16px;
  transform: translateZ(30px);
  transition: transform 0.5s ease;
}

/* contenido texto y boton derecho */
.promo-link-content {
  width: 45%;
  padding: 3.5rem 3rem 3.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  transform: translateZ(20px);
}

/* texto */
.promo-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #334155;
  text-align: justify;
  margin-bottom: 2.5rem;
  margin-top: 0;
}

/* boton estilos */
.promo-btn {
  align-self: center;
  background-color: #2e7d32;
  color: #ffffff;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.15rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  transform: translateZ(40px);
}

/* boton hover*/
.promo-btn:hover {
  background-color: #1b5e20;
  transform: translateZ(50px) scale(1.05);
}

/* ==========================================================================
   vista movil
   ========================================================================== */
@media (max-width: 900px) {
  .promo-container {
    flex-direction: column;
    gap: 2rem;
  }

  .promo-image-wrapper {
    width: 100%;
  }
  
  .promo-image {
    border-radius: 16px 16px 0 0;
  }

  .promo-link-content {
    width: 100%;
    padding: 2.5rem 2rem;
  }

  .promo-text {
    font-size: 1.15rem;
    text-align: center;
  }
}
        
        /* ==========================================================================
           Ajuste en la Sección Hero (Para que no ocupe un espacio excesivo)
           ========================================================================== */
        .hero {
            height: 85vh; /* Se bajó de 135vh a 85vh para compensar el espacio del nuevo banner */
            background: linear-gradient(135deg, #e8f5e9, #ffffff);
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 20px; /* Reducido ya que el padding superior ahora lo maneja la sección de arriba */
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, var(--primary) 30.1%, var(--primary) 70%, transparent 70.1%);
            opacity: 0.03;
            transform: rotate(-15deg);
        }

        .hero-container {
            max-width: 1200px;
            margin:  auto;
            padding:   4;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 2.5rem;
            font-weight: 800; 
            color: var(--dark);
            line-height: 1.1;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
        }

        .hero-content .highlight {
            color: var(--primary);
        }

        .hero-content p {
            font-size: 1.2rem;
            color: var(--gray);
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        /* SOLUCIÓN PARA BOTONES: Eliminamos transform y usamos box-shadow */
        .btn-primary {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 1;
        }

        .btn-primary:hover {
            background: var(--secondary);
            box-shadow: 0 15px 35px rgba(46, 125, 50, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--dark);
            padding: 1rem 2rem;
            border: 2px solid var(--gray);
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .btn-secondary:hover {
            border-color: var(--secondary);
            color: var(--secondary);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .code-block {
            background: var(--dark);
            border-radius: 20px;
            padding: 2rem;
            color: var(--light);
            font-family: 'Monaco', monospace;
            font-size: 0.9rem;
            line-height: 1.5;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
            transition: transform 0.3s ease;
        }

        .code-block:hover {
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
        }

        .code-line {
            margin-bottom: 0.5rem;
        }

        .code-green { color: var(--secondary); }
        .code-gray { color: #999; }

        /* Services Section */
        .services {
            padding: 6rem 0;
            background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        /* Tarjetas de servicios con efecto flip */
        .service-card {
            width: 100%;
            height: 350px;
            perspective: 1000px;
            cursor: pointer;
        }
        .service-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            box-shadow: var(--shadow);
            border-radius: 20px;
        }
        .service-card:hover .service-card-inner {
            transform: rotateY(180deg);
        }
        .service-card-front,
        .service-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 30px;
        }
        .service-card-front {
            background: linear-gradient(135deg, #ffffff, #f7f7f7);
            border: 1px solid #e0e0e0;
        }
        .service-card-back {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--light);
            transform: rotateY(180deg);
        }
        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 2rem;
            color: var(--accent);
            transition: var(--transition);
        }
        .service-card:hover .service-icon {
            background: var(--primary);
            color: var(--light);
        }
        .service-card-front h3,
        .service-card-back h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        .service-card-back p {
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Technologies Section */
        .technologies {
            padding: 6rem 0;
            background: linear-gradient(135deg, var(--light) 0%, #e0f7fa 100%);
        }
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        .tech-item {
            background: var(--light);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid #E5E5E5;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        .tech-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent);
        }
        .tech-item i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }
        .tech-item h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 1rem;
        }
        .tech-description {
            font-size: 0.9rem;
            color: var(--gray);
            line-height: 1.5;
            transition: var(--transition);
            opacity: 0;
            height: 0;
            overflow: hidden;
        }
        .tech-item:hover .tech-description {
            opacity: 1;
            height: auto;
            margin-top: 1rem;
        }

        /* Sobre Nosotros Section */
        .about {
            padding: 6rem 0;
            background: linear-gradient(135deg, #ffffff, #f0f8ff);
        }
        .about-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        .about-card {
            background: var(--light);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }
        .about-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        .about-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--primary);
        }
        .about-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .values-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 1.2rem;
        }
        .value-item {
            background: rgba(46, 125, 50, 0.1);
            color: var(--primary-dark);
            padding: 0.6rem 1.2rem;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
        }
        .value-item:hover {
            background: var(--primary);
            color: var(--light);
            transform: translateY(-3px);
        }

        /* Filosofía 5KM Section */
        .philosophy {
            padding: 6rem 0;
            background: linear-gradient(135deg, #ffffff, #f0f8ff);
            position: relative;
        }
        .timeline {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            padding-top: 50px;
        }
        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 4px;
            background: var(--secondary);
            transform: translateX(-50%);
        }
        .timeline-item {
            position: relative;
            width: 50%;
            padding: 20px 40px;
            box-sizing: border-box;
        }
        .timeline-item:nth-child(odd) {
            left: 0;
        }
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        .timeline-content {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            position: relative;
        }
        .timeline-content::before {
            content: '';
            position: absolute;
            top: 30px;
            width: 30px;
            height: 4px;
            background: var(--secondary);
            transition: all 0.3s ease;
        }
        .timeline-item:nth-child(odd) .timeline-content::before {
            right: -30px;
        }
        .timeline-item:nth-child(even) .timeline-content::before {
            left: -30px;
        }
        .timeline-icon {
            position: absolute;
            top: 30px;
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }
        .timeline-item:nth-child(odd) .timeline-icon {
            right: -80px;
        }
        .timeline-item:nth-child(even) .timeline-icon {
            left: -80px;
        }
        .timeline-content h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        .timeline-content p {
            color: var(--gray);
            line-height: 1.6;
        }

        /* Organigrama Section */
        .org-chart {
            padding: 6rem 0;
            background: linear-gradient(135deg, #ffffff, #f0f8ff);
            text-align: center;
        }
        .chart {
            display: flex;
            justify-content: center;
            margin-top: 50px;
        }
        .chart-node {
            background: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            position: relative;
            margin: 0 20px;
            min-width: 200px;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }
        .chart-node:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }
        .chart-node:before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 20px;
            background: var(--gray);
        }
        .chart-node img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid var(--primary);
        }

        /* Punto Venta/ERP Section */
        .point-sale {
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }
        .particles-section {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        .about-text {
            flex: 1;
        }
        .about-image {
            flex: 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-hover);
            animation: fadeInRight 1s ease;
        }
        .about-image img {
            width: 100%;
            display: block;
            transition: var(--transition);
        }
        .about-image:hover img {
            transform: scale(1.05);
        }

        /* Portafolio Section */
        .portafolio {
            padding: 6rem 0;
            background: linear-gradient(135deg, var(--light) 0%, #e0f7fa 100%);
            position: relative;
        }
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        .portfolio-item {
            position: relative;
            height: 300px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.5s ease;
        }
        .portfolio-item:hover .portfolio-overlay {
            transform: translateY(0);
        }
        .portfolio-item:hover img {
            transform: scale(1.1);
        }
        .portfolio-overlay h3 {
            margin-bottom: 10px;
            color: var(--secondary);
        }
        .portfolio-overlay p {
            font-size: 0.9rem;
        }
        
        /* Nuevo menú de redes sociales en portafolio */
        .social-footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 25px;
            padding: 40px 0;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-top: 3px solid var(--accent);
            margin-top: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .social-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
            opacity: 0.15;
            z-index: 1;
        }
        
        .social-footer h3 {
            color: var(--light);
            font-size: 1.5rem;
            margin-bottom: 0;
            position: relative;
            z-index: 2;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
            text-align: center;
        }
        
        .social-icons {
            display: flex;
            gap: 35px;
            position: relative;
            z-index: 2;
        }
        
        .social-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
           
            text-decoration: none !important;
            outline: none;
        }
        
        .social-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .social-icon:hover {
            transform: translateY(-10px) scale(1.1);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        .social-icon:hover::before {
            opacity: 0.3;
        }
        
        .social-icon i {
            font-size: 2.5rem;
            color: white;
            transition: transform 0.3s ease;
        }
        
        .social-icon:hover i {
            transform: scale(1.2);
        }
        
        /* Colores específicos para cada red social */
        .social-icon.youtube:hover {
            background: #FF0000;
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
        }
        
        .social-icon.x-twitter:hover {
            background: #000000;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        }
        
        .social-icon.facebook:hover {
            background: #1877F2;
            box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
        }
        
        .social-icon.linkedin:hover {
            background: #0A66C2;
            box-shadow: 0 0 20px rgba(10, 102, 194, 0.4);
        }
        
        /* Animación de pulsación para los íconos */
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 #FEC847; }
            70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
        }
        
        .social-icon {
            animation: pulse 2s infinite;
        }
        
        .social-icon:hover {
            animation: none;
        }

        /* Contact Section */
        .contact {
            padding: 6rem 0;
            background: var(--dark);
            color: var(--light);
        }
        .contact-content {
            text-align: center;
        }
        .contact h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--light);
        }
        .contact p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        .contact-container {
            display: flex;
            gap: 30px;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-hover);
        }
        .contact-info-panel {
            flex: 1;
            background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .contact-info-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
            opacity: 0.2;
        }
        .contact-info-panel h2 {
            color: white;
            font-size: 2.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
            z-index: 2;
        }
        .contact-info-panel h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 70px;
            height: 4px;
            background: var(--accent);
        }
        .contact-info-panel p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
            z-index: 2;
        }
        .contact-info {
            margin-top: 30px;
            z-index: 2;
        }
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            z-index: 2;
        }
        .contact-item i {
            background: var(--accent);
            color: var(--light);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        .contact-form-panel {
            flex: 1.2;
            background: white;
            padding: 40px;
            z-index: 2;
        }
        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }
        .form-header h3 {
            color: var(--primary-dark);
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        .form-header p {
            color: var(--gray);
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        .form-control {
            width: 100%;
            padding: 14px;
            border: 2px solid #e1e1e1;
            border-radius: 10px;
            font-size: 16px;
            transition: var(--transition);
            font-family: 'Raleway', sans-serif;
        }
        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
        }
        .budget-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }
        .budget-option {
            flex: 1 1 calc(50% - 10px);
            min-width: 120px;
        }
        .budget-option input {
            display: none;
        }
        .budget-option label {
            display: block;
            padding: 14px;
            background: var(--light);
            border: 2px solid #e1e1e1;
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            font-weight: normal;
        }
        .budget-option input:checked + label {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        .btn-submit {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }
        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        .btn-submit:active {
            transform: translateY(0);
        }
        .form-footer {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: var(--gray);
        }
        .required:after {
            content: " *";
            color: #e53935;
        }

        /* Footer */
        .footer {
            background: var(--dark);
            color: var(--light);
            padding: 3rem 0 1rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--secondary);
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        .footer-section p,
        .footer-section li {
            opacity: 0.8;
            line-height: 1.6;
        }
        .footer-section ul {
            list-style: none;
        }
        .footer-section a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .footer-section a:hover {
            color: var(--secondary);
        }
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #333;
            opacity: 0.7;
        }

        /* WhatsApp Button */
        .whatsapp-button {
            position: fixed;
            bottom: 100px;
            right: 30px;
            z-index: 1000;
            width: 60px;
            height: 60px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: var(--transition);
        }
        .whatsapp-button:hover {
            transform: scale(1.1);
        }
        .whatsapp-button i {
            font-size: 32px;
            color: white;
        }

        /* WhatsApp Modal */
        .whatsapp-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        .whatsapp-modal.open {
            opacity: 1;
            visibility: visible;
        }
        .modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            text-align: center;
        }
        .modal-content h3 {
            margin-bottom: 20px;
            color: var(--primary);
        }
        .country-options {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        .country-option {
            width: 150px;
            height: 150px;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid #eee;
            background: #f9f9f9;
        }
        .country-option:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: var(--primary);
        }
        .country-option img {
            width: 70px;
            height: 70px;
            object-fit: contain;
            margin-bottom: 15px;
        }
        .modal-close {
            background: #f1f1f1;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .modal-close:hover {
            background: #ddd;
        }

        /* Botón Scroll to Top */
        .scroll-top {
            position: fixed;
            bottom: 170px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: var(--transition);
            z-index: 2001;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }
        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-top:hover {
            background: var(--primary-dark);
            transform: translateY(-5px) scale(1.05);
        }

        /* Chatbot */
        .chatbot-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }
        .chatbot-btn {
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            cursor: pointer;
            transition: var(--transition);
        }
        .chatbot-btn:hover {
            transform: scale(1.1);
            background: var(--primary-dark);
        }
        .chat-window {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            height: 450px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            z-index: 1001;
            display: none;
        }
        .chat-header {
            background: var(--primary);
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .chat-header h3 {
            font-size: 1.2rem;
        }
        .chat-header button {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .chat-messages {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            background: #f9f9f9;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .message {
            padding: 10px 15px;
            border-radius: 10px;
            max-width: 80%;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .bot-message {
            background: #e3e3e3;
            align-self: flex-start;
        }
        .user-message {
            background: var(--primary);
            color: white;
            align-self: flex-end;
        }
        .chat-input {
            display: flex;
            padding: 10px;
            background: white;
            border-top: 1px solid #eee;
        }
        .chat-input input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
        }
        .chat-input button {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 10px 20px;
            margin-left: 10px;
            cursor: pointer;
        }
        .options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }
        .option-btn {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 15px;
            padding: 5px 10px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .option-btn:hover {
            background: var(--primary-dark);
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        @keyframes float { 
            0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; } 
            100% { transform: translateY(-100vh) translateX(100px) rotate(360deg); opacity: 0; } 
        }
        .fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        /* Menú hamburguesa para móviles */
        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1001;
        }
        
        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background-color: var(--dark);
            transition: var(--transition);
        }
        
        /* ESTILOS PARA EL MENÚ DE TARJETAS EN PUNTO DE VENTA */
        .pv-cards-container {
            margin: 40px 0;
            padding: 20px;
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
        
        .pv-cards-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .pv-cards-header h2 {
            font-size: 2.2rem;
            color: var(--dark);
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% auto;
            animation: shine 3s linear infinite;
            margin-bottom: 15px;
        }
        
        .pv-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .pv-card {
            height: 320px;
            perspective: 1000px;
            cursor: pointer;
        }
        
        .pv-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            box-shadow: var(--shadow);
            border-radius: 15px;
        }
        
        .pv-card:hover .pv-card-inner {
            transform: rotateY(180deg);
        }
        
        .pv-card-front, 
        .pv-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .pv-card-front {
            background: linear-gradient(135deg, #ffffff, #f7f7f7);
            border: 2px solid rgba(46, 125, 50, 0.15);
        }
        
        .pv-card-back {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            transform: rotateY(180deg);
            color: white;
        }
        
        .pv-card-img {
            width: 180px;
            height: 180px;
            object-fit: contain;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }
        
        .pv-card-title {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 10px;
            text-align: center;
            font-weight: 600;
        }
        
        .pv-card-desc {
            font-size: 0.95rem;
            color: var(--gray);
            text-align: center;
            line-height: 1.5;
        }
        
        /* Parte trasera de la tarjeta */
        .pv-card-back .pv-card-title {
            color: white;
            font-size: 1.3rem;
        }
        
        .pv-card-detailed {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .pv-card-link {
            padding: 10px 25px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            text-decoration: none;
            font-weight: 600;
            border-radius: 25px;
            border: 2px solid white;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .pv-card-link:hover {
            background: white;
            color: var(--primary);
            transform: translateY(-3px);
        }
        
        @keyframes shine { 
            to { background-position: 200% center; } 
        }
        
        /* Responsive para menú de tarjetas */
        @media (max-width: 768px) {
            .pv-cards-grid {
                grid-template-columns: 1fr;
            }
            
            .pv-card {
                height: 300px;
            }
            
            /* Ajustes para redes sociales en móviles */
            .social-icons {
                gap: 15px;
            }
            
            .social-icon {
                width: 60px;
                height: 60px;
            }
            
            .social-icon i {
                font-size: 1.8rem;
            }
        }
        
        /* Responsividad */
        @media (max-width: 992px) {
            .hamburger {
                display: block;
            }
            
            .hamburger span {
                background-color: var(--primary);
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: var(--transition);
                padding: 2rem;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .cta-buttons {
                justify-content: center;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .about-grid, .tech-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-container {
                flex-direction: column;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .timeline::before {
                left: 30px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .timeline-item:nth-child(odd) .timeline-icon,
            .timeline-item:nth-child(even) .timeline-icon {
                left: 0;
                right: auto;
            }
            
            .timeline-item:nth-child(odd) .timeline-content::before,
            .timeline-item:nth-child(even) .timeline-content::before {
                left: 0;
                right: auto;
                transform: rotate(180deg);
            }
            
            .chart {
                flex-direction: column;
            }
            
            .chart-node {
                margin: 20px 0;
            }
            
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            /* Ajustes para redes sociales */
            .social-footer {
                flex-direction: column;
                gap: 20px;
                padding: 30px 0;
            }
        }
        
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.2rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
            
            .service-card {
                height: 300px;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
            
            .form-header h3 {
                font-size: 1.5rem;
            }
            
            .chat-window {
                width: 90%;
                right: 5%;
            }
            
            .contact-item div {
                flex: 1;
                overflow: hidden;
            }
            
            .contact-item p {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
        
        @media (max-width: 576px) {
            .hero-content h1 {
                font-size: 2rem;
                line-height: 1.2;
            }
            
            .btn-primary, .btn-secondary {
                width: 100%;
                justify-content: center;
            }
            
            .cta-buttons {
                gap: 0.8rem;
            }
            
            .budget-option {
                flex: 1 1 100%;
            }
            
            .country-option {
                width: 120px;
                height: 120px;
            }
            
            .country-option img {
                width: 50px;
                height: 50px;
            }
            
            .hero-content h1 br {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 1.8rem;
            }
            
            .contact-item {
                flex-direction: column;
                text-align: center;
            }
            
            .contact-item i {
                margin-right: 0;
                margin-bottom: 10px;
            }
        }

        
        #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2e7d32 0%, #1e3d2f 50%, #f17024 50%, #fec847 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  }
  
  .logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 40px;
  }
  
  .logoC {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 2;
  }
  
  
  
  .circle-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top-color: white;
    border-bottom-color: white;
    animation: spin 1.5s linear infinite;
    z-index: 1;
  }
  
  .progress-container {
    width: 300px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 100%;
    width: 0%;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
  }
  
  .loading-text {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }