/* ==========================================================
   PROFESSIONAL USLUB — oxirgi qatlam (barcha CSS fayllardan keyin ulanadi)
   Tamoyillar: bitta shrift, tekis yuzalar, ingichka chegaralar,
   kichik burchaklar, bezaksiz, aniq ierarxiya, animatsiyasiz.
   ========================================================== */
:root {
  --primary: #4b2fa6;
  --primary-600: #3d2589;
  --primary-50: #f4f2fb;
  --primary-100: #e4def5;
  --navy: #1f2a6b;
  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: none;
  --shadow-sm: none;
  --shadow-lg: 0 8px 24px rgba(17, 24, 39, .08);
  --ff-head: var(--ff-body);
}

/* ---------- Tipografiya ---------- */
body { font-size: 16px; line-height: 1.6; color: var(--text); }
h1, h2, h3, h4 { font-family: var(--ff-body); font-weight: 700; letter-spacing: -.01em; }
.title { font-size: 28px; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: 17px; color: var(--text-2); }
.section__sub { font-size: 15.5px; color: var(--muted); margin-top: 6px; }

/* Bo'lim ustidagi kichik bezakli yozuvlar — olib tashlanadi */
.section .eyebrow, .page-hero .eyebrow, .reg .eyebrow, .faq .eyebrow, .map-block .eyebrow { display: none; }
.eyebrow::before { display: none; }

/* ---------- Animatsiyalar o'chiriladi ---------- */
.reveal, .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
.card:hover, .course:hover, .quick__item:hover, .student:hover, .video-tile:hover, .leader:hover, .event:hover, .news-featured:hover, .doc:hover { transform: none !important; box-shadow: none !important; }
a.media:hover > img, .card:hover .media > img, .course--img:hover .media > img, .student:hover .media > img { transform: none; }
.banner__slide > img, .banner__slide.is-active > img { transform: none !important; transition: none; }
.play::before { display: none; }
.dot { animation: none; }

