Panama City—There are two Panamas: the rich, and the poor. Most people here live parallel lives. But a growing number of companies are getting involved in their communities—and reaping the benefits as these worlds combine.