/* ============================================================
   Shofirkon raqamli texnologiyalar texnikumi — dizayn tizimi
   Barcha sahifalar shu faylga tayanadi. Sahifa ichida <style>
   yozmang: yangi uslub kerak bo'lsa shu yerga qo'shing.
   ============================================================ */

/* ── 1. TOKENLAR ─────────────────────────────────────────── */
:root {
  /* asosiy palitra */
  --ink:        #050a16;
  --navy:       #0a1430;
  --navy-2:     #101e42;
  --slate:      #1b2d58;
  --line:       #263a6b;

  /* urg'u */
  --cyan:       #22d3ee;   /* qorong'i fonda */
  --cyan-dim:   #0e9fb8;   /* gradientlar uchun */
  /* Yorug' fondagi MATN uchun. --cyan-dim oq fonda 3.1:1 beradi —
     WCAG AA normal matn uchun 4.5:1 talab qilinadi, shuning uchun
     matnda shu to'qroq variant ishlatiladi (oq fonda 5.5:1, --paper fonida 5.1:1). */
  --accent-ink: #0a7486;
  --blue:       #3b74f5;
  --blue-deep:  #1d4ed8;
  --sand:       #e3cfa4;   /* bino fasadi rangi */
  --gold:       #f0b429;

  /* yorug' yuzalar */
  --paper:      #f5f7fb;
  --paper-2:    #eaeef7;
  --white:      #ffffff;

  /* matn */
  --tx:         #0b162e;
  --tx-mid:     #44557a;
  --tx-soft:    #7386a8;
  --tx-on-dark: #dbe4f5;
  --tx-on-dark-soft: #8fa3c9;

  /* effektlar */
  --glass:      rgba(255,255,255,.06);
  --glass-line: rgba(34,211,238,.28);
  --shadow-sm:  0 2px 8px rgba(8,18,40,.08);
  --shadow:     0 12px 36px rgba(8,18,40,.12);
  --shadow-lg:  0 28px 70px rgba(8,18,40,.20);
  --glow:       0 0 32px rgba(34,211,238,.35);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --wrap: 1280px;
  --gut:  clamp(16px, 4vw, 34px);

  --f-display: 'IBM Plex Sans', system-ui, sans-serif;
  --f-body:    'IBM Plex Sans', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.22,.68,.32,1);
}

/* ── 2. ASOS ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* Gorizontal toshishni KESAMIZ, lekin `hidden` bilan emas.
   `hidden` scroll konteyner yaratadi — natijada yopiq (translateX(100%))
   mobil menyu hujjat kengligini oshirib yuboradi, `position: fixed`
   tayanch bloki ham kengayadi va OCHILGAN menyu ekrandan tashqarida
   qoladi. `clip` esa scroll sohasini kengaytirmaydi, shuning uchun
   sticky header ham, fixed menyu ham to'g'ri ishlaydi.
   `hidden` — `clip` ni tanimaydigan eski brauzerlar uchun zaxira. */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tx);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--f-display); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--cyan); color: var(--ink);
  padding: 12px 22px; font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── 3. YORDAMCHI ────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.center  { text-align: center; }
.muted   { color: var(--tx-soft); }
.accent  { color: var(--accent-ink); }
.mono    { font-family: var(--f-mono); }
.nowrap  { white-space: nowrap; }
.hide    { display: none !important; }
.stack > * + * { margin-top: 14px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.on-dark .eyebrow,
.eyebrow.on-dark,
.section-dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow { color: var(--cyan); }

.badge {
  display: inline-block;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(59,116,245,.12); color: var(--blue-deep);
  border: 1px solid rgba(59,116,245,.22);
}
.badge.is-live { background: rgba(240,180,41,.14); color: #9a6b00; border-color: rgba(240,180,41,.3); }

.divider { height: 1px; background: var(--paper-2); border: 0; margin: 40px 0; }

/* ── 4. TUGMALAR ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan-dim) 100%);
  color: #fff; box-shadow: 0 10px 28px rgba(59,116,245,.32);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(59,116,245,.45); }

.btn-ghost {
  border-color: var(--line); color: var(--tx);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); background: rgba(59,116,245,.05); }

/* Qorong'i fondagi "ghost" tugma.
   `.on-dark` klassi tugmaning O'ZIDA ham, ota-elementda ham turishi mumkin —
   ikkala holat ham qamrab olingan. Qorong'i bo'limlar ichida esa klass
   umuman yozilmagan bo'lsa ham to'g'ri ko'rinadi. */
.on-dark .btn-ghost,
.btn-ghost.on-dark,
.section-dark .btn-ghost,
.page-hero .btn-ghost,
.hero .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }

.on-dark .btn-ghost:hover,
.btn-ghost.on-dark:hover,
.section-dark .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.hero .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(34,211,238,.08); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ── 5. TOPBAR ───────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: var(--tx-on-dark-soft);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 7px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar-meta { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar-meta span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-meta i { color: var(--cyan); font-size: 12px; }
.topbar-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid rgba(255,255,255,.1);
  color: var(--tx-on-dark); font-size: 13px;
  transition: .25s var(--ease);
}
.topbar-social a:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }

