﻿/* ==================================================
   GRUPO RESUELVE - ESTILOS ULTRA PROFESIONALES
   Diseño moderno, robusto y premium
   ================================================== */

/* Variables CSS Mejoradas */
:root {
    /* Colores principales (mantenidos como solicitado) */
    --primary-dark: #181B1F;
    --secondary-dark: #16171B;
    --card-bg: #23262B;
    --accent-orange: #F57C00;
    --accent-orange-light: #FFA039;
    --accent-vibrant: #FF6B35;
    --accent-electric: #00D4FF;
    --white: #FFFFFF;
    --text-light: #E0E0E0;
    --text-muted: #B0B0B0;

    /* Tipografías mejoradas */
    --font-primary: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Espaciado coherente y generoso */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 1.5rem;
    /* 24px */
    --spacing-lg: 2rem;
    /* 32px */
    --spacing-xl: 3rem;
    /* 48px */
    --spacing-xxl: 4rem;
    /* 64px */
    --spacing-mega: 6rem;
    /* 96px */

    /* Contenedores y dimensiones */
    --container-max: 1140px;
    --container-padding: 2rem;
    --header-height: 90px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;

    /* Sombras modernas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(0, 212, 255, 0.2);

    /* Transiciones suaves */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-index jerarquía */
    --z-loader: 10000;
    --z-header: 1000;
    --z-overlay: 100;
    --z-modal: 500;
}

/* ==================================================
   RESET Y BASE MEJORADOS
   ================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FF6B35"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>'), auto;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Container principal mejorado */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Elementos base mejorados */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================================================
   LOADER PREMIUM CON ICONOS ANIMADOS
   ================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-loader);
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
    max-width: 600px;
    padding: var(--spacing-xl);
    animation: loaderFloat 3s ease-in-out infinite;
}

/* Logo del loader */
.loader-logo-container {
    position: relative;
    margin-bottom: var(--spacing-xxl);
}

.loader-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(245, 124, 0, 0.3));
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

/* Grid de iconos de servicios */
.loader-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 400px;
    margin: 0 auto var(--spacing-xl) auto;
    padding: var(--spacing-lg);
}

.icon-service-container {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: all var(--transition-bounce);
}

.icon-service-container.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.icon-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-service-container.active .icon-wrapper::before {
    transform: translateX(100%);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.icon-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Barra de progreso */
.loader-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto var(--spacing-lg) auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-vibrant));
    border-radius: 2px;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

/* Texto del loader */
.loader-text {
    text-align: center;
}

.loading-main {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==================================================
   ANIMACIONES DEL LOADER
   ================================================== */
@keyframes loaderFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pulseRing {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ==================================================
   HEADER MEJORADO
   ================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--header-height) * 0.8);
    background: rgba(24, 27, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-header);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(24, 27, 31, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar {
    height: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: calc(var(--container-max) * 0.9);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: all var(--transition-normal);
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(245, 124, 0, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    position: relative;
    transition: all var(--transition-normal);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-vibrant));
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

/* Hamburger menu para móviles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

/* ==================================================
   HERO SECTION ELEGANTE Y PROFESIONAL
   ================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Transición suave después del hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(24, 27, 31, 0.3) 30%,
            rgba(24, 27, 31, 0.7) 70%,
            var(--primary-dark) 100%);
    z-index: 10;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.3) contrast(1.2) saturate(0.8);
    /* Imagen fija, sin movimiento */
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(24, 27, 31, 0.85) 0%,
            rgba(22, 23, 27, 0.7) 50%,
            rgba(24, 27, 31, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: calc(var(--header-height) * 0.8 + 2rem) var(--container-padding) 0;
}

/* Logo del hero con efecto elegante */
.hero-logo-improved {
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: logoEntrance 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    position: relative;
}

.hero-logo-improved img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(245, 124, 0, 0.6));
    position: relative;
    z-index: 2;
}

/* Efecto sutil de humo detrás del logo */
.hero-logo-improved::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse 300px 150px, rgba(245, 124, 0, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: subtleSmoke 8s ease-in-out infinite;
    z-index: 1;
}

/* Títulos del hero con efectos profesionales */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(8px, 2vh, 12px);
    opacity: 0;
    transform: translateY(30px);
    animation: titleEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    position: relative;
}

.accent-text {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* Efecto sutil de soldadura con opacidad muy baja */
.accent-text::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 215, 0, 0.15) 20%,
            rgba(245, 124, 0, 0.12) 50%,
            rgba(255, 215, 0, 0.15) 80%,
            transparent 100%);
    border-radius: 2px;
    opacity: 0;
    animation: weldingSpark 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Efecto sutil de soldadura con opacidad muy baja */
.accent-text::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 215, 0, 0.15) 20%,
            rgba(245, 124, 0, 0.12) 50%,
            rgba(255, 215, 0, 0.15) 80%,
            transparent 100%);
    border-radius: 2px;
    opacity: 0;
    animation: weldingSpark 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.hero-slogan {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: clamp(8px, 2vh, 12px);
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.2s forwards;
    position: relative;
}

