Building Production-Ready RAG: A Complete Architecture Guide