/* Yon menyu (3 chiziqcha) — asosiy sayt va ichki sahifalar uchun */
.mh{position:sticky;top:0;z-index:50;background:#EAEDE8;border-bottom:1px solid rgba(20,23,31,.16)}
.mh-in{max-width:1180px;margin:0 auto;padding:14px 28px;display:flex;align-items:center;gap:16px}
@media (max-width:600px){.mh-in{padding:12px 16px}}
.mh-burger{width:44px;height:44px;display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:transparent;border:1px solid rgba(20,23,31,.16);border-radius:4px;cursor:pointer;padding:0;flex:none}
.mh-burger span{display:block;width:20px;height:2px;background:#14171F;border-radius:2px;transition:transform .2s ease}
.mh-burger:hover{border-color:#14171F}
.mh-brand{font-family:'Big Shoulders Display',sans-serif;font-weight:700;font-size:22px;letter-spacing:-.01em;color:#14171F;text-decoration:none}
.mh-overlay{position:fixed;inset:0;background:rgba(20,23,31,.45);z-index:90;opacity:0;transition:opacity .2s ease}
.mh-overlay.show{opacity:1}
.mh-drawer{position:fixed;top:0;left:0;bottom:0;width:min(320px,86vw);background:#EAEDE8;z-index:100;transform:translateX(-102%);transition:transform .25s cubic-bezier(.2,.7,.3,1),visibility .25s;display:flex;flex-direction:column;padding:18px 22px 22px;box-shadow:none;visibility:hidden;overflow-y:auto;font-family:'Manrope',sans-serif;color:#14171F}
.mh-drawer.open{transform:none;visibility:visible;box-shadow:8px 0 30px rgba(0,0,0,.18)}
.mh-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.mh-close{width:40px;height:40px;border:1px solid rgba(20,23,31,.16);background:transparent;border-radius:4px;font-size:26px;line-height:1;cursor:pointer;color:#14171F}
.mh-user{display:flex;flex-direction:column;gap:2px;padding:12px 14px;background:#DEE3DB;border-radius:4px;margin-bottom:14px;font-size:14px}
.mh-user span{font-size:13px;opacity:.65}
.mh-drawer .mh-nav{display:flex;flex-direction:column;gap:0;border-top:1px solid rgba(20,23,31,.16);font-size:16px}
.mh-drawer .mh-nav a{opacity:1;padding:14px 2px;border-bottom:1px solid rgba(20,23,31,.16);text-decoration:none;color:#14171F;font-weight:700;font-size:16px}
.mh-drawer .mh-nav a:hover{color:#FF4E32}
.mh-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.mh-btn{display:flex;justify-content:center;padding:13px 16px;border-radius:2px;font-weight:700;font-size:15px;text-decoration:none}
.mh-btn.hot{background:#FF4E32;color:#EAEDE8}
.mh-btn.hot:hover{background:#14171F}
.mh-btn.ghost{border:1px solid rgba(20,23,31,.16);color:#14171F}
.mh-btn.ghost:hover{background:#14171F;color:#EAEDE8}
.mh-tg{margin-top:auto;padding-top:22px;font-size:13px;font-weight:600;opacity:.6;color:#14171F;text-decoration:none}
body.mh-lock{overflow:hidden}
@media (prefers-reduced-motion: reduce){.mh-drawer,.mh-overlay{transition:none}}
.mh-page{font-size:14px;font-weight:700;opacity:.55;padding-left:14px;border-left:1px solid rgba(20,23,31,.16)}
.mh-burger{position:relative}
.mh-dot{position:absolute;top:6px;right:6px;width:9px;height:9px;border-radius:50%;background:#FF4E32;border:2px solid #EAEDE8}
.mh-drawer .mh-nav a.on{color:#FF4E32}
.mh-drawer .mh-nav a.on::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#FF4E32;margin:0 10px 2px 0;vertical-align:middle}
.mh-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:6px;border-radius:11px;background:#FF4E32;color:#EAEDE8;font-size:12px;font-weight:800;vertical-align:middle}
@media (max-width:480px){.mh-page{display:none}}
.mh-user-link{flex-direction:row!important;align-items:center;gap:12px!important;text-decoration:none;color:#14171F}
.mh-user-link:hover{background:#d3dacf}
.mh-user-link b{display:block}
.mh-user-link span{font-size:12.5px;opacity:.7}
.mh-drawer .ava{display:inline-block;border-radius:50%;object-fit:cover;flex:none}
.mh-drawer .ava-i{display:inline-flex;align-items:center;justify-content:center;background:#1F5C42;color:#EAEDE8;font-weight:800}
.mh-pro{font-style:normal;color:var(--hot,#FF4E32)}
/* o'ng tomon: profil / kirish */
.mh-right{margin-left:auto;display:flex;align-items:center;gap:8px;position:relative}
.mh-login,.mh-reg{font-size:14px;font-weight:800;text-decoration:none;padding:10px 14px;border-radius:4px;white-space:nowrap}
.mh-login{color:#14171F;border:1px solid rgba(20,23,31,.16)}
.mh-reg{background:var(--hot,#FF4E32);color:#fff}
@media (max-width:520px){.mh-reg{display:none}}
.mh-av{border:0;background:transparent;padding:2px;border-radius:50%;cursor:pointer;display:flex;box-shadow:0 0 0 2px transparent;transition:box-shadow .2s}
.mh-av:hover,.mh-av[aria-expanded=true]{box-shadow:0 0 0 2px var(--hot,#FF4E32)}
.mh-pop{position:absolute;right:0;top:calc(100% + 10px);width:270px;background:#fff;border:1px solid rgba(20,23,31,.1);border-radius:8px;box-shadow:0 18px 40px rgba(20,23,31,.16);padding:8px;z-index:120;display:flex;flex-direction:column;transform-origin:top right;animation:popIn .18s ease-out}
.mh-pop[hidden]{display:none}
.mh-pop-h{display:flex;gap:10px;align-items:center;padding:8px 8px 12px;border-bottom:1px solid rgba(20,23,31,.08);margin-bottom:6px}
.mh-pop-h b{display:block;font-size:15px;color:#14171F}
.mh-pop-h span{font-size:12.5px;opacity:.6}
.mh-pop a{padding:10px 10px;border-radius:5px;text-decoration:none;color:#14171F;font-size:14.5px;font-weight:600}
.mh-pop a:hover{background:#EEF0EC}
.mh-pop .mh-out{color:#C0392B;border-top:1px solid rgba(20,23,31,.08);margin-top:4px;border-radius:0 0 5px 5px}
@keyframes popIn{from{opacity:0;transform:scale(.96) translateY(-4px)}to{opacity:1;transform:none}}

/* animatsiyalar */
@media (prefers-reduced-motion:no-preference){
  main{animation:pgIn .45s ease-out both}
  @keyframes pgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  .h-hero .h-eyebrow,.h-hero h1,.h-hero .h-lead,.h-hero .h-actions,.hero-reg{animation:heroUp .8s cubic-bezier(.2,.7,.2,1) both}
  .h-hero h1{animation-delay:.08s}.h-hero .h-lead{animation-delay:.18s}.h-hero .h-actions{animation-delay:.28s}.hero-reg{animation-delay:.22s}
  @keyframes heroUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  .rv{opacity:0;transform:translateY(20px);transition:opacity .65s cubic-bezier(.2,.7,.2,1),transform .65s cubic-bezier(.2,.7,.2,1)}
  .rv.in{opacity:1;transform:none}
  .btn,.mh-btn,.mh-login,.mh-reg{transition:transform .15s ease,box-shadow .15s ease,background .15s,color .15s}
  .btn:hover,.mh-reg:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(20,23,31,.12)}
  .btn:active{transform:translateY(0);box-shadow:none}
  .feat,.plan,.tk-card,.ad-card,.t-card,.lesson-card,.obj{transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
  .feat:hover,.plan:hover,.ad-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(20,23,31,.08)}
  .h-hero h1 span{background:linear-gradient(90deg,var(--hot,#FF4E32),#ff8a5c,var(--hot,#FF4E32));background-size:200% auto;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:heroUp .8s .08s both,shine 6s 1s linear infinite}
  @keyframes shine{to{background-position:200% center}}
}