Spanish inflation accelerated unexpectedly to 3.