/* ====================================
   DNEUMATICA - ENHANCED PREMIUM CSS
   Ultra-modern UI/UX with advanced animations
   ==================================== */

/* ====================================
   ACCESSIBILITY ENHANCEMENTS
   ==================================== */

/* ====================================
   ENHANCED TEXT RENDERING
   ==================================== */

/* Global text rendering improvements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ====================================
   ANTI-BLUR OPTIMIZATIONS FOR MOBILE
   ==================================== */

/* Prevent text blurring during animations and transforms */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
        will-change: auto;
    }
    
    /* Disable problematic animations on mobile */
    .animate-on-scroll,
    [data-typewriter],
    .hero-highlight,
    .title-highlight {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Force crisp text rendering */
    h1, h2, h3, h4, h5, h6, p, span, div {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* Better text contrast on dark backgrounds */
.info-card, .gallery-overlay, .about-title, .about-lead {
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.1);
}

/* Enhanced Focus Management */
*:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip Link Improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Color Contrast Improvements */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #00ff00;
        --color-secondary: #000000;
        --color-text: #000000;
        --color-bg: #ffffff;
    }
    
    .section-dark {
        --color-text: #ffffff;
        --color-bg: #000000;
    }
}

/* Motion Preference Respect */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .header {
        background: var(--color-secondary);
        border-bottom: 2px solid var(--color-primary);
    }
    
    .btn-primary {
        background: var(--color-primary);
        color: var(--color-secondary);
        border: 2px solid var(--color-secondary);
    }
    
    .service-card {
        border: 2px solid var(--color-text);
    }
}

/* Screen Reader Enhancements */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: inherit !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* ====================================
   ULTRA SMOOTH GLOBAL TRANSITIONS
   ==================================== */

/* Smooth page transitions */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Smooth section transitions */
.section {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Enhanced smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
    
    .section {
        scroll-margin-top: 80px;
    }
}

/* Smooth image loading */
img {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
    filter: contrast(1.05) brightness(1.02) saturate(1.1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

img:hover {
    transform: scale(1.02);
    filter: contrast(1.08) brightness(1.05) saturate(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* High DPI and mobile image optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Mobile Image Optimization */
@media (max-width: 768px) {
    img {
        transform: none; /* Disable hover effects on mobile */
        transition: opacity 0.3s ease;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    img:hover {
        transform: none;
    }
    
    /* Lazy loading optimization for mobile */
    img[loading="lazy"] {
        opacity: 1; /* Remove opacity animation that causes blur */
        transition: none;
    }
    
    img[loading="lazy"].loaded {
        opacity: 1;
    }
    
    /* Gallery images sharp rendering */
    .gallery-item img,
    .service-card img,
    .product-image img {
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        transform: translateZ(0); /* Hardware acceleration */
        will-change: auto;
    }
}

/* Mobile device specific optimizations */
.mobile-device img:hover {
    transform: none !important;
}

.mobile-device .gallery-item:hover,
.mobile-device .product-card:hover,
.mobile-device .brand-card:hover {
    transform: none !important;
}

/* Image error handling */
img::before {
    content: "";
    display: block;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Ultra smooth text selection */
::selection {
    background: rgba(0, 255, 0, 0.2);
    color: var(--color-secondary);
}

::-moz-selection {
    background: rgba(0, 255, 0, 0.2);
    color: var(--color-secondary);
}

/* ====================================
   ENHANCED CSS CUSTOM PROPERTIES
   ==================================== */
:root {
    /* Enhanced Primary Color Palette */
    --color-primary: #00ff00;
    --color-primary-dark: #00cc00;
    --color-primary-light: #33ff33;
    --color-primary-alpha: rgba(0, 255, 0, 0.1);
    --color-primary-glow: rgba(0, 255, 0, 0.3);
    
    /* Advanced Gradients - Ultra Smooth */
    --gradient-primary: linear-gradient(135deg, #00ff00 0%, #00e600 25%, #00cc00 50%, #00b300 75%, #009900 100%);
    --gradient-secondary: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #333333 50%, #4d4d4d 75%, #666666 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0.75) 50%, rgba(0,20,0,0.8) 75%, rgba(0,40,0,0.85) 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 20%, #2d2d2d 40%, #404040 60%, #535353 80%, #666666 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.03) 75%, rgba(255,255,255,0.02) 100%);
    
    /* Smooth Mesh Gradients */
    --gradient-mesh-primary: radial-gradient(circle at 20% 80%, rgba(0,255,0,0.15) 0%, transparent 50%), 
                             radial-gradient(circle at 80% 20%, rgba(0,255,0,0.1) 0%, transparent 50%), 
                             radial-gradient(circle at 40% 40%, rgba(0,255,0,0.05) 0%, transparent 50%),
                             linear-gradient(135deg, rgba(0,0,0,0.95), rgba(0,20,0,0.85));
    
    --gradient-smooth-overlay: linear-gradient(180deg, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.02) 10%, 
        rgba(0,0,0,0.05) 20%, 
        rgba(0,0,0,0.1) 30%, 
        rgba(0,0,0,0.15) 40%, 
        rgba(0,0,0,0.2) 50%, 
        rgba(0,0,0,0.25) 60%, 
        rgba(0,0,0,0.3) 70%, 
        rgba(0,0,0,0.35) 80%, 
        rgba(0,0,0,0.4) 90%, 
        rgba(0,0,0,0.45) 100%);
    
    --gradient-services-bg: linear-gradient(145deg, 
        rgba(0,255,0,0.03) 0%, 
        rgba(0,255,0,0.08) 15%, 
        rgba(0,255,0,0.05) 30%, 
        rgba(0,255,0,0.12) 45%, 
        rgba(0,255,0,0.07) 60%, 
        rgba(0,255,0,0.15) 75%, 
        rgba(0,255,0,0.1) 90%, 
        rgba(0,255,0,0.05) 100%);
    
    /* Neutral Colors */
    --color-secondary: #000000;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Semantic Colors */
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg: #ffffff;
    --color-surface: #f9fafb;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Enhanced Typography */
    --font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
    --font-family-display: 'Roboto', 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
    
    /* Enhanced Text Readability */
    --text-shadow-light: 0 1px 3px rgba(0, 0, 0, 0.5);
    --text-shadow-medium: 0 2px 6px rgba(0, 0, 0, 0.7);
    --text-shadow-strong: 0 2px 10px rgba(0, 0, 0, 0.9);
    --text-shadow-glow: 0 0 15px rgba(0, 255, 0, 0.4);
    
    /* Better Backdrop Filters */
    --backdrop-blur-light: blur(8px) saturate(120%);
    --backdrop-blur-medium: blur(15px) saturate(150%);
    --backdrop-blur-strong: blur(25px) saturate(180%);
    
    /* Enhanced Typography Scale */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --font-size-5xl: clamp(3rem, 2.25rem + 3.75vw, 4.5rem);
    
    /* Enhanced Spacing Scale */
    --space-xs: 0.125rem;   /* 2px */
    --space-sm: 0.25rem;    /* 4px */
    --space-md: 0.5rem;     /* 8px */
    --space-lg: 1rem;       /* 16px */
    --space-xl: 1.5rem;     /* 24px */
    --space-2xl: 2rem;      /* 32px */
    --space-3xl: 3rem;      /* 48px */
    --space-4xl: 4rem;      /* 64px */
    --space-5xl: 5rem;      /* 80px */
    --space-6xl: 6rem;      /* 96px */
    
    /* Enhanced Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Enhanced Shadows with Glow Effects */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 255, 0, 0.3);
    --shadow-glow-intense: 0 0 30px rgba(0, 255, 0, 0.5), 0 0 60px rgba(0, 255, 0, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    
    /* Enhanced Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
    --z-tooltip: 1070;
}

/* ====================================
   ENHANCED RESET & BASE STYLES
   ==================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Typography hierarchy improvements */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ====================================
   ADVANCED ANIMATIONS
   ==================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -20px) rotate(1deg); }
    50% { transform: translate(20px, -10px) rotate(-1deg); }
    75% { transform: translate(-10px, 20px) rotate(0.5deg); }
}

@keyframes glow {
    from { filter: brightness(1) saturate(1); }
    to { filter: brightness(1.2) saturate(1.3); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

/* ====================================
   ENHANCED LOGO STYLES
   ==================================== */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    border: none !important;
    outline: none !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border: none !important;
    outline: none !important;
}

.logo-image {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    object-fit: contain;
    flex-shrink: 0;
    border: none !important;
    outline: none !important;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-family-display);
    letter-spacing: -0.02em;
}

.logo-highlight {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.logo-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .logo-container {
        gap: var(--space-sm);
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
}

/* ====================================
   ENHANCED NAVIGATION
   ==================================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-base);
    position: relative;
    transition: var(--transition);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 0.1;
}

.nav-menu a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-bounce);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* ====================================
   ENHANCED MICRO-INTERACTIONS
   ==================================== */

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* Card Hover Animations */
.service-card-modern {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.service-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(0, 255, 0, 0.2);
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-primary);
}

/* Navigation Link Improvements */
.nav-menu a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }

/* Loading States */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ====================================
   ENHANCED CTA BUTTON
   ==================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: 
        linear-gradient(135deg, 
            #00ff00 0%,
            #00ee00 15%,
            #00dd00 30%,
            #00cc00 45%,
            #00bb00 60%,
            #00aa00 75%,
            #009900 100%
        );
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 15px rgba(0, 255, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(0, 255, 0, 0.3);
    transform: translateY(0);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.1) 25%, 
            rgba(255, 255, 255, 0.3) 50%, 
            rgba(255, 255, 255, 0.1) 75%, 
            transparent 100%
        );
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: 
        linear-gradient(135deg, 
            #11ff11 0%,
            #00ff00 15%,
            #00ee00 30%,
            #00dd00 45%,
            #00cc00 60%,
            #00bb00 75%,
            #00aa00 100%
        );
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 255, 0, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

/* Outline variant */
.cta-button--outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.cta-button--outline:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* ====================================
   ENHANCED BUTTON STYLES - PROFESSIONAL TYPOGRAPHY
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-decoration: none;
    text-align: center;
    text-transform: none;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 50%, #00aa00 100%);
    color: #000000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.4),
        0 4px 12px rgba(0, 255, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00ff33 0%, #00dd00 50%, #00bb00 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 12px 35px rgba(0, 255, 0, 0.5),
        0 8px 20px rgba(0, 255, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Outline Button */
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #3b82f6;
    font-weight: 600;
    border-color: #3b82f6;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:hover {
    color: #ffffff;
    border-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Button size variants */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

/* Disabled state */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover,
.btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero-specific styles */
.hero-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-social {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ====================================
   ENHANCED SECTIONS
   ==================================== */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><defs><pattern id="mechanical-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><g opacity="0.08"><circle cx="15" cy="15" r="3" fill="%23f8f9fa"/><polygon points="30,8 32,12 36,11 38,15 42,14 44,18 46,16 48,20 50,22 48,26 50,30 48,34 50,38 48,40 46,44 44,42 42,46 38,45 36,49 32,48 30,52 28,48 24,49 22,45 18,46 16,42 14,44 12,40 10,38 12,34 10,30 12,26 10,22 12,20 14,16 16,18 18,14 22,15 24,11 28,12 Z" fill="%23f8f9fa"/><rect x="8" y="45" width="8" height="3" fill="%23f8f9fa" rx="1"/><rect x="45" y="8" width="3" height="8" fill="%23f8f9fa" rx="1"/></g></pattern></defs><rect width="100%" height="100%" fill="url(%23mechanical-pattern)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.section-dark::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><defs><pattern id="mechanical-pattern-dark" width="60" height="60" patternUnits="userSpaceOnUse"><g opacity="0.06"><circle cx="15" cy="15" r="3" fill="%2300ff00"/><polygon points="30,8 32,12 36,11 38,15 42,14 44,18 46,16 48,20 50,22 48,26 50,30 48,34 50,38 48,40 46,44 44,42 42,46 38,45 36,49 32,48 30,52 28,48 24,49 22,45 18,46 16,42 14,44 12,40 10,38 12,34 10,30 12,26 10,22 12,20 14,16 16,18 18,14 22,15 24,11 28,12 Z" fill="%2300ff00"/><rect x="8" y="45" width="8" height="3" fill="%2300ff00" rx="1"/><rect x="45" y="8" width="3" height="8" fill="%2300ff00" rx="1"/><rect x="35" y="35" width="12" height="4" fill="%2300ff00" rx="1"/><circle cx="48" cy="48" r="2" fill="%2300ff00"/></g></pattern></defs><rect width="100%" height="100%" fill="url(%23mechanical-pattern-dark)"/></svg>');
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

/* ====================================
   CLEAN PROFESSIONAL SECTION HEADERS
   ==================================== */
.section-header-clean {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
    padding: var(--space-xl) 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header-clean::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 1px;
}

.section-badge-container {
    margin-bottom: var(--space-lg);
}

.section-badge-clean {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(0, 255, 0, 0.08);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 255, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.section-badge-clean:hover {
    background: rgba(0, 255, 0, 0.12);
    border-color: rgba(0, 255, 0, 0.3);
    transform: translateY(-1px);
}

.section-title-clean {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: var(--space-lg) 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.title-primary {
    color: var(--color-text);
    font-weight: 700;
}

.title-separator {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 300;
    margin: 0 var(--space-xs);
}

.title-secondary {
    color: var(--color-text-light);
    font-weight: 600;
}

.section-lead-clean {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Responsive design for clean headers */
@media (max-width: 768px) {
    .section-title-clean {
        font-size: 2rem;
        flex-direction: column;
        gap: 0;
        line-height: 1.1;
    }
    
    .title-separator {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .section-lead-clean {
        font-size: 1rem;
        padding: 0 var(--space-md);
    }
    
    .section-badge-clean {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-md);
    }
}

@media (max-width: 480px) {
    .section-title-clean {
        font-size: 1.8rem;
    }
    
    .title-separator {
        font-size: 1.3rem;
    }
}
.section-header-professional {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
    padding: var(--space-2xl) 0;
}

.badge-tech-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.tech-identifier {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 255, 0, 0.3);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.section-badge-modern {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

.title-professional-container {
    position: relative;
    margin-bottom: var(--space-xl);
}

.title-professional {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.title-prefix {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-main-tech {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 0, 0.3);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    animation: techGlow 3s ease-in-out infinite;
}

@keyframes techGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
        filter: brightness(1);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 255, 0, 0.5);
        filter: brightness(1.1);
    }
}

.title-suffix {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-tech-line {
    width: 120px;
    height: 3px;
    background: var(--gradient-primary);
    margin: var(--space-md) auto;
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.title-tech-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.section-lead-professional {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.lead-highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.experience-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 var(--space-xs);
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
}

/* Responsive design for professional headers */
@media (max-width: 768px) {
    .title-professional {
        font-size: 2rem;
    }
    
    .title-main-tech {
        font-size: 2.5rem;
    }
    
    .title-prefix,
    .title-suffix {
        font-size: 1rem;
    }
    
    .badge-tech-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .section-lead-professional {
        font-size: 1rem;
        padding: 0 var(--space-md);
    }
}
.grid {
    display: grid;
    gap: var(--space-2xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ====================================
   ENHANCED CARD COMPONENT
   ==================================== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-dark {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

/* ====================================
   ENHANCED TYPOGRAPHY
   ==================================== */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-align: center;
    position: relative;
    color: var(--color-text);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ====================================
   ENHANCED SERVICES
   ==================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00cc44 50%, #00ff66 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-icon::before {
    transform: translateX(100%) rotate(45deg);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--color-gray-600);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ====================================
   ENHANCED FEATURES
   ==================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.feature-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ====================================
   ENHANCED CONTACT FORM
   ==================================== */
.contact-form {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: var(--space-xl);
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-size: var(--font-size-base);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition);
    background: var(--color-white);
    position: relative;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

/* ====================================
   ENHANCED FOOTER
   ==================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    padding: var(--space-sm) 0;
    display: block;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.text-center { text-align: center; }

/* ====================================
   FORMULARIO DE CONTACTO PROFESIONAL - VERSIÓN FINAL
   ==================================== */

/* MEJORAS PARA FLOATING LABELS */
.floating-label {
    position: absolute;
    left: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    color: rgba(148, 163, 184, 0.8) !important;
    font-size: 16px;
    font-weight: 400;
    background: transparent;
    padding: 0 8px;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

/* Para textarea, el label debe estar más arriba */
.input-wrapper:has(.form-textarea) .floating-label {
    top: 20px;
    transform: translateY(0);
}

/* Floating cuando el input tiene contenido o está enfocado */
.input-wrapper .form-input:focus + .floating-label,
.input-wrapper .form-input:not(:placeholder-shown) + .floating-label,
.input-wrapper .form-select:focus + .floating-label,
.input-wrapper .form-textarea:focus + .floating-label,
.input-wrapper .form-textarea:not(:placeholder-shown) + .floating-label {
    top: -8px !important;
    left: 12px !important;
    font-size: 13px !important;
    color: rgba(203, 213, 225, 0.9) !important;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95)) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    transform: translateY(0) !important;
    backdrop-filter: blur(8px) !important;
    font-weight: 500 !important;
}

/* ESTILOS ESPECÍFICOS PARA TEXTAREA */
.form-textarea {
    resize: vertical !important;
    min-height: 120px !important;
    padding-top: 20px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.5 !important;
}

/* BOTÓN DE ENVÍO PROFESIONAL */
.form-submit-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(8px) !important;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.form-submit-btn:active {
    transform: translateY(0) !important;
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* ELIMINACIÓN TOTAL DEL VERDE - MÁXIMA AGRESIVIDAD */
.professional-contact-form input[type="text"],
.professional-contact-form input[type="email"],
.professional-contact-form input[type="tel"],
.professional-contact-form input[type="password"],
.professional-contact-form select,
.professional-contact-form textarea,
.professional-contact-form .form-input,
.professional-contact-form .form-select,
.professional-contact-form .form-textarea {
    /* ANULAR TODOS LOS ESTADOS VERDES */
    border-color: rgba(100, 116, 139, 0.3) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    color: #e2e8f0 !important;
    
    /* ANTI-VERDE EXTREMO */
    box-shadow: none !important;
    outline: none !important;
    
    /* NO VERDE EN NINGÚN ESTADO */
    --tw-ring-color: transparent !important;
    --tw-border-opacity: 1 !important;
    --tw-bg-opacity: 1 !important;
}

/* FOCUS SIN VERDE */
.professional-contact-form input[type="text"]:focus,
.professional-contact-form input[type="email"]:focus,
.professional-contact-form input[type="tel"]:focus,
.professional-contact-form input[type="password"]:focus,
.professional-contact-form select:focus,
.professional-contact-form textarea:focus,
.professional-contact-form .form-input:focus,
.professional-contact-form .form-select:focus,
.professional-contact-form .form-textarea:focus {
    border-color: rgba(148, 163, 184, 0.5) !important;
    background: rgba(71, 85, 105, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1) !important;
    outline: none !important;
    color: #f8fafc !important;
}

/* VÁLIDO SIN VERDE */
.professional-contact-form input[type="text"]:valid,
.professional-contact-form input[type="email"]:valid,
.professional-contact-form input[type="tel"]:valid,
.professional-contact-form input[type="password"]:valid,
.professional-contact-form select:valid,
.professional-contact-form textarea:valid,
.professional-contact-form .form-input:valid,
.professional-contact-form .form-select:valid,
.professional-contact-form .form-textarea:valid {
    border-color: rgba(100, 116, 139, 0.3) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
}

/* INVÁLIDO SIN ROJO */
.professional-contact-form input[type="text"]:invalid,
.professional-contact-form input[type="email"]:invalid,
.professional-contact-form input[type="tel"]:invalid,
.professional-contact-form input[type="password"]:invalid,
.professional-contact-form select:invalid,
.professional-contact-form textarea:invalid,
.professional-contact-form .form-input:invalid,
.professional-contact-form .form-select:invalid,
.professional-contact-form .form-textarea:invalid {
    border-color: rgba(100, 116, 139, 0.3) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
}

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .professional-contact-form {
        padding: 30px 20px !important;
        margin: 20px 10px !important;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px !important; /* Evita zoom en iOS */
    }
}

/* OVERRIDE BRUTAL PARA NAVEGADORES */
.professional-contact-form *:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: rgba(148, 163, 184, 0.5) !important;
}

/* WEBKIT SPECIFIC - SAFARI/CHROME */
.professional-contact-form input:focus:invalid,
.professional-contact-form textarea:focus:invalid,
.professional-contact-form select:focus:invalid {
    box-shadow: none !important;
    border-color: rgba(100, 116, 139, 0.3) !important;
}

.professional-contact-form input:focus:valid,
.professional-contact-form textarea:focus:valid,
.professional-contact-form select:focus:valid {
    box-shadow: none !important;
    border-color: rgba(148, 163, 184, 0.5) !important;
}

/* MOZILLA SPECIFIC - FIREFOX */
.professional-contact-form input:-moz-ui-valid,
.professional-contact-form textarea:-moz-ui-valid,
.professional-contact-form select:-moz-ui-valid {
    box-shadow: none !important;
    border-color: rgba(100, 116, 139, 0.3) !important;
}

.professional-contact-form input:-moz-ui-invalid,
.professional-contact-form textarea:-moz-ui-invalid,
.professional-contact-form select:-moz-ui-invalid {
    box-shadow: none !important;
    border-color: rgba(100, 116, 139, 0.3) !important;
}
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.fade-in {
    animation: slideInUp 0.8s ease-out;
}

.fade-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* ====================================
   INTERSECTION OBSERVER ANIMATIONS
   ==================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .nav-menu a {
        font-size: var(--font-size-xl);
        padding: var(--space-lg) var(--space-2xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    /* Full width sections on mobile */
    .about-content-redesigned,
    .services-grid-modern,
    .gallery-grid {
        margin: 0;
        padding: 0 var(--space-sm);
        width: 100%;
        max-width: 100%;
    }
}

/* ====================================
   PERFORMANCE OPTIMIZATIONS
   ==================================== */
/* GPU acceleration for animations */
.card,
.service-card,
.cta-button,
.nav-menu a {
    will-change: transform;
}

/* ====================================
   ENHANCED PRODUCTS SECTION
   ==================================== */
.products-section {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-gray-50) 100%);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.product-category {
    opacity: 0;
    transform: translateY(30px);
}

.product-category.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #00cc44);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 255, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-content {
    text-align: center;
    color: var(--color-white);
    padding: var(--space-lg);
}

.product-overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.product-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.product-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.product-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    flex: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: var(--space-xs) 0;
    color: var(--color-text);
    position: relative;
    padding-left: var(--space-lg);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Product Badges */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.badge {
    background: linear-gradient(135deg, var(--color-primary), #00cc44);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.badge.certified {
    background: linear-gradient(135deg, #0066cc, #0080ff);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* Process Section */
.process-section {
    margin-top: var(--space-5xl);
    padding: var(--space-4xl);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-section h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.process-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: var(--space-4xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #00cc44);
    border-radius: var(--radius-full);
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), #00cc44);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.process-step p {
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Process Timeline Connector */
@media (min-width: 768px) {
    .process-steps {
        position: relative;
    }
    
    .process-steps::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), #00cc44);
        transform: translateY(-50%);
        z-index: -1;
        opacity: 0.3;
    }
}

/* ====================================
   ENHANCED CATALOG SECTION - PROFESSIONAL
   ==================================== */
.catalog-section-enhanced {
    margin-top: var(--space-5xl);
    padding: var(--space-5xl) var(--space-4xl);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.catalog-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #64748b 50%, transparent 100%);
    opacity: 0.3;
}

.catalog-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-5xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.catalog-preview {
    position: relative;
    transform: perspective(1200px) rotateY(-12deg) rotateX(5deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

.catalog-preview:hover {
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-10px);
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.2));
}

.catalog-cover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 3;
    width: 280px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.catalog-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: conic-gradient(from 45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
    opacity: 0.7;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.catalog-cover::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

.catalog-icon {
    z-index: 3;
    position: relative;
    margin-bottom: var(--space-lg);
}

.catalog-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.catalog-title {
    z-index: 3;
    position: relative;
}

.catalog-title h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.catalog-title span {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    color: #e2e8f0;
}

.catalog-pages {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 1;
}

.catalog-pages .page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-pages .page:nth-child(1) {
    transform: translateZ(-3px) translateX(-3px) translateY(2px);
    z-index: 1;
}

.catalog-pages .page:nth-child(2) {
    transform: translateZ(-6px) translateX(-6px) translateY(4px);
    z-index: 0;
    opacity: 0.8;
}

.catalog-pages .page:nth-child(3) {
    transform: translateZ(-9px) translateX(-9px) translateY(6px);
    z-index: -1;
    opacity: 0.6;
}

.catalog-content {
    padding: var(--space-xl);
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-header h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.catalog-header p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    font-size: 1.1rem;
}

.catalog-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.5;
}

.catalog-actions {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.btn-download-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--color-white);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.25);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-download-primary:hover::before {
    transform: translateX(100%);
}

.btn-download-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.35);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 2;
}

.btn-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.btn-preview {
    background: var(--color-white);
    color: #475569;
    border: 2px solid #e2e8f0;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-preview:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

/* ====================================
   ENHANCED PROCESS SECTION
   ==================================== */
.process-section-enhanced {
    margin-top: var(--space-5xl);
    padding: var(--space-4xl);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, var(--color-white) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-header-enhanced {
    text-align: center;
    margin-bottom: var(--space-5xl);
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary) 0%, #00cc44 100%);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.process-header-enhanced h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.process-header-enhanced p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, #00cc44 100%);
    opacity: 0.3;
}

.process-step-enhanced {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
    position: relative;
}

.process-step-enhanced:last-child {
    margin-bottom: 0;
}

.step-indicator {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00cc44 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
    border: 4px solid var(--color-white);
}

.step-content {
    flex: 1;
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--color-white);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.step-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.step-content p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.step-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.detail-item {
    background: rgba(0, 255, 0, 0.1);
    color: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

/* ====================================
   BRANDS SECTION - PROFESSIONAL DESIGN
   ==================================== */
.brands-section {
    margin: var(--space-5xl) 0;
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
}

.brands-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brands-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.brands-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 400;
    line-height: 1.6;
}

.brands-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.brand-logo-container {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    cursor: pointer;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.brand-logo-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 255, 0, 0.2);
}

.brand-logo-img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0.3) brightness(0.9);
    /* Mejoras para mejor calidad de imagen */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
}

.brand-logo-container:hover .brand-logo-img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05) translateZ(0);
}

/* Solución para tooltips que se ocultan detrás de otros elementos */
.brands-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    /* Crear un nuevo stacking context para tooltips */
    isolation: isolate;
}

.brand-logo-container {
    position: relative;
    z-index: 1;
    /* Asegurar que todos los containers tengan el mismo nivel base */
    transform: translateZ(0);
}

.brand-logo-container:hover {
    /* Elevar significativamente el z-index al hacer hover */
    z-index: 999999 !important;
    /* Crear un nuevo stacking context */
    transform: translateZ(1px);
}

.brand-tooltip {
    position: fixed;
    bottom: auto;
    left: 50%;
    top: auto;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.95);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    /* Máximo z-index para estar siempre encima */
    z-index: 2147483647 !important;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Mejoras agresivas para alta calidad */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    font-feature-settings: 'liga' 1, 'kern' 1;
    /* Eliminando backdrop-filter que causa pixelación */
    /* backdrop-filter: blur(10px); */
    /* Mejoras específicas para texto nítido */
    -webkit-text-stroke: 0.01em transparent;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.025em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Forzar que esté siempre encima de todo */
    pointer-events: none;
    isolation: isolate;
}

