Okay, well, first of all, I can tell you that your Lucario does/did not have 31 IVs and 252 EVs, because with a Hasty nature at lv 77, its SpA stat should have been 254, yet you report 238. So I'm not 100% sure what's going on there; maybe you miscounted while EV training or something, idk. And in any case, it still doesn't answer why its SpA isn't decreasing with Hondew berries, but this is what I've got, and maybe it can help in some way.