/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --color-primary: #0F253D;
    --color-secondary: #C8A969;
    --color-accent: #D4B875;
    --color-background: #E7EEE8;
    --color-text: #333;
    --color-white: #ffffff;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto Metalizado Global para Elementos Dorados */
.metallic-gold {
    color: #C8A969 !important;
    background: linear-gradient(135deg, 
        #C8A969 0%, 
        #D4B875 20%, 
        #F4E4C1 35%, 
        #D4B875 50%, 
        #B89A5A 70%, 
        #C8A969 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(200, 169, 105, 0.3),
        0 0 20px rgba(200, 169, 105, 0.2);
    position: relative;
    filter: brightness(1.1) contrast(1.1);
}

.metallic-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    mix-blend-mode: overlay;
    opacity: 0.6;
    animation: metallicShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes metallicShine {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(100%); opacity: 0.6; }
}

/* Efecto Metalizado para Borders y Backgrounds */
.metallic-border {
    background: linear-gradient(135deg, 
        #C8A969 0%, 
        #D4B875 25%, 
        #F4E4C1 50%, 
        #D4B875 75%, 
        #C8A969 100%
    );
    box-shadow: 
        0 0 10px rgba(200, 169, 105, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.metallic-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%
    );
    animation: metallicSweep 4s ease-in-out infinite;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #C8A969 0%, #D4B875 25%, #B89A5A 50%, #C8A969 75%, #D4B875 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(200, 169, 105, 0.4),
        0 2px 10px rgba(15, 37, 61, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border-bottom: 1px solid rgba(15, 37, 61, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 100%
    );
    animation: metallicSweep 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 20%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.6) 80%,
        transparent 100%
    );
    animation: metallicShine 6s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes metallicSweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

