/* ============================================
   IMPORTACIÓN DE FUENTES PROFESIONALES
   ============================================ */
   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

   /* ============================================
      VARIABLES - TEMA MODERNO Y VIBRANTE
      ============================================ */
   :root {
     --primary-color: #6366f1;
     --primary-dark: #4f46e5;
     --primary-light: #818cf8;
     --secondary-color: #0ea5e9;
     --accent-color: #8b5cf6;
     --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
     --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
     --card-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
     --gray-50: #f8fafc;
     --gray-100: #f1f5f9;
     --gray-200: #e2e8f0;
     --gray-300: #cbd5e1;
     --gray-400: #94a3b8;
     --gray-500: #64748b;
     --gray-600: #475569;
     --gray-700: #334155;
     --gray-800: #1e293b;
     --gray-900: #0f172a;
     --text-primary: #ffffff;
     --text-secondary: #cbd5e1;
     --text-light: #94a3b8;
     --bg-primary: #0f172a;
     --bg-secondary: #1e293b;
     --bg-dark: #020617;
     --bg-card: rgba(30, 41, 59, 0.5);
     --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
     --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
     --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
     --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
     --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
     --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
     --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
     --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
     --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
     --radius-sm: 0.5rem;
     --radius-md: 0.75rem;
     --radius-lg: 1rem;
     --radius-xl: 1.5rem;
     --radius-2xl: 2rem;
     --spacing-xs: 0.5rem;
     --spacing-sm: 1rem;
     --spacing-md: 1.5rem;
     --spacing-lg: 2rem;
     --spacing-xl: 3rem;
     --spacing-2xl: 4rem;
   }
   
   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   html {
     scroll-behavior: smooth;
   }
   
   body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     line-height: 1.6;
     color: var(--text-primary);
     background-color: var(--bg-primary);
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     overflow-x: hidden;
   }
   
   h1, h2, h3, h4, h5, h6 {
     font-family: 'Space Grotesk', 'Inter', sans-serif;
     font-weight: 700;
     line-height: 1.2;
   }
   
   .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 var(--spacing-md);
     overflow: visible;
   }
   
   img {
     max-width: 100%;
     height: auto;
     display: block;
   }
   
   a {
     text-decoration: none;
     color: inherit;
   }
   
   .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;
   }
   
   /* ============================================
      HEADER Y NAVEGACIÓN MEJORADO
      ============================================ */
   #header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     background: rgba(15, 23, 42, 0.8);
     backdrop-filter: blur(20px);
     border-bottom: 1px solid rgba(99, 102, 241, 0.1);
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     z-index: 1000;
     transition: all var(--transition-base);
   }
   
   #header.scrolled {
     background: rgba(15, 23, 42, 0.95);
     box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
   }
   
   nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: var(--spacing-sm) 0;
   }
   
   .logo {
     font-size: 1.5rem;
     font-weight: 800;
     font-family: 'Space Grotesk', sans-serif;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     transition: all var(--transition-base);
   }
   
   .logo:hover {
     transform: scale(1.05);
   }
   
   .nav-links {
     display: flex;
     gap: var(--spacing-lg);
     list-style: none;
   }
   
   .nav-links a {
     color: var(--text-secondary);
     font-weight: 500;
     font-size: 0.95rem;
     position: relative;
     padding: 0.5rem 1rem;
     border-radius: var(--radius-md);
     transition: all var(--transition-base);
   }
   
   .nav-links a::before {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
     border-radius: var(--radius-md);
     opacity: 0;
     transition: opacity var(--transition-base);
   }
   
   .nav-links a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 0;
     height: 2px;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     transition: width var(--transition-base);
   }
   
   .nav-links a:hover {
     color: var(--text-white);
   }
   
   .nav-links a:hover::before {
     opacity: 1;
   }
   
   .nav-links a:hover::after {
     width: 60%;
   }
   
   .menu-toggle {
     display: none;
     flex-direction: column;
     gap: 5px;
     background: none;
     border: none;
     cursor: pointer;
     padding: 8px;
   }
   
   .menu-toggle span {
     width: 25px;
     height: 3px;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     border-radius: 3px;
     transition: all var(--transition-base);
   }
   
   /* ============================================
      HERO SECTION - ULTRA MODERNO
      ============================================ */
   .hero {
     position: relative;
     padding: 8rem 0 4rem;
     background: var(--hero-gradient);
     overflow: hidden;
     min-height: 100vh;
     display: flex;
     align-items: center;
   }
   
   /* Partículas flotantes mejoradas */
   .floating-shape {
     position: absolute;
     border-radius: 50%;
     filter: blur(60px);
     animation: float 20s infinite ease-in-out;
   }
   
   .shape1 {
     width: 400px;
     height: 400px;
     background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
     top: 10%;
     right: 10%;
     animation-delay: 0s;
   }
   
   .shape2 {
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
     bottom: 20%;
     left: 5%;
     animation-delay: 5s;
   }
   
   @keyframes float {
     0%, 100% { 
       transform: translate(0, 0) rotate(0deg) scale(1);
     }
     33% { 
       transform: translate(30px, -30px) rotate(120deg) scale(1.1);
     }
     66% { 
       transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
     }
   }
   
   .hero-wrapper {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: var(--spacing-2xl);
     align-items: center;
     position: relative;
     z-index: 1;
   }
   
   .hero-content {
     animation: fadeInUp 0.8s ease-out;
   }
   
   .hero-badge {
     display: inline-block;
     padding: 0.75rem 1.5rem;
     background: rgba(99, 102, 241, 0.15);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(99, 102, 241, 0.3);
     color: #a5b4fc;
     border-radius: var(--radius-xl);
     font-size: 0.95rem;
     font-weight: 600;
     margin-bottom: var(--spacing-lg);
     animation: pulse 2s ease-in-out infinite;
   }
   
   @keyframes pulse {
     0%, 100% {
       box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
     }
     50% {
       box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
     }
   }
   
   .hero-content h1 {
     font-size: 4.5rem;
     font-weight: 900;
     color: var(--text-primary);
     margin-bottom: 1rem;
     line-height: 1;
     font-family: 'Space Grotesk', sans-serif;
     letter-spacing: -0.02em;
   }
   
   .hero-content h2 {
     font-size: 2.5rem;
     font-weight: 700;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: var(--spacing-xl);
     font-family: 'Space Grotesk', sans-serif;
     animation: gradientShift 3s ease infinite;
     background-size: 200% auto;
   }
   
   @keyframes gradientShift {
     0%, 100% { background-position: 0% 50%; }
     50% { background-position: 100% 50%; }
   }
   
   .hero-content p {
     font-size: 1.25rem;
     color: var(--text-secondary);
     line-height: 1.8;
     margin-bottom: var(--spacing-2xl);
     max-width: 600px;
   }
   
   .cta-buttons {
     display: flex;
     gap: var(--spacing-sm);
     flex-wrap: wrap;
   }
   
   .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 1rem 2.5rem;
     border-radius: var(--radius-lg);
     font-weight: 700;
     font-size: 1.1rem;
     transition: all var(--transition-base);
     cursor: pointer;
     border: none;
     text-align: center;
     position: relative;
     overflow: hidden;
   }
   
   .btn::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.2);
     transform: translate(-50%, -50%);
     transition: width 0.6s, height 0.6s;
   }
   
   .btn:hover::before {
     width: 300px;
     height: 300px;
   }
   
   .btn-primary {
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     color: var(--text-white);
     box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
   }
   
   .btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
   }
   
   .btn-secondary {
     background: transparent;
     color: var(--text-white);
     border: 2px solid rgba(99, 102, 241, 0.5);
     backdrop-filter: blur(10px);
   }
   
   .btn-secondary:hover {
     background: rgba(99, 102, 241, 0.1);
     border-color: #6366f1;
   }
   
   /* ============================================
      FOTO CIRCULAR - SIN DEGRADADO
      ============================================ */
   .hero-image {
     animation: fadeInRight 0.8s ease-out;
     position: relative;
     margin-left: auto;
     padding-left: 80px;
   }
   
   .image-wrapper {
     position: relative;
     width: 500px;
     height: 500px;
     margin: 0 0 0 auto;
     background: var(--bg-primary);
     border-radius: 50%;
   }
   
   .image-wrapper img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     object-position: center;
     border-radius: 50%;
     border: 5px solid var(--bg-primary);
     position: relative;
     z-index: 1;
     transition: transform var(--transition-slow);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
   }
   
   .image-wrapper:hover img {
     transform: scale(1.05);
   }
   
   /* ============================================
      STATS SECTION MEJORADO
      ============================================ */
   .stats {
     padding: 3rem 0;
     background: var(--bg-primary);
     position: relative;
   }
   
   .stats::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
   }
   
   .stats-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: var(--spacing-lg);
   }
   
   .stat-item {
     text-align: center;
     padding: var(--spacing-md);
     position: relative;
   }
   
   .stat-item::after {
     content: '';
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     width: 1px;
     height: 60%;
     background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.3), transparent);
   }
   
   .stat-item:last-child::after {
     display: none;
   }
   
   .stat-item h3 {
     font-size: 3rem;
     font-weight: 900;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 0.5rem;
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .stat-item p {
     color: var(--text-secondary);
     font-weight: 500;
   }
   
   /* ============================================
      SECTION HEADERS MEJORADO
      ============================================ */
   .section-header {
     text-align: center;
     max-width: 700px;
     margin: 0 auto var(--spacing-2xl);
   }
   
   .section-label {
     display: inline-block;
     padding: 0.5rem 1.5rem;
     background: rgba(99, 102, 241, 0.1);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(99, 102, 241, 0.2);
     color: #a5b4fc;
     border-radius: var(--radius-xl);
     font-size: 0.875rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1.5px;
     margin-bottom: var(--spacing-sm);
   }
   
   .section-title {
     font-size: 3rem;
     font-weight: 900;
     background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: var(--spacing-sm);
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .section-description {
     font-size: 1.125rem;
     color: var(--text-secondary);
     line-height: 1.7;
   }
   
   /* ============================================
      SERVICES SECTION - GLASSMORPHISM
      ============================================ */
   .services {
     padding: 5rem 0;
     background: var(--bg-secondary);
     position: relative;
   }
   
   .services-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: var(--spacing-lg);
   }
   
   .service-card {
     background: var(--bg-card);
     backdrop-filter: blur(20px);
     padding: var(--spacing-xl);
     border-radius: var(--radius-xl);
     border: 1px solid rgba(99, 102, 241, 0.1);
     transition: all var(--transition-base);
     position: relative;
     overflow: hidden;
   }
   
   .service-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
     transform: scaleX(0);
     transition: transform var(--transition-base);
   }
   
   .service-card:hover::before {
     transform: scaleX(1);
   }
   
   .service-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
     border-color: rgba(99, 102, 241, 0.3);
   }
   
   .service-icon {
     font-size: 3rem;
     margin-bottom: var(--spacing-md);
     display: flex;
     align-items: center;
     justify-content: center;
     width: 80px;
     height: 80px;
     background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
     border-radius: var(--radius-lg);
     transition: all var(--transition-base);
   }
   
   .service-card:hover .service-icon {
     transform: scale(1.1) rotate(5deg);
     background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
   }
   
   .service-card h3 {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--text-primary);
     margin-bottom: var(--spacing-sm);
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .service-card p {
     color: var(--text-secondary);
     line-height: 1.7;
   }
   
   /* ============================================
      PROJECTS SECTION MEJORADO
      ============================================ */
   .projects {
     padding: 5rem 0;
     background: var(--bg-primary);
   }
   
   .projects-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: var(--spacing-xl);
   }
   
   .project-card {
     position: relative;
     border-radius: var(--radius-xl);
     overflow: hidden;
     background: var(--bg-card);
     backdrop-filter: blur(20px);
     border: 1px solid rgba(99, 102, 241, 0.1);
     transition: all var(--transition-slow);
   }
   
   .project-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3);
     border-color: rgba(99, 102, 241, 0.3);
   }
   
   .project-image {
     position: relative;
     overflow: hidden;
     aspect-ratio: 16 / 10;
   }
   
   .project-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-slow);
   }
   
   .project-card:hover .project-image img {
     transform: scale(1.1);
   }
   
   .project-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.8) 70%, transparent 100%);
     padding: var(--spacing-xl);
     transform: translateY(60%);
     transition: transform var(--transition-base);
   }
   
   .project-card:hover .project-overlay {
     transform: translateY(0);
   }
   
   .project-overlay h3 {
     color: var(--text-white);
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .project-overlay p {
     color: var(--gray-300);
     font-size: 0.95rem;
     margin-bottom: var(--spacing-md);
   }
   
   .btn-view {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.75rem 1.5rem;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     color: var(--text-white);
     border: none;
     border-radius: var(--radius-md);
     font-weight: 600;
     font-size: 0.95rem;
     cursor: pointer;
     transition: all var(--transition-base);
   }
   
   .btn-view:hover {
     transform: translateX(5px);
     box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
   }
   
   /* ============================================
      LIGHTBOX MEJORADO
      ============================================ */
   .lightbox {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(15, 23, 42, 0.98);
     backdrop-filter: blur(20px);
     z-index: 2000;
     padding: var(--spacing-lg);
   }
   
   .lightbox.active {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     animation: fadeIn 0.3s ease;
   }
   
   .lightbox-close {
     position: absolute;
     top: var(--spacing-lg);
     right: var(--spacing-lg);
     font-size: 3rem;
     color: var(--text-white);
     cursor: pointer;
     z-index: 2001;
     transition: all var(--transition-fast);
     line-height: 1;
     background: rgba(99, 102, 241, 0.1);
     border: none;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
   }
   
   .lightbox-close:hover {
     background: rgba(99, 102, 241, 0.2);
     transform: rotate(90deg);
   }
   
   .lightbox-content {
     display: flex;
     align-items: center;
     gap: var(--spacing-lg);
     max-width: 90%;
     max-height: 80%;
   }
   
   .lightbox-image-container {
     flex: 1;
     text-align: center;
   }
   
   .lightbox-image-container img {
     max-height: 70vh;
     max-width: 100%;
     border-radius: var(--radius-lg);
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
     object-fit: contain;
   }
   
   .lightbox-caption {
     margin-top: var(--spacing-md);
     color: var(--text-white);
   }
   
   .lightbox-caption h3 {
     font-size: 1.5rem;
     margin-bottom: 0.5rem;
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .lightbox-prev,
   .lightbox-next {
     background: rgba(99, 102, 241, 0.1);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(99, 102, 241, 0.2);
     color: var(--text-white);
     font-size: 2rem;
     padding: 1rem;
     cursor: pointer;
     border-radius: var(--radius-md);
     transition: all var(--transition-base);
   }
   
   .lightbox-prev:hover,
   .lightbox-next:hover {
     background: rgba(99, 102, 241, 0.3);
     transform: scale(1.1);
   }
   
   .lightbox-thumbnails {
     display: flex;
     gap: var(--spacing-sm);
     margin-top: var(--spacing-lg);
     overflow-x: auto;
     padding: var(--spacing-sm);
     max-width: 90%;
   }
   
   .lightbox-thumbnails img {
     width: 80px;
     height: 60px;
     object-fit: cover;
     border-radius: var(--radius-sm);
     cursor: pointer;
     opacity: 0.5;
     transition: all var(--transition-fast);
     border: 2px solid transparent;
   }
   
   .lightbox-thumbnails img:hover,
   .lightbox-thumbnails img.active {
     opacity: 1;
     border-color: #6366f1;
     transform: scale(1.1);
   }
   
   /* ============================================
      TESTIMONIALS MEJORADO
      ============================================ */
   .testimonials {
     padding: 5rem 0;
     background: var(--bg-secondary);
   }
   
   .testimonials-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: var(--spacing-xl);
   }
   
   .testimonial-card {
     background: var(--bg-card);
     backdrop-filter: blur(20px);
     padding: var(--spacing-xl);
     border-radius: var(--radius-xl);
     border: 1px solid rgba(99, 102, 241, 0.1);
     transition: all var(--transition-base);
     position: relative;
     overflow: hidden;
   }
   
   .testimonial-card::before {
     content: '';
     position: absolute;
     top: -50%;
     right: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
     opacity: 0;
     transition: opacity var(--transition-slow);
   }
   
   .testimonial-card:hover::before {
     opacity: 1;
   }
   
   .testimonial-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
     border-color: rgba(99, 102, 241, 0.3);
   }
   
   .stars {
     color: #fbbf24;
     font-size: 1.25rem;
     margin-bottom: var(--spacing-md);
     animation: sparkle 2s ease-in-out infinite;
   }
   
   @keyframes sparkle {
     0%, 100% { opacity: 1; }
     50% { opacity: 0.8; }
   }
   
   .testimonial-text {
     color: var(--text-secondary);
     line-height: 1.7;
     margin-bottom: var(--spacing-lg);
     font-size: 1.05rem;
     font-style: italic;
   }
   
   .testimonial-author {
     display: flex;
     align-items: center;
     gap: var(--spacing-sm);
   }
   
   .author-avatar {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     color: var(--text-white);
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     font-size: 1.125rem;
     flex-shrink: 0;
     box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
   }
   
   .testimonial-author h4 {
     color: var(--text-primary);
     font-weight: 700;
     font-size: 1rem;
     margin-bottom: 0.25rem;
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .testimonial-author p {
     color: var(--text-light);
     font-size: 0.875rem;
   }
   
   /* ============================================
      COMMENTS SECTION MEJORADO
      ============================================ */
   .comments {
     padding: 5rem 0;
     background: var(--bg-primary);
   }
   
   .comments-wrapper {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: var(--spacing-2xl);
     max-width: 1000px;
     margin: 0 auto;
   }
   
   .comment-form {
     background: var(--bg-card);
     backdrop-filter: blur(20px);
     padding: var(--spacing-xl);
     border-radius: var(--radius-xl);
     border: 1px solid rgba(99, 102, 241, 0.1);
     transition: all var(--transition-base);
   }
   
   .comment-form:hover {
     border-color: rgba(99, 102, 241, 0.3);
     box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
   }
   
   .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: var(--spacing-md);
   }
   
   .form-group {
     margin-bottom: var(--spacing-md);
   }
   
   .form-group input,
   .form-group textarea {
     width: 100%;
     padding: 1rem 1.25rem;
     border: 2px solid rgba(99, 102, 241, 0.1);
     border-radius: var(--radius-md);
     font-size: 1rem;
     font-family: inherit;
     transition: all var(--transition-base);
     background: rgba(15, 23, 42, 0.5);
     color: var(--text-primary);
   }
   
   .form-group input:focus,
   .form-group textarea:focus {
     outline: none;
     border-color: #6366f1;
     box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
     background: rgba(15, 23, 42, 0.8);
   }
   
   .form-group textarea {
     resize: vertical;
     min-height: 120px;
   }
   
   .comments-list {
     display: flex;
     flex-direction: column;
     gap: var(--spacing-md);
   }
   
   .comment-item {
     background: var(--bg-card);
     backdrop-filter: blur(20px);
     padding: var(--spacing-lg);
     border-radius: var(--radius-lg);
     border: 1px solid rgba(99, 102, 241, 0.1);
     transition: all var(--transition-base);
   }
   
   .comment-item:hover {
     border-color: rgba(99, 102, 241, 0.2);
     transform: translateX(5px);
   }
   
   .comment-header {
     display: flex;
     align-items: center;
     gap: var(--spacing-sm);
     margin-bottom: var(--spacing-sm);
   }
   
   .comment-avatar {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     background: linear-gradient(135deg, #475569 0%, #64748b 100%);
     color: var(--text-white);
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     flex-shrink: 0;
   }
   
   .comment-header h4 {
     color: var(--text-primary);
     font-weight: 600;
     font-size: 1rem;
     margin-bottom: 0.25rem;
     font-family: 'Space Grotesk', sans-serif;
   }
   
   .comment-date {
     color: var(--text-light);
     font-size: 0.875rem;
   }
   
   .comment-text {
     color: var(--text-secondary);
     line-height: 1.6;
   }
   
   /* ============================================
      CTA SECTION - ULTRA IMPACTANTE
      ============================================ */
   .cta-section {
     padding: 6rem 0;
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
     text-align: center;
     color: var(--text-white);
     position: relative;
     overflow: hidden;
   }
   
   .cta-section::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
     animation: rotate 20s linear infinite;
   }
   
   @keyframes rotate {
     100% { transform: rotate(360deg); }
   }
   
   .cta-section h2 {
     font-size: 3rem;
     font-weight: 900;
     margin-bottom: var(--spacing-md);
     font-family: 'Space Grotesk', sans-serif;
     position: relative;
     z-index: 1;
     text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
   }
   
   .cta-section p {
     font-size: 1.25rem;
     margin-bottom: var(--spacing-xl);
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
     opacity: 0.95;
     position: relative;
     z-index: 1;
   }
   
   .cta-section .btn {
     background: #0f172a;
     color: var(--text-white);
     font-size: 1.25rem;
     padding: 1.5rem 3.5rem;
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
     position: relative;
     z-index: 1;
     border: 3px solid rgba(255, 255, 255, 0.3);
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 1px;
   }
   
   .cta-section .btn::before {
     background: rgba(255, 255, 255, 0.15);
   }
   
   .cta-section .btn:hover {
     transform: translateY(-5px) scale(1.08);
     box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
     background: #1e293b;
     border-color: rgba(255, 255, 255, 0.5);
   }
   
   /* ============================================
      FOOTER MEJORADO
      ============================================ */
   footer {
     background: var(--bg-dark);
     color: var(--gray-400);
     padding: 2.5rem 0;
     text-align: center;
     border-top: 1px solid rgba(99, 102, 241, 0.1);
   }
   
   footer p {
     font-size: 0.95rem;
   }
   
   /* ============================================
      ANIMACIONES AVANZADAS
      ============================================ */
   @keyframes fadeIn {
     from { opacity: 0; }
     to { opacity: 1; }
   }
   
   @keyframes fadeInUp {
     from {
       opacity: 0;
       transform: translateY(40px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
   
   @keyframes fadeInRight {
     from {
       opacity: 0;
       transform: translateX(40px);
     }
     to {
       opacity: 1;
       transform: translateX(0);
     }
   }
   
   @keyframes slideInMenu {
     from {
       opacity: 0;
       transform: translateX(50px);
     }
     to {
       opacity: 1;
       transform: translateX(0);
     }
   }
   
   /* Animaciones de scroll reveal */
   .reveal {
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.8s ease-out;
   }
   
   .reveal.active {
     opacity: 1;
     transform: translateY(0);
   }
   
   /* ============================================
      RESPONSIVE DESIGN
      ============================================ */
   @media (max-width: 1024px) {
     .hero-content h1 {
       font-size: 3.5rem;
     }
     
     .hero-content h2 {
       font-size: 2rem;
     }
     
     .services-grid {
       grid-template-columns: repeat(2, 1fr);
     }
     
     .testimonials-grid {
       grid-template-columns: repeat(2, 1fr);
     }
   }
   
   @media (max-width: 768px) {
     .hero-wrapper {
       grid-template-columns: 1fr;
       gap: var(--spacing-xl);
       text-align: center;
     }
     
     .hero-content {
       order: 2;
     }
     
     .hero-image {
       order: 1;
       padding-left: 0;
       margin: 0 auto;
     }
     
     .image-wrapper {
       width: 300px;
       height: 300px;
       margin: 0 auto;
     }
     
     .hero-content h1 {
       font-size: 2.5rem;
     }
     
     .hero-content h2 {
       font-size: 1.75rem;
     }
     
     .hero-content p {
       margin-left: auto;
       margin-right: auto;
     }
     
     .cta-buttons {
       justify-content: center;
     }
     
     .stats-grid {
       grid-template-columns: repeat(2, 1fr);
     }
     
     .stat-item::after {
       display: none;
     }
     
     .section-title {
       font-size: 2rem;
     }
     
     .services-grid {
       grid-template-columns: 1fr;
     }
     
     .projects-grid {
       grid-template-columns: 1fr;
     }
     
     .testimonials-grid {
       grid-template-columns: 1fr;
     }
     
     .comments-wrapper {
       grid-template-columns: 1fr;
     }
     
     .menu-toggle {
       display: flex;
     }
     
     .cta-section h2 {
       font-size: 2rem;
     }
     
     /* LIGHTBOX TABLET OPTIMIZADO */
     .lightbox-content {
       flex-direction: column;
       max-width: 95%;
     }
     
     .lightbox-image-container img {
       max-height: 65vh;
       width: 100%;
     }
     
     .lightbox-prev,
     .lightbox-next {
       position: absolute;
       bottom: 150px;
       background: rgba(99, 102, 241, 0.9);
       z-index: 2002;
     }
     
     .lightbox-prev {
       left: 1rem;
     }
     
     .lightbox-next {
       right: 1rem;
     }
     
     /* MENÚ HAMBURGUESA MÓVIL - CORREGIDO */
     .nav-links {
       position: fixed !important;
       top: 70px !important;
       right: -100% !important;
       height: calc(100vh - 70px) !important;
       width: 100% !important;
       max-width: 320px !important;
       background: rgba(15, 23, 42, 0.98) !important;
       backdrop-filter: blur(20px) !important;
       flex-direction: column !important;
       justify-content: flex-start !important;
       align-items: center !important;
       gap: 0 !important;
       padding: 3rem 2rem !important;
       transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
       box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
       border-left: 1px solid rgba(99, 102, 241, 0.3) !important;
       z-index: 998 !important;
       display: flex !important;
       list-style: none !important;
     }
     
     .nav-links.active {
       right: 0 !important;
     }
     
     .nav-links li {
       width: 100%;
       text-align: center;
       margin-bottom: 0.5rem;
     }
     
     .nav-links.active li {
      animation: flip3D 1.3s ease-out forwards;
      transform-style: preserve-3d;
  }
  .nav-links.active li:nth-child(1) { animation-delay: 0.2s; }
  .nav-links.active li:nth-child(2) { animation-delay: 0.35s; }
  .nav-links.active li:nth-child(3) { animation-delay: 0.5s; }
  .nav-links.active li:nth-child(4) { animation-delay: 0.65s; }
  .nav-links.active li:nth-child(5) { animation-delay: 0.8s; }
  
  @keyframes flip3D {
      0% { opacity: 0; transform: perspective(800px) rotateY(90deg); }
      100% { opacity: 1; transform: perspective(800px) rotateY(0); }
  }
     
     .nav-links a {
       font-size: 1.25rem !important;
       padding: 1rem 2rem !important;
       width: 100% !important;
       display: block !important;
       border-radius: 12px !important;
     }
     
     .nav-links a:hover {
       background: rgba(99, 102, 241, 0.2) !important;
     }
     
     .menu-toggle {
       position: relative;
       z-index: 1001;
     }
     
     .menu-toggle.active span:nth-child(1) {
       transform: rotate(45deg) translate(8px, 8px);
     }
     
     .menu-toggle.active span:nth-child(2) {
       opacity: 0;
       transform: translateX(20px);
     }
     
     .menu-toggle.active span:nth-child(3) {
       transform: rotate(-45deg) translate(8px, -8px);
     }
   }
   
   @media (max-width: 480px) {
     .hero-content h1 {
       font-size: 2rem;
     }
     
     .hero-content h2 {
       font-size: 1.5rem;
     }
     
     .image-wrapper {
       width: 250px;
       height: 250px;
     }
     
     .btn {
       padding: 0.875rem 2rem;
       font-size: 1rem;
     }
     
     .stat-item h3 {
       font-size: 2rem;
     }
     
     /* LIGHTBOX MÓVIL OPTIMIZADO */
     .lightbox-content {
       flex-direction: column;
       max-width: 100%;
       max-height: 100%;
       padding: 0;
     }
     
     .lightbox-image-container {
       width: 100%;
       padding: 0 1rem;
     }
     
     .lightbox-image-container img {
       max-height: 60vh;
       width: 100%;
       max-width: 100%;
       object-fit: contain;
       border-radius: var(--radius-md);
     }
     
     .lightbox-prev,
     .lightbox-next {
       position: absolute;
       bottom: 140px;
       padding: 0.75rem;
       font-size: 1.5rem;
       background: rgba(99, 102, 241, 0.9);
       z-index: 2002;
     }
     
     .lightbox-prev {
       left: 1rem;
     }
     
     .lightbox-next {
       right: 1rem;
     }
     
     .lightbox-close {
       top: 1rem;
       right: 1rem;
       width: 50px;
       height: 50px;
       font-size: 2rem;
     }
     
     .lightbox-caption {
       margin-top: 1rem;
       padding: 0 1rem;
     }
     
     .lightbox-caption h3 {
       font-size: 1.25rem;
     }
     
     .lightbox-thumbnails {
       max-width: 100%;
       padding: 1rem;
       gap: 0.5rem;
       justify-content: center;
     }
     
     .lightbox-thumbnails img {
       width: 60px;
       height: 45px;
     }
   }
   
   /* ============================================
      UTILIDADES
      ============================================ */
   .text-gradient {
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   
   .blur-bg {
     backdrop-filter: blur(20px);
     background: rgba(15, 23, 42, 0.8);
   }
   
   /* Smooth scrollbar */
   ::-webkit-scrollbar {
     width: 12px;
   }
   
   ::-webkit-scrollbar-track {
     background: var(--bg-dark);
   }
   
   ::-webkit-scrollbar-thumb {
     background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     border-radius: 10px;
   }
   
   ::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
   }