\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}

\titleformat{\section}{\vspace{-.5em}\Large\bf\raggedright}{}{1em}{}[{\titlerule[2pt]}]
\titlespacing{\section}{0pt}{-1pt}{7pt}

% no page numbers
\pagenumbering{gobble}