@keyframes metallicShine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes dynamicLightSource {
    0% {
        /* Luz desde arriba izquierda */
        filter: brightness(0.8);
    }
    25% {
        /* Luz se mueve a la derecha */
        filter: brightness(1.3);
    }
    50% {
        /* Luz desde abajo derecha */
        filter: brightness(1.6);
    }
    75% {
        /* Luz se mueve a la izquierda */
        filter: brightness(1.3);
    }
    100% {
        /* Regresa a posición inicial */
        filter: brightness(0.8);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    overflow-x: hidden;
}

.nav-logo img {
    width: 40px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(9%) sepia(31%) saturate(475%) hue-rotate(190deg) brightness(100%) contrast(100%);
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: brightness(0) saturate(100%) invert(9%) sepia(31%) saturate(475%) hue-rotate(190deg) brightness(100%) contrast(100%) drop-shadow(0 4px 8px rgba(15, 37, 61, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 1px 2px rgba(15, 37, 61, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(15, 37, 61, 0.2);
    box-shadow: 
        0 2px 8px rgba(15, 37, 61, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.05) contrast(1.05);
}

.nav-link:hover {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(15, 37, 61, 0.8) 0%, rgba(15, 37, 61, 0.6) 100%);
    box-shadow: 
        0 4px 16px rgba(15, 37, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(200, 169, 105, 0.3);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200, 169, 105, 0.1);
    border: 1px solid rgba(200, 169, 105, 0.2);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(200, 169, 105, 0.2);
    border-color: rgba(200, 169, 105, 0.4);
    transform: translateY(-2px);
}

.social-link svg {
    transition: all 0.3s ease;
}

.social-link:hover svg {
    fill: #C8A969;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #0a1a2a 100%);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(15, 37, 61, 0.3);
}

/* Hero Section - Fondo Dinámico Animado */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    
    /* Capa base - Gradiente complejo multicapa */
    background: 
        /* Zona iluminada superior derecha */
        radial-gradient(ellipse at 85% 25%, rgba(200, 169, 105, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 35%, rgba(135, 206, 250, 0.08) 0%, transparent 40%),
        
        /* Gradiente principal - Azul petróleo a navy profundo */
        linear-gradient(135deg, 
            #0a1929 0%,           /* Navy profundo */
            #0f2847 25%,          /* Azul petróleo */
            #163a5c 45%,          /* Azul medio */
            #1a4d7a 65%,          /* Azul más claro */
            #0f2847 85%,          /* Azul petróleo */
            #0a1929 100%          /* Navy profundo */
        ),
        
        /* Capa de profundidad - Variaciones sutiles */
        radial-gradient(circle at 30% 70%, rgba(15, 40, 71, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(26, 77, 122, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(10, 25, 41, 0.5) 0%, transparent 40%);
    
    /* Animación de fuente de luz dinámica */
    animation: dynamicLightSource 20s ease-in-out infinite;
}
/* Capa de textura y profundidad adicional */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Textura sutil tipo noise/grano */
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.02) 2px, transparent 2px),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 2px, transparent 2px),
        
        /* Zonas de luz ambiental */
        radial-gradient(ellipse at 25% 25%, rgba(135, 206, 250, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 75%, rgba(200, 169, 105, 0.03) 0%, transparent 50%),
        
        /* Gradiente de profundidad */
        linear-gradient(180deg, 
            rgba(10, 25, 41, 0.2) 0%, 
            transparent 30%, 
            transparent 70%, 
            rgba(15, 37, 61, 0.3) 100%);
    background-size: 
        100px 100px, 150px 150px, 120px 120px, 180px 180px,
        100% 100%, 100% 100%, 100% 100%;
    
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    
    /* Animación de fuente de luz dinámica */
    animation: dynamicLightSource 20s ease-in-out infinite;
}

/* Capa final de profundidad y atmósfera */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Efecto de viñeta sutil */
        radial-gradient(ellipse at center, transparent 40%, rgba(10, 25, 41, 0.4) 100%),
        
        /* Zonas de luz focalizadas */
        radial-gradient(circle at 85% 15%, rgba(200, 169, 105, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 15% 85%, rgba(135, 206, 250, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.04) 0%, transparent 25%),
        
        /* Capa de atmósfera */
        linear-gradient(45deg, 
            rgba(10, 25, 41, 0.1) 0%, 
            transparent 20%, 
            rgba(26, 77, 122, 0.08) 50%, 
            transparent 80%, 
            rgba(10, 25, 41, 0.1) 100%
        );
    
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
    opacity: 0.7;
}


.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
}

.hero-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alineado arriba */
    z-index: 2;
    position: relative;
    padding-top: 80px; /* Más espacio para mover contenido hacia arriba */
}