.brand-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid rgba(0, 0, 0, 0.95);
    /* Mejoras para flecha más nítida */
    transform-origin: center;
    backface-visibility: hidden;
    z-index: 2147483647 !important;
}

/* Flecha cuando el tooltip aparece arriba */
.brand-tooltip.tooltip-above::before {
    top: auto;
    bottom: -4px;
    border-bottom: none;
    border-top: 4px solid rgba(0, 0, 0, 0.95);
}

.brand-logo-container:hover .brand-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.1s ease, visibility 0.1s ease, transform 0.1s ease;
    /* Asegurar que esté completamente encima */
    z-index: 2147483647 !important;
}

.brand-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.brand-desc {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Optimizaciones específicas para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
    .brand-tooltip {
        font-size: 0.95rem;
        -webkit-text-stroke: 0;
        text-shadow: none;
        font-weight: 600;
        letter-spacing: 0.02em;
        transform: translateX(-50%) translateZ(0) scale(1);
    }
    
    .brand-tooltip::before {
        transform: translateX(-50%) scale(1);
    }
}

.brands-footer {
    text-align: center;
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.brands-commitment {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Brand hover and responsive effects */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .brands-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }
    
    .brand-logo-container {
        width: 120px;
        height: 80px;
        padding: var(--space-md);
    }
    
    .brand-logo-img {
        max-height: 50px;
        /* Mobile image loading optimization */
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        transform: translateZ(0);
        backface-visibility: hidden;
        transition: none;
    }
    
    .brand-logo-img:not(.loaded) {
        opacity: 1; /* Remove opacity transitions that cause blur */
    }
    
    .brand-logo-img.loaded {
        opacity: 1;
    }
    
    .brands-title {
        font-size: 2rem;
    }
    
    .brands-subtitle {
        font-size: 1rem;
    }
    
    .brand-tooltip {
        font-size: 0.8rem;
        min-width: 160px;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .brands-commitment {
        font-size: 0.9rem;
        padding: 0 var(--space-md);
    }
    
    /* Services images mobile optimization */
    .service-card img,
    .gallery-item img {
        background: linear-gradient(45deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%);
        background-size: 20px 20px;
    }
}

@media (max-width: 480px) {
    .brands-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .brand-logo-container {
        width: 100%;
        max-width: 200px;
    }
}

.product-category {
    position: relative;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-content {
    text-align: center;
    color: var(--color-white);
    padding: var(--space-lg);
}

.product-overlay-content h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.product-overlay-content p {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.product-content {
    padding: var(--space-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xl);
}

.product-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-features li {
    position: relative;
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Brands Section */
.brands-section {
    margin-top: var(--space-4xl);
    padding-top: var(--space-4xl);
    border-top: 2px solid var(--color-gray-200);
}

.brands-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    font-size: var(--font-size-2xl);
    color: var(--color-text);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.brand-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.brand-card img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: var(--space-md);
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-card:hover img {
    filter: grayscale(0%);
}

.brand-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before {
        animation: none;
    }
}

/* ====================================
   REDISEÑO COMPLETO SECCIÓN NOSOTROS
   ==================================== */

/* Fondo decorativo con engranajes y válvulas */
.mechanical-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Animaciones mejoradas para engranajes */
@keyframes gearRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gearRotateReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes valvePulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
        filter: brightness(1);
    }
    25% { 
        opacity: 0.7; 
        transform: scale(1.05); 
        filter: brightness(1.2);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.1); 
        filter: brightness(1.4);
    }
    75% { 
        opacity: 0.7; 
        transform: scale(1.05); 
        filter: brightness(1.2);
    }
}

