/* ═══════════════════════════════════════════════════════════
   Buxoriylar maktabi — dizayn tizimi
   1. Tokenlar  2. Asos  3. Yordamchi sinflar  4. Komponentlar
   5. Bo‘limlar  6. Harakat  7. Kam harakat rejimi
   ═══════════════════════════════════════════════════════════ */

/* ───────── 1. Tokenlar ───────── */
:root {
  --ink: #06103a;
  --ink-2: #0a1a5c;
  --brand: #1a3fc4;
  --sky: #6fa8ff;
  --gold: #ffd27a; /* faqat mukofot va natijalar uchun */
  --mist: #f3f6ff;
  --text: rgba(243, 246, 255, 0.84);
  --text-dim: rgba(243, 246, 255, 0.68);

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.13);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(18px) saturate(140%);

  --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --radius-sm: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
  --gutter: 20px;
  --section: clamp(72px, 11vw, 128px);
}

/* ───────── 2. Asos ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--mist);
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: rgba(111, 168, 255, 0.4);
  color: #fff;
}

:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(111, 168, 255, 0.45);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
html[data-scene="3d"] #stage canvas {
  opacity: 1;
}

/* ───────── 3. Yordamchi sinflar ───────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -28px rgba(2, 6, 32, 0.75);
}
.glass--strong {
  background: var(--glass-bg-strong);
}
.glass-gold {
  background: linear-gradient(140deg, rgba(255, 210, 122, 0.16), rgba(255, 255, 255, 0.06) 55%);
  border: 1px solid rgba(255, 210, 122, 0.38);
  border-radius: var(--radius);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 180, 0.4),
    0 30px 80px -30px rgba(255, 210, 122, 0.28);
}
.gold-text {
  background: linear-gradient(180deg, #fff1cf 0%, #ffd27a 45%, #e0a53c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.is-placeholder {
  color: var(--text-dim) !important;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}
.soon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* Yorug‘lik dog‘lari */
.blob {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  will-change: transform;
  animation: blob 22s ease-in-out infinite alternate;
}
.blob--blue {
  background: radial-gradient(circle, rgba(26, 63, 196, 0.85), transparent 65%);
}
.blob--sky {
  background: radial-gradient(circle, rgba(111, 168, 255, 0.42), transparent 65%);
}
.blob--gold {
  background: radial-gradient(circle, rgba(255, 210, 122, 0.24), transparent 65%);
}

/* Oval halqalar (logotip motivi) */
.rings {
  position: absolute;
  pointer-events: none;
}
.rings g,
.orbit {
  transform-box: view-box;
  transform-origin: center;
}
.rings__a {
  animation: orbit 60s linear infinite;
}
.rings__b {
  animation: orbit 80s linear infinite reverse;
}
.rings__c {
  animation: orbit 100s linear infinite;
}

/* Foto o‘rnini bosuvchi blok */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(111, 168, 255, 0.22), rgba(26, 63, 196, 0.18) 45%, rgba(6, 16, 58, 0.5));
}
.ph__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ph__label {
  position: relative;
  margin: 12px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(6, 16, 58, 0.55);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ───────── 4. Komponentlar ───────── */

/* Tugmalar */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s,
    border-color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 15.5px;
}
.btn--primary {
  background: #fff;
  color: var(--brand);
  box-shadow:
    0 10px 40px -8px rgba(111, 168, 255, 0.75),
    inset 0 -2px 0 rgba(26, 63, 196, 0.12);
}
.btn--primary:hover {
  box-shadow:
    0 16px 50px -8px rgba(111, 168, 255, 0.95),
    inset 0 -2px 0 rgba(26, 63, 196, 0.12);
}
.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn__arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    background-color 0.3s,
    transform 0.3s var(--ease),
    opacity 0.3s;
}
.round-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.round-btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

