And here I present you the solution someone found long ago in Spain and a lot of other countries: both keep the surname. Children have two surnames, usually the first from the father, then the first from the mother, but the order is not mandatory. And so it goes.