/* Russian pages only (html[lang="ru"]). Russian words are longer than English, so the top menu turns into the
   menu button below 1280px and the top bar stays compact on narrow screens. Loaded after the page styles. */
@media (max-width: 1279px) {
  html[lang="ru"] .hamburger { display: flex !important; }
  html[lang="ru"] .nav-links { display: none !important; }
  html[lang="ru"] nav .nav-logo-text { font-size: 13px; }
  html[lang="ru"] nav .nav-logo-text span { font-size: 9px; letter-spacing: .08em; }
}
/* fonts-cyr.css hides the phone below 1480px; keep it while there is room */
@media (min-width: 1280px) { html[lang="ru"] .nav-phone { display: block !important; } }
html[lang="ru"] nav .nav-actions { gap: 5px !important; }
html[lang="ru"] nav .nav-actions .btn-nav { padding: 8px 12px !important; letter-spacing: .02em !important; font-size: 12px !important; }

/* six-column stats strip: three columns on narrower screens so long Russian labels fit */
@media (max-width: 1199px) { html[lang="ru"] .stats { grid-template-columns: repeat(3, 1fr); } }

/* Buttons: label always centred (also when a button is stretched to the height of its neighbour) */
html[lang="ru"] .btn-p, html[lang="ru"] .btn-s, html[lang="ru"] .btn-o { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
/* Russian labels are longer: button pairs stack on phones instead of wrapping to two lines */
@media (max-width: 480px) {
  html[lang="ru"] .prog-cta, html[lang="ru"] .cta-btns { flex-direction: column; align-items: stretch; }
  html[lang="ru"] .prog-cta .btn-p, html[lang="ru"] .prog-cta .btn-s,
  html[lang="ru"] .cta-btns .btn-p, html[lang="ru"] .cta-btns .btn-s { flex: none; width: 100%; min-height: 52px; }
}