/* Efecto muy sutil en el slogan */
.hero-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 4px;
    opacity: 0;
    animation: subtleShimmer 8s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xxl);
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

/* Botones del hero con efectos profesionales */
.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xxl);
    opacity: 1;
    /* Cambiado de 0 a 1 para hacer los botones visibles inmediatamente */
    transform: translateY(0);
    /* Removido el desplazamiento inicial */
    animation: fadeInUp 1s ease-out 0.5s forwards;
    /* Reducido el delay */
    position: relative;
    z-index: 1000;
    /* Aumentado significativamente para asegurar visibilidad */
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    color: var(--white);
    box-shadow: 0 8px 32px rgba(245, 124, 0, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(245, 124, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-orange);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
    font-weight: 500;
}

/* Animaciones elegantes y profesionales */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtleSmoke {
    0% {
        opacity: 0.08;
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }

    33% {
        opacity: 0.12;
        transform: translate(-48%, -52%) scale(1.1) rotate(2deg);
    }

    66% {
        opacity: 0.06;
        transform: translate(-52%, -48%) scale(1.05) rotate(-1deg);
    }

    100% {
        opacity: 0.08;
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    }
}

@keyframes weldingSpark {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 0.15;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes subtleShimmer {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    30% {
        opacity: 0.05;
        transform: translateX(0%);
    }

    70% {
        opacity: 0.05;
        transform: translateX(0%);
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   SECCIONES GENERALES - ESPACIADO COHERENTE
   ================================================== */
section {
    padding: var(--spacing-mega) 0;
    position: relative;
}

section:nth-child(even) {
    background: rgba(22, 23, 27, 0.5);
}

/* Títulos de sección mejorados */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-vibrant));
    margin: var(--spacing-lg) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==================================================
   CARDS OPTIMIZADAS Y BIEN DIMENSIONADAS
   ================================================== */
.card-grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.card-grid.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.card-grid.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card base optimizada */
.card,
.service-card,
.material-card,
.portfolio-item,
.testimonial-card,
.mvv-card,
.feature-item,
.offer-item,
.why-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* Efectos de iluminación para cards */
.card::before,
.service-card::before,
.material-card::before,
.portfolio-item::before,
.testimonial-card::before,
.mvv-card::before,
.feature-item::before,
.offer-item::before,
.why-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before,
.service-card:hover::before,
.material-card:hover::before,
.portfolio-item:hover::before,
.testimonial-card:hover::before,
.mvv-card:hover::before,
.feature-item:hover::before,
.offer-item:hover::before,
.why-item:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.card:hover,
.service-card:hover,
.material-card:hover,
.portfolio-item:hover,
.testimonial-card:hover,
.mvv-card:hover,
.feature-item:hover,
.offer-item:hover,
.why-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(245, 124, 0, 0.3);
}

/* Iconos en cards - tamaño optimizado */
.card-icon,
.service-icon,
.mvv-icon,
.feature-icon,
.offer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.card-icon i,
.service-icon i,
.mvv-icon i,
.feature-icon i,
.offer-icon i {
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1;
}

/* Hover effects para iconos */
.card:hover .card-icon,
.service-card:hover .service-icon,
.mvv-card:hover .mvv-icon,
.feature-item:hover .feature-icon,
.offer-item:hover .offer-icon {
    transform: scale(1.1) rotateY(180deg);
}

/* Contenido de card */
.card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title,
.service-title,
.mvv-title,
.feature-title,
.offer-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.card-description,
.service-description,
.mvv-description,
.feature-description,
.offer-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* ==================================================
   SECCIÓN NOSOTROS OPTIMIZADA CON TRANSICIÓN SUAVE
   ================================================== */
.about-us {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: var(--spacing-mega) 0;
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 124, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-intro {
    margin-bottom: var(--spacing-mega);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-text {
    padding-right: var(--spacing-lg);
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

/* Estadísticas con efecto casino */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(245, 124, 0, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(245, 124, 0, 0.2);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(245, 124, 0, 0.15);
    box-shadow: 0 8px 32px rgba(245, 124, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
    min-height: 4rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 500px;
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
    display: block;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.75rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-width: fit-content;
    white-space: nowrap;
}

/* Misión, Visión y Valores */
.mission-vision-values {
    margin: var(--spacing-mega) 0;
}

.mvv-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.mvv-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.mvv-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-vibrant));
    margin: var(--spacing-lg) auto 0;
    border-radius: 2px;
}

.mvv-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.mvv-card {
    text-align: center;
    min-height: 350px;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    position: relative;
    margin: 0 auto;
    max-width: 380px;
}

.mvv-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.6rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.3);
    top: 0;
    transform: translateY(0);
}

