By protecting a third of its landbase, Costa Rica built itself into a leader in ecotourism and resource conservation. Offshore, the government gave too much of the country’s fisheries away to foreign fleets, and things have gone haywire.