How do you quote?

What's your process to quote or estimate a project? Do you spend hours or have a quick way to provide an estimate without getting into tedious details and requirements.