

Madrid to Saigon (Vietnam) flight
Hi, we are a married couple that will travel from Spain (MAD) to Vietnam (SGN)
The flight will be like this:
MAD - PEK
PEK - SGN
Return will be exactly the same but the opposite.
Route will stop at PEK for 16 hours or so, before going to SGN. Including return.
Now the question is, I have visa free to China since I am a Spanish citizen, but my wife has Vietnamese passport.
Is there any way she can get any transit visa to go out of the airport for some hours and then come back for our next flight?
Otherwise, if we can't go out is there any lounge with bed or something similar where we can spend long hours?
I don't know what terminal we'll be arriving from MAD or from SGN at the return flight. So advice would be very appreciated.
Many thanks.