A structural engineer
Independent of any contractor. Can assess whether there is a structural problem and write a repair scope that contractors then price.
This guide does not diagnose your foundation. It helps you decide who to call and what to ask.
Sloping floors, sticking doors and new cracks around windows can have several causes. Some involve the foundation. Some involve the wood framing above it.
Before choosing piles, piers or underpinning, it helps to know whether the house is still moving and why. An engineer's assessment can separate the diagnosis from the sale.
If you think there is an immediate safety risk, leave the area and contact your local emergency services.
Independent of any contractor. Can assess whether there is a structural problem and write a repair scope that contractors then price.
Can look at the problem and propose a repair. They sell the repair, so ask what else could explain what you see.
Looks at the whole house and points out what needs a closer look. A general inspection is not a structural assessment.