Architecture in Spain, Portugal and Morocco

My wife and I are both in the field of architecture and plan to visit Spain, Portugal and Morocco this October and November. We have 20 days. Can you guide us? You’ve picked three destinations rich in architectural treasures, so...