If I may add something though, when Spanish people are given their surnames, traditionally it’s the dad’s first and the second surname a child is given is the mum’s.
Nowadays it’s possible to put the mum’s first and dad’s second.
As an example for illustration purposes:
María Antonia Gutiérrez Moreno
María is the first name
Antonia is her second name, or middle name in the UK.
She could use María, or Antonia or MariAntonia as her preferred name to be called. No need for hyphen or otherwise.
She could also have a nickname that are traditionally derived from those names: Toñi, Tonina, Mari, MariToñi and so forth…
Gutiérrez would be her first surname which traditionally would be her dad’s first surname
(for illustration purposes her dad is call Mario Gutiérrez Sancho)
Moreno is her mum’s first surname, that becomes the child’s second surname. Her mum is called Patricia Moreno Castro.
So, if you are a female, following tradition, the child’s mother surname heritage is lost. If on the other hand it would be a boy, the dad’s surname would pass on the next generation.
I hope I didn’t over complicate my explanation but if you have questions let me know. And sorry it doesn’t reply to OP’s post.