:root {
  --navy: #0f2156;
  --navy-2: #182f72;
  --navy-3: #0b1942;
  --gold: #f5b72c;
  --gold-2: #e0a10f;
  --text: #14204a;
  --muted: #5f6b8c;
  --soft: #f4f6fb;
  --line: #e3e8f2;
  --white: #fff;
  --ok: #1f9d6b;
  --err: #d64545;
  --r: 14px;
  --shadow: 0 14px 34px -18px rgba(15, 33, 86, .35);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 500 16px/1.6 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.18; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--navy); }
.h2-sm { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1em; }
.gold { color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .7em; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent;
  font: 700 .95rem/1.1 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s, background .15s, box-shadow .2s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 22px -12px rgba(245, 183, 44, .9); }
.btn--gold:hover { background: #ffc43e; transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 30px; border-radius: 14px; font-size: 1rem; }
.btn--block { width: 100%; min-height: 54px; }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #ffe6a8; }
.btn--line { border-color: var(--line); background: none; color: var(--navy); }
.btn--line:hover { border-color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header__in { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 76px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; }
.brand__text span { font-size: .85rem; font-weight: 500; color: #c9d2ef; }
.nav { display: none; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9rem; color: #e3e8f8; transition: color .15s; }
.nav a:hover { color: var(--gold); }
.header__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: .74rem; color: #c9d2ef; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.btn--head { display: none; border-radius: 999px; min-height: 46px; padding: 0 22px; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.burger svg { width: 24px; height: 24px; }
.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
/* Mobil menyu */
@media (max-width: 1099px) {
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 84px;
    background: var(--navy); padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6);
  }
  .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 3; overflow: visible; overflow-x: clip; color: #fff;
  background: radial-gradient(900px 600px at 70% 40%, #23408f 0%, transparent 60%), linear-gradient(100deg, var(--navy-3) 0%, var(--navy) 45%, #1b3680 100%);
}
.hero__photo { position: relative; height: 330px; padding: 18px 16px 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero__in { position: relative; display: grid; gap: 28px; padding: 8px 0 40px; }
.hero__kicker { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.2rem); line-height: 1.2; margin-bottom: 14px; }
.hero h1 > span { display: block; }
.hero__lead { font-size: 1.1rem; color: #e3e8f8; margin-bottom: 26px; }
.hero__feats { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.hero__feats li { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 600; line-height: 1.3; color: #e3e8f8; padding-right: 16px; margin-right: 16px; border-right: 1px solid rgba(255, 255, 255, .22); max-width: 170px; }
.hero__feats li:last-child { border-right: 0; margin-right: 0; }
.hero__feats svg { width: 32px; height: 32px; color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.play { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: .88rem; font-weight: 700; line-height: 1.25; max-width: 190px; }
.play__btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.play__btn svg { width: 20px; height: 20px; margin-left: 2px; }
.play:hover .play__btn { background: #fff; color: var(--navy); }

/* Ariza kartasi */
.lead { position: relative; background: var(--white); color: var(--text); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); align-self: center; }
.anchor { position: absolute; top: -20px; }
.form__body { display: grid; gap: 10px; }
.lead__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.lead__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.lead__icon svg { width: 22px; height: 22px; margin-left: -2px; }
.lead h2 { font-size: 1.3rem; margin: 0 0 2px; }
.lead__head p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.inp { position: relative; display: flex; align-items: center; }
.inp > svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--navy); pointer-events: none; }
.inp input, .inp select {
  width: 100%; height: 48px; padding: 0 14px 0 42px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white);
  font: 600 .9rem var(--font); color: var(--text); appearance: none; transition: border-color .15s, box-shadow .15s;
}
.row2 .field:last-child .inp input { padding-left: 14px; }
.inp input::placeholder { color: var(--muted); font-weight: 500; }
.inp--select select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f2156' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.inp input:focus, .inp select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 183, 44, .35); }
.field.is-error input, .field.is-error select { border-color: var(--err); background-color: #fff7f7; }
.field__err { color: var(--err); font-size: .78rem; font-weight: 600; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; font-weight: 600; font-size: .88rem; color: var(--err); }
.form__msg:empty { display: none; }
.lead__safe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; font-size: .78rem; color: var(--muted); }
.lead__safe svg { width: 14px; height: 14px; color: var(--navy); }
.form__done { text-align: center; padding: 30px 6px; }
.form__check { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 2.1rem; font-weight: 800; animation: pop .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.12); } }
.form__done h3 { font-size: 1.35rem; color: var(--navy); }
.form__done p { color: var(--muted); }

/* ---------- Afzalliklar qatori ---------- */
.strip { background: var(--soft); }
.strip__in { list-style: none; margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.strip li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.35; }
.strip li > svg { width: 50px; height: 50px; color: var(--navy); }
.tag { font-style: normal; display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; vertical-align: 1px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.sec-head { display: grid; gap: 20px; align-items: end; margin-bottom: 32px; }
.sec-head h2 { margin-bottom: .35em; }
.sec-head__text { color: var(--muted); max-width: 30em; margin: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; justify-self: start; }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem; color: var(--text); cursor: pointer; transition: background .15s, color .15s; }
.tabs button:hover { background: #e8ecf6; }
.tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Kurs ko'rgazmasi: chapda ro'yxat, o'ngda tanlangan kurs */
.explorer { display: grid; gap: 20px; align-items: start; }
.explorer__list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.explorer__list::-webkit-scrollbar { display: none; }
.crs {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; text-align: left;
  font: 700 .9rem/1.2 var(--font); transition: border-color .15s, background .15s, color .15s;
}
.crs:hover { border-color: var(--navy); }
.crs[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.crs__meta { display: none; }
.crs__arrow { display: none; }

/* Kurs belgisi: bayroq / ikon / matnli tag */
.cbadge { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: var(--gold); font: 800 .7rem/1 var(--font); box-shadow: 0 0 0 2px #fff; }
.cbadge svg { width: 100%; height: 100%; display: block; }
.cbadge--cap { background: var(--gold); }
.crs[aria-selected="true"] .cbadge:not(.cbadge--flag) { background: var(--gold); color: var(--navy); }

.showcase { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.showcase__media { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); overflow: hidden; }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 25, 66, .35)); }
.showcase__media .cbadge { position: absolute; left: 24px; bottom: -26px; width: 64px; height: 64px; font-size: 1.05rem; box-shadow: 0 0 0 4px #fff, 0 10px 20px -8px rgba(0, 0, 0, .4); z-index: 1; }
.showcase__media .cbadge--cap { color: var(--navy); }
/* Rasmi yo'q kurslar uchun: katta tag "suv belgisi" */
.showcase__mark { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .08); font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font); letter-spacing: -.04em; }
.showcase__mark svg { width: 46%; height: auto; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.showcase__media { overflow: visible; }
.showcase__media img, .showcase__mark { border-radius: 22px 22px 0 0; }
.showcase__body { padding: 40px 24px 24px; display: grid; gap: 12px; }
.showcase.is-swap .showcase__body > *, .showcase.is-swap .showcase__media > * { animation: scIn .45s cubic-bezier(.2, .8, .2, 1) backwards; }
.showcase.is-swap .showcase__body > :nth-child(2) { animation-delay: .04s; }
.showcase.is-swap .showcase__body > :nth-child(3) { animation-delay: .08s; }
.showcase.is-swap .showcase__body > :nth-child(4) { animation-delay: .12s; }
@keyframes scIn { from { opacity: 0; transform: translateY(8px); } }
.showcase__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.showcase__group { font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--soft); padding: 5px 12px; border-radius: 999px; }
.showcase__count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.showcase h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: var(--navy); margin: 0; text-wrap: balance; }
.showcase p { margin: 0; color: var(--muted); max-width: 52ch; }
.showcase__facts { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.showcase__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff8e6; color: #6b4d00; font-size: .85rem; font-weight: 700; }
.showcase__facts svg { width: 16px; height: 16px; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: var(--white); min-height: 56px; border-radius: 14px; }
.btn--ghost:hover { border-color: var(--navy); }

/* ---------- Formadagi kurs tanlash (custom select) ---------- */
.native-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.csel { position: relative; }
.csel__btn {
  width: 100%; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer; text-align: left; font: 600 .9rem var(--font); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.csel__btn:hover { border-color: #c4cde3; }
.csel__btn:focus-visible, .csel__btn[aria-expanded="true"] { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 183, 44, .35); }
.csel__badge { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); flex: none; overflow: hidden; }
.csel__badge > svg { width: 17px; height: 17px; }
.csel__badge .cbadge { width: 32px; height: 32px; box-shadow: none; font-size: .62rem; }
.csel__value { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csel__value.is-empty { color: var(--muted); font-weight: 500; }
.csel__chev { width: 18px; height: 18px; color: var(--navy); transition: transform .2s; }
.csel__btn[aria-expanded="true"] .csel__chev { transform: rotate(180deg); }
.csel.is-picked .csel__btn { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 183, 44, .45); }
.field.is-error .csel__btn { border-color: var(--err); background: #fff7f7; }

.csel__pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 50px -18px rgba(15, 33, 86, .45); padding: 8px; animation: popIn .18s ease-out;
}
.csel__pop.is-up { top: auto; bottom: calc(100% + 6px); }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }
.csel__search input { width: 100%; height: 40px; border-radius: 9px; border: 1.5px solid var(--line); padding: 0 12px; font: 500 .88rem var(--font); color: var(--text); background: var(--soft); }
.csel__search input:focus { outline: none; border-color: var(--navy); background: var(--white); }
.csel__list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.csel__group { padding: 10px 10px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.csel__opt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--text); }
.csel__opt .cbadge { width: 28px; height: 28px; font-size: .58rem; box-shadow: none; }
.csel__opt span:not(.cbadge) { flex: 1; min-width: 0; }
.csel__opt small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); }
.csel__opt .csel__tick { width: 18px; height: 18px; color: var(--navy); visibility: hidden; }
.csel__opt[aria-selected="true"] { background: #fff8e6; }
.csel__opt[aria-selected="true"] .csel__tick { visibility: visible; }
.csel__opt.is-active { background: var(--soft); }
.csel__opt[aria-selected="true"].is-active { background: #ffefc4; }
.csel__empty { padding: 14px 10px; font-size: .85rem; color: var(--muted); }

/* ---------- Nega biz ---------- */
.why { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, var(--navy-3), var(--navy) 55%, #1a3478); padding: 56px 0; }
.why__img { position: absolute; right: max(16px, calc(50% - 600px)); top: 22px; width: min(34%, 360px); height: 138px; background: url(/img/why.png) right top / contain no-repeat; opacity: .95; }
@media (max-width: 899px) { .why__img { display: none; } }
.why__in { position: relative; }
.why .eyebrow { color: var(--gold); }
.why h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 22em; margin-bottom: 30px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.why__list li { display: flex; gap: 14px; align-items: flex-start; }
.why__list svg { width: 38px; height: 38px; color: var(--gold); }
.why__list b { display: block; font-size: .95rem; margin-bottom: 6px; line-height: 1.3; }
.why__list span { font-size: .84rem; color: #d3daf1; line-height: 1.45; display: block; }

/* ---------- O'qituvchilar ---------- */
.teachers { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.teacher { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.teacher:hover { box-shadow: var(--shadow); border-color: transparent; }
.teacher__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 50% 0%, var(--navy-2), var(--navy-3)); display: grid; place-items: center; border-bottom: 3px solid var(--gold); }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .7s var(--ease-out); }
.teacher:hover .teacher__photo img { transform: scale(1.05); }
.teacher__initials { color: var(--gold); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: .02em; }
/* Tajriba — rasm ustidagi sariq belgi */
.teacher__exp { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .74rem; font-weight: 800; line-height: 1.2; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.teacher__body { padding: 14px 16px 18px; }
.teacher h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.teacher p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* O'qituvchilar hali qo'shilmagan: ariza taklifi */
.teachers-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.teachers-empty__icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--navy); color: var(--gold); }
.teachers-empty__icon svg { width: 28px; height: 28px; }
.teachers-empty > div { flex: 1 1 300px; }
.teachers-empty b { display: block; color: var(--navy); font-size: 1.08rem; line-height: 1.3; margin-bottom: 4px; }
.teachers-empty p { margin: 0; color: var(--muted); font-size: .92rem; }
.teacher .exp { color: #8a5d00; font-weight: 700; margin-top: 4px; }

/* ---------- Biz haqimizda / raqamlar / otzivlar ---------- */
.about { padding-bottom: 0; }
.about__in { display: grid; gap: 40px; align-items: start; }
.about__in > *, .hero__in > * { min-width: 0; }
.about__text p { color: var(--muted); }
.about__art { position: relative; height: 130px; margin-top: 10px; }
.skyline { position: absolute; left: 0; bottom: 0; width: 300px; height: 110px; }
.script { position: absolute; left: 170px; bottom: 54px; font: 600 1.55rem/1.05 var(--script); color: var(--navy); transform: rotate(-8deg); max-width: 170px; }
.script::after { content: ''; position: absolute; left: 10px; right: -6px; bottom: -10px; height: 3px; border-radius: 3px; background: var(--gold); transform: rotate(-3deg); }

.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; align-self: center; }
.stats li { padding: 16px 20px; }
.stats li:nth-child(odd) { border-right: 1px solid var(--line); }
.stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
/* Oq fonda sariq raqam o'qilmaydi (kontrast 1.8) — raqam to'q ko'k, ostida sariq chiziq */
.stats b { display: block; width: fit-content; font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 8px; padding-bottom: 4px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 4px no-repeat; }
.stats span { font-size: .92rem; color: var(--muted); line-height: 1.35; display: block; }

.reviews { padding-bottom: 72px; }
.slider { border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 14px; box-shadow: 0 10px 24px -18px rgba(15, 33, 86, .4); background: var(--white); }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.slide { flex: 0 0 100%; min-width: 0; padding-right: 2px; }
.slide__top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.slide__ava { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; font-weight: 800; }
.slide__ava svg { width: 26px; height: 26px; }
.slide__ava--gold { background: var(--gold); color: var(--navy); }
.slide__name { font-weight: 800; color: var(--navy); font-size: .98rem; line-height: 1.25; }
.slide__meta { font-size: .8rem; color: var(--muted); }
.slide__text { font-size: .9rem; color: var(--text); margin: 0; line-height: 1.55; }
.slide__scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.slide__scores div { text-align: center; padding: 8px 2px; border-radius: 10px; background: var(--soft); }
.slide__scores span { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.slide__scores b { font-size: 1.05rem; color: var(--navy); }
.slider__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.slider__btn { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: border-color .15s; }
.slider__btn:hover { border-color: var(--navy); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn { width: 40px; height: 40px; }
/* Nuqta kichik, lekin bosiladigan joy 24×24 (barmoq uchun) */
.slider__dots { display: flex; }
.slider__dots button { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.slider__dots button[aria-current="true"]::before { background: var(--navy); width: 20px; border-radius: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 22px 0 18px; }
.footer__in { display: grid; gap: 22px; align-items: center; }
.brand--foot img { width: 76px; }
.brand--foot .brand__text b { font-size: 1rem; letter-spacing: 0; }
.footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; font-weight: 600; }
.footer__contacts li { display: flex; align-items: center; gap: 12px; }
.footer__contacts svg { width: 18px; height: 18px; color: #fff; }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { color: var(--gold); }
.footer__right { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__right .btn { border-radius: 999px; min-height: 44px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transition: background .15s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #c9d2ef; }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .strip__in { grid-template-columns: repeat(4, 1fr); }
  .strip li + li { border-left: 1px solid var(--line); padding-left: 22px; }
  .why__list { grid-template-columns: 1fr 1fr; }
  .teachers { grid-template-columns: repeat(3, 1fr); }
  .btn--head { display: inline-flex; }
}
@media (max-width: 639px) {
  .brand img { width: 52px; }
  .brand__text b { font-size: .9rem; }
  .brand__text span { font-size: .75rem; }
  .hero__feats li { max-width: none; flex: 1 1 100%; border-right: 0; margin-right: 0; padding-right: 0; }
  .strip__in { gap: 18px 14px; padding: 24px 0; }
  .strip li { font-size: .8rem; gap: 10px; min-width: 0; hyphens: auto; -webkit-hyphens: auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs button { flex: none; padding: 9px 14px; }
  .strip li > svg { width: 34px; height: 34px; }
  /* Forma birinchi ekranga yaqinroq bo'lsin */
  .hero__photo { height: 230px; }
  /* Gorizontal ro'yxatlar: o'ng chetdagi so'nish "yana bor" deb ko'rsatadi */
  .tabs, .explorer__list { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
@media (min-width: 900px) {
  .hero { min-height: 560px; }
  .hero__photo { position: absolute; top: 40px; bottom: 40px; left: calc(50% - 92px); width: 360px; height: auto; padding: 0; }
  .hero__in { grid-template-columns: minmax(0, 1fr) 330px; align-items: center; min-height: 560px; padding: 40px 0; column-gap: 40px; }
  .hero__text { max-width: 520px; }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head .tabs { justify-self: end; }
  .why__list { grid-template-columns: repeat(4, 1fr); }
  .teachers { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .footer__in { grid-template-columns: 1.1fr 1.2fr auto; }
  .footer__right { align-items: flex-end; }
}
/* Menyu bir qatorda: bandlar va tugma hech qachon ikki qatorga bo'linmaydi */
.nav a, .btn--head { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav { gap: 22px; }
  .header__in { gap: 20px; }
}
@media (min-width: 1100px) and (max-width: 1339px) {
  .nav { gap: 16px; }
  .nav a { font-size: .84rem; }
  .btn--head { padding: 0 16px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header__right { margin-left: 0; }
  .about__in { grid-template-columns: 1.05fr .95fr 1.15fr; gap: 36px; }
  .explorer { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 28px; }
  .explorer__list { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 6px; }
  .crs { border-radius: 14px; padding: 10px 14px 10px 10px; border-color: transparent; background: var(--soft); }
  .crs:hover { background: #e9eef8; border-color: transparent; }
  .crs[aria-selected="true"] { background: var(--navy); }
  .crs__text { flex: 1; min-width: 0; }
  .crs__meta { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
  .crs[aria-selected="true"] .crs__meta { color: #c9d2ef; }
  .crs__arrow { display: block; width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
  .crs[aria-selected="true"] .crs__arrow { opacity: 1; transform: none; }
  .showcase { position: sticky; top: 104px; }
  .showcase__body { padding: 44px 32px 30px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .about__in { grid-template-columns: 1fr 1fr; }
  .reviews { grid-column: 1 / -1; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__photo { display: none; }
  .hero__in { column-gap: 48px; }
}
@media (min-width: 900px) {
  .hero__feats { flex-wrap: nowrap; }
  .hero__feats li { flex: 1 1 0; max-width: none; padding-right: 12px; margin-right: 12px; }
}
/* Illyustratsiyalar kursni o'zi tanitadi — paneldagi ustma-ust nishon kerak emas */
.showcase__media .cbadge { display: none; }
.showcase__body { padding-top: 26px; }
@media (min-width: 1100px) { .showcase__body { padding-top: 30px; } }

/* ---------- Forma: keng ekranda biroz o'ngroqqa ---------- */
@media (min-width: 1340px) { .lead { left: 40px; } }
@media (min-width: 1440px) { .lead { left: 64px; } }

/* ---------- Qanday borish: Yandex xarita ---------- */
.location__in { display: grid; gap: 28px; align-items: stretch; }
.location__info h2 { text-wrap: balance; }
.loc-list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 16px; }
.loc-list li { display: flex; gap: 14px; align-items: flex-start; }
.loc-list li > svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--soft); color: var(--navy); }
.loc-list b { display: block; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.loc-list a { text-decoration: none; }
.loc-list span { display: block; font-size: .86rem; color: var(--muted); }
.loc-list b span { display: inline; font-size: inherit; color: inherit; }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--taxi { background: #fce000; color: #111; box-shadow: 0 10px 22px -12px rgba(252, 224, 0, .9); }
.btn--taxi:hover { background: #ffe94d; transform: translateY(-1px); }

.ymap { position: relative; min-height: 340px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  /* Haqiqiy xarita rasmi: jonli Yandex xaritasi yuklanguncha (yoki yuklanmasa) ko'rinadi */
  background: #e9eef7 url(/img/map.jpg) center / cover no-repeat; }
.ymap__attr { position: absolute; left: 10px; bottom: 8px; font-size: .68rem; color: #5f6b8c; background: rgba(255, 255, 255, .8); padding: 2px 6px; border-radius: 4px; pointer-events: none; }
.ymap__frame.is-loaded ~ .ymap__attr { display: none; }
.ymap__frame { position: absolute; inset: 0; pointer-events: none; }
.ymap__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.ymap__link { position: absolute; inset: 0; display: block; text-decoration: none; color: var(--navy); }
.ymap__link:focus-visible { outline: 4px solid var(--gold); outline-offset: -4px; }
.ymap__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--navy); box-shadow: 0 10px 20px -6px rgba(15, 33, 86, .6); display: grid; place-items: center; }
.ymap__pin img { width: 44px; height: auto; rotate: 45deg; }
.ymap__cta { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 8px 20px -10px rgba(15, 33, 86, .5); transition: background .15s, transform .15s; }
.ymap__cta svg { width: 16px; height: 16px; }
.ymap__link:hover .ymap__cta { background: var(--gold); transform: translateY(-2px); }
@media (min-width: 900px) {
  .location__in { grid-template-columns: 490px minmax(0, 1fr); gap: 40px; }
  .ymap { min-height: 420px; }
}
@media (min-width: 1440px) { .hero__photo { left: calc(50% - 66px); } }

/* ---------- Animatsiya (me'yorida; "kamroq harakat" sozlamasida o'chadi) ---------- */
.stats b { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  /* Hero: sahifa ochilganda matn va forma navbat bilan chiqadi */
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  @keyframes riseSide { from { opacity: 0; transform: translateX(24px); } }
  .hero__kicker, .hero h1 > span, .hero__lead, .hero__feats, .hero__actions { animation: rise .7s var(--ease-out) backwards; }
  .hero h1 > span:nth-child(1) { animation-delay: .08s; }
  .hero h1 > span:nth-child(2) { animation-delay: .16s; }
  .hero h1 > span:nth-child(3) { animation-delay: .24s; }
  .hero__lead { animation-delay: .32s; }
  .hero__feats { animation-delay: .4s; }
  .hero__actions { animation-delay: .48s; }
  .lead { animation: riseSide .8s .25s var(--ease-out) backwards; }

  /* Illyustratsiya sekin "suzadi" (shaffoflik yo'q — LCP kechikmasin) */
  @keyframes heroIn { from { transform: scale(.94); } }
  @keyframes float { 50% { transform: translateY(-8px); } }
  .hero__photo img { animation: heroIn .9s var(--ease-out) backwards, float 7s 1s ease-in-out infinite; }

  /* Bloklar ekranga kirganda (JS .reveal / .is-in qo'yadi) */
  .js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js-anim .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Dekor qatlamlari (hero va "Nega biz") ---------- */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.deco > span { position: absolute; display: block; }
.deco__glow { width: 520px; height: 520px; left: 38%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .28), transparent 65%); }
.deco__ring { border-radius: 50%; border: 2px solid rgba(245, 183, 44, .32); }
.deco__ring--lg { width: 150px; height: 150px; left: 44%; top: 8%; }
.deco__ring--sm { width: 46px; height: 46px; left: 3%; top: 58%; border-color: rgba(255, 255, 255, .22); }
.deco__dot { border-radius: 50%; background: var(--gold); }
.deco__dot--a { width: 12px; height: 12px; left: 36%; top: 14%; }
.deco__dot--b { width: 7px; height: 7px; left: 62%; top: 82%; background: #fff; opacity: .5; }
.deco__dot--c { width: 9px; height: 9px; left: 8%; top: 10%; opacity: .7; }
.deco__plus { width: 18px; height: 18px; opacity: .55;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 3px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 3px 100% no-repeat; }
.deco__plus--a { left: 43%; top: 90%; }
.deco__plus--b { left: 92%; top: 6%; opacity: .35; }
.deco__grid { width: 130px; height: 90px; left: 50%; top: 66%; background: radial-gradient(rgba(255, 255, 255, .16) 1.6px, transparent 2px) 0 0 / 16px 16px; }
.deco__ring--why { width: 220px; height: 220px; left: -60px; bottom: -110px; border-color: rgba(245, 183, 44, .22); }
.deco__grid--why { left: auto; right: 6%; top: auto; bottom: 14px; }
.deco__dot--why { width: 10px; height: 10px; left: 46%; top: 18%; opacity: .6; }
@media (max-width: 899px) { .deco__glow { left: 10%; top: -20%; } .deco__ring--lg { left: 60%; top: 4%; } }
/* Kichik halqa chetdagi bo'sh joyda turadi; tor ekranda matn ustiga tushmasin */
@media (max-width: 1299px) { .deco__ring--sm { display: none; } }

/* Skroll jarayoni chizig'i (header ostida) */
.header { transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* Kurs rasmi o'z ramkasida siljiydi */
.showcase__media { overflow: hidden; border-radius: 22px 22px 0 0; }
.showcase__media img { scale: 1.12; translate: 0 calc(var(--pp, 0) * 1%); }

@media (prefers-reduced-motion: no-preference) {
  [data-mouse] { transition: translate .6s var(--ease-out); }

  /* Sarlavha ustidagi sariq chiziq chiziladi */
  .js-anim .reveal .eyebrow::before, .js-anim .eyebrow.reveal::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s .25s var(--ease-out); }
  .js-anim .reveal.is-in .eyebrow::before, .js-anim .eyebrow.reveal.is-in::before { transform: none; }

  /* Ikonkalar "sakrab" chiqadi */
  .js-anim .strip li.reveal > svg, .js-anim .why__list li.reveal > svg { transform: scale(.4) rotate(-14deg); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1), opacity .4s; transition-delay: calc(var(--i, 0) * 90ms + .15s); }
  .js-anim .strip li.reveal.is-in > svg, .js-anim .why__list li.reveal.is-in > svg { transform: none; opacity: 1; }

  /* Kurslar ro'yxati kaskad bilan */
  .js-anim .explorer__list.reveal .crs { opacity: 0; transform: translateX(-14px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .15s, background .15s, color .15s;
    transition-delay: calc(var(--n, 0) * 45ms + .1s), calc(var(--n, 0) * 45ms + .1s), 0s, 0s, 0s; }
  .js-anim .explorer__list.reveal.is-in .crs { opacity: 1; transform: none; }

  /* O'qituvchi kartochkalari navbat bilan chiqadi */
  .js-anim .teachers.reveal .teacher { opacity: 0; transform: translateY(18px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .3s, border-color .3s;
    transition-delay: calc(var(--n, 0) * 90ms + .1s), calc(var(--n, 0) * 90ms + .1s), 0s, 0s; }
  .js-anim .teachers.reveal.is-in .teacher { opacity: 1; transform: none; }

  /* "Ваш успех — наша миссия!" tagidagi chiziq chiziladi */
  .js-anim .about__text.reveal .script::after { transform: rotate(-3deg) scaleX(0); transform-origin: 0 50%; transition: transform .8s .6s var(--ease-out); }
  .js-anim .about__text.reveal.is-in .script::after { transform: rotate(-3deg); }

  /* Xaritadagi belgi tushadi, ostida to'lqin */
  @keyframes pinDrop { from { translate: 0 -70px; opacity: 0; } 60% { opacity: 1; } }
  .js-anim .ymap.reveal.is-in .ymap__pin { animation: pinDrop .9s .35s cubic-bezier(.3, 1.45, .5, 1) backwards; }
  @keyframes pulse { from { transform: translate(-50%, -50%) scale(.4); opacity: .55; } to { transform: translate(-50%, -50%) scale(2.4); opacity: 0; } }
  .ymap__link::before { content: ''; position: absolute; left: 50%; top: calc(50% + 4px); width: 60px; height: 22px; border-radius: 50%; border: 2px solid var(--navy); animation: pulse 2.4s 1.2s ease-out infinite backwards; }

  /* Asosiy tugmalarda vaqti-vaqti bilan yaltirash */
  .hero__actions .btn--gold, .lead .btn--block { position: relative; overflow: hidden; }
  .hero__actions .btn--gold::after, .lead .btn--block::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 6s 2.2s ease-in-out infinite; }
  .lead .btn--block::after { animation-delay: 3.4s; }
  @keyframes sheen { 0% { transform: translateX(-120%); } 18%, 100% { transform: translateX(120%); } }
}

/* ---------- Telefonda pastki panel (qo'ng'iroq + ariza) ---------- */
.mbar { display: none; }
@media (max-width: 639px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(15, 33, 86, .5);
    transform: translateY(110%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  }
  .mbar.is-on { transform: none; }
  .mbar__call { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; }
  .mbar__call svg { width: 22px; height: 22px; }
  .mbar__cta { flex: 1; min-height: 52px; }
  .footer { padding-bottom: 90px; }
}
