hadn't realized
No se había dado cuenta de lo mucho que había temido.
She hadn't realized how much she had been afraid.
David no se había dado cuenta de adónde quería llegar.
David hadn't realized where she was going with it.
Al parecer, Brunel no se había dado cuenta de que estaba en obras.
Apparently, Brunel hadn’t realized it was under construction.