Personally, I would look at a Cisco ASA or integrated services router for the main office.
For the branch offices it would depend on number of users, but either a smaller ASA or possibly the Linksys RVO42 router.
You are talking 3 sites currently with more to come. Do you have an idea for how many more? This will determine the requirements of the main office device.