administrative unit of the Captaincy General of Guatemala that existed from the late 16th century to 1660 on the Pacific coast of present-day Costa Rica