In ________ societies, power shifted from the heads of families and clans to a ruling elite, which resulted in greater inequality.