/**
 * OPTIMIZACIONES DE RENDIMIENTO
 * Mejoras para mejor performance y fluidez
 */

/* ============================================
   WILL-CHANGE OPTIMIZATIONS
   ============================================ */
.animate-element,
.hover-tilt,
.hover-lift-3d,
.parallax-element,
.scroll-reveal {
    will-change: transform, opacity;
}

/* ============================================
   GPU ACCELERATION
   ============================================ */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@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;
    }
}

/* ============================================
   CONTAINER QUERIES (si están disponibles)
   ============================================ */
@container (min-width: 768px) {
    .container-responsive {
        padding: 2rem;
    }
}

/* ============================================
   CONTENT VISIBILITY
   ============================================ */
.lazy-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* ============================================
   IMAGE OPTIMIZATION
   ============================================ */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img[loading="lazy"] {
    content-visibility: auto;
}
















