If you have 11 days, you should just do a few in Madrid, take a day trip to
Segovia, and then a train up to Barcelona. I feel like Madrid is super underrated, especially if the people you're going with are interested in art. And Barcelona is just an incredible city.