I’m not sure but I think this is a juvenile barred hawk (Leucopternis princeps) but the coloration looks a bit light and the undertail coverts (behind the legs) are white instead of barred. The other problem with the id is that he was seen at about 300 meters elevation above Carara national park and on the Pacific slope they are usually found higher in the mountains.