Mexico reeled from the rare one-two punch of major storms on opposite coasts that triggered floods and landslides, killing at least 40 people while stranding tourists in Acapulco.