/* Umumiy header, footer va bosh sahifa bo'limlari. */
body.nq {
  --grad: linear-gradient(270deg, #19ae8b 0%, #23939f 50%, #3e7bb6 100%);
  --grad-btn: linear-gradient(90deg, #4a9dff 0%, #10d0ae 100%);
  --teal: #19ae8b;
  --teal-deep: #0f8d70;
  --blue-n: #3e7bb6;
  --navy-n: #0a1f44;
  --ink: #1d253c;
  --ink-soft: #5d6f8d;
  --hair: #dfe4ed;
  --glass: rgba(255, 255, 255, .1);
  --glass-line: rgba(255, 255, 255, .15);
  --r-lg: 16px;
  --r-md: 12px;
  background: #fff;
  color: var(--ink);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}
body.nq h1, body.nq h2, body.nq h3 { color: inherit; }
.nq-wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 24px; }
.nq svg.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nq a:hover { text-decoration: none; }
html.nq-hv { filter: grayscale(1) contrast(1.15); font-size: 112.5%; }

/* Xabarlar header ustida suzib turadi */
body.nq:not(.nq-inner) .messages { position: fixed; top: 142px; left: 50%; transform: translateX(-50%); z-index: 1100; max-width: 560px; padding: 0 16px; }

/* HEADER */
.nq-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff; transition: background .3s ease, box-shadow .3s ease; }
.nq-header.is-stuck { background: var(--navy-n); box-shadow: 0 8px 24px rgba(4, 14, 32, .35); }
.nq-header__in { display: flex; gap: 24px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.nq-brand { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; }
.nq-brand svg { width: 66px; height: 54px; }
.nq-brand b { font-size: 1.28rem; letter-spacing: -.02em; font-weight: 800; line-height: 1; }
.nq-header__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nq-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-height: 40px; overflow: hidden; transition: max-height .3s ease, opacity .2s ease; }
.nq-header.is-stuck .nq-top { max-height: 0; opacity: 0; margin-bottom: -14px; }
.nq-top__group { display: flex; align-items: center; gap: 28px; }
.nq-contact { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.nq-contact svg.ic { font-size: 1.25rem; }
.nq-contact:hover { opacity: .75; }
.nq-tools { display: flex; align-items: center; gap: 22px; }
.nq-tool { background: none; border: 0; padding: 0; color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; display: inline-flex; }
.nq-tool:hover { opacity: .7; }
.nq-divider { width: 1px; height: 24px; background: rgba(255, 255, 255, .35); }
.nq-navrow { display: flex; gap: 16px; align-items: stretch; }
.nq-menu { flex: 1; min-width: 0; min-height: 56px; display: flex; align-items: center; justify-content: space-around; gap: 2px; padding: 0 7px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
.nq-menu a, .nq-menu button { display: block; color: #fff; background: none; border: 0; font: inherit; font-size: 1rem; font-weight: 500; white-space: nowrap; padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: opacity .2s ease, background .2s ease; }
.nq-menu a:hover, .nq-menu button:hover { opacity: .6; }
.nq-menu .is-cta { background: var(--grad-btn); font-weight: 600; }
.nq-menu .is-cta:hover { opacity: 1; filter: brightness(1.07); }
.nq-count { background: #ff5a4f; color: #fff; border-radius: 10px; font-size: .72rem; padding: 0 6px; margin-left: 5px; }
.nq-lang { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 0 24px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); font-weight: 500; }
.nq-flag { width: 20px; height: 14px; border-radius: 2px; background: linear-gradient(#1eb2c4 0 33%, #fff 33% 37%, #f4f4f4 37% 63%, #fff 63% 67%, #1eb53a 67%); }
.nq-burger { display: none; flex: none; width: 56px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg); color: #fff; font-size: 1.5rem; cursor: pointer; align-items: center; justify-content: center; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }

/* Ichki sahifalar */
body.nq-inner { background: var(--bg); }
body.nq-inner main { padding-top: var(--nq-head); }
body.nq-inner .nq-header { background: var(--navy-n); }
.nq-menu a.active { background: rgba(255, 255, 255, .14); }
.nq-menu a.active:hover { opacity: 1; }

/* HERO */
.nq-hero { position: relative; overflow: hidden; color: #fff; background-color: #090c10; background-image: linear-gradient(180deg, rgba(5, 8, 12, .55), rgba(5, 8, 12, .78)), var(--hero-img, none), radial-gradient(900px 620px at 72% 8%, rgba(120, 72, 38, .55), transparent 70%), radial-gradient(760px 620px at 8% 88%, rgba(25, 174, 139, .18), transparent 70%), linear-gradient(160deg, #1a1712 0%, #0c1014 55%, #071a1f 100%); background-size: cover; background-position: center; }
.nq-hero::after { content: ""; position: absolute; right: -210px; top: 50%; width: 560px; height: 560px; transform: translateY(-46%); background: url("../img/nq-rosette.svg") center / contain no-repeat; opacity: .42; pointer-events: none; }
.nq-header .nq-wrap, .nq-footer .nq-wrap { max-width: 1728px; }
.nq-hero__in { position: relative; z-index: 2; min-height: calc(max(100vh, 840px) - 72px); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-top: 158px; padding-bottom: 0; }
.nq-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin: auto 0; padding: 20px 0; }
.nq-sup { font-size: 1.3rem; font-weight: 500; text-transform: uppercase; max-width: min(650px, 90%); line-height: 1.2; margin: 0; }
.nq-title { margin: 0; font-size: 3.75rem; font-weight: 700; line-height: 1.04; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.nq-title span { display: block; background: var(--grad); background: linear-gradient(90deg, #3e7bb6 0%, #23939f 45%, #19ae8b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nq-sub { font-size: 1.2rem; font-weight: 400; line-height: 1.25; max-width: min(933px, 88%); color: rgba(255, 255, 255, .8); margin: 0 0 20px; }
.nq-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.nq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 200px; padding: 15px 18px; border-radius: var(--r-lg); color: #fff; font-weight: 600; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.nq-btn:hover { transform: translateY(-2px); }
.nq-btn--primary { background: var(--grad-btn); box-shadow: 0 8px 24px rgba(16, 208, 174, .25); }
.nq-btn--primary:hover { filter: brightness(1.07); color: #fff; }
.nq-btn--ghost { background: linear-gradient(90deg, #2f4560, #1f4f4a) padding-box, var(--grad-btn) border-box; }
.nq-btn--ghost:hover { color: #fff; }
.nq-side { position: absolute; left: 16px; top: 250px; width: 218px; z-index: 3; }
.nq-side h2 { font-size: 1rem; font-weight: 600; margin: 0 0 8px 6px; color: #fff; }
.nq-side__box { display: grid; gap: 5px; padding: 5px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
.nq-side__item { display: block; padding: 11px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); font-size: .875rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.nq-side__item:hover { background: rgba(255, 255, 255, .16); transform: translateX(2px); color: #fff; }
.nq-side__top { display: flex; justify-content: space-between; align-items: center; font-size: 1.45rem; margin-bottom: 8px; }
.nq-side__top .ic:first-child { color: #4fd8bb; }
.nq-side__top .ic:last-child { font-size: 1.15rem; }
.nq-stats { width: 100%; max-width: 1314px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.nq-stat { display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; gap: 10px; padding: 14px 12px; min-height: 148px; border-radius: var(--r-md); color: #fff; background: linear-gradient(270deg, rgba(25, 174, 139, .1), rgba(35, 147, 159, .1) 50%, rgba(62, 123, 182, .1)); border: 1px solid var(--glass-line); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.nq-stat:hover { transform: translateY(-5px); border-color: rgba(25, 174, 139, .7); box-shadow: 0 12px 28px rgba(25, 174, 139, .2); color: #fff; }
.nq-stat .ic { font-size: 2.3rem; stroke-width: 1.3; }
.nq-stat b { font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.nq-stat em { font-style: normal; color: var(--teal); font-weight: 500; display: inline-flex; align-items: center; gap: 3px; }
.nq-marquee { width: 100vw; overflow: hidden; padding: 0 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nq-marquee__track { display: flex; width: max-content; animation: nq-slide 38s linear infinite; }
.nq-marquee:hover .nq-marquee__track { animation-play-state: paused; }
.nq-marquee__set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.nq-marquee__set span { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .72); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.nq-marquee__set .ic { color: #4fd8bb; font-size: 1.5rem; }
@keyframes nq-slide { to { transform: translateX(-50%); } }

/* BO'LIMLAR */
.nq-section { position: relative; padding: 72px 0; }
.nq-orn { background-color: #fff; background-image: url("../img/nq-pattern.svg"); background-size: 168px; }
.nq-orn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .97) 30%, rgba(255, 255, 255, .97) 70%, rgba(255, 255, 255, .86)); }
.nq-orn > * { position: relative; }
.nq-dark { background: radial-gradient(1000px 500px at 85% 0, rgba(62, 123, 182, .35), transparent 70%), radial-gradient(900px 500px at 0 100%, rgba(25, 174, 139, .16), transparent 70%), var(--navy-n); color: #fff; }
.nq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.nq-head h2 { font-size: 1.85rem; font-weight: 700; margin: 0; }
.nq-more { color: var(--teal-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; transition: gap .2s ease; }
.nq-more:hover { gap: 9px; color: var(--teal-deep); }
.nq-dark .nq-more { color: #4fd8bb; }
.nq-empty { border: 1px dashed var(--hair); border-radius: var(--r-lg); padding: 44px 16px; text-align: center; color: var(--ink-soft); }
.nq-dark .nq-empty { border-color: var(--glass-line); color: rgba(255, 255, 255, .7); }

/* Maqsad bloki */
.nq-purpose { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.nq-quote { font-size: 4.4rem; line-height: .6; font-weight: 800; height: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: Georgia, serif; }
.nq-purpose h2 { font-size: 2.3rem; font-weight: 700; line-height: 1.25; margin: 10px 0 18px; }
.nq-purpose p { font-size: 1.08rem; line-height: 1.6; color: #44546d; margin: 0; }
.nq-verify { position: relative; color: #fff; padding: 44px 38px 44px 76px; background: var(--navy-n); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.nq-verify::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 64px; background: linear-gradient(180deg, #19ae8b, #3e7bb6); clip-path: polygon(44px 0, 64px 0, 20px 100%, 0 100%); }
.nq-verify h3 { font-size: 1.45rem; font-weight: 700; margin: 0 0 8px; }
.nq-verify p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 0 0 20px; }
.nq-verify__form { display: flex; gap: 8px; }
.nq-verify__form input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .1); color: #fff; font: inherit; }
.nq-verify__form input::placeholder { color: rgba(255, 255, 255, .55); }
.nq-verify__form .nq-btn { flex: none; min-width: 0; padding: 14px 20px; cursor: pointer; border-radius: var(--r-md); }

/* Kurs kartochkalari */
.nq-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nq-course { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 20px; padding: 24px; box-shadow: 0 8px 24px rgba(3, 12, 30, .22); transition: transform .28s ease, box-shadow .28s ease; overflow: hidden; }
.nq-course::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.nq-course:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(3, 12, 30, .38); }
.nq-course__tags { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.nq-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: .82rem; font-weight: 600; background: #e7f6f2; color: var(--teal-deep); }
.nq-tag--offline { background: #fbf1dc; color: #94650a; }
.nq-tag--blended { background: #e4eefa; color: #2b659e; }
.nq-deadline { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .82rem; font-weight: 500; white-space: nowrap; }
.nq-course h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.28; margin: 0 0 8px; }
.nq-course h3 a { color: var(--ink); }
.nq-course h3 a:hover { color: var(--blue-n); }
.nq-course__desc { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; margin: 0 0 18px; }
.nq-facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nq-facts li { display: flex; align-items: flex-start; gap: 10px; background: #f4f7fb; border-radius: var(--r-md); padding: 10px 12px; min-width: 0; }
.nq-facts .ic { color: var(--blue-n); font-size: 1.25rem; margin-top: 1px; }
.nq-facts small { display: block; color: var(--ink-soft); font-size: .75rem; }
.nq-facts strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.nq-course__cta { margin-top: auto; display: flex; gap: 10px; }
.nq-course__cta a { flex: 1; text-align: center; padding: 12px 10px; border-radius: var(--r-md); font-weight: 600; font-size: .92rem; transition: filter .2s ease, background .2s ease; }
.nq-cta-main { flex: 1.7 !important; background: var(--grad-action); color: #fff; }
.nq-cta-main:hover { filter: brightness(1.06); color: #fff; }
.nq-cta-alt { background: #eef3f9; color: var(--blue-n); }
.nq-cta-alt:hover { background: #dfeaf6; color: var(--blue-n); }

/* Vazifalar */
.nq-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nq-panel { background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 28px; box-shadow: 0 6px 20px rgba(29, 37, 60, .06); }
.nq-panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.32rem; font-weight: 700; margin: 0 0 18px; }
.nq-badge-ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; }
.nq-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nq-points li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #f6f9fc; font-weight: 500; font-size: .98rem; transition: background .2s ease, transform .2s ease; }
.nq-points li:hover { background: #e9f6f2; transform: translateX(3px); }
.nq-points b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--teal-deep); box-shadow: inset 0 0 0 1.5px #bfe7dc; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; }

/* Yangiliklar */
.nq-news { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.nq-news__lead { grid-column: span 2; }
.nq-news__mid { display: grid; gap: 16px; }
.nq-news__side { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; }
.nq-tile { position: relative; display: flex; align-items: flex-end; min-height: 200px; height: 100%; border-radius: var(--r-lg); overflow: hidden; color: #fff; background-color: #174a6d; background-image: url("../img/nq-rosette.svg"), linear-gradient(135deg, #3e7bb6, #23939f 55%, #19ae8b); background-repeat: no-repeat; background-size: 340px, cover; background-position: right -90px top -70px, center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); transition: transform .3s ease, box-shadow .3s ease; }
.nq-tile--b { background-image: url("../img/nq-rosette.svg"), linear-gradient(135deg, #0a1f44, #1f5a88); }
.nq-tile--c { background-image: url("../img/nq-rosette.svg"), linear-gradient(135deg, #0f6f66, #23939f); }
.nq-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10, 31, 68, .3); color: #fff; }
.nq-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nq-tile__txt { position: relative; width: 100%; padding: 46px 20px 18px; background: linear-gradient(180deg, transparent, rgba(5, 18, 40, .82)); }
.nq-tile__txt h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.25; margin: 0 0 8px; }
.nq-news__lead .nq-tile { min-height: 460px; }
.nq-news__lead h3 { font-size: 1.65rem; font-weight: 600; }
.nq-news__lead .nq-tile { background-size: 620px, cover; background-position: right -170px top -130px, center; }
.nq-date { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; opacity: .92; }
.nq-side-label { color: var(--ink-soft); font-weight: 600; font-size: .9rem; display: flex; justify-content: space-between; }
.nq-mini { display: flex; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); color: var(--ink); flex: 1; }
.nq-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.nq-mini__thumb { flex: none; width: 150px; min-height: 104px; border-radius: var(--r-md); background: url("../img/nq-rosette.svg") right -46px top -40px / 180px no-repeat, linear-gradient(135deg, #3e7bb6, #19ae8b); position: relative; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, .15); }
.nq-mini__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nq-mini div:last-child { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0; }
.nq-mini h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.28; margin: 0; transition: color .2s ease; }
.nq-mini:hover { color: var(--ink); }
.nq-mini:hover h3 { color: var(--blue-n); }
.nq-mini .nq-date { color: var(--ink-soft); }

/* Hujjatlar */
.nq-center { text-align: center; font-size: 1.85rem; font-weight: 700; margin: 0 0 30px; }
.nq-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nq-docs__col > div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.nq-docs__col h3 { font-size: 1.18rem; font-weight: 600; margin: 0; }
.nq-doc { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); padding: 15px 18px; border-radius: var(--r-md); margin-bottom: 12px; transition: transform .22s ease, box-shadow .22s ease; }
.nq-doc:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); color: var(--ink); }
.nq-doc__fmt { flex: none; width: 50px; height: 50px; border-radius: var(--r-md); background: #e4eefa; color: #2b659e; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; }
.nq-doc__fmt--note { background: #e7f6f2; color: var(--teal-deep); font-size: 1.5rem; }
.nq-doc b { display: block; font-weight: 600; line-height: 1.28; }
.nq-doc small { color: var(--ink-soft); }
.nq-doc > .ic { margin-left: auto; color: var(--ink-soft); font-size: 1.1rem; }

/* Kutubxona */
.nq-lib { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 20px; color: #fff; background: url("../img/nq-rosette.svg") right 16% top -120px / 420px no-repeat, var(--grad); }
.nq-lib h2 { font-size: 1.75rem; font-weight: 700; margin: 0 0 6px; }
.nq-lib p { margin: 0; opacity: .92; }
.nq-lib a { background: #fff; color: var(--navy-n); padding: 14px 26px; border-radius: var(--r-lg); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: transform .2s ease; }
.nq-lib a:hover { transform: translateY(-2px); color: var(--navy-n); }

/* Foydali havolalar */
.nq-grey { background-color: #f1f3f5; background-image: url("../img/nq-pattern.svg"); background-size: 168px; }
.nq-grey::before { content: ""; position: absolute; inset: 0; background: rgba(241, 243, 245, .9); }
.nq-grey > * { position: relative; }
.nq-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.nq-link { width: 214px; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 3px 10px rgba(29, 37, 60, .06); transition: transform .25s ease, box-shadow .25s ease; }
.nq-link:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(29, 37, 60, .14); color: var(--ink); }
.nq-link > .nq-badge-ic { border-radius: 50%; }
.nq-link span.t { font-size: .92rem; font-weight: 500; line-height: 1.28; flex: 1; }
.nq-pill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; border: 1px solid #8fd6c4; color: var(--teal-deep); border-radius: 8px; padding: 4px 10px; font-size: .82rem; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* FOOTER */
.nq-footer { position: relative; overflow: hidden; background: var(--navy-n); color: #fff; padding-top: 60px; margin-top: auto; }
.nq-footer::after { content: ""; position: absolute; right: -180px; bottom: -180px; width: 520px; height: 520px; background: url("../img/nq-rosette.svg") center / contain no-repeat; opacity: .23; pointer-events: none; }
.nq-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 40px; align-items: start; }
.nq-footer .nq-brand { align-items: flex-start; margin-bottom: 20px; }
.nq-footer p { max-width: 350px; line-height: 1.4; opacity: .8; margin: 0 0 18px; }
.nq-socials { display: flex; gap: 16px; font-size: 1.35rem; }
.nq-socials a { color: #fff; display: inline-flex; }
.nq-socials a:hover { opacity: .7; }
.nq-items { display: grid; gap: 22px; }
.nq-item { display: flex; gap: 12px; }
.nq-item .ic { font-size: 1.4rem; color: #4fd8bb; margin-top: 2px; }
.nq-item b { display: block; font-size: 1.08rem; font-weight: 500; color: #fff; }
.nq-item a { color: #fff; }
.nq-item a b:hover { opacity: .75; }
.nq-item small { display: block; font-size: .95rem; font-weight: 300; color: #fff; opacity: .65; }
.nq-mapcard { display: flex; flex-direction: column; justify-content: flex-end; min-height: 214px; border-radius: var(--r-lg); padding: 20px; color: #fff; background: linear-gradient(180deg, rgba(10, 31, 68, 0), rgba(10, 31, 68, .85)), url("../img/nq-pattern.svg") center / 92px, linear-gradient(135deg, #2c6ca3, #19ae8b); border: 1px solid var(--glass-line); transition: transform .25s ease; }
.nq-mapcard:hover { transform: translateY(-4px); color: #fff; }
.nq-mapcard b { font-size: 1.1rem; display: flex; align-items: center; gap: 6px; }
.nq-mapcard small { opacity: .85; }
.nq-footer__links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.nq-footer__links a { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.nq-footer__links a:hover { color: #fff; }
.nq-copy { position: relative; z-index: 1; margin-top: 34px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; opacity: .7; }

/* MOSLASHUV */
@media (max-width: 1780px) {
  .nq-title { font-size: 3rem; }
}
@media (max-width: 1500px) {
  .nq-menu a, .nq-menu button { font-size: .92rem; padding: 8px 10px; }
  .nq-title { font-size: 2.5rem; }
  .nq-sub { max-width: 760px; }
  .nq-contact { font-size: .88rem; }
}
@media (max-width: 1400px) {
  .nq-title { font-size: 2.25rem; }
  .nq-menu a, .nq-menu button { font-size: .86rem; padding: 8px 7px; }
  .nq-lang { padding: 0 14px; font-size: .9rem; }
}
@media (max-width: 1290px) {
  .nq-burger { display: inline-flex; }
  .nq-navrow { justify-content: flex-end; min-height: 48px; }
  .nq-menu { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 4px); flex-direction: column; align-items: stretch; padding: 10px; background: rgba(10, 31, 68, .97); }
  .nq-menu.open { display: flex; }
  .nq-menu a, .nq-menu button { width: 100%; text-align: left; padding: 12px; font-size: 1rem; }
  .nq-side { display: none; }
  .nq-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nq-news__mid { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nq-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nq-sup { font-size: 1.05rem; }
  .nq-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nq-purpose, .nq-duo, .nq-docs { grid-template-columns: minmax(0, 1fr); }
  .nq-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nq-top__group .nq-contact.opt { display: none; }
}
@media (max-width: 680px) {
  .nq-wrap { padding: 0 16px; }
  .nq-section { padding: 46px 0; }
  .nq-header__in { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nq-brand svg { width: 46px; height: 38px; }
  .nq-brand b { font-size: .95rem; }
  .nq-header__col { gap: 8px; }
  .nq-top__group:first-child .nq-contact:not(:first-child) { display: none; }
  .nq-top__group { gap: 12px; }
  .nq-tools { gap: 14px; }
  .nq-contact { font-size: .8rem; }
  .nq-menu { min-height: 0; }
  .nq-lang { padding: 0 12px; font-size: .86rem; }
  .nq-burger { width: 44px; }
  .nq-navrow { min-height: 42px; gap: 8px; }
  .nq-hero__in { padding-top: 124px; min-height: 0; }
  .nq-title { font-size: 1.9rem; }
  .nq-sub { font-size: 1rem; }
  .nq-btn { min-width: 0; flex: 1 1 150px; padding: 14px 10px; font-size: .9rem; white-space: nowrap; }
  .nq-actions { width: 100%; }
  .nq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
  .nq-stat { min-height: 130px; }
  .nq-stat:last-child { grid-column: span 2; }
  .nq-stat b { font-size: .98rem; }
  .nq-marquee__set span { font-size: 1.05rem; }
  .nq-courses, .nq-news, .nq-news__mid { grid-template-columns: minmax(0, 1fr); }
  .nq-news__lead, .nq-news__mid, .nq-news__side { grid-column: auto; }
  .nq-news__lead .nq-tile { min-height: 300px; }
  .nq-news__lead h3 { font-size: 1.3rem; }
  .nq-head h2, .nq-center { font-size: 1.45rem; }
  .nq-purpose h2 { font-size: 1.6rem; }
  .nq-purpose { gap: 28px; }
  .nq-verify { padding: 30px 20px; clip-path: none; border-radius: var(--r-lg); }
  .nq-verify::before { display: none; }
  .nq-verify__form { flex-direction: column; }
  .nq-course { padding: 20px; }
  .nq-panel { padding: 20px; }
  .nq-mini__thumb { width: 96px; min-height: 86px; }
  .nq-mini h3 { font-size: 1rem; }
  .nq-lib { padding: 26px 22px; }
  .nq-lib a { width: 100%; justify-content: center; }
  .nq-link { width: calc(50% - 8px); }
  .nq-hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nq-marquee__track { animation: none; }
  .nq * { transition: none !important; }
}