/* til almashtirgich */
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.07); padding: 3px; border-radius: 100px; }
.lang-btn {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px; color: var(--tx-on-dark-soft);
  transition: .2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { background: var(--cyan); color: var(--ink); }

/* ko'rish imkoniyati cheklanganlar uchun */
.a11y-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--tx-on-dark-soft); transition: .2s;
}
.a11y-toggle:hover { color: var(--cyan); }

/* ── 6. HEADER + NAVIGATSIYA ─────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--paper-2);
  box-shadow: 0 1px 0 rgba(8,18,40,.04);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--slate) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(10,20,48,.3), inset 0 0 0 1px rgba(34,211,238,.25);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { line-height: 1.25; min-width: 0; }
.brand-name {
  display: block; font-family: var(--f-display);
  font-size: 14.5px; font-weight: 700; color: var(--navy); letter-spacing: -.01em;
}
.brand-sub {
  display: block; font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-soft);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--tx);
  transition: .22s var(--ease); white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link { background: rgba(59,116,245,.07); color: var(--blue-deep); }
.nav-link.is-current { color: var(--blue-deep); }
.nav-link.is-current::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--cyan); border-radius: 2px;
}
.nav-link .chev { font-size: 9px; opacity: .6; transition: transform .3s; }
.nav-item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 232px; padding: 8px;
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--paper-2);
  opacity: 0; visibility: hidden; transition: .26s var(--ease);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--tx-mid); transition: .18s;
}
.dropdown a:hover { background: var(--paper); color: var(--blue-deep); padding-left: 19px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; }
.burger span {
  display: block; width: 21px; height: 2px; margin: 4.5px auto;
  background: var(--navy); border-radius: 2px; transition: .3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobil menyu */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 86vw); z-index: 950;
  background: var(--white); padding: 92px 22px 36px;
  overflow-y: auto; transform: translateX(100%); transition: transform .36s var(--ease);
  box-shadow: -20px 0 60px rgba(8,18,40,.22);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav details { border-bottom: 1px solid var(--paper-2); }
.mobile-nav summary {
  padding: 15px 4px; font-weight: 600; font-size: 15.5px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '+'; font-size: 20px; color: var(--tx-soft); font-weight: 400; }
.mobile-nav details[open] summary::after { content: '−'; }
.mobile-nav details a { display: block; padding: 10px 4px 10px 18px; font-size: 14.5px; color: var(--tx-mid); }
.mobile-nav > a { display: block; padding: 15px 4px; font-weight: 600; font-size: 15.5px; border-bottom: 1px solid var(--paper-2); }
.nav-scrim {
  position: fixed; inset: 0; z-index: 940; background: rgba(5,10,22,.5);
  opacity: 0; visibility: hidden; transition: .3s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ── 7. HERO (bosh sahifa) ───────────────────────────────── */
.hero { position: relative; min-height: min(84vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s var(--ease), transform 8s linear;
  background-size: cover; background-position: center;
  transform: scale(1.06);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(5,10,22,.95) 0%, rgba(10,20,48,.82) 46%, rgba(10,20,48,.42) 100%),
    radial-gradient(1000px 540px at 82% 18%, rgba(34,211,238,.17), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,211,238,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(900px 560px at 72% 42%, #000 10%, transparent 76%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-block: clamp(56px, 9vw, 104px); }
.hero-body { max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 17px 7px 11px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-line);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 26px; backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,.6); }
  70%  { box-shadow: 0 0 0 11px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero-title {
  font-size: clamp(32px, 5.6vw, 62px);
  line-height: 1.07; color: #fff; letter-spacing: -.03em; margin-bottom: 22px;
}
.hero-title .hl {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--sand) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: clamp(15.5px, 1.75vw, 18.5px);
  color: var(--tx-on-dark); max-width: 620px; margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 46px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  overflow: hidden; max-width: 680px;
}
.hero-stat { background: rgba(5,10,22,.5); padding: 19px 17px; backdrop-filter: blur(8px); }
.hero-stat b {
  display: block; font-family: var(--f-display); font-size: clamp(23px, 3vw, 31px);
  font-weight: 700; color: #fff; line-height: 1.1;
}
.hero-stat b .suf { color: var(--cyan); }
.hero-stat span {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tx-on-dark-soft);
}

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 9px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.3); transition: .3s;
}
.hero-dots button.is-active { background: var(--cyan); width: 28px; border-radius: 100px; }