/* Logotip */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
}
.logo__mark {
  width: auto;
  height: 36px;
  filter: drop-shadow(0 6px 18px rgba(26, 63, 196, 0.6));
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
}
.logo__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name b {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.logo__name small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Bo‘lim sarlavhasi */
.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section);
}
.section__head {
  max-width: 760px;
}
.section__body {
  margin-top: clamp(36px, 5vw, 56px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow--gold {
  color: var(--gold);
}
.eyebrow__oval {
  width: 14px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.section__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.6vw, 3rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.section__lead {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* Panjara */
.grid {
  display: grid;
  gap: 16px;
}
.grid > li {
  min-width: 0;
}

/* Karta */
.card {
  position: relative;
  height: 100%;
  padding: 28px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}
.card__text {
  margin-top: 10px;
  font-size: 15px;
}

/* 3D og‘ish */
.tilt {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}
.tilt.is-tilting {
  transition: transform 0.08s linear;
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.tilt:hover::after {
  opacity: 1;
}

/* ───────── 5. Bo‘limlar ───────── */

/* Navigatsiya */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 12px 12px 0;
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1240px;
  height: 60px;
  margin-inline: auto;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  transition: background-color 0.5s;
}
.nav.is-scrolled .nav__bar,
.nav.is-open .nav__bar {
  background: rgba(10, 22, 78, 0.72);
}
.nav__links {
  display: none;
}
.nav__links ul {
  display: flex;
  gap: 2px;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.nav__links a:hover,
.nav__links a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__cta {
  display: none;
}
.nav__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav__toggle .icon--close,
.nav.is-open .nav__toggle .icon--menu {
  display: none;
}
.nav.is-open .nav__toggle .icon--close {
  display: block;
}
.nav__menu {
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 12px;
  background: rgba(8, 18, 66, 0.9);
  animation: menu-in 0.35s var(--ease);
}
.nav__menu ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.nav__menu ul a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav__menu ul .icon {
  width: 16px;
  height: 16px;
  color: var(--sky);
}
.nav__menu .btn {
  width: 100%;
  margin-top: 8px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__blob-a {
  left: -20%;
  top: 8%;
  width: 70vmax;
  opacity: 0.8;
}
.hero__blob-b {
  right: -25%;
  top: 30%;
  width: 55vmax;
  opacity: 0.5;
  animation-delay: -8s;
}
.hero__emblem {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 32svh;
  min-height: 200px;
  margin-inline: auto;
  transition: opacity 0.7s;
}
.hero__emblem svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
}
.orbit--a {
  animation: orbit 48s linear infinite;
}
.orbit--b {
  animation: orbit 64s linear infinite reverse;
}
.orbit--c {
  animation: orbit 80s linear infinite;
}
html[data-scene="3d"] .static-emblem {
  opacity: 0;
}
.hero__inner {
  position: relative;
  padding-bottom: 56px;
}
.hero__content {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mist);
}
.badge__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}
.badge__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sky);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 7.4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #fff;
}
.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.14em;
  vertical-align: bottom;
}
.word > span {
  display: inline-block;
}
.word--accent {
  background: linear-gradient(90deg, #fff, var(--sky) 50%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 520px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  color: var(--text);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.hero__scroll {
  display: none;
  position: absolute;
  inset: auto 0 20px;
  justify-content: center;
  pointer-events: none;
}
.hero__scroll span {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.hero__scroll span::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

/* Statistika */
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__num.gold-text {
  color: transparent;
}
.stat__suffix {
  font-size: 0.62em;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}
.stat__label--gold {
  color: var(--gold);
}
.stat__note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

/* Afzalliklar */
.adv__blob-a {
  right: -18%;
  top: 10%;
  width: 60vmax;
  opacity: 0.7;
  animation-delay: -5s;
}
.adv__blob-b {
  left: -22%;
  bottom: 0;
  width: 45vmax;
  opacity: 0.4;
  animation-delay: -12s;
}
.adv__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid rgba(111, 168, 255, 0.5);
  border-radius: 50%;
  background: rgba(26, 63, 196, 0.42);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 30px -10px rgba(111, 168, 255, 0.7);
}
.adv__icon .icon {
  width: 24px;
  height: 24px;
}
.adv__no {
  position: absolute;
  right: 26px;
  top: 26px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: rgba(243, 246, 255, 0.4);
}

/* Natijalar */
.res__blob-a {
  left: 6%;
  top: 18%;
  width: 50vmax;
  opacity: 0.8;
  animation-delay: -3s;
}
.res__blob-b {
  right: -20%;
  bottom: 5%;
  width: 55vmax;
  opacity: 0.6;
  animation-delay: -14s;
}
.results {
  display: grid;
  gap: 20px;
}
.results > div {
  min-width: 0;
}
.award {
  position: relative;
  height: 100%;
  padding: clamp(28px, 5vw, 44px);
}
.award__rings {
  right: -96px;
  top: -96px;
  width: 380px;
  height: 380px;
  opacity: 0.85;
}
.award__year {
  position: relative;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 210, 122, 0.4);
  border-radius: 999px;
  background: rgba(255, 210, 122, 0.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.award__mark {
  position: relative;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 22vw, 11rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 18px 50px rgba(255, 210, 122, 0.35));
  display: flex;
  align-items: flex-start;
  gap: 0.06em;
}
/* "Nº" — kichik, nozik, raqamning tepasiga tekislangan */
.award__no {
  display: inline-flex;
  align-items: flex-start;
  margin-top: 0.1em;
  font-size: 0.3em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.award__o {
  position: relative;
  margin-left: 0.06em;
  font-size: 0.62em;
  line-height: 1;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.award__o::after {
  content: "";
  position: absolute;
  inset: auto 0.06em -0.32em;
  height: 0.13em;
  border-radius: 999px;
  background: var(--gold);
}
.award__digit {
  font-weight: 700;
  line-height: 0.86;
  /* raqam gradienti butun balandlik bo‘ylab yotadi */
  padding-right: 0.04em;
}
.award__title {
  position: relative;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.award__text {
  position: relative;
  max-width: 460px;
  margin-top: 12px;
}
.facts {
  display: grid;
  height: 100%;
  overflow: hidden;
}
.fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fact:first-child {
  border-top: 0;
}
.fact dt {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dim);
}
.fact dd {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Ustozlar */
.teacher {
  padding: 8px 8px 18px;
}
.teacher__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.teacher__name {
  margin: 16px 12px 0;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.teacher__subject {
  margin: 4px 12px 0;
  font-size: 13.5px;
  color: var(--sky);
}

/* Galereya */
.masonry {
  columns: 2;
  column-gap: 12px;
}
.masonry > li {
  margin-bottom: 12px;
  break-inside: avoid;
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.5s var(--ease);
}
.shot:hover {
  transform: translateY(-4px);
}
.shot .photo {
  transition: transform 0.7s var(--ease);
}
.shot:hover .photo {
  transform: scale(1.05);
}
.ar-1-1 {
  aspect-ratio: 1;
}
.ar-4-5 {
  aspect-ratio: 4 / 5;
}
.ar-3-4 {
  aspect-ratio: 3 / 4;
}
.ar-4-3 {
  aspect-ratio: 4 / 3;
}
.ar-3-2 {
  aspect-ratio: 3 / 2;
}
.ar-16-10 {
  aspect-ratio: 16 / 10;
}
.ar-16-9 {
  aspect-ratio: 16 / 9;
}

/* Sijjak */
.sij__blob {
  left: 15%;
  top: 0;
  width: 50vmax;
  opacity: 0.5;
  animation-delay: -9s;
}
.sijjak {
  position: relative;
  display: grid;
  overflow: hidden;
}
.sijjak__rings {
  left: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  opacity: 0.7;
}
.sijjak__body {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
}
.sijjak__title {
  margin: 16px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.sijjak__text {
  max-width: 440px;
  margin: 18px 0 30px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}
.sijjak__photo {
  position: relative;
  min-height: 260px;
  margin: 8px;
  overflow: hidden;
  border-radius: 22px;
}

/* Fikrlar (karusel) */
.carousel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.carousel__nav {
  display: flex;
  gap: 10px;
}
.carousel {
  display: flex;
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 8px;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel__slide {
  flex: 0 0 min(86%, 440px);
  scroll-snap-align: start;
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
  padding: 30px 28px;
}
.quote__mark {
  height: 34px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--sky);
}
.quote blockquote {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mist);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}
.quote figcaption b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.quote figcaption span {
  font-size: 13.5px;
  color: var(--text-dim);
}
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition:
    width 0.4s var(--ease),
    background-color 0.4s;
}
.carousel__dots .is-active {
  width: 26px;
  background: var(--sky);
}

/* Qabul */
.adm__blob-a {
  right: -10%;
  top: 12%;
  width: 60vmax;
  opacity: 0.75;
  animation-delay: -6s;
}
.adm__blob-b {
  left: -20%;
  bottom: 0;
  width: 45vmax;
  opacity: 0.4;
  animation-delay: -15s;
}
.admission {
  display: grid;
  gap: 20px;
  align-items: start;
}
.admission > * {
  min-width: 0;
}
.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 18px;
  padding: 24px;
}
.step__no {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border: 1px solid rgba(111, 168, 255, 0.55);
  border-radius: 50%;
  background: rgba(26, 63, 196, 0.4);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.form-card {
  padding: clamp(24px, 4vw, 36px);
}
.form {
  display: grid;
  gap: 18px;
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}
.field input,
.field select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(6, 16, 58, 0.45);
  font-size: 16px; /* iOS kattalashtirmasligi uchun 16px */
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
}
.field input::placeholder {
  color: rgba(243, 246, 255, 0.45);
}
.field input:hover,
.field select:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--sky);
  background: rgba(6, 16, 58, 0.65);
  box-shadow: 0 0 0 4px rgba(111, 168, 255, 0.3);
}
.field [aria-invalid="true"] {
  border-color: #ff9d9d;
}
.field__error {
  min-height: 0;
  margin-top: 6px;
  font-size: 13.5px;
  color: #ffb4b4;
}
.field__error:empty {
  display: none;
}
.select {
  position: relative;
}
.select select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}
.select select:invalid {
  color: rgba(243, 246, 255, 0.45);
}
.select option {
  background: var(--ink-2);
  color: #fff;
}
.select__chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(90deg);
  color: var(--sky);
  pointer-events: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status {
  font-size: 14px;
  color: #ffb4b4;
}
.form__status:empty {
  display: none;
}
.form__submit {
  width: 100%;
}
.form__submit.is-loading .btn__arrow {
  animation: spin 0.9s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  stroke: none;
}
.form__consent {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.form__consent .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--sky);
}
.form-success {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-block: 12px;
  animation: fade-up 0.7s var(--ease);
}
.form-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 56px;
  border: 1px solid rgba(111, 168, 255, 0.6);
  border-radius: 50%;
  background: rgba(26, 63, 196, 0.5);
  color: #fff;
}
.form-success__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* Aloqa */
.contact {
  display: grid;
  gap: 20px;
}
.contact > * {
  min-width: 0;
}
.contact__list {
  display: grid;
  gap: 12px;
  align-content: start;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s;
}
a.contact__item:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-strong);
}
.contact__item > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.contact__item small {
  font-size: 12.5px;
  color: var(--text-dim);
}
.contact__item b {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-overflow: ellipsis;
}
.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  border: 1px solid rgba(111, 168, 255, 0.5);
  border-radius: 50%;
  background: rgba(26, 63, 196, 0.42);
  color: #fff;
}
.contact__arrow {
  width: 18px;
  height: 18px;
  color: var(--sky);
  transform: rotate(-45deg);
  transition: transform 0.3s var(--ease);
}
a.contact__item:hover .contact__arrow {
  transform: rotate(-45deg) translateX(3px);
}
.map {
  min-height: 320px;
  padding: 8px;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 304px;
  border: 0;
  border-radius: 22px;
  filter: saturate(0.85) contrast(1.02);
}

