/* Hero Styles - SOMA */

.hero-servicios {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    background: #000;
}

/* Imagen de fondo con overlay */
.hero-servicios .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
    z-index: 1;
}

.hero-servicios .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(37, 99, 235, 0.3) 100%);
    z-index: 2;
}

/* Elementos decorativos flotantes */
.hero-decorative {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float-decorative 8s ease-in-out infinite;
}

.hero-decorative:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    animation-delay: 0s;
}

.hero-decorative:nth-child(2) {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 0, 0.3);
    animation-delay: 3s;
}

.hero-decorative:nth-child(3) {
    top: 50%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    animation-delay: 6s;
}

/* Animaciones */
@keyframes float-decorative {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Títulos con sombras */
.hero-title h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.05em;
}

.hero-subtitle p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Botón de contacto mejorado - siempre visible */
.hero-cta {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-cta a {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    opacity: 1 !important;
    transform: none !important;
    display: inline-flex !important;
}

.hero-cta a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
}

/* Mantener compatibilidad con el botón anterior */
.hero-scroll button {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-scroll button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Estadísticas flotantes */
.hero-stats {
    z-index: 30;
}

.hero-stats > div {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stats > div:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* Estadísticas y elementos sin animaciones - todo visible inmediatamente */
.hero-title, .hero-subtitle, .hero-cta, .hero-stats {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.stats-card {
    transition: all 0.3s ease;
    opacity: 1 !important;
    transform: none !important;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Efectos de parallax sutiles */
@media (min-width: 1024px) {
    .hero-servicios .hero-bg {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-decorative {
        display: none;
    }
    
    .hero-servicios .hero-bg {
        background-attachment: scroll;
        background-size: cover !important;
    }
    
    .hero-title h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-cta a {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .hero-decorative,
    .hero-stats > div {
        animation: none !important;
    }
    
    .hero-scroll button {
        transition: none !important;
    }
}