I've never paid a real estate lawyer anywhere near what an agent demands for a fee.
Real estate attorneys are flat-rate for the transaction. Around $500, possibly a doc prep fee on top of $50-$100. If your employer offers legal services as a benefit home purchases are often included.