.mvv-title {
    text-align: center;
    margin: 0 auto var(--spacing-xs);
    max-width: 95%;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Valores especiales */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.value-item:hover {
    background: rgba(245, 124, 0, 0.1);
    transform: translateX(5px);
}

.value-item i {
    color: var(--accent-orange);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

/* ==================================================
   SERVICIOS OPTIMIZADOS CON IMÁGENES
   ================================================== */
.services {
    background: rgba(22, 23, 27, 0.5);
    padding: var(--spacing-mega) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.service-card {
    text-align: center;
    min-height: 550px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    flex-shrink: 0;
}

.service-image {
    position: relative;
    height: 200px;
    margin: 0 auto var(--spacing-lg);
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-features {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
}

.service-features i {
    color: var(--accent-orange);
    font-size: 0.8rem;
    width: 16px;
    flex-shrink: 0;
}

/* ==================================================
   MATERIALES - SECCIÓN OPTIMIZADA
   ================================================== */
.materials {
    background: rgba(22, 23, 27, 0.5);
    padding: var(--spacing-mega) 0;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.material-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    max-height: 480px;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(245, 124, 0, 0.3);
}

.material-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Indicador de carga para imágenes */
.material-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    max-width: 90%;
    max-height: 90%;
    z-index: 2;
    position: relative;
}

/* Cuando la imagen está cargada, ocultar el spinner */
.material-image img[src]:not([src=""])+.material-image::before {
    display: none;
}

.material-image img:not([src]),
.material-image img[src=""] {
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.material-card:hover .material-image img {
    transform: scale(1.05);
}

.material-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.material-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.material-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.material-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E, #0D6D5C);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-whatsapp::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 ease;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20BF55, #0F7A6B, #0A5D4F);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

/* ==================================================
   PORTAFOLIO MODERNO Y FLUIDO
   ================================================== */
.portfolio {
    background: var(--primary-dark);
    padding: var(--spacing-mega) 0;
    overflow: hidden;
}

.portfolio-carousel-container {
    position: relative;
    margin-top: var(--spacing-xxl);
}

.portfolio-row {
    display: flex;
    gap: var(--spacing-xl);
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.portfolio-row-1 {
    animation-name: slideLeft;
    margin-bottom: var(--spacing-xl);
}

.portfolio-row-2 {
    animation-name: slideRight;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.portfolio-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(24, 27, 31, 0.8) 0%,
            rgba(245, 124, 0, 0.3) 50%,
            rgba(24, 27, 31, 0.9) 100%);
    opacity: 0;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.portfolio-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Pausa la animación al hover */
.portfolio-carousel-container:hover .portfolio-row {
    animation-play-state: paused;
}

/* ==================================================
   RESPONSIVE DESIGN MEJORADO
   ================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .hero-content {
        padding: calc(var(--header-height) * 0.8 + 2rem) var(--spacing-lg) 0;
    }

    .hero-buttons {
        gap: var(--spacing-md);
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--spacing-lg);
        --spacing-mega: var(--spacing-xxl);
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .loader-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .icon-wrapper {
        padding: var(--spacing-sm);
    }

    .icon-wrapper i {
        font-size: 1.2rem;
    }

    .icon-label {
        font-size: 0.7rem;
    }

    .card-grid.grid-2,
    .card-grid.grid-3,
    .card-grid.grid-4 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .loader-content {
        padding: var(--spacing-lg);
    }

    .loader-logo {
        max-width: 100px;
    }

    .hero-logo-improved img {
        max-width: 140px;
    }

    .loader-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: var(--spacing-xxl) 0;
    }

    .card,
    .service-card,
    .mvv-card {
        padding: var(--spacing-lg);
        padding-top: calc(var(--spacing-lg) + 2rem);
    }

    .mvv-card {
        overflow: visible !important;
    }
}

/* ==================================================
   UTILIDADES Y HELPERS
   ================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ==================================================
   EFECTOS GLASSMORPHISM
   ================================================== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efectos de hover globales mejorados */
.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-glow {
    transition: all var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* ==================================================
   OPTIMIZACIONES FINALES
   ================================================== */
/* Smooth scrolling para navegadores webkit */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Asegurar que las animaciones respeten las preferencias de accesibilidad */
@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;
    }
}

/* Optimización para impresión */
@media print {

    .loader,
    .header,
    .scroll-indicator,
    .btn {
        display: none !important;
    }

    .hero {
        height: auto;
        page-break-inside: avoid;
    }
}

/* ==================================================
   ANIMACIONES ADICIONALES PARA JAVASCRIPT
   ================================================== */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Focus visible para accesibilidad */
.focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* High contrast mode */
.high-contrast {
    --accent-orange: #FFA500;
    --accent-vibrant: #FF8C00;
    --text-light: #FFFFFF;
    --text-muted: #CCCCCC;
}

/* Elementos ocultos inicialmente para animaciones */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(24, 27, 31, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: left var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin-bottom: var(--spacing-lg);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md) var(--spacing-xl);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Elementos que necesitan preserve-3d */
.parallax-container {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ==================================================
   ESTILOS COMPLEMENTARIOS PARA COMPATIBILIDAD
   ================================================== */

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Materiales Section - Eliminado para evitar duplicados y conflictos */

/* Portfolio Section */
.portfolio {
    background: rgba(22, 23, 27, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.portfolio-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    padding: var(--spacing-lg);
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.portfolio-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.portfolio-tag {
    background: rgba(245, 124, 0, 0.2);
    color: var(--accent-orange);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--primary-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.testimonial-card {
    text-align: center;
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-orange);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
}

.testimonial-info h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.testimonial-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: rgba(22, 23, 27, 0.5);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-xxl);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    width: 30px;
    flex-shrink: 0;
}

.contact-item div h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.contact-item div p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive adjustments for additional sections */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .materials-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .material-image {
        height: 200px;
    }

    .material-image img {
        max-width: 90%;
        max-height: 90%;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* Fix para elementos que pueden estar en el HTML original */
.why-choose-us,
.features,
.offers {
    padding: var(--spacing-mega) 0;
}

.why-choose-us {
    background: var(--primary-dark);
}

.features {
    background: rgba(22, 23, 27, 0.5);
}

.offers {
    background: var(--primary-dark);
}

.feature-item,
.offer-item,
.why-item {
    text-align: center;
}

/* ==================================================
   ESTILOS ADICIONALES PARA COMPLETAR FUNCIONALIDAD
   ================================================== */

/* Stats mejoradas */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(245, 124, 0, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(245, 124, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image badge */
.image-badge {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-vibrant));
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

/* Values list */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.value-item:hover {
    background: rgba(245, 124, 0, 0.1);
    transform: translateX(5px);
}

.value-item i {
    color: var(--accent-orange);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.value-item span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* MVV Headers */
.mvv-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.mvv-section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.mvv-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* MVV Cards específicas */
.mission-card {
    border-left: 4px solid var(--accent-orange);
}

.vision-card {
    border-left: 4px solid var(--accent-electric);
}

.values-card {
    border-left: 4px solid var(--accent-vibrant);
}

.mvv-description {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-xs);
    flex-grow: 1;
    display: flex;
    align-items: center;
    max-width: 100%;
}

/* Responsive para stats */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .image-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--spacing-md);
        align-self: flex-start;
    }
}

/* Fix final para cerrar el CSS correctamente */
.final-fix {
    display: none;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.loader-content {
    text-align: center;
    position: relative;
    max-width: 500px;
    padding: 2rem;
    animation: loaderFloat 3s ease-in-out infinite;
}

.loader-logo-container {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.loader-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(245, 124, 0, 0.5));
    transition: all 0.6s ease;
    animation: logoGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.logo-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite;
    z-index: 1;
}

.loader-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.icon-service-container {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-service-container.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(245, 124, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(245, 124, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 124, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.icon-service-container.active .icon-wrapper::before {
    left: 100%;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(245, 124, 0, 0.4));
    transition: all 0.3s ease;
}

.icon-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 2px;
    width: 0%;
    animation: progressLoad 3s ease-out forwards;
}

.loader-text {
    font-family: var(--font-secondary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.loading-main {
    display: inline-block;
}

.loading-dots {
    display: inline-block;
    animation: dotsBlink 1.5s infinite;
}

/* Animaciones del loader mejorado */
@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 25px rgba(245, 124, 0, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 35px rgba(245, 124, 0, 0.8));
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes dotsBlink {

    0%,
    20% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes loaderFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(245, 124, 0, 0.4));
    }

    100% {
        filter: drop-shadow(0 0 30px rgba(245, 124, 0, 0.7));
    }
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==================================================
   HEADER - MÓVIL CON HAMBURGUESA (COMENTADO - CAUSA CONFLICTOS)
   ================================================== */
/*
/*
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-normal);
    pointer-events: none;
}

.navbar {
    height: 100%;
}

.nav-container {
    position: relative;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
}

.nav-logo {
    display: none;
}

/* ==================================================
   HERO INDUSTRIAL EXTREMO - MAQUINARIA PESADA
   ================================================== */
.hero.parallax-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
    /* Vibración constante de maquinaria pesada */
    animation: heavyMachineryShake 0.15s infinite linear;
}

/* Efectos de vibración de construcción industrial */
@keyframes heavyMachineryShake {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -0.5px) rotate(0.1deg);
    }

    20% {
        transform: translate(1px, -1px) rotate(-0.1deg);
    }

    30% {
        transform: translate(-0.5px, 1px) rotate(0.1deg);
    }

    40% {
        transform: translate(1px, 0.5px) rotate(-0.1deg);
    }

    50% {
        transform: translate(-1px, -0.5px) rotate(0.1deg);
    }

    60% {
        transform: translate(0.5px, 0px) rotate(-0.1deg);
    }

    70% {
        transform: translate(-1px, 1px) rotate(0.1deg);
    }

    80% {
        transform: translate(0px, -1px) rotate(-0.1deg);
    }

    90% {
        transform: translate(1px, 0.5px) rotate(0.1deg);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}

.hero-bg.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 108%;
    height: 108%;
    z-index: 1;
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: -4%;
    will-change: transform;
    /* Movimiento de cámara industrial pesada */
    animation: industrialCameraMovement 12s ease-in-out infinite;
}

@keyframes industrialCameraMovement {

    0%,
    100% {
        transform: translateZ(0) scale(1.05) rotate(0deg);
    }

    20% {
        transform: translateZ(0) scale(1.08) rotate(0.8deg);
    }

    40% {
        transform: translateZ(0) scale(1.06) rotate(-0.5deg);
    }

    60% {
        transform: translateZ(0) scale(1.09) rotate(0.3deg);
    }

    80% {
        transform: translateZ(0) scale(1.07) rotate(-0.6deg);
    }
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5) contrast(1.4) saturate(1.2);
    transition: filter 0.3s ease;
    /* Efecto de interferencia de maquinaria pesada */
    animation: machineryGlitch 15s ease-in-out infinite;
}

@keyframes machineryGlitch {

    0%,
    85%,
    100% {
        filter: brightness(0.5) contrast(1.4) saturate(1.2);
    }

    87%,
    89%,
    91%,
    93% {
        filter: brightness(0.8) contrast(1.7) saturate(1.5) hue-rotate(15deg);
    }

    88%,
    90%,
    92%,
    94% {
        filter: brightness(0.3) contrast(1.1) saturate(0.8) hue-rotate(-10deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Efectos de humo de soldadura y polvo */
        radial-gradient(ellipse at 25% 60%, rgba(120, 120, 120, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse at 75% 40%, rgba(100, 100, 100, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(140, 140, 140, 0.25) 0%, transparent 50%),
        /* Efectos de calor de soldadura */
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 69, 0, 0.25) 0%, transparent 70%),
        radial-gradient(circle at 60% 20%, rgba(255, 180, 50, 0.2) 0%, transparent 50%),
        /* Overlay base más dramático */
        linear-gradient(135deg,
            rgba(10, 10, 10, 0.95) 0%,
            rgba(20, 15, 10, 0.8) 25%,
            rgba(30, 25, 20, 0.85) 50%,
            rgba(25, 20, 15, 0.9) 75%,
            rgba(15, 10, 5, 0.98) 100%);
    /* Animación de humo y calor industrial */
    animation: industrialHeatSmoke 20s ease-in-out infinite;
}

@keyframes industrialHeatSmoke {

    0%,
    100% {
        background-position:
            0% 0%, 100% 100%, 50% 0%,
            0% 50%, 100% 0%, 50% 100%,
            0% 0%;
    }

    33% {
        background-position:
            50% 100%, 0% 50%, 100% 50%,
            50% 0%, 50% 100%, 0% 50%,
            0% 0%;
    }

    66% {
        background-position:
            100% 50%, 50% 0%, 0% 100%,
            100% 100%, 0% 50%, 100% 0%,
            0% 0%;
    }
}

.hero-content.parallax-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: clamp(20px, 4vh, 40px) clamp(20px, 4vw, 40px) clamp(50px, 10vh, 70px);
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    gap: clamp(10px, 2vh, 18px);
}

/* Agrupación de texto para mejor organización móvil */
.hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 3vw, 20px);
    margin: clamp(15px, 4vw, 25px) 0 clamp(25px, 5vw, 35px);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Espaciado específico para la nueva estructura */
.hero-subtitle {
    margin-bottom: clamp(12px, 2.5vh, 18px);
}

.hero-buttons {
    margin-bottom: clamp(15px, 3vh, 25px);
}

.parallax-element {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-logo-improved.parallax-element {
    margin-bottom: clamp(8px, 2vh, 15px);
    margin-top: clamp(20px, 4vw, 35px);
    transform: translateZ(80px);
    position: relative;
    animation: industrialMachinery 5s ease-in-out infinite;
}

@keyframes industrialMachinery {

    0%,
    100% {
        transform: translateZ(80px) translateY(0px) scale(1) rotate(0deg);
    }

    20% {
        transform: translateZ(80px) translateY(-8px) scale(1.03) rotate(1deg);
    }

    40% {
        transform: translateZ(80px) translateY(-12px) scale(1.05) rotate(-0.5deg);
    }

    60% {
        transform: translateZ(80px) translateY(-6px) scale(1.02) rotate(0.8deg);
    }

    80% {
        transform: translateZ(80px) translateY(-10px) scale(1.04) rotate(-0.3deg);
    }
}

.hero-logo-improved {
    margin-bottom: 30px;
    margin-top: 20px;
    transform: translateZ(80px);
    order: 1;
    position: relative;
}

.hero-logo-improved img {
    width: clamp(110px, 12vw, 140px);
    height: auto;
    margin: 0 auto;
    filter:
        drop-shadow(0 0 15px rgba(245, 124, 0, 0.5)) drop-shadow(0 0 30px rgba(255, 140, 0, 0.3)) drop-shadow(0 0 45px rgba(255, 69, 0, 0.2)) brightness(1.1) contrast(1.15);
    transition: all 0.6s ease;
    position: relative;
    z-index: 3;
    /* Efectos de máquina industrial reducidos */
    animation: industrialPowerLogoSmall 4s ease-in-out infinite;
}

@keyframes industrialPowerLogoSmall {

    0%,
    100% {
        filter:
            drop-shadow(0 0 20px rgba(245, 124, 0, 0.6)) drop-shadow(0 0 40px rgba(255, 140, 0, 0.4)) drop-shadow(0 0 60px rgba(255, 69, 0, 0.2)) brightness(1.1) contrast(1.2);
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    25% {
        filter:
            drop-shadow(0 0 25px rgba(255, 140, 0, 0.7)) drop-shadow(0 0 50px rgba(255, 69, 0, 0.5)) drop-shadow(0 0 75px rgba(255, 215, 0, 0.3)) brightness(1.2) contrast(1.3);
        transform: translateY(-3px) scale(1.02) rotate(1deg);
    }

    50% {
        filter:
            drop-shadow(0 0 30px rgba(255, 69, 0, 0.8)) drop-shadow(0 0 60px rgba(255, 140, 0, 0.6)) drop-shadow(0 0 90px rgba(255, 215, 0, 0.4)) brightness(1.25) contrast(1.35);
        transform: translateY(-5px) scale(1.03) rotate(-0.5deg);
    }

    75% {
        filter:
            drop-shadow(0 0 28px rgba(255, 140, 0, 0.75)) drop-shadow(0 0 55px rgba(255, 69, 0, 0.55)) drop-shadow(0 0 80px rgba(255, 215, 0, 0.35)) brightness(1.18) contrast(1.28);
        transform: translateY(-2px) scale(1.01) rotate(0.8deg);
    }
}

/* Efecto de resplandor industrial reducido detrás del logo */
.hero-logo-improved::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    background: radial-gradient(circle,
            rgba(255, 140, 0, 0.15) 0%,
            rgba(255, 69, 0, 0.1) 30%,
            rgba(245, 124, 0, 0.05) 50%,
            transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: industrialAuraSmall 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes industrialAuraSmall {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
        background: radial-gradient(circle,
                rgba(255, 140, 0, 0.2) 0%,
                rgba(255, 69, 0, 0.15) 30%,
                rgba(245, 124, 0, 0.08) 50%,
                transparent 70%);
    }

    25% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
        background: radial-gradient(circle,
                rgba(255, 69, 0, 0.25) 0%,
                rgba(255, 140, 0, 0.18) 25%,
                rgba(255, 215, 0, 0.12) 45%,
                transparent 65%);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
        background: radial-gradient(circle,
                rgba(255, 215, 0, 0.3) 0%,
                rgba(255, 140, 0, 0.22) 20%,
                rgba(255, 69, 0, 0.15) 40%,
                transparent 60%);
    }

    75% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.25;
        background: radial-gradient(circle,
                rgba(255, 140, 0, 0.22) 0%,
                rgba(255, 69, 0, 0.16) 25%,
                rgba(245, 124, 0, 0.1) 45%,
                transparent 65%);
    }
}

.hero-title.parallax-element {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(8px, 2vh, 15px);
    color: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: none;
    hyphens: none;
    white-space: nowrap;
    text-shadow:
        0 0 15px rgba(245, 124, 0, 0.9),
        0 0 30px rgba(255, 140, 0, 0.7),
        0 0 45px rgba(255, 69, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.4),
        3px 3px 0px rgba(0, 0, 0, 0.9),
        6px 6px 0px rgba(0, 0, 0, 0.6),
        9px 9px 0px rgba(139, 69, 19, 0.4);
    transform: translateZ(60px);
    position: relative;
    letter-spacing: 3px;
    text-transform: uppercase;
    /* Efectos industriales de maquinaria pesada */
    animation: industrialTitlePower 5s ease-in-out infinite;
    filter: brightness(1.2) contrast(1.3);
}

@keyframes industrialTitlePower {

    0%,
    100% {
        text-shadow:
            0 0 15px rgba(245, 124, 0, 0.9),
            0 0 30px rgba(255, 140, 0, 0.7),
            0 0 45px rgba(255, 69, 0, 0.5),
            0 0 60px rgba(255, 215, 0, 0.4),
            3px 3px 0px rgba(0, 0, 0, 0.9),
            6px 6px 0px rgba(0, 0, 0, 0.6),
            9px 9px 0px rgba(139, 69, 19, 0.4);
        transform: translateZ(60px) translateY(0px) scale(1) rotate(0deg);
        filter: brightness(1.2) contrast(1.3);
    }

    20% {
        text-shadow:
            0 0 20px rgba(255, 140, 0, 1.1),
            0 0 40px rgba(255, 69, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6),
            0 0 80px rgba(255, 140, 0, 0.5),
            4px 4px 0px rgba(0, 0, 0, 0.95),
            8px 8px 0px rgba(0, 0, 0, 0.7),
            12px 12px 0px rgba(139, 69, 19, 0.5);
        transform: translateZ(60px) translateY(-8px) scale(1.03) rotate(1deg);
        filter: brightness(1.4) contrast(1.5);
    }

    40% {
        text-shadow:
            0 0 25px rgba(255, 69, 0, 1.3),
            0 0 50px rgba(255, 215, 0, 0.9),
            0 0 75px rgba(255, 140, 0, 0.7),
            0 0 100px rgba(245, 124, 0, 0.6),
            5px 5px 0px rgba(0, 0, 0, 1.0),
            10px 10px 0px rgba(0, 0, 0, 0.8),
            15px 15px 0px rgba(139, 69, 19, 0.6);
        transform: translateZ(60px) translateY(-12px) scale(1.05) rotate(-1deg);
        filter: brightness(1.5) contrast(1.6);
    }

    60% {
        text-shadow:
            0 0 30px rgba(255, 215, 0, 1.2),
            0 0 60px rgba(255, 69, 0, 0.9),
            0 0 90px rgba(255, 140, 0, 0.7),
            0 0 120px rgba(245, 124, 0, 0.5),
            6px 6px 0px rgba(0, 0, 0, 0.98),
            12px 12px 0px rgba(0, 0, 0, 0.75),
            18px 18px 0px rgba(139, 69, 19, 0.55);
        transform: translateZ(60px) translateY(-15px) scale(1.08) rotate(1.5deg);
        filter: brightness(1.6) contrast(1.7);
    }

    80% {
        text-shadow:
            0 0 22px rgba(255, 140, 0, 1.0),
            0 0 45px rgba(255, 69, 0, 0.8),
            0 0 68px rgba(255, 215, 0, 0.6),
            0 0 90px rgba(245, 124, 0, 0.4),
            4px 4px 0px rgba(0, 0, 0, 0.92),
            8px 8px 0px rgba(0, 0, 0, 0.68),
            12px 12px 0px rgba(139, 69, 19, 0.48);
        transform: translateZ(60px) translateY(-5px) scale(1.02) rotate(-0.5deg);
        filter: brightness(1.35) contrast(1.45);
    }
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==================================================
   SERVICIOS
   ================================================== */
.services {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(20, 22, 26, 0.95) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

@keyframes industrialSubtitleGlow {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(255, 140, 0, 0.6),
            0 0 20px rgba(255, 69, 0, 0.4),
            2px 2px 6px rgba(0, 0, 0, 0.9),
            4px 4px 12px rgba(0, 0, 0, 0.7);
        border-color: rgba(245, 124, 0, 0.4);
        background:
            linear-gradient(135deg,
                rgba(0, 0, 0, 0.5) 0%,
                rgba(139, 69, 19, 0.3) 25%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(245, 124, 0, 0.1) 75%,
                rgba(0, 0, 0, 0.3) 100%);
    }

    33% {
        text-shadow:
            0 0 15px rgba(255, 69, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.5),
            3px 3px 8px rgba(0, 0, 0, 0.95),
            6px 6px 16px rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 140, 0, 0.6);
        background:
            linear-gradient(135deg,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(139, 69, 19, 0.4) 20%,
                rgba(255, 140, 0, 0.15) 40%,
                rgba(245, 124, 0, 0.2) 60%,
                rgba(0, 0, 0, 0.35) 80%,
                rgba(139, 69, 19, 0.2) 100%);
    }

    66% {
        text-shadow:
            0 0 18px rgba(255, 215, 0, 0.7),
            0 0 35px rgba(255, 140, 0, 0.6),
            4px 4px 10px rgba(0, 0, 0, 1.0),
            8px 8px 20px rgba(0, 0, 0, 0.85);
        border-color: rgba(255, 69, 0, 0.5);
        background:
            linear-gradient(135deg,
                rgba(0, 0, 0, 0.45) 0%,
                rgba(255, 69, 0, 0.1) 25%,
                rgba(139, 69, 19, 0.35) 45%,
                rgba(255, 215, 0, 0.08) 65%,
                rgba(0, 0, 0, 0.4) 85%,
                rgba(245, 124, 0, 0.15) 100%);
    }
}

/* Efecto de partículas industriales en el fondo del subtítulo */
.hero-subtitle.parallax-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 140, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 69, 0, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.015) 0%, transparent 30%);
    animation: industrialSubtitleParticles 8s linear infinite;
    z-index: -1;
    border-radius: var(--border-radius-lg);
}