@keyframes gearGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.6)); }
}

.gear-rotate {
    animation: 
        gearRotate 25s linear infinite,
        gearGlow 4s ease-in-out infinite;
    transform-origin: center;
}

.gear-rotate-reverse {
    animation: 
        gearRotateReverse 20s linear infinite,
        gearGlow 5s ease-in-out infinite reverse;
    transform-origin: center;
}

.valve-pulse {
    animation: valvePulse 6s ease-in-out infinite;
    transform-origin: center;
}

/* Posicionamiento mejorado de elementos decorativos */
.gear-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gear-1 {
    top: 8%;
    right: 12%;
    width: 140px;
    height: 140px;
    opacity: 0.6;
}

.gear-2 {
    top: 65%;
    left: 5%;
    width: 110px;
    height: 110px;
    opacity: 0.5;
}

.gear-3 {
    bottom: 10%;
    right: 18%;
    width: 130px;
    height: 130px;
    opacity: 0.4;
}

.valve-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.valve-1 {
    top: 20%;
    left: 8%;
    width: 90px;
    height: 90px;
}

.valve-2 {
    top: 75%;
    right: 8%;
    width: 85px;
    height: 85px;
}

.valve-3 {
    bottom: 35%;
    left: 20%;
    width: 75px;
    height: 75px;
}

/* Decoraciones de embragues neumáticos */
.clutch-decoration {
    position: absolute;
    opacity: 0.6;
    transition: all 0.3s ease;
}

@keyframes clutchRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes clutchRotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clutch-rotate {
    animation: clutchRotate 30s linear infinite;
    transform-origin: center;
}

.clutch-rotate-slow {
    animation: clutchRotateSlow 45s linear infinite;
    transform-origin: center;
}

.clutch-1 {
    top: 20%;
    left: 75%;
    width: 120px;
    height: 120px;
    opacity: 0.5;
}

.clutch-2 {
    bottom: 25%;
    right: 8%;
    width: 90px;
    height: 90px;
    opacity: 0.4;
}

/* Sección nosotros rediseñada */
#nosotros {
    position: relative;
    background: 
        linear-gradient(135deg, 
            rgba(20, 20, 20, 0.95) 0%,
            rgba(30, 30, 30, 0.95) 25%,
            rgba(25, 25, 25, 0.95) 50%,
            rgba(35, 35, 35, 0.95) 75%,
            rgba(20, 20, 20, 0.95) 100%
        ),
        radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 0, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.about-hero {
    text-align: center;
    margin-bottom: var(--space-5xl);
    position: relative;
    z-index: 2;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.15) 0%,
        rgba(0, 200, 0, 0.15) 100%
    );
    color: var(--color-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(0, 255, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.1);
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.title-highlight {
    color: var(--color-primary);
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 
        0 0 20px rgba(0, 255, 0, 0.4),
        0 0 40px rgba(0, 255, 0, 0.2);
}

.title-main {
    color: var(--color-white);
    font-weight: 400;
    font-size: 2.2rem;
}

.about-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Nuevo layout: Galería + Información balanceado */
.about-content-redesigned {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    position: relative;
    z-index: 2;
    align-items: start;
}

/* Galería de fotos profesional optimizada */
.about-gallery {
    position: relative;
    margin-bottom: 0;
    height: fit-content;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: var(--space-sm);
    height: 500px;
    width: 100%;
    align-items: stretch;
    padding: var(--space-xs);
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.02) 0%,
        transparent 50%,
        rgba(0, 255, 0, 0.02) 100%
    );
    border-radius: var(--radius-lg);
}

.gallery-main {
    grid-row: 1 / 4;
    grid-column: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-small {
    height: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
}

.gallery-item:nth-child(3) {
    grid-row: 1;
    grid-column: 3;
}

.gallery-item:nth-child(4) {
    grid-row: 2;
    grid-column: 2;
}

.gallery-item:nth-child(5) {
    grid-row: 2;
    grid-column: 3;
}

.gallery-item:nth-child(6) {
    grid-row: 3;
    grid-column: 2;
}

.gallery-item:nth-child(7) {
    grid-row: 3;
    grid-column: 3;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(0, 255, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 rgba(0, 255, 0, 0);
    background: rgba(20, 20, 20, 0.9);
    min-height: 150px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.4) 20%,
        rgba(0, 0, 0, 0.85) 60%,
        rgba(0, 0, 0, 0.98) 100%
    );
    padding: var(--space-lg);
    color: var(--color-white);
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: var(--backdrop-blur-medium);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
    text-shadow: var(--text-shadow-strong);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.98);
    margin: 0;
    line-height: 1.4;
    text-shadow: var(--text-shadow-medium);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.2) saturate(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Información corporativa moderna - Layout optimizado */
.about-info-modern {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-lg);
    height: auto;
    min-height: 500px;
}

/* Primera tarjeta - ocupa toda la primera columna, primera fila */
.info-card.card-expertise {
    grid-column: 1;
    grid-row: 1;
}

/* Segunda tarjeta - primera columna, segunda fila */
.info-card.card-facility {
    grid-column: 1;
    grid-row: 2;
}

/* Tercera tarjeta - segunda columna, primera fila */
.info-card.card-quality {
    grid-column: 2;
    grid-row: 1;
}

/* CTA - segunda columna, segunda fila */
.about-cta-modern {
    grid-column: 2;
    grid-row: 2;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.12) 0%,
        rgba(0, 200, 0, 0.08) 50%,
        rgba(0, 255, 0, 0.1) 100%
    );
    border: 2px solid rgba(0, 255, 0, 0.4);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.info-card {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85) 0%,
        rgba(20, 20, 20, 0.9) 50%,
        rgba(0, 0, 0, 0.88) 100%
    );
    border: 2px solid rgba(0, 255, 0, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: var(--backdrop-blur-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(0, 255, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    justify-content: space-between;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 0, 0.15) 50%, 
        transparent 100%
    );
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.info-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 0, 0.4) 0%,
        transparent 25%,
        transparent 75%,
        rgba(0, 255, 0, 0.4) 100%
    );
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -2;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 255, 0, 0.7);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.92) 0%,
        rgba(20, 20, 20, 0.95) 50%,
        rgba(0, 0, 0, 0.93) 100%
    );
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 255, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.95) 0%,
        rgba(0, 220, 0, 0.95) 25%,
        rgba(0, 255, 0, 0.95) 50%,
        rgba(0, 200, 0, 0.95) 75%,
        rgba(0, 255, 0, 0.95) 100%
    );
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    flex-shrink: 0;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: var(--radius-lg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-card:hover .card-icon {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 
        0 12px 35px rgba(0, 255, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.info-card:hover .card-icon::before {
    transform: translate(-50%, -50%) scale(1);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
    transition: all 0.4s ease;
    position: relative;
    text-shadow: var(--text-shadow-medium);
    flex-shrink: 0;
}

.info-card:hover h3 {
    color: #2E7D2E;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transform: translateX(5px);
}
.info-card p {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    transition: all 0.4s ease;
    text-shadow: var(--text-shadow-medium);
    flex-grow: 1;
}

.info-card:hover p {
    color: rgba(255, 255, 255, 0.98);
    transform: translateX(3px);
    text-shadow: var(--text-shadow-light);
}

.info-card strong {
    color: var(--color-primary);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-metrics {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    flex-shrink: 0;
}

.metric {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    position: relative;
    text-shadow: 
        0 0 20px rgba(0, 255, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.info-card:hover .metric {
    transform: scale(1.1);
    text-shadow: 
        0 0 25px rgba(0, 255, 0, 0.7),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.metric small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* CTA moderno */
.about-cta-modern {
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.1) 0%,
        rgba(0, 200, 0, 0.1) 100%
    );
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: var(--space-xl);
}

.about-cta-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.15);
}

.cta-content {
    width: 100%;
}

.cta-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    text-shadow: var(--text-shadow-medium);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: var(--text-shadow-light);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    font-size: 0.85rem;
    padding: var(--space-sm) var(--space-md);
}

/* Responsive design para la nueva sección nosotros */
@media (max-width: 1200px) {
    .about-content-redesigned {
        grid-template-columns: 1fr;
        gap: var(--space-4xl);
    }
    
    .gallery-grid {
        height: 450px;
        grid-template-columns: 1.3fr 1fr 1fr;
        margin-bottom: var(--space-3xl);
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-xl);
        max-width: 700px;
        margin: 0 auto;
        min-height: auto;
    }
    
    .info-card.card-expertise,
    .info-card.card-facility,
    .info-card.card-quality,
    .about-cta-modern {
        grid-column: 1;
        grid-row: auto;
    }
    
    .about-cta-modern {
        padding: var(--space-xl);
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .info-card {
        padding: var(--space-xl);
    }
    
    .gear-1, .gear-2, .gear-3 {
        width: 70px;
        height: 70px;
    }
    
    .valve-1, .valve-2, .valve-3 {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .title-main {
        font-size: 1.6rem;
    }
    
    .about-lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 180px);
        height: auto;
        gap: var(--space-2xl);
        padding: var(--space-lg);
        max-width: 100%;
        margin: 0 auto;
    }
    
    .gallery-main {
        grid-row: 1;
        grid-column: 1;
        min-height: 200px;
        height: 200px;
        margin-bottom: var(--space-md);
    }
    
    .gallery-item:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }

    .gallery-item:nth-child(3) {
        grid-row: 3;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }

    .gallery-item:nth-child(4) {
        grid-row: 4;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }

    .gallery-item:nth-child(5) {
        grid-row: 5;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }

    .gallery-item:nth-child(6) {
        grid-row: 6;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }

    .gallery-item:nth-child(7) {
        grid-row: 7;
        grid-column: 1;
        margin-bottom: var(--space-md);
    }
    
    .gallery-small {
        height: 180px;
        min-height: 180px;
    }
    
    .gallery-item {
        min-height: 180px;
        width: 100%;
        margin: 0 auto var(--space-lg) auto;
        padding: var(--space-sm);
        box-sizing: border-box;
        border-radius: var(--radius-lg);
        overflow: hidden;
        max-width: 90%;
    }
    
    /* Mejoras para overlay de texto en móvil */
    .gallery-overlay {
        padding: var(--space-lg) !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 0.85) 100%) !important;
        opacity: 0.95 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .gallery-overlay h4 {
        font-size: 1.2rem !important;
        margin-bottom: var(--space-sm) !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.9),
            0 0 15px rgba(0, 255, 0, 0.4) !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }
    
    .gallery-overlay p {
        font-size: 0.95rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
    }
    
    /* Mejorar visualización al hacer click */
    .gallery-item:active .gallery-overlay,
    .gallery-item:focus .gallery-overlay {
        opacity: 1 !important;
        transform: scale(1.02) !important;
        transition: all 0.3s ease !important;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: var(--space-lg);
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-xs);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 180px);
        gap: var(--space-sm);
        padding: 0;
        margin: 0;
    }
    
    .gallery-main {
        grid-row: 1;
        grid-column: 1;
        height: 200px;
        min-height: 200px;
    }
    
    .gallery-item:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }

    .gallery-item:nth-child(3) {
        grid-row: 3;
        grid-column: 1;
    }

    .gallery-item:nth-child(4) {
        grid-row: 4;
        grid-column: 1;
    }

    .gallery-item:nth-child(5) {
        grid-row: 5;
        grid-column: 1;
    }

    .gallery-item:nth-child(6) {
        grid-row: 6;
        grid-column: 1;
    }

    .gallery-item:nth-child(7) {
        grid-row: 7;
        grid-column: 1;
    }
    
    .gallery-small {
        height: 180px;
        min-height: 180px;
    }
    
    .gallery-item {
        min-height: 180px;
        width: 100%;
        margin: 0;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .service-card-modern {
        margin: 0;
        width: 100%;
    }
    
    .services-grid-modern {
        padding: 0;
        margin: 0;
    }
    
    .info-card.card-expertise,
    .info-card.card-facility,
    .info-card.card-quality,
    .about-cta-modern {
        grid-column: 1;
        grid-row: auto;
    }
    
    .info-card {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.92) 0%,
            rgba(20, 20, 20, 0.95) 50%,
            rgba(0, 0, 0, 0.93) 100%
        );
        border: 2px solid rgba(0, 255, 0, 0.5);
        padding: var(--space-md);
        min-height: 120px;
    }
    
    .about-cta-modern {
        padding: var(--space-md);
        margin-top: 0;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
        margin-bottom: var(--space-xs);
    }
    
    .cta-content p {
        font-size: 0.85rem;
        margin-bottom: var(--space-sm);
    }
    
    .cta-buttons {
        gap: var(--space-xs);
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
        width: 100%;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: var(--space-sm);
    }
    
    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: var(--space-xs);
        text-shadow: var(--text-shadow-strong);
    }
    
    .info-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: var(--space-sm);
        color: rgba(255, 255, 255, 0.98);
        text-shadow: var(--text-shadow-medium);
    }
    
    .metric {
        font-size: 1.2rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
        text-shadow: var(--text-shadow-strong);
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
        text-shadow: var(--text-shadow-medium);
    }
    
    .gallery-item {
        height: 220px;
        margin-bottom: var(--space-md);
    }
    
    .gallery-main {
        height: 280px;
    }
    
    /* Mobile gallery image optimization */
    .gallery-item img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        image-rendering: auto;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Remove loading blur effects on mobile */
    .gallery-item:not(.loaded) img {
        opacity: 1; /* Remove blur that makes images look bad */
    }
    
    .gallery-item.loaded img {
        opacity: 1;
        transition: none; /* Remove transitions that can cause blur */
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-xs);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 180px);
        gap: var(--space-sm);
        padding: 0;
        margin: 0;
    }
    
    .gallery-main {
        grid-row: 1;
        grid-column: 1;
        height: 200px;
        min-height: 200px;
    }
    
    .gallery-item:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }

    .gallery-item:nth-child(3) {
        grid-row: 3;
        grid-column: 1;
    }

    .gallery-item:nth-child(4) {
        grid-row: 4;
        grid-column: 1;
    }

    .gallery-item:nth-child(5) {
        grid-row: 5;
        grid-column: 1;
    }

    .gallery-item:nth-child(6) {
        grid-row: 6;
        grid-column: 1;
    }

    .gallery-item:nth-child(7) {
        grid-row: 7;
        grid-column: 1;
    }
    
    .gallery-small {
        height: 180px;
        min-height: 180px;
    }
    
    .gallery-item {
        min-height: 180px;
        width: 100%;
        margin: 0;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .service-card-modern {
        margin: 0;
        width: 100%;
    }
    
    .services-grid-modern {
        padding: 0;
        margin: 0;
    }
    
    .info-card {
        padding: var(--space-lg);
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    /* Ocultar elementos decorativos en móvil para mejor rendimiento */
    .mechanical-bg .gear-decoration,
    .mechanical-bg .valve-decoration {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .about-content-redesigned {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    /* Mejoras específicas para overlay en móvil pequeño */
    .gallery-overlay {
        padding: var(--space-md) !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.9) 100%) !important;
        opacity: 0.92 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem !important;
        margin-bottom: var(--space-xs) !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 1),
            0 0 12px rgba(0, 255, 0, 0.5) !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 1) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        font-weight: 500 !important;
    }
    
    /* Mejorar interacción táctil */
    .gallery-item:active,
    .gallery-item:focus {
        transform: scale(0.98) !important;
        transition: transform 0.2s ease !important;
    }
    
    .gallery-item:active .gallery-overlay,
    .gallery-item:focus .gallery-overlay {
        opacity: 1 !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.95) 100%) !important;
    }
}

