/* Mobile header: no burger or overlay menu; keep both actions reachable. */
@media (max-width: 992px) {
  .header .menu,
  .header .menu-bg,
  .header .burger { display: none !important; }
  .header .header-actions { display: flex !important; align-items: center; gap: 8px; margin-left: auto; }
  .header .ask-ai { margin-right: 0 !important; }
  .header .header-mobile-actions { display: none !important; }
  .header .header-actions a,
  .header .header-actions button { white-space: nowrap; text-decoration: none; }
}

@media (max-width: 576px) {
  .header { padding: 12px 0 !important; }
  .header .container { padding: 0 12px; }
  .header-body { padding: 8px 10px 8px 12px !important; gap: 8px; }
  .header .ask-ai .text { font-size: 14px !important; line-height: 18px !important; }
  .header .header-actions { gap: 6px; }
  .header .header-actions a,
  .header .header-actions button { min-width: 0; width: auto; flex: 0 1 auto; min-height: 38px; padding: 8px 11px; font-size: 12px; line-height: 16px; }
}

@media (max-width: 480px) {
  .header .ask-ai .text { display: none !important; }
  .header .ask-ai::after { content: "Нейро"; color: #fff; font-size: 14px; font-weight: 750; line-height: 18px; }
}

.header a:focus-visible,
.header button:focus-visible { outline: 3px solid #68d7ff; outline-offset: 3px; }
