What matters is their nationality on the date you were born, not today. If a parent became Costa Rican after your birth, answer no.