/* ============================================
   SERVICIOS EMPRESARIALES - ESTILOS
   ============================================ */

.servicios-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.servicios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Header de la sección */
.servicios-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.servicios-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servicios-header .section-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.servicios-header .section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Grid de Servicios Principales */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.servicio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.servicio-card:hover::before {
    opacity: 1;
}

.servicio-content {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(5deg);
}

.servicio-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.servicio-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servicio-features li {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.6;
}

.servicio-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Sección de Proceso */
.proceso-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    padding: 60px 40px;
    margin-bottom: 100px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 1;
}

.proceso-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 700;
}

.proceso-title .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proceso-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.proceso-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.proceso-step h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.proceso-step p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.proceso-arrow {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Ejemplos de Aplicación */
.ejemplos-section {
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.ejemplos-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 700;
}

.ejemplos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ejemplo-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.ejemplo-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.ejemplo-icon-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ejemplo-icon-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ejemplo-icon-header i {
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 1;
    position: relative;
    transition: all 0.4s ease;
}

.ejemplo-card:hover .ejemplo-icon-header i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

.ejemplo-content {
    padding: 30px;
}

.ejemplo-content h4 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.ejemplo-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ejemplo-content ul li {
    color: var(--text-gray);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ejemplo-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* CTA Final */
.servicios-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 30px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    z-index: 1;
}

.servicios-cta h3 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.servicios-cta p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.cta-button i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .servicios-section {
        padding: 80px 0;
    }
    
    .servicios-header .section-title {
        font-size: 2rem;
    }
    
    .servicios-header .section-subtitle {
        font-size: 1.2rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .proceso-steps {
        flex-direction: column;
    }
    
    .proceso-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .proceso-title {
        font-size: 1.8rem;
    }
    
    .ejemplos-title {
        font-size: 1.8rem;
    }
    
    .ejemplos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .servicios-cta h3 {
        font-size: 1.6rem;
    }
    
    .servicios-cta p {
        font-size: 1rem;
    }
    
    .proceso-section {
        padding: 40px 20px;
    }
}