/* Estilos para la sección de servicios */
.services-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    overflow: hidden;
    padding: 10px 0;
    margin: 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.services-content {
    flex: 1;
    min-width: 300px;
    padding: 40px 40px 0 0;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section.visible .section-title {
    opacity: 1;
    transform: translateX(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #f20784;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}

.services-section.visible .services-grid {
    opacity: 1;
    transform: translateX(0);
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Efecto sutil de brillo al hacer hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f20784, #e60679);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(226, 6, 121, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(1.5);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-icon::before {
    transform: scale(1.2);
    opacity: 0.3;
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin: 10px 0 20px;
    min-height: 50px;
}

.service-button {
    display: inline-block;
    background-color: #f20784;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
    width: 100%;
    max-width: 150px;
}

.service-button:hover {
    background-color: #e60679;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-image {
    flex: 1;
    min-width: 250px;
    max-width: 500px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
    padding: 20px;
}

.services-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .services-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-content {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .services-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    
    .services-content {
        padding-right: 0;
        margin-bottom: 50px;
        width: 100%;
    }
    
    .services-image {
        margin-top: 50px;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-content {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}