Hi @ayottepl
Thanks you very much for sharing this with us!
I wonder if you read over this guide:
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-taxonomy-term/
On that page, there is code to find the current term ID / taxonomy, etc
This would help clean up your body_class code!