/* Estilos para la sección de grid de servicios */

.services-grid-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-grid-content {
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 0;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

/* Columnas de servicios */
.service-column {
    flex: 1 1 0;
    width: 20%;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    border-right: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-column:last-child {
    border-right: none;
}

.service-column:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Iconos de servicios */
.service-icon2 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--color-secondary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-column:hover .service-icon2 {
    transform: scale(1.1);
    color: var(--color-primary);
}

/* Títulos de servicios */
.service-title2 {
    margin: 0;
    line-height: 1.3;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.service-column:hover .service-title2 {
    color: var(--color-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid-content {
        flex-wrap: wrap;
    }
    
    .service-column {
        flex: 1 1 50%;
        width: 50%;
        min-width: 250px;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .service-column:nth-child(2n) {
        border-right: none;
    }
    
    .service-column:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .service-column:last-child {
        border-right: 1px solid #e0e0e0;
    }
}

@media (max-width: 768px) {
    .services-grid-section {
        padding: 60px 0;
    }
    
    .services-grid-content {
        padding: 0 20px;
        flex-direction: column;
    }
    
    .service-column {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        min-height: 150px;
        padding: 30px 20px;
    }
    
    .service-column:last-child {
        border-bottom: none;
    }
    
    .service-icon2 {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .service-title2 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-grid-section {
        padding: 40px 0;
    }
    
    .service-column {
        padding: 25px 15px;
        min-height: 120px;
    }
    
    .service-icon2 {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .service-title2 {
        font-size: 0.85rem;
    }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1400px) {
    .services-grid-content {
        max-width: 1400px;
    }
    
    .service-column {
        padding: 50px 25px;
        min-height: 220px;
    }
    
    .service-icon2 {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .service-title2 {
        font-size: 1.1rem;
    }
}