/* Footer */
.footer {
  margin-top: 24px;
  padding-block: 48px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, transparent, rgba(2, 6, 32, 0.6));
}
.footer__inner {
  display: grid;
  gap: 32px;
}
.footer__brand p {
  max-width: 300px;
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}
.footer__links a {
  display: inline-block;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--text);
  transition: color 0.3s;
}
.footer__links a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-dim);
}

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: inherit;
}
.lightbox[open] {
  display: grid;
  place-items: center;
  animation: fade 0.3s;
}
.lightbox::backdrop {
  background: rgba(6, 16, 58, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.lightbox__figure {
  width: min(92vw, 980px);
  padding: 8px;
  animation: zoom-in 0.4s var(--ease);
}
.lightbox__media {
  max-height: 70dvh;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
}
.lightbox__media .photo {
  object-fit: contain;
}
.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  font-size: 14px;
}
.lightbox__count {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.lightbox__close {
  position: fixed;
  right: 16px;
  top: 16px;
}
.lightbox__prev,
.lightbox__next {
  position: fixed;
  bottom: 16px;
}
.lightbox__prev {
  left: 16px;
}
.lightbox__next {
  right: 16px;
}

/* ───────── Moslashuvchanlik ───────── */
@media (min-width: 560px) {
  .hero__cta {
    flex-direction: row;
    justify-content: center;
  }
  .nav__cta {
    display: inline-flex;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(2) {
    border-top: 0;
  }
  .fact:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
  .grid {
    gap: 20px;
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .masonry {
    column-gap: 16px;
  }
  .masonry > li {
    margin-bottom: 16px;
  }
  .carousel__slide {
    flex-basis: min(60%, 440px);
  }
  .lightbox__prev,
  .lightbox__next {
    top: 50%;
    bottom: auto;
    translate: 0 -50%;
  }
  .footer__inner {
    grid-template-columns: 1.2fr 1.4fr auto;
    align-items: start;
  }
}

.grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1024px) {
  .nav {
    padding: 14px 20px 0;
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .hero {
    justify-content: center;
  }
  .hero__emblem {
    position: absolute;
    inset: 0 0 0 50%;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
  }
  .hero__emblem svg {
    max-width: 640px;
    margin: auto;
    padding: 40px;
  }
  .hero__inner {
    padding-bottom: 0;
  }
  .hero__content {
    margin-inline: 0;
    text-align: left;
  }
  .hero__lead {
    margin-inline: 0;
  }
  .hero__cta {
    justify-content: flex-start;
  }
  .hero__scroll {
    display: flex;
  }
  .results {
    grid-template-columns: 1.05fr 1fr;
  }
  .masonry {
    columns: 4;
  }
  .sijjak {
    grid-template-columns: 1fr 1fr;
  }
  .sijjak__photo {
    min-height: 420px;
  }
  .carousel__slide {
    flex-basis: calc((100% - 32px) / 3);
  }
  .admission {
    grid-template-columns: 1fr 1.05fr;
    gap: 28px;
  }
  .contact {
    grid-template-columns: 1fr 1.25fr;
  }
}

/* To‘liq navigatsiya faqat keng ekranda (ruscha yozuvlar uzunroq) */
@media (min-width: 1200px) {
  .nav__links {
    display: block;
  }
  .nav__toggle,
  .nav__menu {
    display: none !important;
  }
}

/* ───────── 6. Harakat ───────── */
@keyframes blob {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(6%, -8%, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-6%, 6%, 0) scale(0.95);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70%,
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
}
@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}
@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Sahifa yuklanishi: logotip chiziladi → hero kontenti ko‘tariladi */
.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--ink);
  pointer-events: none;
  animation: intro-out 0.5s var(--ease) 1.2s forwards;
}
.intro svg {
  width: 150px;
}
.intro .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s var(--ease) 0.1s forwards;
}
.intro .draw--2 {
  animation-delay: 0.3s;
}
.intro__text {
  opacity: 0;
  animation: fade-up 0.6s var(--ease) 0.55s forwards reverse;
  animation: intro-text 0.6s var(--ease) 0.55s forwards;
}
@keyframes intro-text {
  to {
    opacity: 1;
  }
}