/* ── 8. SAHIFA SARLAVHASI (ichki sahifalar) ──────────────── */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding-block: clamp(46px, 7vw, 82px);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(760px 340px at 88% 0%, #000, transparent 72%);
}
.page-hero::after {
  content: ''; position: absolute; top: -140px; right: -90px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.17), transparent 68%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(27px, 4.2vw, 46px); color: #fff; margin: 12px 0 10px; }
.page-hero p { color: var(--tx-on-dark); max-width: 640px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--tx-on-dark-soft); }
.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .45; }

/* ── 9. SEKSIYALAR ───────────────────────────────────────── */
.section { padding-block: clamp(52px, 7.5vw, 94px); }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: var(--tx-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(24px, 3.4vw, 38px); margin: 13px 0 12px; }
.section-sub { color: var(--tx-mid); font-size: 16.5px; }
.section-dark .section-sub { color: var(--tx-on-dark-soft); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(284px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(226px, 1fr)); }

/* ── 10. KARTALAR ────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--paper-2);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: 18px; line-height: 1.32; }
.card-text { color: var(--tx-mid); font-size: 14.8px; }
.card-meta {
  margin-top: auto; padding-top: 12px;
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--f-mono); font-size: 11.5px; color: var(--tx-soft);
}
.card-meta i { color: var(--accent-ink); margin-right: 5px; }

/* yo'nalish kartasi */
.dir-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 334px; display: flex; align-items: flex-end; color: #fff; }
.dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dir-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,10,22,.95) 6%, rgba(10,20,48,.55) 48%, rgba(10,20,48,.12) 100%);
}
.dir-card:hover img { transform: scale(1.07); }
.dir-card-body { position: relative; z-index: 2; padding: 26px; width: 100%; }
.dir-card-body h3 { font-size: 20px; color: #fff; margin-bottom: 7px; }
.dir-card-body p { font-size: 14.2px; color: var(--tx-on-dark); margin-bottom: 14px; }
.dir-card-code {
  display: inline-block; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--cyan); margin-bottom: 9px;
}
.dir-card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--cyan); }
.dir-card-link::after { content: '→'; transition: transform .3s; }
.dir-card:hover .dir-card-link::after { transform: translateX(5px); }

/* xususiyat (icon + matn) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(140deg, rgba(59,116,245,.13), rgba(34,211,238,.13));
  color: var(--blue-deep); border: 1px solid rgba(59,116,245,.16);
}
.section-dark .feature-ico { background: var(--glass); border-color: var(--glass-line); color: var(--cyan); }
.feature h3 { font-size: 16.5px; margin-bottom: 5px; }
.feature p { font-size: 14.5px; color: var(--tx-mid); }
.section-dark .feature p { color: var(--tx-on-dark-soft); }

/* statistika kartasi */
.stat-card {
  background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.section-dark .stat-card { background: var(--glass); border-color: rgba(255,255,255,.1); }
.stat-card .num {
  font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  color: var(--navy); line-height: 1;
}
.section-dark .stat-card .num { color: #fff; }
.stat-card .num .suf { color: var(--accent-ink); }
.section-dark .stat-card .num .suf { color: var(--cyan); }
.stat-card .lbl {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tx-soft); margin-top: 9px; display: block;
}

/* rahbar kartasi */
.leader-card {
  background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: grid;
  grid-template-columns: 210px 1fr;
}
.leader-photo { background: var(--paper-2); position: relative; min-height: 240px; }
.leader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader-photo .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--slate)); color: rgba(255,255,255,.3); font-size: 54px;
}
.leader-info { padding: 24px; }
.leader-info h3 { font-size: 19px; margin-bottom: 5px; }
.leader-role { color: var(--blue-deep); font-weight: 600; font-size: 14px; margin-bottom: 15px; }
.leader-rows { display: grid; gap: 8px; font-size: 14px; }
.leader-rows div { display: flex; gap: 9px; }
.leader-rows b { color: var(--tx-soft); font-weight: 500; min-width: 112px; font-size: 13px; }

