Hurricane John slammed into the southern Pacific coast of Mexico late on Monday as a powerful category 3 storm, as local authorities warned of life-threatening storm surges and the potential for catastrophic flash floods.