/* Compact single-row header for the public pages (index, about, login, privacy).
   One row at 360px: logo + Smart Farmer, EN / हिं toggle, Sign in. The tagline is not shown here. */
.sf-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 6px;
  min-height: 56px; padding: 6px 10px; background: #1E3A2B; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.sf-topbar__brand { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 44px;
  color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.sf-topbar__brand span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sf-topbar__logo { flex: none; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border-radius: 8px; background: #2F6B47; color: #fff; font-size: 1.125rem; }
.sf-topbar__lang { flex: none; display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.sf-topbar__lang .lang-pill { min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; border-radius: 999px;
  background: transparent; color: #D1E7D9; font-size: 1rem; font-weight: 700; cursor: pointer; }
.sf-topbar__lang .lang-pill.lang-active { background: #fff; color: #1E3A2B; border: 0; }
.sf-topbar__cta { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 0 10px; border-radius: 10px; background: #A63F26; color: #fff; font-size: .9375rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; }
.sf-topbar__cta:hover { opacity: .92; }
.sf-topbar__tag { display: none; color: #A7F3D0; font-size: .875rem; font-weight: 400; }
@media (min-width: 640px) {
  .sf-topbar { padding: 6px 24px; gap: 16px; }
  .sf-topbar__tag { display: inline; margin-left: 8px; }
}
