I know that, by definition, a Hilbert space $\mathscr{H}$ is separable if there exists a countable subset $X$ such that $\operatorname{span}(X)$ is dense in $\mathscr{H}$.
I want to prove that $\mathscr{H}$ is separable if and only if there exists a countable and dense subset.
I know I have to try with combinations like "$p+iq$" with $p$ and $q$ rational, but I can't find the way.
Look at all rational linear combinations of vectors in your countable set. This set is still countable since $\mathbb{Q}$ is. But it is dense in its span.