.hero-in {
  animation: fade-up 0.9s var(--ease) both;
  animation-delay: calc(1.15s + var(--i, 0) * 0.09s);
}
.d1 { --i: 1; }
.d2 { --i: 2; }
.d3 { --i: 3; }
.d4 { --i: 4; }
.d5 { --i: 5; }
.d6 { --i: 6; }
.d7 { --i: 7; }
.d8 { --i: 8; }
.d9 { --i: 9; }
.d10 { --i: 10; }
.d11 { --i: 11; }

/* Skrollda ochilish (faqat JS ishlaganda yashiriladi) */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s);
}
.js [data-split] .word > span {
  transform: translateY(110%);
}
.js [data-split].is-in .word > span {
  transform: none;
  transition: transform 0.9s var(--ease) var(--d, 0s);
}
/* main.js yuklanmasa — kontent baribir ko‘rinadi */
.reveal-all .reveal,
.reveal-all [data-split] .word > span {
  opacity: 1 !important;
  transform: none !important;
}

/* ───────── 7. Kam harakat rejimi ───────── */
@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js [data-split] .word > span {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) {
    scroll-behavior: smooth;
  }
}

/* ───────── Til almashtirgich ───────── */
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.lang a:hover {
  color: #fff;
}
.lang a.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ───────── Ko‘p beriladigan savollar ───────── */
.faq__list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}
.faq__item {
  border-radius: 22px;
  transition: background-color 0.3s;
}
.faq__item[open] {
  background: var(--glass-bg-strong);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 46px;
  height: 34px;
  border: 1px solid rgba(111, 168, 255, 0.5);
  border-radius: 50%;
  background: rgba(26, 63, 196, 0.42);
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item[open] .faq__icon {
  background: var(--brand);
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__answer {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 0 22px 22px;
  max-width: 720px;
  font-size: 15.5px;
}
.faq__item[open] .faq__answer {
  animation: fade-up 0.5s var(--ease);
}

/* ═══════════ Ko‘p sahifali tuzilma ═══════════ */

/* Sahifalar orasida silliq o‘tish (qo‘llab-quvvatlaydigan brauzerlarda) */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

/* Ichki sahifa: birinchi bo‘lim menyu ostidan boshlanadi */
.is-inner main > .section:first-child {
  padding-top: calc(var(--nav-h) + clamp(44px, 8vw, 96px));
}
.is-inner main {
  min-height: 70svh;
}
/* Ichki sahifada kirish animatsiyasi kutilmaydi (logotip chizilishi faqat bosh sahifada) */
.is-inner .hero-in {
  animation-delay: calc(var(--i, 0) * 0.05s);
}
.is-inner .section__title {
  font-size: clamp(1.8rem, 5.4vw, 3.4rem);
}

/* Bosh sahifadagi yo‘llovchi kartalar */
a.card {
  display: block;
}
.go .card__title,
.go .card__text {
  display: block;
}
.go {
  padding-bottom: 64px;
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s;
}
.go:hover {
  border-color: rgba(255, 255, 255, 0.34);
}
.go__arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
.go__arrow .icon {
  width: 18px;
  height: 18px;
}
.go:hover .go__arrow {
  background: #fff;
  color: var(--brand);
  transform: translateX(4px);
}
.adv__icon--gold {
  border-color: rgba(255, 210, 122, 0.6);
  background: rgba(255, 210, 122, 0.16);
  color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 180, 0.4),
    0 10px 30px -10px rgba(255, 210, 122, 0.6);
}
.glass-gold.go .card__title {
  color: var(--gold);
}

/* Sahifa oxiridagi chaqiriq bloki */
.section--band {
  padding-top: 0;
}
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
}
.band__rings {
  left: 50%;
  top: 50%;
  width: 720px;
  height: 720px;
  margin: -360px 0 0 -360px;
  opacity: 0.55;
}
.band__title {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.band__text {
  position: relative;
  max-width: 560px;
  margin: 16px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}
.band__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
@media (min-width: 560px) {
  .band__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Qabul holati */
.form-checking,
.form-noscript {
  font-size: 15px;
  color: var(--text-dim);
}
.form-checking::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid var(--sky);
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 0.9s linear infinite;
}
.form-closed {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-block: 8px;
  animation: fade-up 0.6s var(--ease);
}
.form-closed__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.form-closed__icon .icon {
  width: 24px;
  height: 24px;
}

/* Footer havolalari: uzun (ruscha) yozuvlar ustma-ust tushmasligi uchun */
.footer__links {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* ═══════════ 404 sahifasi ═══════════ */
.nf {
  overflow: hidden;
}
.nf__inner {
  display: grid;
  justify-items: center;
  text-align: center;
}
.nf__code {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
}
.nf__rings {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.nf__digits {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.04em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 10.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 18px 60px rgba(111, 168, 255, 0.55);
}
/* O‘rtadagi nol — logotipdagi ko‘k oval nishon */
.nf__zero {
  display: grid;
  place-items: center;
  width: 1.18em;
  height: 0.78em;
  margin-inline: 0.06em;
  border: 0.035em solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(140deg, #3565f5, #1230a0);
  box-shadow:
    0 0 0 0.05em #1a3fc4,
    0 0.12em 0.5em rgba(26, 63, 196, 0.8);
  animation: nf-float 5s ease-in-out infinite alternate;
}
.nf__zero span {
  font-size: 0.42em;
  letter-spacing: 0;
  text-shadow: none;
}
@keyframes nf-float {
  from {
    transform: translateY(-4%) rotate(-3deg);
  }
  to {
    transform: translateY(4%) rotate(3deg);
  }
}
.nf__title {
  margin-top: 8px;
}
.nf__text {
  max-width: 520px;
  margin-top: 16px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}
.nf__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-top: 30px;
}
.nf__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.nf__links a {
  display: block;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.nf__links a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
@media (min-width: 560px) {
  .nf__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════ Responsive tuzatishlar ═══════════ */

/* Fon dog‘lari va halqalar bo‘limdan tashqariga chiqib, telefonda sahifani kengaytirib yubormasligi kerak */
html,
body {
  overflow-x: clip;
}
.section,
.footer {
  overflow-x: clip;
}

/* Uzun so‘zlar (masalan Telegram nomi) kartani kengaytirmasin — keyingi qatorga o‘tsin */
.contact__list,
.steps,
.faq__list {
  grid-template-columns: minmax(0, 1fr);
}
.contact__list > li,
.steps > li {
  min-width: 0;
}
.contact__item b {
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

/* Tor telefon (≤400px): logotip yozuvi bir qatorda qolsin */
.logo__name small {
  white-space: nowrap;
}
@media (max-width: 400px) {
  .logo {
    gap: 9px;
  }
  .logo__mark {
    height: 32px;
  }
  .logo__name b {
    font-size: 12.5px;
  }
  .logo__name small {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .nav__bar {
    gap: 8px;
    padding-left: 10px;
  }
  .lang a {
    min-width: 34px;
    padding: 0 8px;
  }
}

/* Sarlavhalar qatorlarga teng taqsimlansin ("1-o‘rin" chiziqchadan uzilib qolmasin) */
.award__title,
.card__title,
.stat__label,
.hero__title,
.nf__title,
.form__title {
  text-wrap: balance;
}

/* Planshet (720–1023px): hero kontenti ekran o‘rtasida, pastda bo‘sh joy qolmasin */
@media (min-width: 720px) and (max-width: 1023px) {
  .hero {
    justify-content: center;
  }
  .hero__emblem {
    height: 36svh;
    max-width: 620px;
  }
  .hero__inner {
    padding-bottom: 72px;
  }
}

/* Kichik noutbuk (1024px+): sarlavha emblema ustiga chiqib ketmasin */
@media (min-width: 1024px) {
  .hero__content {
    max-width: min(660px, 52%);
  }
  .hero__title {
    font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  }
}

/* Past ekran (yotiq telefon): ochilgan menyu ekranga sig‘masa, ichida aylantiriladi */
.nav__menu {
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Yotiq telefon: hero emblemasi ekranning yarmini egallab olmasin */
@media (max-height: 520px) and (max-width: 1023px) {
  .hero__emblem {
    height: 44svh;
    min-height: 150px;
  }
  .hero__title {
    font-size: clamp(1.7rem, 5vw, 2.6rem);
  }
}

/* Juda keng ekran (1600px+): matn va kartalar biroz kattaroq */
@media (min-width: 1600px) {
  .container {
    max-width: 1360px;
  }
  .nav__bar,
  .nav__menu {
    max-width: 1360px;
  }
}

/* ── Tezkor aloqa: telefon va manzil (bosh sahifa yuzi, footer) ── */
.quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.14));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
a.quick__item:hover,
a.quick__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 168, 255, 0.6);
  background: rgba(111, 168, 255, 0.14);
}
.quick__item .icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent, #6fa8ff);
}
.quick__item span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.quick__item small {
  font-size: 12px;
  color: var(--text-dim);
}
.quick__item b {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.hero__contact {
  margin-top: 22px;
}
.footer__contact {
  max-width: 340px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .hero__contact {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .hero__contact {
    justify-content: flex-start;
  }
}
.quick__short {
  display: none;
}
/* Telefon: bosh sahifa yuzida ikkita ixcham tugma bir qatorda — birinchi ekranda ko‘rinib turadi */
@media (max-width: 639px) {
  .hero__cta {
    margin-top: 26px;
  }
  .hero__contact {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .hero__contact .quick__item {
    gap: 8px;
    min-height: 46px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
  }
  .hero__contact .quick__item .icon {
    width: 18px;
    height: 18px;
  }
  .hero__contact small,
  .hero__contact .quick__full {
    display: none;
  }
  .hero__contact .quick__short {
    display: inline;
  }
  .hero__contact b {
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (max-width: 639px) {
  .hero__emblem {
    height: 23svh;
    min-height: 160px;
  }
}

/* ── Videolar sahifasi ── */
.vgrid {
  display: grid;
  gap: 16px;
}
.vgrid[aria-busy="true"] {
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 70%);
  background-size: 200% 100%;
  animation: vgrid-load 1.4s linear infinite;
}
@keyframes vgrid-load {
  to {
    background-position: -200% 0;
  }
}
.vcard {
  overflow: hidden;
  border-radius: 24px;
}
.vcard__frame {
  aspect-ratio: 16 / 9;
  background: #030a26;
}
.vcard__video {
  display: block;
  width: 100%;
  height: 100%;
  background: #030a26;
  object-fit: contain;
}
.vcard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 18px;
}
.vcard__title {
  font-family: var(--font-body, inherit);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
}
.vcard__date {
  font-size: 13px;
  color: var(--text-dim);
}
.vgrid__empty {
  padding: 28px 22px;
  border-radius: 24px;
  text-align: center;
  color: var(--text-dim);
}
@media (min-width: 700px) {
  .vgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1200px) {
  .vgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vgrid[aria-busy="true"] {
    animation: none;
  }
}

/* Footer: maktab shiori */
.footer__brand .footer__tagline {
  max-width: none;
  margin-top: 18px;
  font-family: var(--font-display, "Unbounded", sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent, #6fa8ff);
}
.footer__brand .footer__tagline + p {
  margin-top: 6px;
}
