They played almost the entire game on Costa Rica's half of the pitch, though.

Credit to Navas, for keeping it close till the end.