@keyframes industrialSubtitleParticles {

    0%,
    100% {
        background:
            radial-gradient(circle at 15% 25%, rgba(255, 140, 0, 0.03) 0%, transparent 40%),
            radial-gradient(circle at 85% 75%, rgba(255, 69, 0, 0.02) 0%, transparent 35%),
            radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.015) 0%, transparent 30%);
    }

    50% {
        background:
            radial-gradient(circle at 25% 75%, rgba(255, 69, 0, 0.035) 0%, transparent 45%),
            radial-gradient(circle at 75% 25%, rgba(255, 215, 0, 0.025) 0%, transparent 38%),
            radial-gradient(circle at 40% 60%, rgba(255, 140, 0, 0.02) 0%, transparent 32%);
    }
}

.hero-buttons.parallax-element {
    display: flex;
    gap: clamp(15px, 4vw, 25px);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(25px, 5vh, 35px);
    transform: translateZ(30px);
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 100;
}

.hero-buttons .btn {
    padding: clamp(16px, 4vw, 22px) clamp(32px, 6vw, 45px);
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    flex: 1;
    min-width: clamp(180px, 42vw, 240px);
    max-width: 260px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn i {
    font-size: clamp(14px, 3vw, 16px);
    flex-shrink: 0;
}

.hero-buttons .btn span {
    display: inline-block;
    font-size: clamp(13px, 2.8vw, 15px);
    letter-spacing: 0.5px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 15px 40px rgba(245, 124, 0, 0.4);
}

.scroll-indicator.parallax-element {
    position: absolute;
    bottom: clamp(25px, 5vw, 40px);
    left: 50%;
    transform: translateX(-50%) translateZ(20px);
    z-index: 15;
    text-align: center;
    animation: scrollBounce 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    /* Fondo eliminado */
    border-radius: 25px;
    min-width: 80px;
}

.scroll-text {
    font-size: clamp(11px, 2.2vw, 13px);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.scroll-arrow {
    color: var(--accent-orange);
    font-size: clamp(18px, 3.5vw, 22px);
    animation: arrowBounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes arrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Animaciones específicas del hero */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}



/* Presentación Principal */
.about-intro {
    margin-bottom: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.about-description strong {
    color: var(--accent-orange);
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(245, 124, 0, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(245, 124, 0, 0.2);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: rgba(245, 124, 0, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

/* Misión, Visión y Valores */
.mission-vision-values {
    margin: 100px 0 100px 0;
    position: relative;
    padding: 20px 0;
}

.mission-vision-values::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.mvv-header {
    text-align: center;
    margin-bottom: 40px;
}

.mvv-section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.mvv-section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Estilos duplicados eliminados - usando solo la versión principal */

/* Qué Ofrecemos */
.what-we-offer {
    margin-bottom: 80px;
}

.offer-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
}

.offer-description {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
    font-weight: 400;
}

.offer-description strong {
    color: var(--accent-orange);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
}

.offer-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    height: 180px;
    width: 100%;
    max-width: 500px;
    align-items: center;
}

.offer-item:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 124, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.offer-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.offer-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Por Qué Elegirnos */
.why-choose-us {
    text-align: center;
}

.why-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-item {
    background: var(--card-bg);
    padding: 40px 25px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    position: relative;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 124, 0, 0.3);
}

.why-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 20px;
    opacity: 0.8;
}

.why-item h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive - Acerca de Nosotros */
@media (max-width: 768px) {
    .about-us {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .mvv-card {
        padding: 30px 20px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .why-item {
        padding: 30px 20px;
    }

    .offer-title,
    .why-title {
        font-size: 2rem;
    }
}

/* Fix para media queries */

/* ==============================
   MODAL DE PRIVACIDAD
   ============================== */

.privacy-link {
    color: var(--accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--accent-orange-light);
    text-decoration: underline;
}

.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.privacy-modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.privacy-modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent-orange);
}

.privacy-modal-header h2 {
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.5rem;
}

.close-privacy {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-privacy:hover,
.close-privacy:focus {
    color: var(--accent-orange);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.privacy-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--primary-dark);
}

.privacy-modal-body h3 {
    color: var(--primary-dark);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.privacy-modal-body h3:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    margin-bottom: 15px;
    color: #333;
}

.privacy-modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-modal-body li {
    margin-bottom: 8px;
    color: #444;
}

.privacy-modal-body strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.privacy-modal-body small {
    color: var(--text-muted);
    font-style: italic;
    display: block;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Scrollbar personalizada para el modal */
.privacy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange-light);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .privacy-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .privacy-modal-header {
        padding: 15px 20px;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .privacy-modal-body {
        padding: 20px;
        max-height: 60vh;
    }
    
    .close-privacy {
        font-size: 1.8rem;
        width: 35px;
        height: 35px;
    }
}