/* ============================================================
   site.css — YANGI dizayn sayt qobig'i (header + mega-menyular +
   mobil menyu + footer) va bazaviy yordamchilar.
   index.php va Shoyigul sahifalari yuklaydi; eski sahifalar
   (style.css bilan) bunga tegmaydi.
   ============================================================ */

:root { --accent: #1F57F5; }

body {
  margin: 0;
  background: #FFFFFF;
  color: #0B1424;
  font-family: 'Onest', system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .88; }
button { font-family: inherit; }
input, textarea, select { font: inherit; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform .25s, opacity .25s; }
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-dark { background: #0B1424; color: #FFFFFF; }
.btn-acc { background: var(--accent); color: #FFFFFF; }
.btn-line { border: 1px solid #C9D0DB; color: #0B1424; background: transparent; }
.btn-white { background: #FFFFFF; color: #0B1424; }
.show-md { display: none !important; }

/* ---------- yuqori qator (top bar) ---------- */
.topbar { background: #0B1424; color: #C9D2E3; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-left { display: flex; gap: 28px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.langs { display: flex; gap: 4px; align-items: center; }
.lang-link { padding: 10px 8px; cursor: pointer; }
.lang-link.active { color: #FFFFFF; font-weight: 600; }

/* ---------- yopishqoq (sticky) header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid #ECEFF3; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo-link { display: flex; align-items: center; gap: 16px; }
.logo-link img { height: 38px; width: auto; display: block; }
.logo-sep { width: 1px; height: 30px; background: #DDE2EA; }
.logo-tag { font-size: 12px; line-height: 1.3; color: #5B6577; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-i { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 999px; border: 0; background: transparent; color: #0B1424; font: 500 15px 'Onest', system-ui, sans-serif; cursor: pointer; transition: background .2s; }
.nav-i:hover, .nav-i.on { background: #F2F4F7; opacity: 1; }
.nav-i .chev { transition: transform .25s; }
.nav-brand { padding: 8px 13px; }
.nav-brand img { display: block; height: 24px; width: auto; }
.mmenu .ml-brand { display: block; height: 28px; width: auto; }
.nav-i.on .chev { transform: rotate(180deg); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 1px solid #ECEFF3; border-radius: 0 0 28px 28px; box-shadow: 0 40px 80px -40px rgba(11,20,36,.35); padding: 32px 0 36px; animation: megaIn .28s cubic-bezier(.2,.8,.2,1); }
.mega.open { display: block; }
.mega-k-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr); gap: 40px; }
.mega-i-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; }
.mega-m-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)) minmax(0,1.15fr); gap: 12px; }
.mh { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8892A3; margin-bottom: 12px; }
.mcol2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; }
.mcol1 { display: flex; flex-direction: column; gap: 4px; }
.mlink { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s; }
.mlink:hover { background: #F2F4F7; opacity: 1; }
.mi { width: 40px; height: 40px; border-radius: 12px; background: #EEF1F6; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .2s; }
.mlink:hover .mi { background: var(--accent); }
.mlink:hover .mi * { stroke: #FFFFFF; }
.mt { display: block; font-size: 15px; font-weight: 600; color: #0B1424; }
.md { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #5B6577; }
.mstep { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 500; transition: background .2s; }
.mstep:hover { background: #F2F4F7; opacity: 1; }
.mstep .mn { font-family: 'Unbounded', sans-serif; font-weight: 300; font-size: 13px; color: var(--accent); width: 24px; }
.mstep-acc { color: var(--accent); font-weight: 600; }
.msteps2 .mstep-acc { grid-column: 1 / -1; }
.msteps2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 8px; }
.mcard { display: flex; flex-direction: column; gap: 12px; padding: 10px; border-radius: 18px; transition: background .2s; }
.mcard:hover { background: #F2F4F7; opacity: 1; }
.mcard-img { display: block; height: 140px; border-radius: 14px; position: relative; overflow: hidden; background-color: #E3E8EF; background-image: repeating-linear-gradient(90deg, rgba(11,20,36,.045) 0 1px, transparent 1px 7px), repeating-linear-gradient(0deg, rgba(11,20,36,.035) 0 1px, transparent 1px 7px); }
.mk-photo { height: 168px; border-radius: 18px; position: relative; overflow: hidden; background-color: #E3E8EF; background-image: repeating-linear-gradient(90deg, rgba(11,20,36,.045) 0 1px, transparent 1px 7px), repeating-linear-gradient(0deg, rgba(11,20,36,.035) 0 1px, transparent 1px 7px); }
.mk-photo .lbl, .mi-video .lbl { position: absolute; left: 16px; top: 16px; max-width: calc(100% - 32px); box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: #2B3546; font-size: 11px; font-weight: 500; letter-spacing: .02em; backdrop-filter: blur(6px); }
.mi-video .lbl { background: rgba(11,20,36,.6); color: #C9D2E3; }
.mk-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.mk-p { margin: 0; font-size: 14px; line-height: 1.6; color: #5B6577; }
.mk-intro { display: flex; flex-direction: column; gap: 14px; }
.mbrands { display: flex; flex-direction: column; gap: 8px; }
.mbrand { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 14px; border-radius: 14px; border: 1px solid #ECEFF3; transition: background .2s; }
.mbrand:hover { background: #F2F4F7; opacity: 1; }
.mbrand-note { font-size: 12px; color: #5B6577; }
.mbrand-ext { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5B6577; }
.mi-video { border-radius: 20px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; box-sizing: border-box; color: #FFFFFF; position: relative; overflow: hidden; background-color: #1A2540; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 7px), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 7px); }
.mi-video-row { position: relative; display: flex; align-items: center; gap: 12px; }
.mi-play { width: 44px; height: 44px; border-radius: 999px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mi-v-col { display: flex; flex-direction: column; }
.mi-v-t { font-size: 15px; font-weight: 600; }
.mi-v-d { font-size: 13px; color: #B5C0D3; }
.mcat { background: var(--accent); color: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.mcat-lbl { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #DCE6FF; }
.mcat-t { margin-top: 8px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.mcat-btns { display: flex; flex-direction: column; gap: 8px; }
.mcat-btns .btn { min-height: 46px; }
.mcat-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.head-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid #DDE2EA; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #0B1424; }
.head-cta { min-height: 48px; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #DDE2EA; background: #FFFFFF; color: #0B1424; cursor: pointer; }

/* ---------- mobil to'liq ekran menyu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 60; background: #0B1424; color: #FFFFFF; display: none; flex-direction: column; overflow-y: auto; }
.mmenu.open { display: flex; }
.mmenu-top { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 80px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mmenu-chip { display: inline-flex; align-items: center; background: #FFFFFF; border-radius: 12px; padding: 8px 12px; }
.mmenu-chip img { height: 28px; width: auto; display: block; }
.mmenu-close { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mmenu-body { width: 100%; flex: 1; display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 32px; gap: 28px; }
.mmenu-nav { display: flex; flex-direction: column; }
.mmenu .ml { display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; min-height: 64px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: none; color: #FFFFFF; padding: 0; font-family: inherit; text-align: left; cursor: pointer; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.mmenu .ml .chev { transition: transform .25s; }
.mmenu .ml.on .chev { transform: rotate(180deg); }
.msub { display: none; flex-direction: column; padding: 6px 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); animation: megaIn .25s ease; }
.msub.open { display: flex; }
.msub a { display: flex; align-items: center; min-height: 44px; font-size: 17px; color: #C9D2E3; padding-left: 2px; }
.mmenu-langs { display: flex; gap: 8px; flex-wrap: wrap; }
.mlang { min-width: 56px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #FFFFFF; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mlang.active { border: 0; background: #FFFFFF; color: #0B1424; }
.mmenu-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.mmenu-bottom .btn { min-height: 56px; }
.mmenu-contact { font-size: 15px; color: #C9D2E3; }
body.menu-locked { overflow: hidden; }

/* ---------- footer ---------- */
.foot { background: #0B1424; color: #B5C0D3; border-radius: 40px 40px 0 0; }
.foot-in { padding-top: 80px; padding-bottom: 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nl { flex: 1 1 380px; min-width: 0; max-width: 480px; }
.nl-t { font-size: 26px; font-weight: 600; color: #FFFFFF; letter-spacing: -.02em; }
.nl-form { margin-top: 24px; display: flex; gap: 8px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 6px; }
.nl-form label { flex: 1; display: flex; position: relative; }
.nl-form input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: transparent; color: #FFFFFF; padding: 0 18px; font-size: 15px; }
.nl-btn { min-height: 50px; }
.foot-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 48px; }
.foot-logos img { height: 30px; width: auto; display: block; }
.foot-logos .fl-damino { height: 34px; filter: brightness(1.9) saturate(1.1); }
.fcols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.fcol { display: flex; flex-direction: column; gap: 12px; }
.fcol-t { font-size: 13px; font-weight: 600; color: #FFFFFF; }
.fcol .faddr { max-width: 230px; line-height: 1.6; }
.fcol-sub { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.soc { display: flex; gap: 8px; }
.soc a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
.legal { display: flex; gap: 24px; }

/* ============ TOR DESKTOP ============ */
@media (max-width: 1360px) {
  .logo-sub { display: none !important; }
}
@media (max-width: 1180px) {
  .nav-links { display: none !important; }
  .menu-btn { display: inline-flex !important; }
  .mega { display: none !important; }
}

/* ============ PLANSHET (≤1000px) ============ */
@media (max-width: 1000px) {
  .hide-md { display: none !important; }
  .show-md { display: flex !important; }
}

/* ============ TELEFON (≤640px) ============ */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hide-sm { display: none !important; }
  .btn { min-height: 50px; padding: 0 20px; }
  .fcols { gap: 32px !important; }
}

/* ---------- so'rov formalari: holat qatori va honeypot (barcha sahifalar) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { grid-column: 1 / -1; font-size: 14px; min-height: 0; }
.f-status.ok { color: #3DDC97; }
.f-status.err { color: #FF8A80; }
.nl-form { position: relative; }
.nl-form .f-status { position: absolute; left: 18px; top: 100%; margin-top: 10px; font-size: 13px; }
.mk-photo img.m-ph, .mcard-img img.m-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- qidiruv paneli (header) ---------- */
.sov { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 1px solid #ECEFF3; border-radius: 0 0 28px 28px; box-shadow: 0 40px 80px -40px rgba(11,20,36,.35); }
.sov.open { display: block; }
.sov-in { padding: 14px 0; }
.sov-form { display: flex; align-items: center; gap: 12px; }
.sov-form > svg { flex: 0 0 auto; color: #5B6577; }
.sov-form input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; color: #0B1424; background: transparent; padding: 10px 0; }
.sov-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #DDE2EA; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #0B1424; flex: 0 0 auto; }

/* mobil menyudagi qidiruv */
.msearch { display: flex; gap: 10px; margin-bottom: 22px; }
.msearch input { flex: 1 1 auto; min-width: 0; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #FFFFFF; border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; outline: none; }
.msearch input::placeholder { color: rgba(255,255,255,.55); }
.msearch button { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
