Spain suffer first defeat since March 2024 after losing 3-2 to England in Madrid despite grandstand finish.