I don't believe your gesture should have been perceived as offensive, it's actually polite and generous. You shouldn't worry about it, you haven't done anything wrong, since she refused she obviously didn't need to sit, but how could you have guessed that?