MEDICAL
There are a few places where you can get an initial Class I medical certificate in Spain, I know there are at least 2 in Madrid, the CIMA which is run by the military, and another one related to Iberia, not sure if there are more in Madrid, but there is one in Barcelona, and another one in Valencia.
If you plan to get a JAR licence make sure you do the medical in the same country where you want your licence to be issued, as for new licence issuance, in most cases, the national authority will require the medical to be issued by a medical center supervised by them.