/* ---------- Tugmalar ---------- */
.btn { border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; padding: 11px 20px; }
.btn--primary:hover { box-shadow: none; transform: none; }
.btn--ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--soft); border-color: #d1d5db; color: var(--text); }
.btn--white { color: var(--text); }
.link { font-weight: 600; }
.tag { border-radius: 4px; font-size: 11.5px; font-weight: 600; padding: 4px 8px; letter-spacing: .02em; }
.tag--light { background: #fff; color: var(--text); }

/* ---------- Yuqori panel va header ---------- */
.topbar { font-size: 13px; background: var(--soft); }
.topbar__inner { min-height: 38px; }
.header { box-shadow: none !important; }
.brand__logo { height: 40px; }
.brand__text strong { color: var(--text); font-size: 14.5px; }
.nav__list > li > a { font-weight: 500; color: var(--text-2); border-radius: 0; padding: 10px 11px; position: relative; }
.nav__list > li > a:hover { background: transparent; color: var(--primary); }
.nav__list > li > a.is-active { background: transparent; color: var(--primary); }
.nav__list > li > a.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -19px; height: 2px; background: var(--primary); }
.drop { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.icon-btn { border-radius: var(--radius-sm); }
.lang-select__btn { border-radius: var(--radius-sm); }
.lang-select__menu { border-radius: var(--radius); }

/* ---------- Bo'lim sarlavhalari: chapda, ostida ingichka chiziq ---------- */
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section__head, .section__head--center {
  flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left;
  gap: 16px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.section__head--center { flex-direction: column; align-items: flex-start; gap: 4px; }
.section__head--center .section__sub { margin-left: 0; margin-right: 0; }
.section__head--tight { margin-bottom: 20px; }
[dir="rtl"] .section__head, [dir="rtl"] .section__head--center { text-align: right; }

/* ---------- Bosh banner: konteyner ichida, tekis ---------- */
.banner {
  width: calc(100% - 48px); max-width: calc(var(--container) - 48px); margin: 24px auto 0;
  height: clamp(380px, 52vh, 480px); border-radius: var(--radius); background: #111;
}
.banner__slide::after { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.78) 100%) !important; }
.banner__content { justify-content: flex-end; max-width: 820px; margin: 0; padding: 0 36px 36px !important; }
.banner__slide .container { padding: 0 36px; }
.banner__content .eyebrow { display: none; }
.banner__content h1, .banner__content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.banner__content p { font-size: 16px; margin-top: 10px; color: rgba(255,255,255,.85); }
.banner__content .btn-row { margin-top: 20px; }
.btn--outline-white { border: 1px solid rgba(255,255,255,.6); }
.banner__nav { bottom: 36px !important; }
.banner__nav .container { justify-content: flex-end !important; padding: 0 36px; }
.slider__btn { border-radius: var(--radius-sm); width: 36px; height: 36px; backdrop-filter: none; background: rgba(0,0,0,.35) !important; border-color: rgba(255,255,255,.3); }
.slider__dots button { height: 3px; width: 20px; }
.slider__dots button.is-active { width: 32px; background: #fff; }

/* ---------- Tezkor havolalar: banner ostida, bitta chegaralangan qator ---------- */
.quick--overlap { margin-top: 0 !important; padding: 16px 0 0 !important; pointer-events: auto !important; }
.quick--overlap .quick__grid {
  background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  gap: 0 !important; overflow: hidden !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  width: calc(100% - 48px); max-width: calc(var(--container) - 48px); margin: 0 auto; padding: 0;
}
.quick--overlap .quick__item {
  background: #fff !important; border: 0 !important; border-right: 1px solid var(--line) !important; border-radius: 0 !important;
  padding: 18px 22px !important; gap: 14px; flex-direction: row !important; align-items: center !important;
}
.quick--overlap .quick__item:last-child { border-right: 0 !important; }
.quick--overlap .quick__item:hover { background: var(--soft) !important; }
.quick--overlap .quick__item strong { color: var(--text) !important; font-size: 15px; font-weight: 600; }
.quick--overlap .quick__item small { color: var(--muted) !important; display: block !important; }
.quick__icon, .quick--overlap .quick__icon { width: 22px; height: 22px; background: transparent !important; color: var(--primary) !important; border-radius: 0; }
.quick__icon svg { width: 22px; height: 22px; }
.quick--overlap .quick__item:hover .quick__icon { background: transparent !important; color: var(--primary) !important; }
[dir="rtl"] .quick--overlap .quick__item { border-right: 0 !important; border-left: 1px solid var(--line) !important; }
[dir="rtl"] .quick--overlap .quick__item:last-child { border-left: 0 !important; }

/* ---------- Statistika: oddiy raqamlar ---------- */
.stats { padding: 40px 0 0 !important; }
.stats__grid { border-radius: var(--radius); width: calc(100% - 48px); max-width: calc(var(--container) - 48px); margin: 0 auto; padding: 0; }
.stat { padding: 22px 16px; }
.stat strong { font-size: 32px; font-weight: 700; color: var(--text); font-family: var(--ff-body); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Markaz haqida: bitta oddiy rasm ---------- */
.collage { height: auto !important; }
.collage .media { position: relative !important; inset: auto !important; box-shadow: none !important; border: 0 !important; border-radius: var(--radius) !important; }
.collage .media:nth-child(1) { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; }
.collage .media:nth-child(2), .collage .about__badge, .about__badge { display: none !important; }
.about { gap: 48px; align-items: start; }
.checklist { gap: 10px; }
.checklist svg { width: 18px; height: 18px; padding: 0; background: transparent; margin-top: 4px; }

/* ---------- Kartalar ---------- */
.card, .course, .student, .video-tile, .news-big, .news-row, .leader, .event, .value, .doc, .widget, .initiative, .step, .contact-card, .reg__form-wrap, .council, .calendar, .table-wrap, .news-featured, .faq details, .map-block, .branch, .latest {
  border-radius: var(--radius) !important; box-shadow: none !important; border-color: var(--line);
}
.card:hover, .course:hover, .news-row:hover, .video-item:hover, .branch:hover, .doc:hover { border-color: #d1d5db !important; }
.card h3 a:hover, .news-big h3 a:hover, .news-row h4 a:hover, .news-featured h2 a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.card__media, .card .media { aspect-ratio: 16 / 10; }
.media { background: #e5e7eb; }
.media .tag, .card__media .tag { background: var(--primary); color: #fff; }
.cat-label { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--primary); }

/* Yo'nalishlar: rangli ikonka kvadratlari olib tashlanadi */
.course--img .course__icon { display: none; }
.course__icon { background: transparent !important; width: auto; height: auto; margin-bottom: 12px; color: var(--primary) !important; }
.course--img .course__body { padding: 18px 20px 20px; }
.course h3 { font-size: 17px; font-weight: 600; }
.course p { font-size: 14.5px; color: var(--muted); }
.course__meta { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; gap: 0; }
.course__meta span { background: transparent; border: 0; padding: 0; border-radius: 0; font-weight: 500; color: var(--muted); font-size: 13px; }
.course__meta span + span::before { content: "·"; margin: 0 8px; color: #9ca3af; }
.course__teacher > span:first-child { display: none; }

/* Qadriyatlar / tashabbuslar / hujjatlar ikonkalari */
.value .course__icon svg { width: 22px; height: 22px; }
.doc__icon { background: transparent; color: var(--muted); width: 28px; height: 28px; }

/* ---------- Yangiliklar ---------- */
.news-big__body { padding: 20px 22px 22px; }
.news-big h3 { font-size: 21px; font-weight: 700; }
.news-row { padding: 10px; }
.news-row .media { border-radius: 6px; }
.news-row h4 { font-size: 15px; font-weight: 600; }

/* ---------- Video ---------- */
.video-card, .video-item .media, .video-tile .video-card { border-radius: var(--radius); }
.video-tile .video-card { border-radius: 0; }
.play { width: 56px; height: 56px; margin: -28px 0 0 -28px; box-shadow: none; }
.play svg { width: 20px; height: 20px; }
.video-card__info h3 { font-size: 19px; font-weight: 600; }
.duration { border-radius: 4px; font-weight: 600; }

/* ---------- O'quvchilar ---------- */
.student__medal { display: none; }
.student .media { aspect-ratio: 1 / 1; }
.student__body h3 { font-size: 16px; font-weight: 600; }

/* ---------- Tadbirlar / kengash ---------- */
.event__date { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.event__date strong { color: var(--text); font-size: 24px; font-family: var(--ff-body); }
.event__date span { color: var(--primary); font-weight: 600; }
.council { border-top: 1px solid var(--line) !important; }
.council__nums li { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.council__nums strong { color: var(--text); font-family: var(--ff-body); }
.btn--navy { background: var(--primary); }
.btn--navy:hover { background: var(--primary-600); }

/* ---------- Galereya ---------- */
.gallery-grid { gap: 8px; }
.gallery-grid .g-item { border-radius: 6px; }

/* ---------- Chaqiruv banneri: tekis rangli blok, rasmsiz ---------- */
.cta { background: var(--navy); border-radius: var(--radius); }
.cta > img { display: none; }
.cta::after { display: none; }
.cta__body { padding: 44px 48px; max-width: 720px; }
.cta__body h2 { font-size: 26px; font-weight: 700; }
.cta__body p { font-size: 16px; }

/* ---------- Ichki sahifalar sarlavhasi: rasmsiz, oddiy ---------- */
.page-hero, .page-hero--img { background: #fff; color: var(--text); padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero::after, .page-hero--img::before { display: none !important; }
.page-hero--img > img { display: none; }
.page-hero h1, .page-hero--img h1 { color: var(--text); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.015em; }
.page-hero p, .page-hero--img p { color: var(--muted); font-size: 16px; }
.page-hero--img .crumbs, .page-hero--img .crumbs a { color: var(--muted); }
.page-hero--img .crumbs [aria-current], .crumbs [aria-current] { color: var(--text); font-weight: 500; }
.subnav a { font-weight: 500; }

/* ---------- Turli ---------- */
.tabs { border-radius: var(--radius-sm); padding: 4px; }
.tabs button { border-radius: 4px; font-weight: 500; }
.timeline::before { background: var(--line); }
.timeline__item::before { border-width: 2px; width: 12px; height: 12px; left: -30px; }
.leader__photo { box-shadow: none; border: 1px solid var(--line); }
.form input, .form select, .form textarea { border-width: 1px; border-radius: 6px; }
.to-top { border-radius: 6px; width: 42px; height: 42px; box-shadow: none; }
.footer { border-top: 1px solid var(--line); }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.socials a { border-radius: 6px; }
.empty { border-radius: var(--radius); }

/* ---------- Moslashuvchan ---------- */
@media (max-width: 1180px) {
  .quick--overlap .quick__grid { grid-template-columns: 1fr 1fr !important; }
  .quick--overlap .quick__item:nth-child(2) { border-right: 0 !important; }
  .quick--overlap .quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--line) !important; }
  [dir="rtl"] .quick--overlap .quick__item:nth-child(2) { border-left: 0 !important; }
  .nav__list > li > a.is-active::after { display: none; }
}
@media (max-width: 720px) {
  .banner { width: calc(100% - 32px); margin-top: 16px; height: 420px; }
  .quick--overlap .quick__grid, .stats__grid { width: calc(100% - 32px); }
  .banner__slide .container, .banner__nav .container { padding: 0 20px; }
  .banner__content { padding: 0 20px 76px !important; }
  .banner__nav { bottom: 20px !important; }
  .banner__slide::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.82) 55%) !important; }
  .banner__nav .container { justify-content: flex-start !important; }
  .quick--overlap .quick__item { padding: 14px !important; gap: 10px; }
  .quick--overlap .quick__item small { display: none !important; }
  .quick--overlap .quick__item strong { font-size: 14px; }
  .section { padding: 48px 0; }
  .title { font-size: 23px; }
  .section__head, .section__head--center { flex-wrap: wrap; }
  .cta__body { padding: 32px 22px; }
}
