As cartels and gangs fought over drug routes and jobless residents turned to extortion and kidnapping, Juárez became the most dangerous city in the world—its streets menacing, its houses fortified.