Pablo Fornals scored with a delicate chip against Real Madrid to give Villarreal a 1-0 win at the Bernabeu for the first time in their history.