/* hujjat / havola ro'yxati */
.doc-item {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 20px; background: var(--white);
  border: 1px solid var(--paper-2); border-radius: var(--r);
  transition: .26s var(--ease);
}
.doc-item:hover { border-color: var(--blue); transform: translateX(5px); box-shadow: var(--shadow-sm); }
.doc-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(59,116,245,.1); color: var(--blue-deep); font-size: 17px;
}
.doc-item h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.doc-item p { font-size: 13px; color: var(--tx-soft); }
.doc-item .arrow { margin-left: auto; color: var(--tx-soft); flex-shrink: 0; }

/* ── 11. GALEREYA ────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 13px; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden;
  cursor: pointer; background: var(--paper-2); display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 15px 13px;
  background: linear-gradient(to top, rgba(5,10,22,.92), transparent);
  color: #fff; font-size: 13px; line-height: 1.4;
  opacity: 0; transform: translateY(10px); transition: .34s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(3,7,16,.95);
  display: grid; place-items: center; padding: 4vw;
  opacity: 0; visibility: hidden; transition: .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox-cap { color: var(--tx-on-dark); text-align: center; margin-top: 16px; font-size: 14.5px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 30px; line-height: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 21px;
  display: grid; place-items: center; transition: .25s;
}
.lightbox-nav:hover { background: var(--cyan); color: var(--ink); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* video */
.video-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); display: block; }
.video-thumb { position: relative; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(34,211,238,.92); color: var(--ink);
  display: grid; place-items: center; font-size: 21px; transition: .3s var(--ease);
}
.video-card:hover .video-play { transform: scale(1.12); box-shadow: var(--glow); }
.video-info { padding: 16px 18px; color: #fff; }
.video-info h3 { font-size: 15.5px; margin-bottom: 5px; }
.video-info span { font-family: var(--f-mono); font-size: 11.5px; color: var(--tx-on-dark-soft); }

/* ── 12. JADVALLAR ───────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--paper-2); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 540px; }
table.data th {
  background: var(--navy); color: #fff; text-align: left; padding: 14px 17px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
table.data td { padding: 13px 17px; border-bottom: 1px solid var(--paper-2); color: var(--tx-mid); }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--paper); }
table.data td:first-child { color: var(--tx); font-weight: 500; }

/* ── 13. FORMALAR ────────────────────────────────────────── */
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--tx-mid); }
.field label .req { color: #dc2626; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; padding: 13px 16px;
  border: 1.5px solid var(--paper-2); border-radius: var(--r-sm);
  background: var(--white); color: var(--tx); transition: .22s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,116,245,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--tx-soft); }
.form-msg { padding: 13px 17px; border-radius: var(--r-sm); font-size: 14.5px; display: none; }
.form-msg.is-ok   { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg.is-err  { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── 14. FOOTER ──────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--tx-on-dark-soft); padding-top: clamp(46px, 6vw, 72px); }
.footer-grid {
  display: grid; gap: 34px; padding-bottom: 42px;
  grid-template-columns: minmax(250px, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
}
.footer h4 {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 17px; font-weight: 600;
}
.footer-about p { font-size: 14px; line-height: 1.7; margin-top: 15px; max-width: 330px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { font-size: 14px; transition: .2s; }
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact { display: grid; gap: 11px; font-size: 14px; }
.footer-contact div { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact i { color: var(--cyan); margin-top: 4px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13px;
}

/* ── 15. ANIMATSIYA ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 16. KO'RISH IMKONIYATI CHEKLANGANLAR REJIMI ─────────── */
body.a11y {
  --paper: #000; --paper-2: #1a1a1a; --white: #000;
  --tx: #ffeb3b; --tx-mid: #ffeb3b; --tx-soft: #e0d000;
  --navy: #000; --navy-2: #000; --ink: #000;
  --tx-on-dark: #ffeb3b; --tx-on-dark-soft: #e0d000;
  font-size: 20px;
}
body.a11y * { letter-spacing: .02em !important; }
body.a11y img:not(.brand-mark img) { filter: grayscale(1) contrast(1.15); }
body.a11y .card, body.a11y .doc-item, body.a11y .stat-card,
body.a11y .leader-card, body.a11y .table-wrap { border: 2px solid #ffeb3b; }
body.a11y .hero::after { background: rgba(0,0,0,.84); }
body.a11y .hero-slide { filter: grayscale(1); }
body.a11y .btn-primary { background: #ffeb3b; color: #000; }

/* ── 17. MOSLASHUVCHANLIK ────────────────────────────────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 280px; }
}
@media (max-width: 760px) {
  .topbar-meta span:not(:first-child) { display: none; }
  .header-inner { height: 66px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 11px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand-name { font-size: 12.5px; }
  .brand-sub { font-size: 9.5px; }
  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .topbar-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .mobile-nav, .nav-scrim, .footer, .hero-dots, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding-block: 12pt; }
}
