Mexico leftist takes power torn between principles and pragmatism