Goalkeeper Keylor Navas was the hero for 10-man Costa Rica as the nation reached the quarterfinals of the World Cup for the first time in their history after beating Greece 5-3 on penalties in Recife.