Upvote:1
This shouldn't be a problem for you. Since you did leave within your 90 days, and you have a reasonable explanation for the later date of your Mexican visa, there shouldn't be any problems on return to the US. They're more likely to have questions for you about what you were doing in South America.