.hero-right {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.hero-logo {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY3d(0, 20px, 0);
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 0.3s;
    filter: drop-shadow(0 8px 24px rgba(200, 169, 105, 0.4));
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero-logo-img {
    width: 180px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(81%) sepia(26%) saturate(714%) hue-rotate(329deg) brightness(94%) contrast(87%), brightness(1.1) contrast(1.05) saturate(1.2) drop-shadow(0 0 8px rgba(200, 169, 105, 0.3));
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-delay: 0.2s;
    will-change: transform, opacity;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0;
    color: #C8A969 !important;
    opacity: 1;
    transform: translateY3d(0, 0, 0);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-delay: 0.5s;
    position: relative;
    z-index: 5;
    will-change: transform, opacity;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(200, 169, 105, 0.3),
        0 0 20px rgba(200, 169, 105, 0.2);
    filter: brightness(1.1) contrast(1.1);
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
}

.hero-subtitle {
    font-size: 20px;
    color: #C8A969;
    opacity: 1;
    margin-bottom: 2rem;
    transform: translateY3d(0, 0, 0);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-delay: 0.7s;
    will-change: transform, opacity;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 0 8px rgba(200, 169, 105, 0.3),
        0 0 16px rgba(200, 169, 105, 0.2);
    filter: brightness(1.1) contrast(1.05);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 1;
    transform: translateY3d(0, 0, 0);
    animation: fadeInUp 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1.5s;
    will-change: transform, opacity;
}

.btn-hero {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(200, 169, 105, 0.1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #C8A969 0%, #D4B875 50%, #B89A5A 100%);
    color: #0F253D;
    box-shadow: 
        0 4px 12px rgba(200, 169, 105, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(200, 169, 105, 0.3);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #B89A5A 0%, #C8A969 50%, #D4B875 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(200, 169, 105, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: rgba(15, 37, 61, 0.8);
    color: #C8A969;
    border: 2px solid #C8A969;
    box-shadow: 
        0 4px 12px rgba(15, 37, 61, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary:hover {
    background: rgba(200, 169, 105, 0.9);
    color: #0F253D;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(200, 169, 105, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Contenedor del cerebro con glow */
.brain-glow-container {
    position: relative;
    display: inline-block;
    margin-left: 40px; /* Desplazado hacia la derecha para balance visual */
}

/* Glow dorado ligero detrás del cerebro */
.brain-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(200, 169, 105, 0.15) 0%,
        rgba(200, 169, 105, 0.08) 30%,
        rgba(200, 169, 105, 0.04) 60%,
        transparent 100%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 1;
    animation: glowPulse 8s ease-in-out infinite;
    filter: blur(2px);
}

.hero-brain {
    width: 480px;
    height: auto;
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1);
    animation: scaleIn 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1.2s;
    position: relative;
    z-index: 2;
    will-change: transform, opacity;
    filter: brightness(1.1) contrast(1.05) saturate(1.2);
    mix-blend-mode: screen;
}

/* Efecto metalizado para el cerebro */
.hero-brain.metallic-brain {
    filter: brightness(1.2) contrast(1.1) saturate(1.3) drop-shadow(0 0 15px rgba(200, 169, 105, 0.4));
}

/* Animación sutil de respiración para el glow */
@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.hero-line {
    position: absolute;
    height: 2px;
    background-color: #C8A969;
    top: 50%; /* Alineado con centro del cerebro */
    left: 8%;
    width: 0;
    opacity: 0;
    animation: drawLine 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 0.1s;
    box-shadow: 0 0 4px rgba(200, 169, 105, 0.3);
    z-index: 1;
    will-change: transform, opacity, width;
}

/* Animaciones de Entrada al Scroll - Rápidas y Fluidas */
.scroll-reveal {
    opacity: 0;
    transform: translateY3d(0, 20px, 0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY3d(0, 0, 0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale3d(0.95, 0.95, 1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal-scale.active {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* Stagger delays para elementos múltiples - Más rápidos */
.scroll-reveal-stagger-1 { transition-delay: 0.05s; }
.scroll-reveal-stagger-2 { transition-delay: 0.1s; }
.scroll-reveal-stagger-3 { transition-delay: 0.15s; }
.scroll-reveal-stagger-4 { transition-delay: 0.2s; }
.scroll-reveal-stagger-5 { transition-delay: 0.25s; }
.scroll-reveal-stagger-6 { transition-delay: 0.3s; }
.scroll-reveal-stagger-7 { transition-delay: 0.35s; }
.scroll-reveal-stagger-8 { transition-delay: 0.4s; }
.scroll-reveal-stagger-9 { transition-delay: 0.45s; }
.scroll-reveal-stagger-10 { transition-delay: 0.5s; }
.scroll-reveal-stagger-11 { transition-delay: 0.55s; }
.scroll-reveal-stagger-12 { transition-delay: 0.6s; }
.scroll-reveal-stagger-13 { transition-delay: 0.65s; }
.scroll-reveal-stagger-14 { transition-delay: 0.7s; }
.scroll-reveal-stagger-15 { transition-delay: 0.75s; }
.scroll-reveal-stagger-16 { transition-delay: 0.8s; }
.scroll-reveal-stagger-17 { transition-delay: 0.85s; }
.scroll-reveal-stagger-18 { transition-delay: 0.9s; }
.scroll-reveal-stagger-19 { transition-delay: 0.95s; }
.scroll-reveal-stagger-20 { transition-delay: 1.0s; }

/* Animaciones Hero - Superfluidas con GPU Acceleration */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes drawLine {
    to {
        width: calc(55% - 8% - 40px); /* Calcula exactamente hasta el borde del cerebro */
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1);
    }
}

/* Animación de respiración para el glow */
@keyframes glowBreathing {
    0%, 100% {
        opacity: 0.08;
    }
    50% {
        opacity: 0.12;
    }
}

/* Secciones */
.section {
    padding: 100px 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.section-dark {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    
    /* Capa base - Gradiente complejo multicapa como el hero */
    background: 
        /* Zona iluminada superior derecha */
        radial-gradient(ellipse at 85% 25%, rgba(200, 169, 105, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 35%, rgba(135, 206, 250, 0.08) 0%, transparent 40%),
        
        /* Gradiente principal - Azul petróleo a navy profundo */
        linear-gradient(135deg, 
            #0a1929 0%,           /* Navy profundo */
            #0f2847 25%,          /* Azul petróleo */
            #163a5c 45%,          /* Azul medio */
            #1a4d7a 65%,          /* Azul más claro */
            #0f2847 85%,          /* Azul petróleo */
            #0a1929 100%          /* Navy profundo */
        ),
        
        /* Capa de profundidad - Variaciones sutiles */
        radial-gradient(circle at 30% 70%, rgba(15, 40, 71, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(26, 77, 122, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(10, 25, 41, 0.5) 0%, transparent 40%);
}

/* Capa de textura y profundidad adicional para section-dark */
.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Textura sutil tipo noise/grano */
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.02) 2px, transparent 2px),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 2px, transparent 2px),
        
        /* Zonas de luz ambiental */
        radial-gradient(ellipse at 25% 25%, rgba(135, 206, 250, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 75%, rgba(200, 169, 105, 0.03) 0%, transparent 50%),
        
        /* Gradiente de profundidad */
        linear-gradient(180deg, 
            rgba(10, 25, 41, 0.2) 0%, 
            transparent 30%, 
            rgba(26, 77, 122, 0.1) 70%, 
            rgba(10, 25, 41, 0.3) 100%
        );
    
    background-size: 
        100px 100px, 150px 150px, 120px 120px, 180px 180px,
        100% 100%, 100% 100%, 100% 100%;
    
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Capa final de profundidad y atmósfera para section-dark */
.section-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Efecto de viñeta sutil */
        radial-gradient(ellipse at center, transparent 40%, rgba(10, 25, 41, 0.4) 100%),
        
        /* Zonas de luz focalizadas */
        radial-gradient(circle at 85% 15%, rgba(200, 169, 105, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 15% 85%, rgba(135, 206, 250, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.04) 0%, transparent 25%),
        
        /* Capa de atmósfera */
        linear-gradient(45deg, 
            rgba(10, 25, 41, 0.1) 0%, 
            transparent 20%, 
            rgba(26, 77, 122, 0.08) 50%, 
            transparent 80%, 
            rgba(10, 25, 41, 0.1) 100%
        );
    
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
    opacity: 0.7;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-dark .section-title {
    color: var(--color-accent);
}

.section-dark .section-subtitle {
    color: #ccc;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

/* Diagnóstico Consultivo Profesional */
.diagnosis-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.diagnosis-microcopy {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 1.5rem auto 3rem;
    max-width: 700px;
    font-style: italic;
    opacity: 0.8;
}

/* Layout 2 Columnas para Problemas */
.problems-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.problems-list-container {
    padding-right: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Layout 2 Columnas para Resultados */
.results-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.results-image-container {
    padding-right: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.results-list-container {
    padding-left: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problems-list {
    position: relative;
    padding-left: 20px;
}

.problems-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #C8A969, #D4B875, #B89A5A);
    border-radius: 2px;
}

.problems-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.4s;
    height: 100%;
}

.problems-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.problems-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.problem-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.problem-item:nth-child(1) { animation-delay: 0.1s; }
.problem-item:nth-child(2) { animation-delay: 0.2s; }
.problem-item:nth-child(3) { animation-delay: 0.3s; }
.problem-item:nth-child(4) { animation-delay: 0.4s; }
.problem-item:nth-child(5) { animation-delay: 0.5s; }
.problem-item:nth-child(6) { animation-delay: 0.6s; }
.problem-item:nth-child(7) { animation-delay: 0.7s; }

.problem-bullet {
    width: 8px;
    height: 8px;
    background: #C8A969;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
}

.problem-bullet::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #C8A969;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.problem-item p {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Lista de Resultados - Nuevo Diseño */
.results-list {
    position: relative;
    padding-left: 20px;
}

.results-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-accent));
    border-radius: 1px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(200, 169, 105, 0.2);
}

.result-item p {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Métricas de Impacto */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.impact-metric {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.impact-metric:nth-child(1) { animation-delay: 0.7s; }
.impact-metric:nth-child(2) { animation-delay: 0.8s; }
.impact-metric:nth-child(3) { animation-delay: 0.9s; }

.impact-metric .metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    line-height: 1;
}

.impact-metric .metric-description {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.4;
}

/* Servicios Section - Nuevo Diseño Profesional */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.services-column {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.services-column:first-child {
    animation-delay: 0.2s;
}

.services-column:last-child {
    animation-delay: 0.4s;
}

.services-column-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.services-subtitle {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Service Accordion - Diseño Profesional */
.service-accordion {
    border-bottom: 1px solid rgba(15, 37, 61, 0.1);
    transition: var(--transition);
}

.service-header {
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.service-header:hover .service-title {
    color: var(--color-secondary);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
    margin: 0;
}

.service-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-accordion.active .service-icon {
    transform: rotate(180deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0;
}

.service-accordion.active .service-content {
    max-height: 2000px;
    padding: 1.5rem 0;
    background: rgba(15, 37, 61, 0.03);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-details {
padding: 0 1.5rem;
}

.service-pricing {
display: flex;
justify-content: center;
align-items: center;
background: rgba(200, 169, 105, 0.08);
padding: 0.8rem 1rem;
border-radius: 6px;
margin-bottom: 1.5rem;
border: 1px solid rgba(200, 169, 105, 0.15);
}

.service-participants {
color: var(--color-primary);
font-size: 0.9rem;
font-weight: 500;
}

.service-quote {
display: flex;
justify-content: center;
align-items: center;
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(200, 169, 105, 0.15);
}

.quote-button {
display: inline-block;
background: linear-gradient(135deg, #C8A969 0%, #B3945F 100%);
color: white;
text-decoration: none;
padding: 0.6rem 1.5rem;
border-radius: 25px;
font-weight: 600;
font-size: 0.9rem;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(200, 169, 105, 0.3);
}

.quote-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(200, 169, 105, 0.4);
background: linear-gradient(135deg, #D4B477 0%, #C8A969 100%);
}

.service-details h5 {
font-size: 1rem;
font-weight: 600;
color: var(--color-primary);
margin: 1.5rem 0 0.8rem 0;
}

.service-details h5:first-child {
margin-top: 0;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-details li {
    padding: 0.4rem 0;
    color: var(--color-text);
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-details li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Responsive para Problemas */
@media (max-width: 768px) {
    .problems-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .problems-list-container {
        padding-right: 0;
    }
    
    .problems-image-container {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .results-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .results-list-container {
        padding-left: 0;
    }
    
    .results-image-container {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .problems-image {
        max-width: 80%;
    }
}

/* Responsive para Servicios */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-column-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .services-subtitle {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .service-header {
        padding: 1rem 0;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-details {
        padding: 0 1rem;
    }
    
    .service-details li {
        font-size: 0.9rem;
    }
}

/* Servicios Accordion */
.services-accordion {
    margin-top: 3rem;
}

.accordion-section {
    margin-bottom: 3rem;
}

.accordion-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-primary);
    text-align: center;
}

.accordion-item {
    background: var(--color-white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
}

.accordion-header {
    padding: 1.5rem 2rem;
    background: var(--color-white);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(200, 169, 105, 0.1);
}

.accordion-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.service-details ul {
    padding-left: 0;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Costos Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.pricing-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-items {
    margin-bottom: 2rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.pricing-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-info h4 {
    color: var(--color-white);
    font-weight: 500;
}

.pricing-price {
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing-participants {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.pricing-notes {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.pricing-notes p {
    margin: 0.25rem 0;
}

/* Metodología Section - Nuevo Diseño Profesional */
.methodology-intro {
    text-align: center;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.methodology-flow {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(15, 37, 61, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(15, 37, 61, 0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.methodology-block:nth-child(1) { animation-delay: 0.1s; }
.methodology-block:nth-child(2) { animation-delay: 0.3s; }
.methodology-block:nth-child(3) { animation-delay: 0.5s; }

.methodology-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 37, 61, 0.12);
}

.methodology-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.methodology-indicator {
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(200, 169, 105, 0.2);
}

.methodology-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.methodology-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.methodology-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
}

.methodology-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 37, 61, 0.1);
    transition: transform 0.3s ease;
}

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

.methodology-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.methodology-list li {
    padding: 0.5rem 0;
    color: var(--color-text);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.methodology-list li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.methodology-connector {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.methodology-connector::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), rgba(200, 169, 105, 0.3));
    border-radius: 1px;
}

/* Responsive para Metodología */
@media (max-width: 768px) {
    .methodology-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .methodology-block {
        padding: 1.5rem;
    }
    
    .methodology-connector {
        width: 100%;
        height: 40px;
    }
    
    .methodology-connector::before {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--color-secondary), rgba(200, 169, 105, 0.3));
    }
    
    .methodology-title {
        font-size: 1.2rem;
    }
    
    .methodology-list li {
        font-size: 0.9rem;
    }
}

/* Consultor Card */
.consultor-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.consultor-image {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.consultor-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-secondary);
}

.consultor-info {
    text-align: center;
    padding: 1rem 2rem 2rem;
}

.consultor-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.consultor-position {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.consultor-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-secondary);
}

.contact-details h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

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

/* Botones */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #b89a5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) saturate(100%) invert(81%) sepia(26%) saturate(714%) hue-rotate(329deg) brightness(94%) contrast(87%);
}

.footer-logo p {
    font-weight: 600;
    color: var(--color-secondary);
}

.footer-info {
    text-align: right;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--color-secondary);
        width: 100vw;
        max-width: 100vw;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        gap: 0;
        padding: 2rem 0;
        z-index: 9999;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100vh - 80px);
    }

    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hero Responsive - Logo más grande y arriba, sin cerebro, mejor distribución */
    .hero-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 3rem 4% 2rem;
        gap: 1.5rem;
        min-height: 100vh;
        display: flex;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-right {
        display: none; /* Ocultar completamente el cerebro en móvil */
    }

    .hero-left {
        width: 100%;
        max-width: 100vw;
        order: 1; /* Todo el contenido en un solo orden */
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-logo {
        margin-bottom: 1.5rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-logo-img {
        width: 160px; /* Logo aún más grande en móvil */
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 16px;
        opacity: 0.8;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-line {
        display: none; /* Ocultar la línea en mobile */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .btn-hero {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .contact-form {
        padding: 1.5rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Evitar zoom en iOS */
        padding: 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-circle {
        width: 250px;
        height: 250px;
    }

    .hero-brain {
        width: 180px;
        height: 180px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    .results-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-metric .metric-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    /* WhatsApp Responsive */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: rotate(15deg);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animaciones adicionales */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