@media (max-width: 480px) {
    /* Mejoras de legibilidad para textos principales */
    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 255, 0, 0.3) !important;
        margin-bottom: var(--space-lg) !important;
        font-weight: 900 !important;
    }
    
    .hero-highlight {
        font-size: clamp(2rem, 7vw, 2.8rem) !important;
        display: block !important;
        margin-bottom: var(--space-sm) !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 255, 0, 0.6) !important;
        font-weight: 900 !important;
        z-index: 10 !important;
        position: relative !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        margin-bottom: var(--space-xl) !important;
        opacity: 0.95 !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    /* Mejoras para sección About */
    .about-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 255, 0, 0.3) !important;
        margin-bottom: var(--space-md) !important;
    }
    
    .title-highlight {
        font-size: 2.2rem !important;
        display: block !important;
        margin-bottom: var(--space-xs) !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 255, 0, 0.6) !important;
        font-weight: 900 !important;
        z-index: 10 !important;
        position: relative !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .title-main {
        font-size: 1.4rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    
    .about-lead {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: var(--space-lg) !important;
        padding: 0 var(--space-sm) !important;
    }
    
    .about-badge {
        font-size: 1rem !important;
        padding: var(--space-sm) var(--space-md) !important;
        background: linear-gradient(135deg, 
            rgba(0, 255, 0, 0.2) 0%, 
            rgba(0, 255, 0, 0.1) 100%) !important;
        border: 2px solid rgba(0, 255, 0, 0.4) !important;
        text-shadow: 0 0 15px rgba(0, 255, 0, 0.5) !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Mejoras de contraste y sombras para mejor legibilidad */
    .hero-content {
        padding: var(--space-lg) var(--space-md) !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%) !important;
        border-radius: var(--radius-lg) !important;
        margin: var(--space-md) !important;
    }
    
    .about-hero-content {
        padding: var(--space-lg) var(--space-md) !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.3) 100%) !important;
        border-radius: var(--radius-lg) !important;
        margin: var(--space-md) !important;
    }
    
    /* Botones más legibles */
    .cta-button {
        font-size: 1rem !important;
        padding: var(--space-md) var(--space-lg) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-overlay {
        padding: var(--space-md);
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
    
    .info-card {
        padding: var(--space-md);
    }
}

/* Responsive About Section */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .title-highlight {
        font-size: 2.2rem;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    /* Mejoras de legibilidad para tablets */
    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3rem) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(0, 255, 0, 0.3) !important;
        line-height: 1.2 !important;
    }
    
    .hero-highlight {
        font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(0, 255, 0, 0.5) !important;
        font-weight: 900 !important;
        z-index: 10 !important;
        position: relative !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .hero p {
        font-size: 1.2rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .about-title {
        font-size: 2.2rem !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(0, 255, 0, 0.3) !important;
    }
    
    .title-highlight {
        font-size: 2.5rem !important;
        color: var(--color-accent) !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(0, 255, 0, 0.5) !important;
        font-weight: 900 !important;
        z-index: 10 !important;
        position: relative !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .title-main {
        font-size: 1.6rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .about-lead {
        font-size: 1.1rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-section {
        padding: var(--space-lg);
    }
    
    .about-icon {
        width: 56px;
        height: 56px;
    }
}

/* ====================================
   ENHANCED CONTACT SECTION
   ==================================== */
.contact-item a {
    color: rgba(150, 220, 150, 0.9);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-top: 2px;
}

.contact-item a:hover {
    color: rgba(180, 240, 180, 1);
    background: rgba(0, 150, 0, 0.06);
    transform: translateY(-1px);
}

/* ====================================
   PROFESSIONAL HREF LINKS
   ==================================== */
/* Logo link styling */
a.logo {
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    padding: var(--space-xs);
    margin: calc(var(--space-xs) * -1);
}

a.logo:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

a.logo:focus {
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General professional link styling for href="#" */
a[href="#"]:not(.logo):not(.cta-button):not(.nav-link) {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

a[href="#"]:not(.logo):not(.cta-button):not(.nav-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

a[href="#"]:not(.logo):not(.cta-button):not(.nav-link):hover {
    color: var(--color-primary);
    background: rgba(0, 255, 0, 0.05);
    transform: translateY(-1px);
}

a[href="#"]:not(.logo):not(.cta-button):not(.nav-link):hover::after {
    width: 100%;
}

a[href="#"]:not(.logo):not(.cta-button):not(.nav-link):focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Specific styling for KT Software link */
a[href="#"][target="_blank"] {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

a[href="#"][target="_blank"]:hover {
    color: var(--color-primary);
    background: rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

a[href="#"][target="_blank"]::after {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

/* Developer link specific styling */
.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px !important;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.4s ease;
}

.developer-brand {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(0, 255, 0, 0.5);
}

.developer-type {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.developer-link:hover {
    background: rgba(0, 255, 0, 0.1) !important;
    border-color: var(--color-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 255, 0, 0.3);
}

.developer-link:hover .developer-brand {
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.developer-link:hover .developer-type {
    color: var(--color-primary);
}

.contact-item h3 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ====================================
   ENHANCED CONTACT SECTION
   ==================================== */
   
.contact-grid-enhanced {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.contact-info-enhanced {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(0, 255, 0, 0.05) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.contact-item-modern:hover::before {
    opacity: 1;
}

.contact-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.15) 0%, 
        rgba(0, 255, 0, 0.08) 100%);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    border: 2px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-item-modern:hover .contact-icon-modern {
    transform: scale(1.1);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.whatsapp-icon {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.15) 0%, 
        rgba(37, 211, 102, 0.08) 100%);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}

.phone-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.location-link, .whatsapp-btn, .email-btn, .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.1) 0%, 
        rgba(0, 255, 0, 0.05) 100%);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 255, 0, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.1) 0%, 
        rgba(37, 211, 102, 0.05) 100%);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}

.phone-btn {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.location-link:hover, .whatsapp-btn:hover, .email-btn:hover, .phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.whatsapp-btn:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.phone-btn:hover {
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Horarios de atención mejorados */
.business-hours-enhanced {
    margin-bottom: var(--space-lg);
}

.business-hours-enhanced .contact-details {
    width: 100%;
}

.schedule-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.hours-schedule {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:hover {
    background: rgba(0, 255, 0, 0.05);
    border-radius: var(--radius-sm);
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
}

.hours-row .day {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.hours-row .time {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.hours-row.closed .time {
    color: rgba(255, 100, 100, 0.8);
    text-shadow: 0 0 10px rgba(255, 100, 100, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    padding: var(--space-xs);
    background: rgba(0, 255, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Responsive para horarios */
@media (max-width: 768px) {
    .hours-row {
        font-size: 0.85rem;
    }
    
    .hours-row .day,
    .hours-row .time {
        font-size: 0.85rem;
    }
    
    .status-indicator {
        padding: var(--space-xs);
    }
    
    .status-text {
        font-size: 0.7rem;
    }
}

.business-hours {
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.08) 0%, 
        rgba(0, 255, 0, 0.03) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(0, 255, 0, 0.15);
}

.business-hours h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-grid div {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-grid div:last-child {
    border-bottom: none;
}

/* Quick Contact Form */
.quick-contact-form {
    background: linear-gradient(145deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.98) 100%);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quick-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(100, 116, 139, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(71, 85, 105, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.quick-contact-form h3 {
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quick-contact-form p {
    color: rgba(203, 213, 225, 0.8);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    line-height: 1.6;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ANULACIÓN TOTAL DE VERDES EN FORMULARIOS - MÁXIMA PRIORIDAD */
.quick-contact-form *,
.quick-contact-form *:before,
.quick-contact-form *:after,
.quick-contact-form input,
.quick-contact-form input:focus,
.quick-contact-form input:valid,
.quick-contact-form input:invalid,
.quick-contact-form select,
.quick-contact-form select:focus,
.quick-contact-form select:valid,
.quick-contact-form select:invalid,
.quick-contact-form textarea,
.quick-contact-form textarea:focus,
.quick-contact-form textarea:valid,
.quick-contact-form textarea:invalid,
.form-group input,
.form-group input:focus,
.form-group input:valid,
.form-group input:invalid,
.form-group select,
.form-group select:focus,
.form-group select:valid,
.form-group select:invalid,
.form-group textarea,
.form-group textarea:focus,
.form-group textarea:valid,
.form-group textarea:invalid {
    /* ANULAR COMPLETAMENTE CUALQUIER COLOR VERDE */
    background: linear-gradient(145deg, 
        rgba(51, 65, 85, 0.8) 0%, 
        rgba(30, 41, 59, 0.9) 100%) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    /* ANULAR VARIABLES CSS */
    --color-primary: #64748b !important;
    --color-primary-alpha: rgba(100, 116, 139, 0.1) !important;
    --color-primary-glow: rgba(100, 116, 139, 0.3) !important;
}

/* ESTADOS DE FOCUS ESPECÍFICOS - SIN VERDE */
.quick-contact-form input:focus,
.quick-contact-form select:focus,
.quick-contact-form textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: rgba(203, 213, 225, 0.4) !important;
    background: linear-gradient(145deg, 
        rgba(71, 85, 105, 0.9) 0%, 
        rgba(51, 65, 85, 0.95) 100%) !important;
    box-shadow: 
        0 0 0 3px rgba(148, 163, 184, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    color: #f8fafc !important;
}

/* CAMPOS DEL FORMULARIO - DISEÑO PREMIUM */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.form-group label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(145deg, 
        rgba(51, 65, 85, 0.8) 0%, 
        rgba(30, 41, 59, 0.9) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-radius: 1rem;
    color: #f8fafc !important;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    /* Anular estilos del navegador */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Anular validación del navegador */
    outline: none !important;
}

/* FOCUS Y ESTADOS SIN VALIDACIÓN */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: rgba(203, 213, 225, 0.4) !important;
    background: linear-gradient(145deg, 
        rgba(71, 85, 105, 0.9) 0%, 
        rgba(51, 65, 85, 0.95) 100%) !important;
    box-shadow: 
        0 0 0 3px rgba(148, 163, 184, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    color: #f8fafc !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-style: italic;
    font-weight: 400;
}

/* BOTÓN SUBMIT PREMIUM */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(145deg, 
        rgba(100, 116, 139, 0.9) 0%, 
        rgba(71, 85, 105, 0.95) 100%);
    color: #f1f5f9;
    border: 1px solid rgba(203, 213, 225, 0.3);
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, 
        rgba(120, 136, 159, 0.95) 0%, 
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(203, 213, 225, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-form {
        padding: 2rem;
    }
    
    .contact-grid-enhanced {
        gap: 2rem;
    }
}
.hero-social {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    margin-top: var(--space-xl);
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-social a:hover::before {
    transform: translateX(100%);
}

.hero-social a:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.4);
    background: rgba(0, 255, 0, 0.15);
}

.hero-social a svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.hero-social a:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.8));
}

/* Individual social media brand colors on hover */
.hero-social a[href*="facebook"]:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.hero-social a[href*="instagram"]:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(255, 220, 128, 0.2));
    border-color: #e1306c;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.hero-social a[href*="wa.me"]:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.hero-social a[href*="mailto"]:hover {
    background: rgba(234, 67, 53, 0.2);
    border-color: #ea4335;
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.4);
}

@media (max-width: 768px) {
    .hero-social {
        gap: var(--space-md);
    }
    
    .hero-social a {
        width: 50px;
        height: 50px;
    }
    
    .hero-social a svg {
        width: 24px;
        height: 24px;
    }
}

/* ====================================
   ENHANCED FOOTER SOCIAL LINKS
   ==================================== */
.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-links a:hover::before {
    transform: translateX(100%);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.3);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.social-links a:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(0, 255, 0, 0.6));
}

/* Individual social media brand colors for footer */
.social-links a[href*="facebook"]:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-links a[href*="facebook"]:hover svg {
    filter: drop-shadow(0 0 6px #1877f2);
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(255, 220, 128, 0.2));
    border-color: #e1306c;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.social-links a[href*="instagram"]:hover svg {
    filter: drop-shadow(0 0 6px #e1306c);
}

.social-links a[href*="wa.me"]:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.social-links a[href*="wa.me"]:hover svg {
    filter: drop-shadow(0 0 6px #25d366);
}

.social-links a[href*="mailto"]:hover {
    background: rgba(234, 67, 53, 0.2);
    border-color: #ea4335;
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.3);
}

.social-links a[href*="mailto"]:hover svg {
    filter: drop-shadow(0 0 6px #ea4335);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a svg {
        width: 18px;
        height: 18px;
    }
}

/* ====================================
   RESPONSIVE DESIGN - ENHANCED PRODUCTS
   ==================================== */
@media (max-width: 768px) {
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: var(--space-lg);
    }
    
    .product-content h3 {
        font-size: 1.3rem;
    }
    
    .product-badges {
        gap: var(--space-xs);
    }
    
    .badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    /* Process Section Mobile */
    .process-section {
        padding: var(--space-xl);
        margin-top: var(--space-xl);
    }
    
    .process-section h3 {
        font-size: 2rem;
    }
    
    .process-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-xl);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .process-step {
        padding: var(--space-lg);
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    /* Hide timeline connector on mobile */
    .process-steps::after {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .process-section {
        padding: var(--space-lg);
    }
    
    .process-section h3 {
        font-size: 1.8rem;
    }
    
    .process-step {
        padding: var(--space-md);
    }
}

/* ====================================
   RESPONSIVE - ENHANCED SECTIONS
   ==================================== */
@media (max-width: 768px) {
    /* Enhanced Catalog Mobile */
    .catalog-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .catalog-preview {
        transform: none;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .catalog-preview:hover {
        transform: translateY(-5px);
    }
    
    .catalog-features {
        grid-template-columns: 1fr;
    }
    
    .catalog-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download-primary,
    .btn-preview {
        width: 100%;
        justify-content: center;
    }
    
    /* Enhanced Process Mobile */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step-enhanced {
        gap: var(--space-lg);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: var(--space-lg);
    }
    
    .step-content::before {
        left: -8px;
        border-right-width: 8px;
    }
    
    .step-details {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .detail-item {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Enhanced Catalog Extra Small */
    .catalog-section-enhanced {
        padding: var(--space-lg);
    }
    
    .catalog-header h3 {
        font-size: 1.8rem;
    }
    
    .catalog-preview {
        max-width: 250px;
    }
    
    /* Enhanced Process Extra Small */
    .process-section-enhanced {
        padding: var(--space-lg);
    }
    
    .process-header-enhanced h3 {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step-enhanced {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .step-indicator {
        align-self: center;
    }
    
    .step-content::before {
        display: none;
    }
    
    .step-content {
        padding: var(--space-md);
    }
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 255, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ====================================
   PROFESSIONAL FLOATING WHATSAPP BUTTON SYSTEM
   Enterprise-grade, accessible & high-performance
   ==================================== */

/* Container principal del botón flotante */
.whatsapp-float-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2147483647;
    isolation: isolate;
    pointer-events: none;
}

/* Botón principal - Diseño moderno y profesional */
.whatsapp-float {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    box-shadow: 
        0 8px 32px rgba(37, 211, 102, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    pointer-events: auto !important;
    will-change: transform, box-shadow;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    /* Forzar visibilidad total */
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2147483647 !important;
}

/* Efecto de ondas (ripple) en el fondo */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Estados de interacción mejorados */
.whatsapp-float:hover {
    transform: translateZ(0) scale(1.08) translateY(-2px) !important;
    box-shadow: 
        0 12px 40px rgba(37, 211, 102, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #2de371 0%, #1aa65b 100%) !important;
}

.whatsapp-float:active {
    transform: translateZ(0) scale(1.02) translateY(0px) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 24px rgba(37, 211, 102, 0.4),
        0 2px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Focus para accesibilidad */
.whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.4);
    outline-offset: 4px;
}

/* Icono WhatsApp optimizado */
.whatsapp-float svg,
.whatsapp-float .whatsapp-icon {
    width: 32px !important;
    height: 32px !important;
    fill: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.whatsapp-float:hover svg,
.whatsapp-float:hover .whatsapp-icon {
    transform: translateZ(0) scale(1.1) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Tooltip profesional mejorado */
.whatsapp-tooltip,
.whatsapp-float .tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 24, 39, 0.95);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 2147483648;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Flecha del tooltip */
.whatsapp-tooltip::after,
.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(17, 24, 39, 0.95);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* Mostrar tooltip en hover */
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:hover .tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(-8px);
}

/* Badge de notificación (opcional) */
.whatsapp-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

/* Animaciones profesionales optimizadas */
@keyframes whatsappPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Entrada suave al cargar la página */
@keyframes whatsappEntry {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Aplicar animación de entrada */
.whatsapp-float {
    animation: whatsappEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Tooltip classic - Simple and clean */
.whatsapp-float .tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d3748;
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #2d3748;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* ====================================
   RESPONSIVE DESIGN - PROFESSIONAL MOBILE OPTIMIZATION
   ==================================== */

/* Tablet optimizations */
@media (max-width: 1024px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon {
        width: 30px !important;
        height: 30px !important;
    }
    
    .whatsapp-tooltip,
    .whatsapp-float .tooltip {
        font-size: 13px;
        padding: 10px 14px;
        right: 68px;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 16px;
        right: 16px;
        z-index: 2147483647 !important;
    }
    
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        position: fixed !important;
        z-index: 2147483647 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
        border-radius: 50% !important;
        box-shadow: 
            0 6px 24px rgba(37, 211, 102, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.15) !important;
        pointer-events: auto !important;
        /* Evitar que iOS Safari oculte el botón */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon {
        width: 28px !important;
        height: 28px !important;
    }
    
    .whatsapp-float:hover {
        transform: translateZ(0) scale(1.05) !important;
        background: linear-gradient(135deg, #2de371 0%, #1aa65b 100%) !important;
    }
    
    /* Ocultar tooltips en móvil para mejor UX */
    .whatsapp-tooltip,
    .whatsapp-float .tooltip {
        display: none !important;
    }
    
    /* Mejorar área de toque */
    .whatsapp-float::after {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 50%;
        background: transparent;
        pointer-events: auto;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .whatsapp-float-container {
        bottom: 12px;
        right: 12px;
    }
    
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
    }
    
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon {
        width: 26px !important;
        height: 26px !important;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .whatsapp-float-container {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
    }
    
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon {
        width: 24px !important;
        height: 24px !important;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .whatsapp-float {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-tooltip,
    .whatsapp-float .tooltip {
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .whatsapp-tooltip::after,
    .whatsapp-float .tooltip::after {
        border-left-color: rgba(0, 0, 0, 0.95);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-float::before {
        animation: none;
        opacity: 0.3;
    }
    
    .whatsapp-notification-badge {
        animation: none;
    }
    
    .whatsapp-float,
    .whatsapp-float svg,
    .whatsapp-float .whatsapp-icon,
    .whatsapp-tooltip,
    .whatsapp-float .tooltip {
        transition: none;
    }
}

/* Print media - Hide button */
@media print {
    .whatsapp-float-container,
    .whatsapp-float {
        display: none !important;
    }
}

/* Estilos adicionales para asegurar visibilidad en móvil */
@media (max-width: 767px) {
    .whatsapp-float {
        animation: subtlePulse 3s ease-in-out infinite !important;
    }
    
    @keyframes subtlePulse {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
        }
        50% { 
            transform: scale(1.03);
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 1px 4px rgba(0, 0, 0, 0.25);
        }
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-float::before {
        animation: none;
    }
    
    .whatsapp-float .notification-badge {
        animation: none;
    }
}

/* ====================================
   ENHANCED MODERN SERVICES SECTION
   ==================================== */

/* Services Enhanced Section - Ultra Smooth with Better Contrast */
.services-enhanced {
    background: 
        /* Ultra smooth primary gradient - mucho más sutil para mejor contraste */
        linear-gradient(135deg, 
            rgba(0, 40, 0, 0.15) 0%, 
            rgba(0, 50, 0, 0.12) 8%, 
            rgba(0, 60, 0, 0.10) 16%, 
            rgba(0, 70, 0, 0.08) 24%, 
            rgba(0, 65, 0, 0.12) 32%, 
            rgba(0, 75, 0, 0.07) 40%, 
            rgba(0, 55, 0, 0.14) 48%, 
            rgba(0, 80, 0, 0.06) 56%, 
            rgba(0, 60, 0, 0.11) 64%, 
            rgba(0, 85, 0, 0.05) 72%, 
            rgba(0, 45, 0, 0.16) 80%, 
            rgba(0, 90, 0, 0.04) 88%, 
            rgba(0, 35, 0, 0.18) 100%
        ),
        /* Smooth secondary overlay - muy reducido para mejor contraste */
        radial-gradient(ellipse at top, 
            rgba(0, 255, 0, 0.015) 0%, 
            rgba(0, 255, 0, 0.008) 20%, 
            rgba(0, 255, 0, 0.012) 40%, 
            rgba(0, 255, 0, 0.004) 60%, 
            rgba(0, 255, 0, 0.010) 80%, 
            transparent 100%
        ),
        /* Ultra smooth mesh overlay - mínimo para no interferir */
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.008) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.006) 0%, transparent 45%),
        radial-gradient(circle at 45% 15%, rgba(0, 255, 0, 0.012) 0%, transparent 35%),
        radial-gradient(circle at 65% 85%, rgba(0, 255, 0, 0.008) 0%, transparent 35%),
        /* Background image */
        url('../fotos/fondo1.jpg');
    background-size: cover, cover, cover, cover, cover, cover, cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Gradiente aún más sutil para mejor contraste */
        linear-gradient(145deg, 
            rgba(0, 255, 0, 0.008) 0%, 
            rgba(0, 255, 0, 0.012) 15%, 
            rgba(0, 255, 0, 0.006) 30%, 
            rgba(0, 255, 0, 0.015) 45%, 
            rgba(0, 255, 0, 0.004) 60%, 
            rgba(0, 255, 0, 0.018) 75%, 
            rgba(0, 255, 0, 0.010) 90%, 
            rgba(0, 255, 0, 0.005) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: smoothFadeIn 2s ease-out 0.5s forwards;
}

.services-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Breathing light effect - mínimo para no interferir con las cards */
        radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.008) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 255, 0, 0.006) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    animation: breathingLight 8s ease-in-out infinite;
}

@keyframes smoothFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes breathingLight {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.05); 
    }
}

/* Modern Section Header */
.section-header-modern {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.header-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.95), rgba(0, 200, 0, 0.95));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(0, 255, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.header-badge-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: badgeShimmer 3s infinite;
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-badge-modern svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-enhanced {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.title-accent {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D2E;
    text-shadow: 
        0 0 20px rgba(46, 125, 46, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2E7D2E, transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(46, 125, 46, 0.6);
}


.subtitle-enhanced {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 1px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Highlights */
.service-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.service-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.05), transparent);
    animation: highlightSweep 4s infinite;
}

@keyframes highlightSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.highlight-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    line-height: 1;
}

.highlight-text {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.highlight-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-gray-300), transparent);
}

/* Modern Services Grid */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

@media (min-width: 1200px) {
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Service Card Background Images - Professional Implementation */
.service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.92) 25%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(255, 255, 255, 0.92) 75%,
            rgba(255, 255, 255, 0.95) 100%
        );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 0, 0.15);
    backdrop-filter: blur(20px) saturate(150%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    z-index: 2;
    transform: translateY(0) scale(1);
}

/* DEBUG: Force image loading with absolute paths */
.service-card-modern:nth-child(1) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/reparacionvalvula.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

.service-card-modern:nth-child(2) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/reparacionembreague.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

.service-card-modern:nth-child(3) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/reparacionfreno.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

.service-card-modern:nth-child(4) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/diagnositco.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

.service-card-modern:nth-child(5) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/taller.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

.service-card-modern:nth-child(6) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 75%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('./cards/diagnosticocomputarizado.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

/* Service Cards Text Color for Image Backgrounds - Enhanced */
.service-card-modern:nth-child(1) .service-content-modern h3,
.service-card-modern:nth-child(2) .service-content-modern h3,
.service-card-modern:nth-child(3) .service-content-modern h3,
.service-card-modern:nth-child(4) .service-content-modern h3,
.service-card-modern:nth-child(5) .service-content-modern h3,
.service-card-modern:nth-child(6) .service-content-modern h3 {
    color: #ffffff !important;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.7),
        1px 1px 3px rgba(0, 0, 0, 1);
    font-weight: 700;
}

.service-card-modern:nth-child(1) .service-content-modern p,
.service-card-modern:nth-child(2) .service-content-modern p,
.service-card-modern:nth-child(3) .service-content-modern p,
.service-card-modern:nth-child(4) .service-content-modern p,
.service-card-modern:nth-child(5) .service-content-modern p,
.service-card-modern:nth-child(6) .service-content-modern p {
    color: #ffffff !important;
    text-shadow: 
        1px 1px 6px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.7);
}

.service-card-modern:nth-child(1) .feature-tag,
.service-card-modern:nth-child(2) .feature-tag,
.service-card-modern:nth-child(3) .feature-tag,
.service-card-modern:nth-child(4) .feature-tag,
.service-card-modern:nth-child(5) .feature-tag,
.service-card-modern:nth-child(6) .feature-tag {
    background: rgba(0, 255, 0, 0.9) !important;
    color: #000000 !important;
    font-weight: 700;
    text-shadow: none;
    border: 1px solid rgba(0, 200, 0, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Modern Service Card - Ultra Smooth with better base contrast */
.service-card-modern {
    position: relative;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base state overlay for better contrast with subtle background */
.service-card-modern .service-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.85) 0%,
            rgba(248, 255, 248, 0.82) 25%,
            rgba(255, 255, 255, 0.87) 50%,
            rgba(248, 255, 248, 0.82) 75%,
            rgba(255, 255, 255, 0.85) 100%
        );
    z-index: 1;
    border-radius: 28px;
    transition: all 0.4s ease;
    opacity: 1;
}

/* Professional Hover Effects for Background Images */
.service-card-modern:hover .service-card-inner {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.10),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 255, 0, 0.25),
        0 0 40px rgba(0, 255, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 255, 0, 0.3);
}

/* Enhanced Background Image Overlay on Hover - Better contrast with subtle background */
.service-card-modern:hover .service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%,
            rgba(248, 255, 248, 0.96) 25%,
            rgba(255, 255, 255, 0.99) 50%,
            rgba(248, 255, 248, 0.96) 75%,
            rgba(255, 255, 255, 0.98) 100%
        );
    z-index: 2;
    border-radius: 28px;
    transition: all 0.4s ease;
}

/* Hide base overlay on hover */
.service-card-modern:hover .service-card-inner::after {
    opacity: 0;
}

/* Content Layer Above Background */
.service-icon-container,
.service-content-modern {
    position: relative;
    z-index: 3;
}

/* Professional Content Styling */
.service-content-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.service-card-modern:hover .service-content-modern h3 {
    color: var(--color-primary);
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-content-modern p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.service-card-modern:hover .service-content-modern p {
    color: var(--color-text-light);
    transform: translateY(-1px);
}

/* Enhanced Feature Tags with Background Context */
.feature-tag {
    background: rgba(0, 255, 0, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card-modern:hover .feature-tag {
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

/* Responsive Background Images */
@media (max-width: 768px) {
    .service-card-inner {
        padding: 2rem;
        /* Eliminamos animaciones para mejor performance mobile */
        transition: box-shadow 0.3s ease, border-color 0.3s ease;
        transform: none !important;
    }
    
    /* Hover optimizado para mobile - solo iluminación, sin movimiento */
    .service-card-modern:hover .service-card-inner {
        transform: none !important;
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.12),
            0 0 0 1px rgba(0, 255, 0, 0.25),
            0 0 30px rgba(0, 255, 0, 0.15);
        border-color: rgba(0, 255, 0, 0.3);
    }
    
    .service-card-modern:nth-child(1) .service-card-inner,
    .service-card-modern:nth-child(2) .service-card-inner,
    .service-card-modern:nth-child(3) .service-card-inner,
    .service-card-modern:nth-child(4) .service-card-inner,
    .service-card-modern:nth-child(5) .service-card-inner,
    .service-card-modern:nth-child(6) .service-card-inner {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .service-content-modern h3 {
        font-size: 1.3rem;
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
    }
    
    .service-content-modern p {
        font-size: 0.95rem;
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
    }
}

/* Mobile optimizations for better performance */
@media (max-width: 480px) {
    .service-card-inner {
        padding: 1.5rem;
        /* Eliminamos todas las transiciones complejas para mejor performance mobile */
        transition: none !important;
        transform: none !important;
        will-change: auto;
    }
    
    /* Hover simplificado para mobile - solo cambio de borde */
    .service-card-modern:hover .service-card-inner,
    .service-card-modern:active .service-card-inner {
        transform: none !important;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.10),
            0 0 0 2px rgba(0, 255, 0, 0.3);
        border-color: rgba(0, 255, 0, 0.4);
    }
    
    /* Desactivamos animaciones de background complejas en mobile */
    .service-card-modern:hover .service-card-inner::before {
        display: none;
    }
}

/* Ultra mobile optimizations */
@media (max-width: 360px) {
    .service-card-inner {
        padding: 1.2rem;
        /* Performance máximo para dispositivos pequeños */
        transition: border-color 0.2s ease;
        backdrop-filter: none;
    }
    
    .service-card-modern:hover .service-card-inner {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 255, 0, 0.5);
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card-modern:nth-child(1) .service-card-inner,
    .service-card-modern:nth-child(2) .service-card-inner,
    .service-card-modern:nth-child(3) .service-card-inner,
    .service-card-modern:nth-child(4) .service-card-inner,
    .service-card-modern:nth-child(5) .service-card-inner,
    .service-card-modern:nth-child(6) .service-card-inner {
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Professional Loading State for Images */
.service-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
    z-index: 0;
    border-radius: 28px;
    opacity: 0;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Image Loading Complete */
.service-card-inner.loaded::after {
    display: none;
}

/* Service Icon Container - Ultra Smooth */
.service-icon-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.icon-bg-effect {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: 
        radial-gradient(circle, 
            rgba(0, 255, 0, 0.08) 0%,
            rgba(0, 255, 0, 0.06) 25%,
            rgba(0, 255, 0, 0.04) 50%,
            rgba(0, 255, 0, 0.02) 75%,
            transparent 100%
        );
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .icon-bg-effect {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
    background: 
        radial-gradient(circle, 
            rgba(0, 255, 0, 0.15) 0%,
            rgba(0, 255, 0, 0.12) 20%,
            rgba(0, 255, 0, 0.08) 40%,
            rgba(0, 255, 0, 0.05) 60%,
            rgba(0, 255, 0, 0.02) 80%,
            transparent 100%
        );
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(135deg, 
            rgba(0, 255, 0, 0.1) 0%,
            rgba(0, 255, 0, 0.08) 25%,
            rgba(0, 255, 0, 0.06) 50%,
            rgba(0, 255, 0, 0.08) 75%,
            rgba(0, 255, 0, 0.1) 100%
        );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(0, 255, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.service-icon-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .service-icon-modern::before {
    left: 100%;
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1) rotate(10deg);
    background: 
        linear-gradient(135deg, 
            rgba(0, 255, 0, 0.3) 0%,
            rgba(0, 255, 0, 0.2) 25%,
            rgba(0, 255, 0, 0.4) 50%,
            rgba(0, 255, 0, 0.2) 75%,
            rgba(0, 255, 0, 0.3) 100%
        );
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.4),
        0 0 60px rgba(0, 255, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Enhanced icon visibility on image backgrounds */
.service-card-modern .service-icon-modern {
    background: 
        linear-gradient(135deg, 
            rgba(0, 255, 0, 0.15) 0%,
            rgba(0, 255, 0, 0.1) 25%,
            rgba(0, 255, 0, 0.2) 50%,
            rgba(0, 255, 0, 0.1) 75%,
            rgba(0, 255, 0, 0.15) 100%
        );
    border: 2px solid rgba(0, 255, 0, 0.3);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card-modern .service-icon-modern svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .service-icon-modern svg {
    color: #ffffff;
    transform: scale(1.1) rotate(-10deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.8));
}

/* Professional content styling for image backgrounds */
.service-content-modern {
    flex: 1;
    text-align: center;
    z-index: 3;
    position: relative;
    padding: 1rem 0;
}

.service-content-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .service-content-modern h3 {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 255, 0, 0.3);
}

.service-content-modern p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .service-content-modern p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Professional service buttons with enhanced visibility */
.service-button-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.9) 0%,
        rgba(0, 200, 0, 0.9) 25%,
        rgba(0, 255, 0, 0.9) 50%,
        rgba(0, 200, 0, 0.9) 75%,
        rgba(0, 255, 0, 0.9) 100%
    );
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid rgba(0, 255, 0, 0.8);
    box-shadow: 
        0 4px 15px rgba(0, 255, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px) saturate(150%);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.service-button-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.service-button-modern:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 1) 0%,
        rgba(0, 220, 0, 1) 25%,
        rgba(0, 255, 0, 1) 50%,
        rgba(0, 220, 0, 1) 75%,
        rgba(0, 255, 0, 1) 100%
    );
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 255, 0, 1);
    color: #000000;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.service-button-modern:hover::before {
    left: 100%;
}

.service-button-modern:active {
    transform: translateY(0) scale(1.02);
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive design for service cards with background images */
@media (max-width: 1200px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card-modern {
        min-height: 320px;
    }
    
    .service-content-modern h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-card-modern {
        min-height: 280px;
        margin: 0 0.5rem;
    }
    
    .service-icon-modern {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-content-modern h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-content-modern p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-button-modern {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-card-modern {
        min-height: 250px;
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .service-icon-modern {
        width: 50px;
        height: 50px;
    }
    
    .service-content-modern h3 {
        font-size: 1.1rem;
    }
    
    .service-content-modern p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .service-button-modern {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* High-resolution display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card-modern {
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Enhanced loading states for background images */
.service-card-modern[data-bg-loading] {
    background-image: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.95) 0%,
        rgba(60, 60, 60, 0.95) 50%,
        rgba(40, 40, 40, 0.95) 100%
    );
}

.service-card-modern[data-bg-loaded] {
    animation: backgroundFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes backgroundFadeIn {
    from {
        background-blend-mode: multiply;
        filter: blur(2px) brightness(0.7);
    }
    to {
        background-blend-mode: normal;
        filter: blur(0) brightness(1);
    }
}

.service-icon-modern svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-modern:hover .service-icon-modern svg {
    color: #ffffff;
    transform: scale(1.1) rotate(-10deg);
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
}
.service-card-modern:nth-child(1) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/reparacion de valvulas electronicas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Service Card 2: Service Embragues */
.service-card-modern:nth-child(2) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/Reparaciones Mecanicas Generales.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Service Card 3: Pulmones de Frenos */
.service-card-modern:nth-child(3) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/Reparacion de Frenos Neumaticos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Service Card 4: Diagnósticos Avanzados */
.service-card-modern:nth-child(4) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/Diagnosticos Electronicos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Service Card 5: Reparación de Compresores */
.service-card-modern:nth-child(5) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/reparacion de valvulas y compresores.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Service Card 6: Calidad Garantizada */
.service-card-modern:nth-child(6) .service-card-inner {
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 20, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        url('../fotos/suspension neumaticas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

/* Enhanced overlay for better text readability */
.service-card-modern .service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
    border-radius: 28px;
    pointer-events: none;
    z-index: 1;
}

/* Ensure content is above the overlay */
.service-card-modern .service-icon-container,
.service-card-modern .service-content-modern {
    position: relative;
    z-index: 2;
}

/* Adjust text colors for better contrast */
.service-card-modern .service-content-modern h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.service-card-modern .service-content-modern p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Enhanced feature tags for better visibility */
.service-card-modern .feature-tag {
    background: rgba(0, 255, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.service-card-modern:hover .feature-tag {
    background: rgba(0, 255, 0, 0.3);
    border-color: rgba(0, 255, 0, 0.5);
}

/* Enhanced hover effects for image backgrounds */
.service-card-modern:hover .service-card-inner {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 255, 0, 0.3),
        0 0 40px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.4);
}

.service-card-modern:hover .service-card-inner::before {
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
}

/* Image loading optimization */
.service-card-modern .service-card-inner {
    background-attachment: local;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Responsive background images */
@media (max-width: 768px) {
    .service-card-modern .service-card-inner {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .service-card-modern .service-card-inner::before {
        background: 
            linear-gradient(135deg, 
                rgba(0, 0, 0, 0.6) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.7) 100%
            );
    }
}

/* Preload optimization for images */
.service-card-modern .service-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card-modern:hover .service-card-inner::after {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
}

.service-card-modern:hover .service-icon-modern svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

/* Service Content Modern */
.service-content-modern {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content-modern h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-content-modern h3 {
    color: var(--color-gray-800);
    transform: translateY(-2px);
}

.service-content-modern p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-content-modern p {
    color: var(--color-gray-700);
}

/* Service Features Modern */
.service-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-modern:hover .feature-tag {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
    border-color: var(--color-primary);
}

/* Service Hover Overlay */
.service-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.02) 0%, 
        rgba(0, 255, 0, 0.06) 50%, 
        rgba(0, 255, 0, 0.02) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 28px;
    pointer-events: none;
}

.service-card-modern:hover .service-hover-overlay {
    opacity: 1;
}

/* Services CTA Section - Professional and Balanced */
.services-cta-section {
    margin-top: 5rem;
    text-align: center;
    padding: 4rem 3rem;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 255, 0, 0.08) 0%, 
            rgba(0, 255, 0, 0.12) 50%, 
            rgba(0, 255, 0, 0.08) 100%
        );
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 0, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 8px 32px rgba(0, 255, 0, 0.08),
        0 2px 8px rgba(0, 255, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent
    );
    animation: ctaSweep 6s infinite;
}

.services-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 255, 0, 0.12) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

@keyframes ctaSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-content-modern {
    position: relative;
    z-index: 2;
}

.cta-content-modern h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    /* Removido el gradiente para mejor legibilidad */
}

.cta-content-modern p {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
    opacity: 1;
    font-weight: 500;
    line-height: 1.6;
}

.cta-buttons-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00cc00 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 255, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-cta-primary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: all 0.6s ease;
}

.btn-cta-primary-modern:hover::before {
    left: 100%;
}

.btn-cta-primary-modern:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 8px 24px rgba(0, 255, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--color-secondary);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(4px);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 255, 0, 0.1);
}

.btn-cta-secondary-modern:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 8px 24px rgba(0, 255, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive Design for Enhanced Services */
@media (max-width: 768px) {
    .services-enhanced {
        padding: 4rem 0;
        background-attachment: scroll; /* Fix for mobile devices */
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
    
    .subtitle-enhanced {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        margin: 0 1rem 2rem;
    }
    
    .service-highlights {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .highlight-divider {
        width: 120px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--color-gray-300), transparent);
    }
    
    .service-card-inner {
        padding: 2rem;
    }
    
    .services-cta-section {
        padding: 3rem 1.5rem;
        margin-top: 4rem;
    }
    
    .cta-content-modern h3 {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .cta-content-modern p {
        font-size: 1.1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        font-weight: 500;
    }
    
    .cta-buttons-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary-modern,
    .btn-cta-secondary-modern {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        font-size: 1rem;
    }
    
    .services-grid-modern {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .section-header-modern {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .service-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-modern svg {
        width: 32px;
        height: 32px;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-accent {
        font-size: 1.5rem;
    }
}

/* ====================================
   ENHANCED FORM AND INTERACTION STYLES
   ==================================== */

/* Form Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.75rem;
}

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification System */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateX(120%);
    transition: all 0.3s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.notification-content span {
    font-weight: 500;
    color: #1f2937;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success .notification-content span {
    color: #065f46;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error .notification-content span {
    color: #7f1d1d;
}

/* WhatsApp Floating Button - Fixed for Mobile */
.whatsapp-float {
    position: fixed !important;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999 !important; /* Aumentar z-index para estar siempre encima */
    transform: scale(1) rotate(0deg) !important; /* Siempre visible */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Asegurar que esté siempre en pantalla */
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.whatsapp-float.show {
    transform: scale(1) rotate(0deg);
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover::before {
    transform: scale(1);
}

.whatsapp-float-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Pulse animation for WhatsApp button */
.whatsapp-float-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile Responsive for New Elements */
@media (max-width: 768px) {
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
    }
    
    /* WhatsApp Button - Mobile Optimized */
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        position: fixed !important;
        transform: scale(1) rotate(0deg) !important;
        width: 60px !important;
        height: 60px !important;
        /* Asegurar visibilidad en mobile */
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .whatsapp-float svg {
        width: 30px !important;
        height: 30px !important;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-tooltip,
    .whatsapp-float .tooltip {
        display: none !important; /* Ocultar tooltips en móvil */
    }
}

/* ====================================
   MEJORAS ESPECÍFICAS PARA GALERÍA MÓVIL
   ==================================== */

/* Optimizaciones adicionales para pantallas móviles pequeñas */
@media (max-width: 480px) {
    
    /* WhatsApp Button - Extra Small Mobile */
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 55px !important;
        height: 55px !important;
        z-index: 9999 !important;
        transform: scale(1) rotate(0deg) !important;
        position: fixed !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }
    
    /* Galería más compacta y legible */
    .gallery-grid {
        grid-template-rows: repeat(7, 140px) !important;
        gap: var(--space-2xl) !important;
        padding: var(--space-lg) !important;
        margin: 0 auto !important;
    }
    
    .gallery-main {
        height: 160px !important;
        min-height: 160px !important;
        margin-bottom: var(--space-lg) !important;
    }
    
    .gallery-small {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .gallery-item {
        min-height: 140px !important;
        border-radius: var(--radius-md) !important;
        margin: 0 auto var(--space-xl) auto !important;
        max-width: 85% !important;
        padding: var(--space-sm) !important;
        position: relative !important;
    }
    
    /* Overlay más visible al tocar */
    .gallery-item:hover .gallery-overlay,
    .gallery-item:active .gallery-overlay,
    .gallery-item:focus .gallery-overlay {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.88) 50%,
            rgba(0, 0, 0, 0.92) 100%) !important;
    }
    
    /* Texto más grande y legible */
    .gallery-overlay h4 {
        font-size: 1.1rem !important;
        margin-bottom: var(--space-sm) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        opacity: 0.95 !important;
    }
    
    /* Mejorar imagen de fondo */
    .gallery-item img {
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
        height: 100% !important;
        image-rendering: auto !important;
        filter: brightness(0.85) contrast(1.1) !important;
    }
}

/* Para pantallas aún más pequeñas */
@media (max-width: 360px) {
    .gallery-grid {
        grid-template-rows: repeat(7, 130px) !important;
        gap: var(--space-xl) !important;
        padding: var(--space-md) !important;
        margin: 0 auto !important;
    }
    
    .gallery-main {
        height: 150px !important;
        min-height: 150px !important;
        margin-bottom: var(--space-lg) !important;
    }
    
    .gallery-small,
    .gallery-item {
        height: 130px !important;
        min-height: 130px !important;
        margin: 0 auto var(--space-lg) auto !important;
        max-width: 80% !important;
        padding: var(--space-xs) !important;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem !important;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem !important;
    }
}

/* ========================================
   OPTIMIZACIONES GENERALES DE PERFORMANCE MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Reducir animaciones complejas para mejor performance */
    .animate-on-scroll {
        animation-duration: 0.4s !important;
        animation-timing-function: ease-out !important;
    }
    
    /* Optimizar transformaciones costosas */
    .gear-icon,
    .valve-icon,
    .clutch-icon {
        animation-duration: 3s !important;
        will-change: auto;
    }
    
    /* Simplificar efectos de hover en mobile */
    .service-icon-modern {
        transition: transform 0.2s ease;
    }
}

@media (max-width: 480px) {
    /* Performance máximo para móviles pequeños */
    
    /* Reducir animaciones a lo mínimo */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Desactivar animaciones complejas que consumen CPU */
    .gear-icon {
        animation: none !important;
    }
    
    .valve-icon {
        animation: none !important;
    }
    
    .clutch-icon {
        animation: none !important;
    }
    
    /* Eliminar backdrop-filter para mejor rendimiento */
    .service-card-inner,
    .gallery-item,
    .modal-content {
        backdrop-filter: none !important;
    }
    
    /* Simplificar box-shadows complejas */
    .service-card-inner {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Optimizar will-change */
    .service-card-modern {
        will-change: auto;
    }
}

/* Optimizaciones para conexiones lentas */
@media (max-width: 360px) {
    /* Performance extremo para dispositivos de gama baja */
    
    /* Eliminar todas las animaciones no esenciales */
    *,
    *::before,
    *::after {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }
    
    /* Desactivar transformaciones 3D */
    .service-card-inner {
        transform: none !important;
        will-change: auto;
    }
    
    /* Simplificar gradientes complejos */
    .service-card-inner {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

/* ========================================
   OPTIMIZACIONES ESPECÍFICAS DE GALERÍA MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Reducir animaciones de galería en tablet */
    .gallery-item {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gallery-item:hover {
        transform: none !important;
        border-color: rgba(0, 255, 0, 0.4);
    }
    
    .gallery-item:hover img {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    /* Galería completamente optimizada para mobile */
    .gallery-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-md) !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        background: none !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }
    
    /* Todas las imágenes uniformes en mobile */
    .gallery-main,
    .gallery-small,
    .gallery-item {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        grid-row: auto !important;
        grid-column: auto !important;
        border-radius: var(--radius-md) !important;
        overflow: hidden !important;
        /* Eliminamos todas las animaciones */
        transition: none !important;
        transform: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(0, 255, 0, 0.2) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Imágenes sin efectos costosos */
    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        transition: none !important;
        transform: none !important;
        filter: brightness(0.9) contrast(1.05) !important;
    }
    
    /* Overlay siempre visible para mejor UX mobile */
    .gallery-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: linear-gradient(
            transparent 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.9) 100%
        ) !important;
        padding: var(--space-sm) !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    /* Texto legible y optimizado */
    .gallery-overlay h4 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
        color: var(--color-accent) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
        line-height: 1.2 !important;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
    }
    
    /* Hover completamente desactivado */
    .gallery-item:hover,
    .gallery-item:active,
    .gallery-item:focus {
        transform: none !important;
        border-color: rgba(0, 255, 0, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    .gallery-item:hover img,
    .gallery-item:active img,
    .gallery-item:focus img {
        transform: none !important;
        filter: brightness(0.9) contrast(1.05) !important;
    }
    
    .gallery-item:hover .gallery-overlay,
    .gallery-item:active .gallery-overlay,
    .gallery-item:focus .gallery-overlay {
        transform: translateY(0) !important;
    }
}

@media (max-width: 360px) {
    /* Ultra mobile optimizations para galería */
    .gallery-item {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .gallery-overlay {
        padding: 10px !important;
    }
    
    .gallery-overlay h4 {
        font-size: 0.9rem !important;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   DESACTIVACIÓN GLOBAL DE ANIMACIONES COSTOSAS EN MOBILE
   ======================================== */

@media (max-width: 480px) {
    /* Optimización extrema: eliminar animaciones que consumen recursos */
    
    /* Desactivar animaciones de entrada */
    .animate-on-scroll,
    .slideInUp,
    .slideInLeft,
    .slideInRight,
    .scaleIn,
    .fadeInUp {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Simplificar efectos hover costosos */
    *:hover {
        animation: none !important;
    }
    
    /* Optimizar will-change para liberar memoria */
    * {
        will-change: auto !important;
    }
    
    /* Desactivar transformaciones 3D innecesarias */
    .gallery-item,
    .service-card-inner,
    .info-card {
        transform: none !important;
        transform-style: flat !important;
        backface-visibility: hidden !important;
    }
}

/* ========================================
   OPTIMIZACIONES PORTADA CATÁLOGO MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Mantener portada visible pero sin animaciones pesadas */
    .catalog-cover-innovative {
        /* Mantener el diseño pero quitar animaciones costosas */
        animation: none !important;
    }
    
    .catalog-cover-innovative::before {
        /* Simplificar animación del borde */
        animation: none !important;
        opacity: 0.8 !important;
    }
    
    /* Simplificar animaciones de fondo */
    .grid-lines {
        animation: none !important;
    }
    
    .glow-orbs::before,
    .glow-orbs::after {
        animation: none !important;
    }
    
    .logo-section::before {
        animation: none !important;
        opacity: 0.6 !important;
    }
    
    /* Simplificar hover effects */
    .catalog-cover-innovative:hover .logo-frame {
        animation: none !important;
        transition: transform 0.2s ease !important;
    }
    
    .catalog-cover-innovative:hover .logo-frame img {
        animation: none !important;
        transition: filter 0.2s ease !important;
    }
}

@media (max-width: 480px) {
    /* COPIA EXACTA DEL DISEÑO DESKTOP PERO ESTÁTICO */
    
    .catalog-visual {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .catalog-preview {
        transform: none !important;
        max-width: 300px !important;
        width: 100% !important;
        margin: 0 auto !important;
        filter: none !important;
    }
    
    .catalog-preview:hover {
        transform: none !important;
        filter: none !important;
    }
    
    /* PORTADA PROFESIONAL - REPLICA EXACTA DEL DESKTOP */
    .catalog-cover-innovative {
        position: relative !important;
        width: 100% !important;
        height: 420px !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        background: linear-gradient(135deg, 
            #000000 0%, 
            #001100 25%, 
            #002200 50%, 
            #001100 75%, 
            #000000 100%) !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        border: 3px solid transparent !important;
        background-clip: padding-box !important;
        box-shadow: 
            0 0 30px rgba(0, 255, 0, 0.3),
            inset 0 0 20px rgba(0, 255, 0, 0.1) !important;
    }
    
    .catalog-cover-innovative::before {
        content: '' !important;
        position: absolute !important;
        top: -3px !important;
        left: -3px !important;
        right: -3px !important;
        bottom: -3px !important;
        background: linear-gradient(45deg, 
            #00ff00, 
            #00cc00, 
            #00ff00, 
            #33ff33, 
            #00ff00) !important;
        border-radius: 18px !important;
        z-index: -1 !important;
        /* ESTÁTICO: sin animación pero con máxima opacidad */
        opacity: 0.8 !important;
        animation: none !important;
    }
    
    /* FONDO GEOMÉTRICO PROFESIONAL */
    .geometric-background {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0.3 !important;
    }
    
    .grid-lines {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: 
            linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px) !important;
        background-size: 20px 20px !important;
        /* ESTÁTICO: sin movimiento */
        animation: none !important;
        transform: none !important;
    }
    
    .circuit-lines {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: 
            radial-gradient(circle at 20% 20%, rgba(0, 255, 0, 0.1) 2px, transparent 2px),
            radial-gradient(circle at 80% 80%, rgba(0, 255, 0, 0.1) 2px, transparent 2px),
            linear-gradient(45deg, transparent 40%, rgba(0, 255, 0, 0.1) 41%, rgba(0, 255, 0, 0.1) 42%, transparent 43%),
            linear-gradient(-45deg, transparent 40%, rgba(0, 255, 0, 0.1) 41%, rgba(0, 255, 0, 0.1) 42%, transparent 43%) !important;
    }
    
    .glow-orbs {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .glow-orbs::before,
    .glow-orbs::after {
        content: '' !important;
        position: absolute !important;
        border-radius: 50% !important;
        background: radial-gradient(circle, rgba(0, 255, 0, 0.3) 0%, transparent 70%) !important;
        /* ESTÁTICO: sin flotación */
        animation: none !important;
        transform: none !important;
    }
    
    .glow-orbs::before {
        width: 100px !important;
        height: 100px !important;
        top: 10% !important;
        right: 10% !important;
    }
    
    .glow-orbs::after {
        width: 60px !important;
        height: 60px !important;
        bottom: 20% !important;
        left: 15% !important;
    }
    
    /* CONTENIDO PRINCIPAL - COPIA EXACTA */
    .cover-content {
        position: relative !important;
        z-index: 2 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        padding: 35px 25px !important;
    }
    
    /* SECCIÓN DEL LOGO - PROFESIONAL */
    .logo-section {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 35px !important;
        position: relative !important;
    }
    
    .logo-section::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 180px !important;
        height: 180px !important;
        background: radial-gradient(circle, rgba(0, 255, 0, 0.15) 0%, transparent 70%) !important;
        border-radius: 50% !important;
        /* ESTÁTICO: sin respiración */
        animation: none !important;
        opacity: 0.6 !important;
        z-index: -1 !important;
    }
    
    .logo-frame {
        position: relative !important;
        width: 120px !important;
        height: 120px !important;
        background: linear-gradient(145deg, #000000, #1a1a1a) !important;
        border-radius: 50% !important;
        border: 4px solid #00ff00 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-shadow: 
            0 0 25px rgba(0, 255, 0, 0.7),
            inset 0 0 15px rgba(0, 255, 0, 0.2),
            0 0 40px rgba(0, 255, 0, 0.3) !important;
        /* ESTÁTICO: sin transiciones */
        transition: none !important;
    }
    
    .logo-frame img {
        width: 85px !important;
        height: 85px !important;
        object-fit: cover !important;
        object-position: center !important;
        filter: 
            drop-shadow(0 0 15px rgba(0, 255, 0, 0.8))
            brightness(1.1)
            contrast(1.2)
            saturate(1.1) !important;
        transition: none !important;
        border-radius: 50% !important;
        background: #ffffff !important;
    }
    
    .logo-scanner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, 
            transparent 0%, 
            rgba(0, 255, 0, 0.1) 50%, 
            transparent 100%) !important;
        /* ESTÁTICO: sin scanner */
        animation: none !important;
        opacity: 0.6 !important;
    }
    
    /* SECCIÓN DE TÍTULO - PROFESIONAL */
    .title-section {
        text-align: center !important;
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .catalog-label {
        display: block !important;
        font-family: 'Rajdhani', sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: #00ff00 !important;
        letter-spacing: 3px !important;
        margin-bottom: 10px !important;
        text-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important;
    }
    
    .brand-text {
        font-family: 'Orbitron', monospace !important;
        font-size: 2rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        margin-bottom: 15px !important;
    }
    
    .brand-dn {
        color: #00ff00 !important;
        text-shadow: 
            0 0 15px #00ff00,
            0 0 30px rgba(0, 255, 0, 0.5),
            2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        /* ESTÁTICO: sin pulso */
        animation: none !important;
    }
    
    .brand-eumatica {
        color: #ffffff !important;
        text-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.8),
            0 0 15px rgba(255, 255, 255, 0.3) !important;
    }
    
    /* SUBTÍTULO PROFESIONAL */
    .subtitle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    
    .tech-line {
        width: 40px !important;
        height: 2px !important;
        background: linear-gradient(90deg, transparent, #00ff00, transparent) !important;
        /* ESTÁTICO: sin pulso */
        animation: none !important;
    }
    
    .subtitle-text {
        font-family: 'Rajdhani', sans-serif !important;
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        letter-spacing: 2px !important;
        font-weight: 500 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* PÁGINAS DEL CATÁLOGO - PROFESIONALES */
    .catalog-pages {
        position: relative !important;
        display: flex !important;
        gap: 4px !important;
        margin-top: 20px !important;
        padding: 12px !important;
        background: linear-gradient(145deg, #1a1a1a, #2d2d2d, #1a1a1a) !important;
        border-radius: 10px !important;
        border: 2px solid #00ff00 !important;
        box-shadow: 
            0 0 20px rgba(0, 255, 0, 0.5),
            inset 0 1px 5px rgba(255, 255, 255, 0.2),
            inset 0 -1px 5px rgba(0, 0, 0, 0.4) !important;
    }
    
    .catalog-pages::before {
        content: 'CATÁLOGO TÉCNICO' !important;
        position: absolute !important;
        top: -10px !important;
        left: 15px !important;
        background: linear-gradient(135deg, #00ff00, #33ff33) !important;
        color: #000000 !important;
        padding: 4px 12px !important;
        font-size: 0.7rem !important;
        font-weight: bold !important;
        border-radius: 5px !important;
        letter-spacing: 1px !important;
        box-shadow: 
            0 3px 10px rgba(0, 255, 0, 0.5),
            inset 0 1px 3px rgba(255, 255, 255, 0.4) !important;
    }
    
    .catalog-pages .page {
        width: 28px !important;
        height: 36px !important;
        background: linear-gradient(145deg, 
            #f8f9fa 0%, 
            #ffffff 20%, 
            #f0f0f0 80%, 
            #e9ecef 100%) !important;
        border-radius: 4px !important;
        border: 1px solid #dee2e6 !important;
        box-shadow: 
            0 3px 6px rgba(0, 0, 0, 0.4),
            inset 0 1px 3px rgba(255, 255, 255, 0.9),
            inset 0 -1px 2px rgba(0, 0, 0, 0.1) !important;
        position: relative !important;
        /* ESTÁTICO: sin animación */
        animation: none !important;
        transform: none !important;
    }
    
    .catalog-pages .page::before {
        content: '' !important;
        position: absolute !important;
        top: 4px !important;
        left: 3px !important;
        right: 3px !important;
        height: 1px !important;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 0, 0, 0.15), 
            transparent) !important;
    }
    
    .catalog-pages .page::after {
        content: '' !important;
        position: absolute !important;
        top: 8px !important;
        left: 3px !important;
        right: 3px !important;
        height: 1px !important;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 0, 0, 0.1), 
            transparent) !important;
    }
    
    /* SCANNER ESTÁTICO PARA LOGO */
    .logo-scanner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, 
            transparent 0%, 
            rgba(0, 255, 0, 0.2) 50%, 
            transparent 100%) !important;
        /* ESTÁTICO: sin animación de scanner */
        animation: none !important;
        opacity: 0.7 !important;
    }
}

@media (max-width: 360px) {
    /* Ultra mobile: portada más pequeña pero visible */
    .catalog-cover-innovative {
        max-width: 250px !important;
        height: 340px !important;
    }
    
    .cover-content {
        padding: 25px 20px !important;
    }
    
    .logo-frame {
        width: 100px !important;
        height: 100px !important;
    }
    
    .logo-frame img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* ===============================================
   FORMULARIO DE CONTACTO PROFESIONAL - DISEÑO PREMIUM 2025
   SOLUCIÓN DEFINITIVA ANTI-VERDE
   =============================================== */

/* RESETEO COMPLETO DEL FORMULARIO */
.professional-contact-form,
.professional-contact-form *,
.professional-contact-form *::before,
.professional-contact-form *::after {
    /* Anular TODAS las variables CSS posibles */
    --color-primary: #64748b !important;
    --primary-color: #64748b !important;
    --accent-color: #64748b !important;
    --focus-color: #cbd5e1 !important;
    --valid-color: #64748b !important;
    --invalid-color: #64748b !important;
    --border-color: rgba(148, 163, 184, 0.2) !important;
    --tw-ring-color: transparent !important;
    --tw-ring-shadow: none !important;
    --tw-shadow: none !important;
    accent-color: #64748b !important;
}

.professional-contact-form {
    background: linear-gradient(145deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Forzar contexto de color */
    color-scheme: dark !important;
}

/* ANULACIÓN BRUTAL DE TODOS LOS ESTILOS DE INPUT */
.professional-contact-form input[type="text"],
.professional-contact-form input[type="tel"],
.professional-contact-form input[type="email"],
.professional-contact-form select,
.professional-contact-form textarea {
    /* Estado base */
    background-color: rgba(51, 65, 85, 0.6) !important;
    background-image: none !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    border-top-color: rgba(148, 163, 184, 0.2) !important;
    border-right-color: rgba(148, 163, 184, 0.2) !important;
    border-bottom-color: rgba(148, 163, 184, 0.2) !important;
    border-left-color: rgba(148, 163, 184, 0.2) !important;
    color: #f8fafc !important;
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    
    /* Anular apariencia */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* Tamaño y espaciado */
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ESTADOS FOCUS - ESPECÍFICOS */
.professional-contact-form input[type="text"]:focus,
.professional-contact-form input[type="tel"]:focus,
.professional-contact-form input[type="email"]:focus,
.professional-contact-form select:focus,
.professional-contact-form textarea:focus {
    background-color: rgba(71, 85, 105, 0.7) !important;
    background: rgba(71, 85, 105, 0.7) !important;
    border: 2px solid rgba(203, 213, 225, 0.4) !important;
    border-color: rgba(203, 213, 225, 0.4) !important;
    border-top-color: rgba(203, 213, 225, 0.4) !important;
    border-right-color: rgba(203, 213, 225, 0.4) !important;
    border-bottom-color: rgba(203, 213, 225, 0.4) !important;
    border-left-color: rgba(203, 213, 225, 0.4) !important;
    color: #f8fafc !important;
    outline: none !important;
    outline-color: transparent !important;
    box-shadow: 
        0 0 0 4px rgba(148, 163, 184, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px);
}

/* ESTADOS VÁLIDOS E INVÁLIDOS - ANULADOS */
.professional-contact-form input[type="text"]:valid,
.professional-contact-form input[type="text"]:invalid,
.professional-contact-form input[type="tel"]:valid,
.professional-contact-form input[type="tel"]:invalid,
.professional-contact-form input[type="email"]:valid,
.professional-contact-form input[type="email"]:invalid,
.professional-contact-form select:valid,
.professional-contact-form select:invalid,
.professional-contact-form textarea:valid,
.professional-contact-form textarea:invalid,
.professional-contact-form input[type="text"]:user-valid,
.professional-contact-form input[type="text"]:user-invalid,
.professional-contact-form input[type="tel"]:user-valid,
.professional-contact-form input[type="tel"]:user-invalid,
.professional-contact-form input[type="email"]:user-valid,
.professional-contact-form input[type="email"]:user-invalid {
    background-color: rgba(51, 65, 85, 0.6) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* ANULAR ESTADOS HOVER */
.professional-contact-form input[type="text"]:hover,
.professional-contact-form input[type="tel"]:hover,
.professional-contact-form input[type="email"]:hover,
.professional-contact-form select:hover,
.professional-contact-form textarea:hover {
    background-color: rgba(51, 65, 85, 0.6) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #f8fafc !important;
}

.professional-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(100, 116, 139, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(71, 85, 105, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* HEADER DEL FORMULARIO */
.form-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
}

.form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, 
        rgba(100, 116, 139, 0.2) 0%, 
        rgba(71, 85, 105, 0.3) 100%);
    border-radius: 1rem;
    color: #e2e8f0;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-title-section h3 {
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-title-section p {
    color: rgba(203, 213, 225, 0.8);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* GRID DEL FORMULARIO */
.modern-contact-form {
    position: relative;
    z-index: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

/* INPUTS MODERNOS CON FLOATING LABELS - ANTI VERDE TOTAL */
.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

/* CLASES ESPECÍFICAS DEL FORMULARIO - FUERZA BRUTA */
.form-input,
.form-select,
.form-textarea {
    width: 100% !important;
    padding: 1.25rem 1.5rem !important;
    background-color: rgba(51, 65, 85, 0.6) !important;
    background-image: none !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    border-radius: 1rem !important;
    color: #f8fafc !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    /* Anular estilos del navegador */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* FOCUS ESPECÍFICO PARA CLASES FORM- */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: rgba(71, 85, 105, 0.7) !important;
    background: rgba(71, 85, 105, 0.7) !important;
    border: 2px solid rgba(203, 213, 225, 0.4) !important;
    border-color: rgba(203, 213, 225, 0.4) !important;
    color: #f8fafc !important;
    outline: none !important;
    outline-color: transparent !important;
    box-shadow: 
        0 0 0 4px rgba(148, 163, 184, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* ANULAR VALIDACIÓN PARA CLASES FORM- */
.form-input:valid,
.form-input:invalid,
.form-select:valid,
.form-select:invalid,
.form-textarea:valid,
.form-textarea:invalid {
    background-color: rgba(51, 65, 85, 0.6) !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #f8fafc !important;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* FLOATING LABELS */
.floating-label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(148, 163, 184, 0.7);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 0.5rem;
    z-index: 1;
}

/* Floating label para textarea */
.textarea-wrapper .floating-label {
    top: 1.25rem;
    transform: none;
}

/* Estados activos del floating label */
.form-input:focus + .floating-label,
.form-input:not(:placeholder-shown) + .floating-label,
.form-select:focus + .floating-label,
.form-select:not([value=""]) + .floating-label,
.form-textarea:focus + .floating-label,
.form-textarea:not(:placeholder-shown) + .floating-label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    background: linear-gradient(to right, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
    transform: none;
}

/* ESTADOS DE FOCUS - SOLO CUANDO SE HACE FOCUS */
.professional-contact-form .form-input:focus,
.professional-contact-form .form-select:focus,
.professional-contact-form .form-textarea:focus {
    border-color: rgba(203, 213, 225, 0.4) !important;
    background: rgba(71, 85, 105, 0.7) !important;
    box-shadow: 
        0 0 0 4px rgba(148, 163, 184, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
    color: #f8fafc !important;
    /* Anular cualquier outline del navegador */
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
}

/* BORDES DECORATIVOS */
.input-border,
.select-border,
.textarea-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(148, 163, 184, 0.8) 0%, 
        rgba(203, 213, 225, 0.6) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.form-input:focus ~ .input-border,
.form-select:focus ~ .select-border,
.form-textarea:focus ~ .textarea-border {
    width: 100%;
}

/* ANULAR COMPLETAMENTE VALIDACIÓN HTML5 Y CSS */
.professional-contact-form input:required,
.professional-contact-form input:optional,
.professional-contact-form select:required,
.professional-contact-form select:optional,
.professional-contact-form textarea:required,
.professional-contact-form textarea:optional,
.professional-contact-form input:user-invalid,
.professional-contact-form input:user-valid,
.professional-contact-form select:user-invalid,
.professional-contact-form select:user-valid,
.professional-contact-form textarea:user-invalid,
.professional-contact-form textarea:user-valid {
    background: rgba(51, 65, 85, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    color: #f8fafc !important;
}

/* HELPER TEXTS */
.input-helper {
    display: block;
    font-size: 0.875rem;
    color: rgba(148, 163, 184, 0.6);
    margin-top: 0.5rem;
    font-style: italic;
}

/* SELECT PERSONALIZADO */
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

/* BOTÓN SUBMIT PREMIUM */
.form-actions {
    margin-top: 2.5rem;
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(145deg, 
        rgba(100, 116, 139, 0.9) 0%, 
        rgba(71, 85, 105, 0.95) 100%);
    color: #f1f5f9;
    border: 2px solid rgba(203, 213, 225, 0.3);
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, 
        rgba(120, 136, 159, 0.95) 0%, 
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(203, 213, 225, 0.5);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.submit-button:active {
    transform: translateY(-1px);
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(2px);
}

/* FOOTER DEL FORMULARIO */
.form-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-footer-text svg {
    flex-shrink: 0;
    color: rgba(100, 116, 139, 0.8);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .professional-contact-form {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
    
    .form-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-title-section h3 {
        font-size: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* ====================================
   PROFESSIONAL ABOUT SECTION - ENHANCED
   ==================================== */

/* Estructura principal reorganizada */
.about-content-professional {
    padding: 5rem 0;
    background: #fafafa;
    position: relative;
}

.about-content-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,255,0,0.02), transparent 50%);
    pointer-events: none;
}

.about-main-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Filas de contenido */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.content-row:nth-child(1) { animation-delay: 0.1s; }
.content-row:nth-child(2) { animation-delay: 0.2s; }
.content-row:nth-child(3) { animation-delay: 0.3s; }
.content-row:nth-child(4) { animation-delay: 0.4s; }
.content-row:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-row-reverse {
    direction: rtl;
}

.content-row-reverse > * {
    direction: ltr;
}

.content-row-center {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
}

/* Contenedores de cards */
.info-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-central {
    display: flex;
    align-items: stretch;
}

/* Cards rediseñadas con mejor contraste */
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.08),
        0 8px 20px rgba(0,0,0,0.05),
        0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,255,0,0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    border-radius: 20px 20px 0 0;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,255,0,0.01), transparent 50%);
    border-radius: 20px;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 40px 90px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.1),
        0 8px 15px rgba(0,0,0,0.08),
        0 0 0 1px rgba(0,255,0,0.1);
    border-color: rgba(0,255,0,0.4);
    backdrop-filter: blur(10px);
}

/* Card visual (solo ícono) */
.card-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2.5rem;
}

.card-icon {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border: 2px solid #00ff00;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0,255,0,0.2),
        0 4px 10px rgba(0,255,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    min-height: 100px;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent 60%);
    border-radius: 24px;
}

.card-icon img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.info-card:hover .card-icon {
    transform: scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0,255,0,0.25),
        0 6px 15px rgba(0,255,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Contenido de las cards */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.card-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.card-content strong {
    color: #00aa00;
    font-weight: 700;
    background: rgba(0,255,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Métricas */
.card-metrics {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 2px solid rgba(0,255,0,0.1);
}

.metric {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(0,255,0,0.1), rgba(0,255,0,0.15));
    color: #00aa00;
    font-weight: 800;
    font-size: 1.3rem;
    padding: 1rem 1.8rem;
    border-radius: 30px;
    border: 2px solid rgba(0,255,0,0.25);
    box-shadow: 
        0 4px 15px rgba(0,255,0,0.15),
        0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.metric:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0,255,0,0.2),
        0 3px 8px rgba(0,0,0,0.08);
    border-color: rgba(0,255,0,0.35);
    background: linear-gradient(135deg, rgba(0,255,0,0.15), rgba(0,255,0,0.2));
}

.metric small {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
}

/* Card destacada */
.card-featured {
    background: linear-gradient(135deg, #ffffff, rgba(0,255,0,0.02));
    border: 3px solid #00ff00;
    transform: scale(1.04);
    box-shadow: 
        0 30px 80px rgba(0,255,0,0.15),
        0 15px 40px rgba(0,0,0,0.1),
        0 5px 15px rgba(0,0,0,0.05);
}

.card-featured::before {
    height: 8px;
    background: linear-gradient(90deg, #00ff00, #00cc00, #00ff00);
}

.card-featured .card-icon {
    background: linear-gradient(135deg, #00ff00, #00bb00);
    box-shadow: 
        0 15px 40px rgba(0,255,0,0.3),
        0 8px 20px rgba(0,255,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    min-width: 90px;
    min-height: 90px;
}

.card-featured .card-icon img {
    max-width: 72px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

.card-featured .card-content h3 {
    font-size: 2.2rem;
    color: #0a5200;
}

.card-featured .metric {
    background: linear-gradient(135deg, rgba(0,255,0,0.2), rgba(0,255,0,0.25));
    border: 3px solid rgba(0,255,0,0.4);
    font-size: 1.4rem;
    padding: 1.2rem 2rem;
}

/* Contenedores de fotos */
.photo-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.1),
        0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(0,255,0,0.1);
}

.photo-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.15),
        0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(0,255,0,0.25);
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: contrast(1.1) brightness(1.05) saturate(1.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-quality;
}

.photo-container:hover img {
    transform: scale(1.03);
    filter: contrast(1.15) brightness(1.08) saturate(1.2);
}

/* Tamaños de fotos */
.photo-main {
    min-height: 500px;
}

.photo-side {
    min-height: 320px;
}

/* Overlays de fotos mejorados */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 2rem;
    transform: translateY(75%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-container:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2E7D2E;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.photo-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

/* CTA profesional mejorado */
.about-cta-professional {
    position: relative;
    margin-top: 4rem;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(0,255,0,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.3),
        rgba(0,100,0,0.4)
    );
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 3rem;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive mejorado */
@media (max-width: 1024px) {
    .content-row,
    .content-row-center {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .content-row-reverse {
        direction: ltr;
    }
    
    .photo-main {
        min-height: 350px;
    }
    
    .card-featured {
        transform: none;
    }
    
    .about-main-grid {
        padding: 0 1.5rem;
    }
    
    .content-row {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .about-content-professional {
        padding: 3rem 0;
    }
    
    .about-main-grid {
        padding: 0 1rem;
    }
    
    .content-row {
        margin-bottom: 3rem;
        gap: 2rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .photo-side {
        min-height: 250px;
    }
    
    .photo-main {
        min-height: 300px;
    }
    
    .card-visual {
        justify-content: center;
    }
}

/* ====================================
   ENHANCEMENTS PROFESIONALES FINALES
   ==================================== */

/* Mejoras de profundidad global */
.container {
    position: relative;
    z-index: 1;
}

/* Efectos de elevación por capas */
.hero { z-index: 5; }
.navbar { z-index: 100; }
.info-card { z-index: 10; }
.photo-container { z-index: 8; }
.cta-content { z-index: 15; }

/* Sombras contextuales mejoradas */
@media (min-width: 768px) {
    .info-card:not(:hover) {
        filter: brightness(0.98);
    }
    
    .photo-container:not(:hover) {
        filter: brightness(0.97) contrast(1.02);
    }
    
    /* Efecto de breathing para elementos estáticos */
    .brand-logo-container {
        animation: gentle-pulse 4s ease-in-out infinite;
    }
    
    @keyframes gentle-pulse {
        0%, 100% { 
            transform: scale(1);
            opacity: 1;
        }
        50% { 
            transform: scale(1.02);
            opacity: 0.95;
        }
    }
}

/* ====================================
   TÍTULOS CON FONDO OSCURO - VERDE BRILLANTE
   ==================================== */

/* Solo para elementos específicos con overlay oscuro */
.photo-overlay h1,
.photo-overlay h2, 
.photo-overlay h3,
.photo-overlay h4 {
    color: #2E7D2E !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* ====================================
   LOGO STYLING PARA CARDS
   ==================================== */

/* DN con estilo del logo para la card de garantía */
.logo-dn-card {
    color: #00ff00 !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    font-family: 'Orbitron', monospace;
    text-rendering: optimizeLegibility;
}

/* EUMATICA en blanco simple */
.eumatica-card {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    font-family: 'Exo 2', sans-serif;
}

/* Efecto hover simple para la card de garantía */
.info-card:hover .logo-dn-card {
    color: #33ff33 !important;
}

.info-card:hover .eumatica-card {
    color: #f0f0f0 !important;
}

/* ====================================
   CARD DE GARANTÍA PROFESIONAL
   ==================================== */

.card-guarantee {
    position: relative;
    overflow: hidden;
}

.card-guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(46, 125, 46, 0.05) 0%, 
        rgba(0, 255, 0, 0.03) 50%, 
        rgba(46, 125, 46, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-guarantee:hover::before {
    opacity: 1;
}

.card-guarantee .card-content {
    position: relative;
    z-index: 1;
}

.card-guarantee .card-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.card-guarantee .metric {
    background: linear-gradient(135deg, #2E7D2E 0%, #4CAF50 100%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 
        0 4px 12px rgba(46, 125, 46, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.card-guarantee .metric:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(46, 125, 46, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.card-guarantee .metric small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 2px;
}

/* Icono con fondo blanco cuando card-guarantee está en hover */
.card-guarantee:hover .card-icon {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 
        0 12px 35px rgba(0, 255, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.card-guarantee:hover .card-icon img {
    filter: brightness(0.8) saturate(1.2);
}
