/* ============================================
   SERVICIOS SECTION - ELISAY CODE
   Estilos para la sección de servicios
   ============================================ */

.servicios {
    background: var(--second-bg-color);
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0, 217, 255, 0.03) 35px, rgba(0, 217, 255, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(123, 44, 191, 0.03) 35px, rgba(123, 44, 191, 0.03) 70px);
    pointer-events: none;
}

/* ========== Servicios Container ========== */
.servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: var(--z-normal);
}

/* ========== Servicio Card ========== */
.servicio-card {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.servicio-card:hover::before {
    left: 100%;
}

.servicio-card:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

/* ========== Servicio Icon ========== */
.servicio-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.servicio-card:hover .servicio-icon {
    transform: rotateY(360deg);
}

.servicio-icon i {
    font-size: 4rem;
    color: white;
}

/* ========== Servicio Content ========== */
.servicio-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: var(--font-weight-semibold);
}

.servicio-card p {
    font-size: 1.5rem;
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}

/* ========== Responsive Servicios ========== */
@media (max-width: 768px) {
    .servicios-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .servicio-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 450px) {
    .servicios-container {
        grid-template-columns: 1fr;
    }
}
