@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Asosiy ranglar */
  --ink: #14211f;
  --muted: #65736f;
  --text-body: #52635e;
  --text-on-dark: #d1dfdb;
  --text-on-dark-muted: #c7d8d3;
  --text-on-dark-soft: #bed0cb;
  --text-on-dark-faint: #afc4be;
  --text-on-dark-subtle: #8fa9a2;
  --paper: #f4f3ed;
  --white: #fff;
  --transparent: transparent;
  --current-color: currentColor;
  --green-990: #031d1a;
  --green-975: #051f1c;
  --green-950: #062824;
  --green-925: #06231f;
  --green-900: #09332f;
  --green-875: #082f2b;
  --green-800: #0e4a43;
  --green-700: #17665d;
  --green-200: #cfe2dc;
  --green-100: #e4eee9;
  --green-50: #e7ece9;
  --gold: #d3ac62;
  --gold-light: #ecd8aa;
  --gold-hover: #e0bf7c;
  --button-ink: #1e2d29;

  /* Shaffof qatlamlar va chiziqlar */
  --white-a025: rgba(255, 255, 255, .025);
  --white-a055: rgba(255, 255, 255, .055);
  --white-a06: rgba(255, 255, 255, .06);
  --white-a065: rgba(255, 255, 255, .065);
  --white-a08: rgba(255, 255, 255, .08);
  --white-a10: rgba(255, 255, 255, .1);
  --white-a12: rgba(255, 255, 255, .12);
  --white-a14: rgba(255, 255, 255, .14);
  --white-a17: rgba(255, 255, 255, .17);
  --white-a18: rgba(255, 255, 255, .18);
  --white-a22: rgba(255, 255, 255, .22);
  --white-a28: rgba(255, 255, 255, .28);
  --white-a32: rgba(255, 255, 255, .32);
  --white-a35: rgba(255, 255, 255, .35);
  --gold-a08: rgba(211, 172, 98, .08);
  --gold-a12: rgba(211, 172, 98, .12);
  --gold-a14: rgba(211, 172, 98, .14);
  --gold-a32: rgba(211, 172, 98, .32);
  --gold-light-a48: rgba(236, 216, 170, .48);
  --spine-dark: rgba(4, 27, 24, .36);
  --spine-soft: rgba(4, 27, 24, .07);
  --green-grid: rgba(9, 51, 47, .035);
  --green-shadow: rgba(9, 51, 47, .14);
  --green-orbit: rgba(206, 231, 224, .12);
  --green-glass: rgba(5, 37, 33, .82);
  --hero-overlay-start: rgba(4, 27, 24, .05);
  --hero-overlay-end: rgba(4, 27, 24, .52);
  --footer-overlay: rgba(2, 33, 29, .26);
  --footer-ring: rgba(143, 199, 181, .08);
  --footer-ring-1: rgba(143, 199, 181, .03);
  --footer-ring-2: rgba(143, 199, 181, .025);
  --footer-ring-3: rgba(143, 199, 181, .018);
  --black-a15: rgba(0, 0, 0, .15);
  --black-a24: rgba(0, 0, 0, .24);
  --black-a25: rgba(0, 0, 0, .25);
  --black-a45: rgba(0, 0, 0, .45);
  --line: rgba(20, 33, 31, .14);
  --danger: #b23b32;
  --danger-soft: rgba(178, 59, 50, .1);
  --shadow: 0 24px 70px rgba(8, 40, 36, .12);
  --shadow-green: 0 22px 60px rgba(14, 74, 67, .16);
  --radius: 14px;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* sticky nav balandligi: anchor'ga o'tganda ortiqcha joy qolmasligi uchun */
  scroll-padding-top: 58px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

/* Scrollbar — brend palitrasi.
   Standart xossalar ::-webkit-scrollbar dan ustun turadi, shuning uchun ular
   faqat pseudo-elementni qo'llamaydigan brauzerlarga (Firefox) beriladi. */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--green-700) var(--green-50);
  }

  .nav-links {
    scrollbar-color: var(--white-a28) var(--transparent);
  }
}

/* WebKit/Blink uchun batafsil ko'rinish */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--green-50);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--transparent);
  border-radius: 999px;
  background: var(--green-700);
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-800);
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:active {
  background: var(--green-900);
  background-clip: content-box;
}

/* Ikki o'q kesishgan burchak */
::-webkit-scrollbar-corner {
  background: var(--green-50);
}

/* To'q fondagi scroll qilinadigan bloklar (mobil menyu) */
.nav-links::-webkit-scrollbar-track {
  background: var(--transparent);
}

.nav-links::-webkit-scrollbar-thumb {
  background: var(--white-a28);
  background-clip: content-box;
}

.nav-links::-webkit-scrollbar-thumb:hover {
  background: var(--gold-a32);
  background-clip: content-box;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-svg {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-svg--header {
  width: 62px;
  height: 62px;
  filter: none;
}

.logo-svg--hero {
  width: 100%;
  height: 100%;
}

.logo-svg--footer {
  width: 82px;
  height: 82px;
  filter: brightness(0) invert(1);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: var(--current-color);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.notice {
  color: var(--white);
  background: var(--green-990);
  font-size: 13px;
  letter-spacing: .02em;
}

.notice__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.notice__inner>span,
.notice a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.notice__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-a14);
}

.notice a {
  color: var(--text-on-dark-muted);
}

.notice a:hover {
  color: var(--white);
}

.notice__mobile-tools {
  display: none;
}

.site-header {
  position: relative;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(105deg, var(--green-900), var(--green-950) 62%);
  /* to'ldiruvchi: sticky nav bilan orasidagi subpiksel bo'shliqni yopadi */
  box-shadow: 0 1px 0 var(--green-950);
}

/* Til menyusi ochiqdagina sticky nav ustiga chiqadi */
.site-header:has(.language[open]) {
  z-index: 110;
}

.header__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  line-height: 1.2;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.brand strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand small {
  color: var(--text-on-dark-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.brand .logo-svg {
  filter: brightness(0) invert(1);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--white-a18);
  border-radius: 50%;
}

.socials a:hover {
  color: var(--green-950);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 700;
}

.external-link:hover {
  color: var(--gold-light);
}

.webpush-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--white-a18);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.webpush-toggle:hover {
  color: var(--green-950);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
}

.webpush-toggle.is-active {
  color: var(--green-950);
  background: var(--gold);
  border-color: var(--gold);
}

.language {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--white-a18);
}

.language>summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.language>summary::-webkit-details-marker {
  display: none;
}

.language>summary:hover {
  color: var(--gold-light);
}

.language>summary>.icon {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.language[open]>summary>.icon {
  transform: rotate(180deg);
}

.language__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  min-width: 190px;
  padding: 5px 0;
  display: block;
  border-top: 1px solid var(--gold-a32);
  background: var(--green-950);
  box-shadow: 0 20px 42px var(--black-a24);
}

.language__menu button {
  width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  border: 0;
  border-bottom: 1px solid var(--white-a08);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.language__menu button:last-child {
  border-bottom: 0;
}

.language__menu button:hover,
.language__menu button.is-active {
  color: var(--gold-light);
  background: var(--white-a055);
}

.language__code {
  min-width: 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: .72;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--text-on-dark);
  background: var(--green-950);
  /* Brauzer masshtabi 100% bo'lmaganda yopishqoq menyuning pastki cheti
     yarim piksel joyni bo'sh qoldirib, ochiq rangli chiziq ko'rinib qoladi.
     Shu 1px "to'ldirish" o'sha bo'shliqni menyuning o'z rangi bilan yopadi. */
  box-shadow: 0 1px 0 var(--green-950);
}

.nav__inner {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: stretch;
  min-height: 58px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item>summary,
.nav-links>.nav-direct {
  position: relative;
  min-height: 58px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav-item>summary::-webkit-details-marker {
  display: none;
}

.nav-item>summary>.icon {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.nav-item[open]>summary>.icon {
  transform: rotate(180deg);
}

.nav-item>summary::after,
.nav-links>.nav-direct::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

/* Joriy bo'lim `is-active` bilan belgilanadi — kursor tekkandagi ko'rinishning o'zi */
.nav-item:hover>summary,
.nav-item:focus-within>summary,
.nav-item.is-active>summary,
.nav-links>.nav-direct:hover,
.nav-links>.nav-direct.is-active {
  color: var(--white);
}

.nav-item:hover>summary::after,
.nav-item:focus-within>summary::after,
.nav-item.is-active>summary::after,
.nav-links>.nav-direct:hover::after,
.nav-links>.nav-direct.is-active::after {
  transform: scaleX(1);
}

.nav-item.is-active>summary,
.nav-links>.nav-direct.is-active {
  font-weight: 600;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  min-width: 230px;
  padding: 5px 0;
  display: block;
  color: var(--text-on-dark);
  border-top: 1px solid var(--gold-a32);
  background: var(--green-950);
  box-shadow: 0 20px 42px var(--black-a24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.nav-item:not([open])>.nav-dropdown {
  display: block;
}

.nav-item:hover>.nav-dropdown,
.nav-item:focus-within>.nav-dropdown,
.nav-item[open]>.nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown--compact {
  min-width: 170px;
}

.nav-dropdown--wide {
  width: 310px;
}

.nav-dropdown--right {
  right: 0;
  left: auto;
}

.nav-dropdown a {
  min-height: 46px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--white-a08);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-current {
  color: var(--gold-light);
  background: var(--white-a055);
}

.nav-dropdown a.is-current {
  font-weight: 600;
}

.nav-links>.nav-highlight {
  min-height: 58px;
  margin-left: auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--button-ink);
  background: var(--gold);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.nav-links>.nav-highlight:hover {
  background: var(--gold-hover);
}

.nav-toggle,
.nav-mobile-highlight,
.nav-mobile-uzzamin,
.nav-button {
  display: none;
}

.hero {
  position: relative;
  /* Ekran past bo'lsa hero ham pasayadi — birinchi ekranga sig'ib turishi uchun */
  min-height: 720px;
  min-height: calc(100svh - (96px + 58px + 36px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950) url("static/hero-pattern.svg") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, var(--hero-overlay-start), var(--hero-overlay-end));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding-block: clamp(40px, 6.5vh, 84px) clamp(44px, 7.5vh, 100px);
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 32px;
  height: 1px;
  background: var(--current-color);
}

.eyebrow--light {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, min(5.25vw, 6.2vh), 50px);
  font-weight: 600;
  line-height: 1.06;
}

h1 em,
.section-title em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: inherit;
}

.hero__lead {
  max-width: 660px;
  margin: clamp(18px, 3vh, 28px) 0 0;
  color: var(--text-on-dark);
  font-size: 19px;
  line-height: 1.7;
}

.hero__actions {
  margin-top: clamp(22px, 3.8vh, 34px);
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--transparent);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--black-a15);
}

.button--gold {
  color: var(--button-ink);
  background: var(--gold);
}

.button--gold:hover {
  background: var(--gold-hover);
}

.button--outline {
  color: var(--white);
  border-color: var(--white-a35);
}

.button--outline:hover {
  border-color: var(--gold);
  background: var(--white-a06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 800;
}

.text-link .icon {
  transition: transform .2s ease;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--white);
}

.stats {
  margin: clamp(28px, 6vh, 55px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--white-a14);
}

.stats div {
  padding: clamp(14px, 2.8vh, 25px) 25px 0 0;
}

.stats div+div {
  padding-left: 25px;
  border-left: 1px solid var(--white-a14);
}

.stats dt {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--text-on-dark-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__visual {
  /* Belgi va halqalar shu bitta o'lchamdan kelib chiqadi — ekran pasayganda
     hammasi birga kichrayadi va nisbat buzilmaydi. */
  --hero-size: min(100%, 480px, 50svh);

  position: relative;
  display: grid;
  place-items: center;
}

.hero__logo-wrap {
  position: relative;
  z-index: 2;
  width: var(--hero-size);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-a08), var(--transparent) 68%);
}

.hero__logo-wrap::before {
  position: absolute;
  inset: -7%;
  z-index: -1;
  content: "";
  border: 1px solid var(--gold-a32);
  border-radius: 50%;
}

.hero__orbit {
  position: absolute;
  border: 1px solid var(--green-orbit);
  border-radius: 50%;
}

.hero__orbit--one {
  width: calc(var(--hero-size) * .84);
  height: calc(var(--hero-size) * .84);
}

.hero__orbit--two {
  width: var(--hero-size);
  height: var(--hero-size);
  border-style: dashed;
}

.hero__tag {
  position: absolute;
  z-index: 3;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border: 1px solid var(--white-a18);
  border-radius: 9px;
  background: var(--green-glass);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero__tag span {
  color: var(--gold);
}

.hero__tag--top {
  top: 13%;
  left: 4%;
}

.hero__tag--bottom {
  right: 0;
  bottom: 14%;
}

.scroll-hint {
  position: absolute;
  right: 36px;
  bottom: 35px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark-subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-hint span {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), var(--transparent));
}

.section {
  padding-block: 112px;
}

.empty-main {
  min-height: clamp(360px, 48vh, 680px);
  background: var(--paper);
}

/* Ichki sahifalar */
.inner-page {
  background: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 33px 63px;
  padding-left: 15px;
  color: var(--white);
  background: var(--green-950);
}

.page-hero::after {
  position: absolute;
  top: -220px;
  right: -170px;
  width: 520px;
  height: 520px;
  border: 1px solid var(--white-a08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px var(--white-a025), 0 0 0 180px var(--white-a025);
  content: "";
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
  color: var(--text-on-dark-faint);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs span:last-child {
  color: var(--white);
}

.page-hero .eyebrow,
.inner-heading .eyebrow,
.branch-director .eyebrow {
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.page-hero h1+p {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--text-on-dark);
  font-size: 19px;
  line-height: 1.65;
}

.inner-section {
  padding-block: 96px;
}

.inner-section--tint {
  background: var(--paper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.article-fact {
  position: sticky;
  top: 126px;
  padding: 34px;
  border-top: 4px solid var(--gold);
  background: var(--green-950);
  color: var(--white);
}

.article-fact strong,
.article-fact span {
  display: block;
}

.article-fact strong {
  color: var(--gold-light);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.article-fact span {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
}

.article-fact p {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--white-a14);
  color: var(--text-on-dark-soft);
}

.prose {
  max-width: 860px;
}

.prose h2,
.inner-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.prose p {
  margin: 26px 0 0;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.85;
}

.inner-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.inner-heading .eyebrow {
  color: var(--green-700);
}

.inner-heading>p:last-child {
  margin: 20px 0 0;
  color: var(--text-body);
  font-size: 18px;
}

.task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.task-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  min-height: 166px;
  padding: 30px;
  background: var(--white);
}

.task-list span {
  color: var(--gold);
  font-size: 17px;
  font-weight: 700;
}

.task-list p {
  margin: 0;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
}

.leadership-grid {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.leadership-section {
  background: var(--paper);
}

.person-card {
  position: relative;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 204px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.person-card::after {
  position: absolute;
  top: 0;
  left: 30px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  content: "";
}

.person-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.person-card--lead {
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 350px;
  border-color: var(--green-950);
  background: var(--green-950);
}

.person-card__photo {
  overflow: hidden;
  background: var(--green-100);
}

.person-card--lead .person-card__photo {
  min-height: 330px;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 9px;
  transition: transform .3s ease;
}

.person-card:hover .person-card__photo img {
  transform: scale(1.025);
}

.person-card__body {
  display: grid;
  grid-template-columns: minmax(240px, .92fr) minmax(320px, 1.08fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(28px, 4vw, 58px);
  min-width: 0;
  padding: 22px 30px 22px 18px;
  align-items: start;
}

.person-card--lead .person-card__body {
  display: flex;
  padding: 34px 42px;
  flex-direction: column;
  justify-content: center;
}

.person-card__role {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.person-card--lead .person-card__role {
  color: var(--gold-light);
}

.person-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.23;
  letter-spacing: -.025em;
}

.person-card--lead h2 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.1;
}

/* Ism — a'zo sahifasiga havola; ::after butun kartochkani bosiladigan qiladi. */
.person-card__link {
  color: inherit;
}

.person-card__link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
  content: "";
}

.person-card__link:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

.person-card--lead .person-card__link:focus-visible {
  outline-color: var(--gold);
}

.person-card__link .icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 9px;
  color: var(--gold);
  vertical-align: -1px;
  transition: transform .2s ease;
}

.person-card:hover .person-card__link .icon {
  transform: translate(2px, -2px);
}

/* Aloqa havolalari kartochka ustidagi qatlamdan tepada — bosilishi kerak. */
.person-meta a {
  position: relative;
  z-index: 2;
}

.person-card__degree {
  margin: 10px 0 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.5;
}

.person-card--lead .person-card__degree {
  margin: 14px 0 26px;
  color: var(--text-on-dark-soft);
  font-size: 16px;
}

.person-meta {
  margin: 0;
  padding-left: 30px;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  border-left: 1px solid var(--line);
}

.person-card--lead .person-meta {
  padding: 0;
  border-left: 0;
  border-top: 1px solid var(--white-a14);
  border-color: var(--white-a14);
}

.person-meta>div {
  display: block;
  padding: 8px 0;
}

.person-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.person-card--lead .person-meta dt {
  color: var(--text-on-dark-subtle);
}

.person-meta dd {
  min-width: 0;
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.person-card--lead .person-meta dd {
  color: var(--white);
  font-size: 15px;
}

.person-card--lead .person-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.person-meta a:hover,
.staff-card>div a:hover,
.branch-director a:hover,
.branch-contact-band a:hover {
  color: var(--green-700);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  counter-reset: staff-member;
}

.apparatus-section {
  background: var(--paper);
}

.staff-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 12px;
  min-height: 204px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: staff-member;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.staff-card::after {
  position: absolute;
  top: 0;
  left: 30px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  content: "";
}

.staff-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.staff-card img {
  width: 100%;
  height: 100%;
  min-height: 182px;
  object-fit: cover;
  object-position: center top;
  border-radius: 9px;
  background: var(--green-100);
  transition: transform .3s ease;
}

.staff-card:hover img {
  transform: scale(1.025);
}

.staff-card>div {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 24px 54px 22px 14px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Havolasiz kartochkada o'ng yuqorida tartib raqami (01, 02, ...) turadi;
   havola bo'lsa o'sha joyni .staff-card__icon egallaydi. */
.staff-card:not(:has(.staff-card__link))>div::before {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 8px;
  background: var(--green-100);
  font-size: 12px;
  font-weight: 700;
  content: counter(staff-member, decimal-leading-zero);
}

/* Butun kartochkani bosiladigan qiladi. */
.staff-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
}

.staff-card__link:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

.staff-card__icon {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 8px;
  background: var(--green-100);
  transition: color .2s ease, background-color .2s ease;
}

.staff-card__icon .icon {
  width: 16px;
  height: 16px;
}

.staff-card:hover .staff-card__icon,
.staff-card__link:focus-visible .staff-card__icon {
  color: var(--white);
  background: var(--green-700);
}

.staff-card p {
  margin: 0 0 9px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.staff-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
}

.staff-card small {
  display: block;
  margin: 14px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.staff-card>div a {
  display: none;
}

.branch-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  gap: 28px;
  align-items: stretch;
}

.branch-profile__image {
  min-height: 500px;
  overflow: hidden;
  background: var(--green-100);
}

.branch-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-director {
  display: flex;
  padding: 42px;
  background: var(--green-950);
  color: var(--white);
  flex-direction: column;
}

.branch-director>img {
  width: 164px;
  height: 194px;
  margin-bottom: auto;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--white-a10);
}

.branch-director>div {
  padding-top: 38px;
}

.branch-director h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.branch-director p:not(.eyebrow) {
  margin: 16px 0 10px;
  color: var(--text-on-dark);
}

.branch-director a {
  color: var(--gold-light);
  font-weight: 600;
}

.branch-contact-band {
  padding-block: 38px;
  background: var(--gold);
}

.branch-contact-band__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 36px;
}

.branch-contact-band__grid>div {
  min-width: 0;
}

.branch-contact-band span,
.branch-contact-band strong {
  display: block;
}

.branch-contact-band span {
  margin-bottom: 6px;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.branch-contact-band strong {
  color: var(--green-990);
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.branch-duties {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: clamp(48px, 7vw, 100px);
}

.branch-duties__info>p {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
}

.branch-map {
  margin-top: 34px;
}

.branch-map__canvas {
  height: 320px;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.branch-map__canvas.leaflet-container {
  font: inherit;
  background: var(--line);
}

.branch-map .leaflet-control-zoom {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(8, 40, 36, .18);
  overflow: hidden;
}

.branch-map .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  color: var(--green-950);
  border-bottom-color: var(--line);
  background: var(--white);
  font-size: 18px;
  font-weight: 600;
  line-height: 34px;
  transition: color .2s ease, background .2s ease;
}

.branch-map .leaflet-control-zoom a:hover {
  color: var(--white);
  background: var(--green-800);
}

.branch-map .leaflet-control-attribution {
  padding: 2px 8px;
  border-radius: 8px 0 0 0;
  background: rgba(255, 255, 255, .72);
  color: var(--text-body);
  font-size: 10px;
  letter-spacing: .01em;
}

.branch-map .leaflet-control-attribution a {
  color: inherit;
}

.branch-map__links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
}

.map-button:hover,
.map-button:focus-visible {
  color: var(--white);
  border-color: var(--green-900);
  background: var(--green-900);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.map-button .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.map-button:hover .icon,
.map-button:focus-visible .icon {
  color: var(--gold-light);
}

.branch-duties ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: duty;
}

.branch-duties li {
  position: relative;
  padding: 18px 0 18px 58px;
  border-top: 1px solid var(--line);
  color: var(--text-body);
  font-size: 16px;
  counter-increment: duty;
}

.branch-duties li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  content: counter(duty, decimal-leading-zero);
}

.regions-section {
  border-top: 1px solid var(--line);
}

.region-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.region-chips span,
.region-chips a {
  padding: 19px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-body);
  font-size: 15px;
  font-weight: 600;
}

.region-chips a {
  transition: color 0.2s ease, background 0.2s ease;
}

.region-chips a:hover,
.region-chips a:focus-visible {
  color: var(--white);
  background: var(--green-800);
}

.region-chips .is-current {
  color: var(--white);
  background: var(--green-950);
}

.nav-dropdown a[aria-current="page"] {
  color: var(--gold-light);
  background: var(--white-a055);
}

/* Yangiliklar sahifalari */
.news-archive,
.article-section {
  background: var(--paper);
}

.news-toolbar {
  display: flex;
  margin-bottom: 42px;
  padding-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-filters button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--text-body);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--transparent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.news-filters button:hover,
.news-filters button.is-active {
  color: var(--white);
  border-color: var(--green-950);
  background: var(--green-950);
}

.news-toolbar>span {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.news-toolbar strong {
  color: var(--green-950);
  font-size: 16px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.archive-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Hover'da yuqoridan o'tadigan oltin chiziq */
.archive-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  transition: width .35s ease;
}

.archive-card:hover::before {
  width: 100%;
}

.archive-card[hidden] {
  display: none;
}

.archive-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.archive-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-100);
}

.archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.archive-card:hover .archive-card__image img {
  transform: scale(1.035);
}

.archive-card__body {
  display: flex;
  min-height: 210px;
  padding: 25px 26px 24px;
  flex: 1;
  flex-direction: column;
}

.archive-meta {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.archive-meta span {
  color: var(--green-700);
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.archive-meta time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.archive-meta .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.archive-card h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--green-950);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.archive-card h2 a {
  transition: color .2s ease;
}

/* Sarlavha havolasi butun kartochkani bosiladigan qiladi */
.archive-card h2 a::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.archive-card h2 a:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

.archive-card:hover h2 a {
  color: var(--gold);
}

.archive-card__link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.archive-card__link .icon {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.archive-card:hover .archive-card__link .icon {
  transform: translateX(4px);
}

/* Eng yangi yangilik — butun qatorni egallaydigan katta kartochka */
.archive-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.archive-card--featured .archive-card__image {
  flex: 0 0 54%;
  aspect-ratio: auto;
  min-height: 340px;
}

.archive-card--featured .archive-card__body {
  padding: clamp(30px, 3.4vw, 50px);
  justify-content: center;
}

.archive-card--featured .archive-meta {
  margin-bottom: 20px;
}

.archive-card--featured h2 {
  font-size: clamp(24px, 2.3vw, 31px);
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 1.3;
}

/* Katta kartochkada matn markazda guruhlanadi — havola pastga "yopishmaydi" */
.archive-card--featured .archive-card__link {
  margin-top: 0;
  padding-top: 30px;
}

.pagination {
  display: flex;
  margin-top: 52px;
  justify-content: center;
  gap: 8px;
}

.pagination a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.pagination a:hover,
.pagination a.is-current {
  color: var(--white);
  border-color: var(--green-950);
  background: var(--green-950);
}

.pagination .icon {
  width: 15px;
  height: 15px;
}

/* "Oldingi sahifa" — bitta strelka ikonkasi teskari buriladi */
.pagination__prev {
  transform: rotate(180deg);
}

.news-archive__empty {
  margin: 0;
  padding: 40px 0;
  color: var(--muted);
  font-size: 16px;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding-block: 66px 82px;
  color: var(--white);
  background: var(--green-950);
}

.article-hero::after {
  position: absolute;
  top: -260px;
  right: -140px;
  width: 600px;
  height: 600px;
  border: 1px solid var(--white-a08);
  border-radius: 50%;
  box-shadow: 0 0 0 100px var(--white-a025), 0 0 0 200px var(--white-a025);
  content: "";
  pointer-events: none;
}

.article-hero__inner {
  position: relative;
  z-index: 1;
}

.article-hero .breadcrumbs {
  margin-bottom: 46px;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
  align-items: center;
  gap: 12px 24px;
  color: var(--text-on-dark-soft);
  font-size: 13px;
}

.article-hero__meta span:first-child {
  padding: 7px 12px;
  color: var(--green-950);
  border-radius: 18px;
  background: var(--gold-light);
  font-weight: 700;
}

/* Maqola sanasi — qorong'i hero ustidagi yengil chip */
.article-hero__meta time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--white-a18);
  border-radius: 18px;
  background: var(--white-a06);
  font-weight: 600;
}

.article-hero__meta time .icon {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

.article-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}

/* Yangilik sarlavhalari uzun (ba'zan butunlay bosh harfda) — kichikroq va zichroq */
.article-hero--news {
  padding-block: 54px 66px;
}

.article-hero--news h1 {
  max-width: 900px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.article-section {
  padding-block: 80px 100px;
}

.article-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.news-article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.news-article__figure {
  margin: 0;
}

.news-article__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-article__figure figcaption {
  padding: 11px 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.news-article__content {
  max-width: 820px;
  padding: 46px clamp(28px, 5vw, 66px) 54px;
}

.news-article__content p {
  margin: 0 0 24px;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.85;
}

/* Birinchi xatboshi — "lead" ko'rinishida (Quill'dan kelgan HTML uchun) */
.news-article__content>p:first-child,
.news-article__content .news-article__lead {
  color: var(--green-950);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
}

/* Quill matnidagi rasmlar konteynerdan chiqib ketmasin */
.news-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.news-article__content blockquote {
  margin: 38px 0 0;
  padding: 28px 30px;
  color: var(--green-950);
  border-left: 4px solid var(--gold);
  background: var(--paper);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
}

.article-footer-row {
  display: flex;
  padding: 23px clamp(28px, 5vw, 66px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.article-footer-row a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-weight: 700;
}

.article-footer-row a .icon {
  transform: rotate(180deg);
}

.latest-news {
  position: sticky;
  top: 126px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.latest-news__head {
  display: flex;
  margin-bottom: 8px;
  padding-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.latest-news__head p {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 600;
}

.latest-news__head a {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.latest-news__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}

.latest-news__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.latest-news__item img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 7px;
}

.latest-news__item span {
  min-width: 0;
}

.latest-news__item time {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.latest-news__item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s ease;
}

.latest-news__item:hover strong {
  color: var(--gold);
}

/* Fotoreportaj */
.gallery-archive {
  background: var(--paper);
}

.gallery-toolbar {
  display: flex;
  margin-bottom: 36px;
  padding-bottom: 26px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.gallery-toolbar span,
.gallery-toolbar strong {
  display: block;
}

.gallery-toolbar span {
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gallery-toolbar strong {
  color: var(--green-950);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.gallery-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.photo-grid {
  display: flex;
  gap: 22px;
  flex-direction: column;
}

.photo-set {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.photo-set:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.08fr);
}

.photo-set:nth-child(even) .photo-item--cover {
  order: 2;
}

.photo-set:nth-child(even) .photo-stack {
  order: 1;
}

.photo-stack {
  display: flex;
  gap: 18px;
  flex-direction: column;
}

.photo-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  background: var(--green-950);
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .3s ease;
}

.photo-item:hover img,
.photo-item:focus-visible img {
  opacity: .72;
  transform: scale(1.045);
}

.photo-item>span {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 52px 22px 20px;
  align-items: end;
  text-align: left;
  background: linear-gradient(var(--transparent), var(--black-a45));
}

.photo-item strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.photo-item--cover strong {
  font-size: 26px;
}

.photo-item em {
  display: none;
}

.lightbox {
  /* Foto butun oynani egallaydi */
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 0;
  background: var(--green-990);
}

.lightbox::backdrop {
  background: var(--black-a45);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  /* inset: 0 — balandlik aniq bo'lsin, aks holda rasm o'z nisbatiga cho'ziladi */
  position: absolute;
  inset: 0;
  margin: 0;
}

.lightbox figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 30px 24px;
  color: var(--text-on-dark);
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(var(--transparent), var(--black-a45));
  pointer-events: none;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid var(--white-a18);
  border-radius: 50%;
  background: var(--green-950);
  cursor: pointer;
}

.lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 27px;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--prev .icon {
  transform: rotate(180deg);
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  color: var(--green-950);
  border-color: var(--gold);
  background: var(--gold);
}

body:has(.lightbox[open]) {
  overflow: hidden;
}

/* DSc olimlari */
.scientists-section,
.scientist-profile-section {
  background: var(--paper);
}

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

.scientist-card {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 12px;
  min-height: 226px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.scientist-card::after {
  position: absolute;
  top: 0;
  left: 30px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  content: "";
}

.scientist-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.scientist-card>img {
  width: 100%;
  height: 100%;
  min-height: 204px;
  object-fit: cover;
  object-position: center top;
  border-radius: 9px;
  background: var(--green-100);
  transition: transform .3s ease;
}

.scientist-card:hover>img {
  transform: scale(1.025);
}

.scientist-card>div {
  display: flex;
  min-width: 0;
  padding: 20px 20px 18px 14px;
  flex-direction: column;
  align-items: flex-start;
}

.scientist-card>div>span {
  margin-bottom: 13px;
  padding: 5px 10px;
  color: var(--green-700);
  border-radius: 14px;
  background: var(--green-100);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.scientist-card p {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.scientist-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  transition: color .2s ease;
}

.scientist-card:hover h2 {
  color: var(--gold);
}

.scientist-card em {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  gap: 7px;
  color: var(--green-700);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.scientist-card em .icon {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.scientist-card:hover em .icon {
  transform: translateX(4px);
}

.scientist-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.scientist-profile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.scientist-profile__intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
}

.scientist-profile__intro>img {
  width: auto;
  height: 340px;
  object-fit: contain;
  object-position: center top;
  border-radius: 9px;
  background: var(--green-100);
}

.scientist-profile__intro>div {
  display: flex;
  padding: 38px clamp(28px, 5vw, 38px);
  flex-direction: column;
  justify-content: center;
}

.scientist-profile__badge {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 7px 13px;
  color: var(--green-950);
  border-radius: 18px;
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.scientist-profile__role {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.scientist-profile__intro h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.scientist-profile__intro h2+p {
  margin: 18px 0 0;
  color: var(--text-body);
  font-size: 16px;
}

.scientist-profile__contacts {
  display: flex;
  margin: 18px 0 0;
  gap: 10px 26px;
  flex-wrap: wrap;
}

.scientist-profile__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.scientist-profile__contacts a:hover {
  color: var(--gold);
}

.scientist-profile__contacts .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.dissertation-card {
  margin: 0 10px;
  padding: 34px clamp(28px, 5vw, 58px);
  border-radius: 10px;
  background: var(--green-950);
}

.dissertation-card span {
  display: block;
  margin-bottom: 13px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dissertation-card h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 600;
  line-height: 1.3;
}

.research-block {
  padding: 54px clamp(28px, 5vw, 58px) 45px;
}

.research-block .inner-heading {
  margin-bottom: 30px;
}

.research-block .inner-heading h2 {
  font-size: 33px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  --rail: 118px;
  position: relative;
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 32px;
  padding-block: 3px 28px;
}

/* Elementlar orasidagi vertikal chiziq — oxirgisida ko'rsatilmaydi */
.timeline__item::before {
  content: "";
  position: absolute;
  top: 19px;
  bottom: 0;
  left: var(--rail);
  width: 1px;
  background: var(--line);
}

.timeline__item:last-child {
  padding-bottom: 2px;
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__dot {
  position: absolute;
  top: 5px;
  left: var(--rail);
  width: 10px;
  height: 10px;
  border: 2px solid var(--green-200);
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

.timeline__item.is-current .timeline__dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-a14);
}

.timeline__period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.timeline__year {
  color: var(--green-900);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  line-height: 1.05;
}

.timeline__year--end {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

/* Ikki yil orasidagi qisqa tire — "dan ... gacha" ma'nosini beradi */
.timeline__rule {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  opacity: .7;
}

.timeline__now {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-a14);
  color: var(--green-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline__now::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline__role {
  margin: 0;
  padding-top: 1px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
}

.timeline__item.is-current .timeline__role {
  color: var(--ink);
  font-weight: 500;
}

.profile-back {
  padding: 22px clamp(28px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.profile-back a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.profile-back .icon {
  transform: rotate(180deg);
}

/* Yon ustun: nashrlar va boshqa olimlar bloklari birga yopishib turadi */
.scientist-profile-side {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 20px;
  align-self: start;
}

.other-scientists {
  position: sticky;
  top: 126px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.other-scientists__head {
  display: flex;
  padding-bottom: 17px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.other-scientists__head strong {
  color: var(--green-950);
  font-size: 18px;
}

.other-scientists__head a {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.other-scientists>a {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 13px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.other-scientists>a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.other-scientists>a>img {
  width: 70px;
  height: 76px;
  object-fit: cover;
  object-position: center top;
  border-radius: 7px;
}

.other-scientists small,
.other-scientists strong {
  display: block;
}

.other-scientists small {
  margin-bottom: 5px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.other-scientists strong {
  color: var(--green-950);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s ease;
}

.other-scientists>a:hover strong {
  color: var(--gold);
}

.scientist-profile-side .other-scientists {
  position: static;
  top: auto;
}

/* Nashr muqovasi kitob nisbatida (3:4), xodim rasmi esa deyarli kvadrat */
.other-scientists--publications>a>img {
  height: 93px;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.14;
}

.section-title em {
  color: var(--green-700);
}

.section-title--light {
  color: var(--white);
}

.section-title--light em {
  color: var(--gold-light);
}

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}

.about__copy {
  padding-top: 24px;
}

.about__copy p {
  margin: 0 0 18px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.85;
}

.about__copy .text-link {
  margin-top: 12px;
}

.quote-card {
  margin-top: 72px;
  min-height: 210px;
  padding: 38px 48px;
  display: grid;
  grid-template-columns: 155px minmax(0, 1.15fr) minmax(250px, .7fr);
  align-items: center;
  column-gap: 44px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--green-800);
  box-shadow: var(--shadow-green);
}

.quote-card__number {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-light);
  border-right: 1px solid var(--white-a17);
  position: relative;
}

.quote-card__number strong {
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.06em;
  position: absolute;
  top: calc(50% - 11px);
  left: calc(50% - 22px);
  transform: translate(-50%, -50%);
}

.quote-card__number span {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  left: calc(50% - 22px);
  transform: translateX(-50%);
  background: var(--white-a18);
  padding: 2px 6px;
  border-radius: 4px;
}

.quote-card blockquote {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.02em;
}

.quote-card p {
  max-width: 360px;
  margin: 0;
  color: var(--text-on-dark);
  font-size: 15px;
  line-height: 1.75;
}

.directions {
  background: var(--paper);
}

.section-head {
  margin-bottom: 54px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 80px;
}

.section-head>p {
  max-width: 390px;
  margin: 0 0 7px;
  color: var(--text-body);
  font-size: 16px;
}

.section-head--centered {
  align-items: center;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.direction-card {
  min-height: 400px;
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--white-a28);
  transition: .25s ease;
}

.direction-card:hover {
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.direction-card--featured {
  color: var(--white);
  background: var(--green-800);
}

.direction-card--featured:hover {
  background: var(--green-900);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--green-100);
}

.direction-card--featured .card-icon {
  color: var(--gold-light);
  background: var(--white-a10);
}

.card-icon .icon {
  width: 25px;
  height: 25px;
}

.card-number {
  margin: 34px 0 12px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
}

.direction-card--featured .card-number {
  color: var(--gold-light);
}

.direction-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
}

.direction-card p {
  margin: 17px 0 25px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.75;
}

.direction-card--featured p {
  color: var(--text-on-dark-soft);
}

.direction-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
}

.direction-card--featured a {
  color: var(--white);
}

.branches {
  padding-block: 0;
  color: var(--white);
  background: var(--green-950);
}

.branches__grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.branches__map {
  position: relative;
  min-height: 670px;
  padding: 80px 5vw;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-50);
}

.branches__map::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(var(--green-grid) 1px, var(--transparent) 1px), linear-gradient(90deg, var(--green-grid) 1px, var(--transparent) 1px);
  background-size: 44px 44px;
}

.branches__map object {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 652;
  filter: drop-shadow(0 24px 20px var(--green-shadow));
}

.map-label {
  position: absolute;
  top: 40px;
  left: 45px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.map-label span {
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 40px;
}

.branches__content {
  padding: 95px clamp(40px, 4vw, 68px);
  align-self: center;
}

.branches__content>p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 26px;
  color: var(--text-on-dark-muted);
  font-size: 16px;
  line-height: 1.75;
}

.branch-picker {
  width: 100%;
  max-width: 680px;
  margin-top: 30px;
}

.branch-picker>label {
  margin-bottom: 10px;
  display: block;
  color: var(--text-on-dark-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.branch-select-wrap {
  position: relative;
}

.branch-select-wrap select {
  width: 100%;
  height: 60px;
  padding: 0 50px 0 18px;
  color: var(--white);
  border: 1px solid var(--white-a28);
  border-radius: 10px;
  outline: none;
  background: var(--white-a08);
  appearance: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.branch-select-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-a12);
}

.branch-select-wrap select option {
  color: var(--ink);
  background: var(--white);
}

.branch-select-wrap>.icon {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gold-light);
  transform: translateY(-50%);
  pointer-events: none;
}

.branch-detail {
  margin-top: 18px;
  padding: 32px;
  border: 1px solid var(--white-a18);
  border-radius: 12px;
  background: var(--white-a065);
}

.branch-detail__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.branch-detail__index {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
}

.branch-detail__head small,
.branch-detail__leader small {
  display: block;
  color: var(--text-on-dark-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 0.7;
}

.branch-detail__head h3 {
  margin: 3px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.15;
}

.branch-detail__leader {
  margin: 22px 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold-light);
}

.branch-detail__leader>.icon {
  flex: 0 0 19px;
}

.branch-detail__leader strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.branch-detail__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.branch-detail__contacts p,
.branch-detail__contacts a {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark-muted);
  font-size: 15px;
}

.branch-detail__contacts p {
  grid-column: 1 / -1;
}

.branch-detail__contacts .icon {
  flex: 0 0 15px;
  color: var(--text-on-dark-subtle);
}

.branch-detail__contacts span {
  overflow-wrap: anywhere;
}

.branch-detail__contacts a:hover {
  color: var(--white);
}

.branch-detail__link {
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-light);
  border-top: 1px solid var(--white-a12);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.news-card::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 0;
  height: 3px;
  content: "";
  background: var(--gold);
  transition: width .3s ease;
}

.news-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.news-card:hover::before {
  width: 100%;
}

.news-card--large {
  grid-row: auto;
}

.news-card__image,
.news-card--large .news-card__image {
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: var(--green-100);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.035);
}

.news-card__body,
.news-card--large .news-card__body {
  min-width: 0;
  flex: 1;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.news-meta>span {
  padding: 5px 9px;
  color: var(--green-700);
  background: var(--green-100);
}

.news-meta time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card h3,
.news-card--large h3 {
  max-width: none;
  margin: 17px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.38;
}

.news-card h3 a:hover {
  color: var(--green-700);
}

.media-strip {
  padding-block: 94px;
  overflow: hidden;
  background: var(--green-900);
}

.media-strip__head {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.gallery-row {
  width: min(1470px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-row figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.3;
  border-radius: 12px;
  background: var(--green-975);
}

.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  transition: .45s ease;
}

.gallery-row figure:hover img {
  opacity: 1;
  transform: scale(1.035);
}

.gallery-row figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  text-shadow: 0 2px 8px var(--black-a45);
}

.resources {
  background: var(--paper);
}

.resources__grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: start;
  gap: 100px;
}

.resources__lead {
  max-width: 450px;
  margin: 26px 0 0;
  color: var(--text-body);
  font-size: 16px;
}

.resource-links {
  border-top: 1px solid var(--line);
}

.resource-links a {
  min-height: 85px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.resource-links a>span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
}

.resource-links strong {
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.resource-links a>.icon {
  color: var(--green-700);
  transition: transform .2s ease;
}

.resource-links a:hover strong {
  color: var(--green-700);
}

.resource-links a:hover>.icon {
  transform: translate(3px, -3px);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text-on-dark-muted);
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-875) 58%, var(--green-925) 100%);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("static/hero-pattern.svg") center / cover no-repeat;
  opacity: .3;
  pointer-events: none;
}

.site-footer::after {
  position: absolute;
  top: -42%;
  right: -12%;
  z-index: -1;
  width: 720px;
  height: 720px;
  content: "";
  border: 1px solid var(--footer-ring);
  border-radius: 50%;
  box-shadow: 0 0 0 90px var(--footer-ring-1), 0 0 0 180px var(--footer-ring-2), 0 0 0 270px var(--footer-ring-3);
  pointer-events: none;
}

.footer-map {
  position: relative;
  z-index: 1;
  padding-block: 78px;
  color: var(--white);
  background: var(--footer-overlay);
  border-top: 1px solid var(--white-a08);
}

.footer-map__grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: stretch;
  gap: 80px;
}

.footer-map__info {
  min-width: 0;
}

.footer-map__brand {
  max-width: 580px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--white-a12);
}

.footer-map__brand>span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer-map__brand strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.footer-map__brand small {
  margin-top: 9px;
  color: var(--text-on-dark);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contacts {
  margin-top: 20px;
  display: grid;
  column-gap: 22px;
  font-style: normal;
}

.footer-contacts a {
  min-width: 0;
  min-height: 98px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-contacts a:hover {
  background: var(--transparent);
}

.footer-contacts__icon {
  flex: 0 0 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--gold-light-a48);
  border-radius: 50%;
  background: var(--white-a025);
  transition: background-color .2s ease, border-color .2s ease;
}

.footer-contacts a>span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer-contacts strong {
  color: var(--white);
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
  transition: color .2s ease;
}

.footer-contacts em {
  color: var(--text-on-dark-soft);
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-contacts a:hover strong {
  color: var(--gold-light);
}

.footer-contacts a:hover .footer-contacts__icon {
  border-color: var(--gold-light);
  background: var(--gold-a12);
}

.footer-map__frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--white-a22);
  border-radius: 14px;
  background: var(--green-50);
  box-shadow: 0 24px 65px var(--black-a25);
}

.footer-map__frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--white-a32);
  pointer-events: none;
}

.footer-map__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  border: 0;
  background: var(--transparent);
}

.footer__bottom {
  position: relative;
  z-index: 1;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-on-dark-subtle);
  border-top: 1px solid var(--white-a10);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer__bottom-links {
  display: flex;
  gap: 22px;
}

.footer__bottom-links a:hover {
  color: var(--white);
}

/* Ilmiy nashrlar */
.publications-section {
  background: var(--paper);
}

.publication-kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.publication-kind {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.publication-kind:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.publication-kind__mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 16px;
  background: var(--green-100);
  transition: color .2s ease, background .2s ease;
}

.publication-kind:hover .publication-kind__mark {
  color: var(--green-950);
  background: var(--gold-light);
}

.publication-kind__mark svg {
  width: 38px;
  height: 38px;
}

.publication-kind h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.018em;
}

.publication-kind p {
  margin: 9px 0 0;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.65;
}

.publication-kind__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.publication-kind__count {
  padding: 4px 10px;
  border-radius: 11px;
  background: var(--green-100);
  font-size: 11px;
  letter-spacing: .04em;
}

.publication-kind:hover .publication-kind__count {
  color: var(--green-950);
  background: var(--gold-light);
}

.publication-kind__foot .icon {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.publication-kind:hover .publication-kind__foot .icon {
  transform: translateX(3px);
}

.publication-toolbar {
  display: flex;
  margin-bottom: 24px;
  padding: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.publication-filters :is(button, a) {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--transparent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.publication-filters :is(button, a) svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.publication-filters :is(button, a) span {
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 11px;
  background: var(--green-100);
  font-size: 10px;
}

.publication-filters :is(button, a):hover,
.publication-filters :is(button, a).is-active {
  color: var(--white);
  border-color: var(--green-950);
  background: var(--green-950);
}

.publication-filters :is(button, a).is-active span,
.publication-filters :is(button, a):hover span {
  color: var(--green-950);
  background: var(--gold-light);
}

.publication-search {
  width: min(310px, 100%);
  min-height: 46px;
  padding: 0 15px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.publication-search .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green-700);
}

.publication-search input {
  width: 100%;
  min-width: 0;
  color: var(--green-950);
  border: 0;
  outline: 0;
  background: var(--transparent);
  font-size: 13px;
}

.publication-search input::placeholder {
  color: var(--muted);
}

.publication-search:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--gold-a12);
}

.publication-result {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.publication-result p {
  margin: 0;
}

.publication-result strong {
  color: var(--green-950);
  font-size: 20px;
}

.publication-result span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nashrlar javon ko'rinishida: muqova tepada, ma'lumoti ostida.
   Ilgari xodim kartochkasi bilan bir xil sxema edi — endi ajralib turadi. */
/* Nashr kartochkasi xodim kartochkasi (`.staff-card`) andozasida:
   chapda muqova, o'ngda ma'lumot, o'ng yuqorida hujjatni ochish tugmasi.
   Kitobga moslangan — muqova balandroq, tikuvi bor, sarlavha uzunroq. */
.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.publication-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  min-height: 186px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.publication-card[hidden] {
  display: none;
}

.publication-card::after {
  position: absolute;
  top: 30px;
  left: 0;
  width: 3px;
  height: 48px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
  content: "";
}

.publication-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

/* Butun kartochka hujjatga havola */
.publication-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
}

.publication-card__link:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

/* Yuklash tugmasi odatda ko'rinmaydi — kursor kartochkaga tekkanda chiqadi */
.publication-card__icon {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  opacity: 0;
  color: var(--white);
  border-radius: 50%;
  background: var(--green-700);
  transition: opacity .2s ease, transform .2s ease;
  transform: translateY(-4px) scale(.9);
}

.publication-card__icon .icon {
  width: 16px;
  height: 16px;
}

.publication-card:hover .publication-card__icon,
.publication-card__link:focus-visible .publication-card__icon {
  opacity: 1;
  transform: none;
}

/* Sensorli ekranda kursor yo'q — tugma doim ko'rinib tursin */
@media (hover: none) {
  .publication-card__icon {
    opacity: 1;
    transform: none;
  }
}

.publication-card__cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px 9px 9px 3px;
  background: var(--green-100);
}

.publication-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .3s ease;
}

.publication-card:hover .publication-card__cover img {
  transform: scale(1.03);
}

/* Kitob tikuvi — muqovaning chap chetidagi soya */
.publication-card__cover::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(90deg, var(--spine-dark), var(--spine-soft) 58%, var(--transparent));
  content: "";
}

.publication-card>div {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 20px 52px 18px 14px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Mualliflar — xodim kartochkasidagi lavozim o'rnida */
.publication-card p {
  display: -webkit-box;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--green-700);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Muallif havolalari butun kartochkani qoplagan havoladan yuqorida bo'lsin */
.publication-card p a {
  position: relative;
  z-index: 3;
  transition: color .2s ease;
}

.publication-card p a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.publication-card h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--green-950);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.012em;
}

.publication-card small {
  display: flex;
  align-self: stretch;
  margin: 13px 0 0;
  padding-top: 10px;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.publication-card small svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* Hujjat turi va hajmi — o'ng chetda, ko'zga tashlanmaydigan qo'shimcha yozuv */
.publication-card small span {
  margin-left: auto;
  padding-left: 10px;
  flex: none;
  color: var(--muted);
  font-size: 11px;
}

.publication-empty {
  margin: 0;
  padding: 60px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  font-size: 17px;
}

/* Normativ-huquqiy hujjatlar */
.normative-section {
  background: var(--paper);
}

.normative-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-categories {
  position: sticky;
  top: 126px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-categories>.eyebrow {
  margin: 0;
  padding: 27px 26px 7px;
}

.legal-categories>h2 {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--green-950);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.legal-categories nav {
  border-top: 1px solid var(--line);
}

.legal-categories nav a {
  min-height: 58px;
  padding: 12px 20px 12px 26px;
  display: grid;
  grid-template-columns: 1fr 16px;
  align-items: center;
  gap: 12px;
  color: var(--text-body);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .2s ease, background .2s ease;
}

.legal-categories nav a:hover {
  color: var(--green-700);
  background: var(--green-100);
}

.legal-categories nav a.is-active {
  color: var(--white);
  background: var(--green-950);
}

.legal-categories nav .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.legal-categories__note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 23px 26px 25px;
  color: var(--muted);
  background: var(--green-100);
}

.legal-categories__note .icon {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

.legal-categories__note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.normative-heading {
  display: flex;
  margin-bottom: 25px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.normative-heading .eyebrow {
  margin-bottom: 10px;
}

.normative-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.normative-heading>span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.normative-heading>span strong {
  color: var(--green-950);
  font-size: 22px;
}

.normative-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 10px;
  margin-bottom: 17px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.normative-search,
.normative-year {
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.normative-search:focus-within,
.normative-year:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--gold-a12);
}

.normative-search .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green-700);
}

.normative-search input,
.normative-year select {
  width: 100%;
  min-width: 0;
  color: var(--green-950);
  border: 0;
  outline: 0;
  background: var(--transparent);
  font-size: 13px;
}

.normative-search input::placeholder {
  color: var(--muted);
}

.normative-year>span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.normative-year select {
  cursor: pointer;
}

.normative-result {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.normative-result p {
  margin: 0;
}

.normative-result strong {
  color: var(--green-950);
  font-size: 18px;
}

.normative-result>span {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.normative-list {
  display: grid;
  gap: 12px;
}

.normative-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  min-height: 215px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.normative-card[hidden] {
  display: none;
}

.normative-card:hover {
  border-color: var(--gold-a32);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.normative-card>time {
  min-height: 100%;
  padding: 27px 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--green-950);
  border-right: 1px solid var(--line);
  background: var(--green-100);
  text-align: center;
}

.normative-card>time strong {
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
}

.normative-card>time span {
  margin-top: 5px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.normative-card>time em {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.normative-card>div {
  display: flex;
  min-width: 0;
  padding: 27px 30px 24px;
  flex-direction: column;
  align-items: flex-start;
}

.normative-card__type {
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.normative-card h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.018em;
  transition: color .2s ease;
}

.normative-card:hover h3 {
  color: var(--gold);
}

.normative-card p {
  display: -webkit-box;
  margin: 11px 0 0;
  overflow: hidden;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.normative-card a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 17px;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.normative-card a .icon {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.normative-card a:hover .icon {
  transform: translate(2px, -2px);
}

.normative-empty {
  margin: 0;
  padding: 58px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

/* Murojaat sahifasi */
.appeal-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.appeal-aside {
  position: sticky;
  top: 126px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.appeal-aside>.eyebrow {
  margin: 0;
  padding: 27px 26px 7px;
}

.appeal-aside>h2 {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--green-950);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.appeal-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.appeal-contacts li {
  padding: 18px 26px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.appeal-contacts__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 10px;
  background: var(--green-100);
}

.appeal-contacts__icon .icon {
  width: 17px;
  height: 17px;
}

.appeal-contacts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.appeal-contacts a,
.appeal-contacts em {
  color: var(--green-950);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.appeal-contacts a {
  transition: color .2s ease;
}

.appeal-contacts a:hover {
  color: var(--green-700);
}

.appeal-aside__note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 23px 26px 25px;
  color: var(--muted);
  background: var(--green-100);
}

.appeal-aside__note .icon {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

.appeal-aside__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.appeal-content {
  display: grid;
  gap: 20px;
}

.appeal-alert {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--green-800);
}

.appeal-alert[hidden] {
  display: none;
}

.appeal-alert.is-entering {
  animation: appeal-alert-in .45s ease;
}

.appeal-alert__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  border-radius: 50%;
  background: var(--gold);
}

.appeal-alert__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
}

.appeal-alert strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.appeal-alert p {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 14px;
  line-height: 1.6;
}

@keyframes appeal-alert-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appeal-form {
  padding: 34px 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.appeal-form__heading {
  margin-bottom: 28px;
}

.appeal-form__heading .eyebrow {
  margin-bottom: 14px;
}

.appeal-form__heading h2 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.appeal-form__heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.appeal-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field--wide {
  grid-column: 1 / -1;
}

.field__label {
  color: var(--green-950);
  font-size: 13px;
  font-weight: 700;
}

.field__label em {
  color: var(--gold);
  font-style: normal;
}

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field__input::placeholder {
  color: var(--muted);
}

.field__input:focus {
  outline: none;
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--green-100);
}

.field__input--area {
  min-height: 150px;
  line-height: 1.6;
  resize: vertical;
}

.field__input--select {
  padding-right: 44px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317665d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}

.field__input.is-invalid {
  border-color: var(--danger);
  background: var(--white);
}

.field__input.is-invalid:focus {
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.field__error {
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.field__error:empty {
  display: none;
}

.field__error--form {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--danger-soft);
}

.upload {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}

.upload:hover,
.upload.is-dragging {
  border-color: var(--green-700);
  background: var(--green-100);
}

.upload:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--green-100);
}

.upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.upload__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  border-radius: 10px;
  background: var(--green-100);
}

.upload__icon .icon {
  width: 20px;
  height: 20px;
}

.upload.is-dragging .upload__icon {
  background: var(--white);
}

.upload__text strong {
  display: block;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 700;
}

.upload__text em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.upload__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.upload__list:empty {
  display: none;
}

.upload__item {
  padding: 10px 12px 10px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.upload__name {
  overflow: hidden;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload__size {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.upload__remove {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--transparent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.upload__remove:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-soft);
}

.appeal-form__footer {
  margin-top: 26px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.appeal-form__footer p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.appeal-form__footer .button .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.appeal-form__footer .button:hover .icon {
  transform: translateX(4px);
}

.appeal-form__footer .button[disabled] {
  opacity: .6;
  cursor: progress;
  transform: none;
}

/* Doktorantura sahifasi — ko'rsatkichlar, diagrammalar, qabul bosqichlari */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
}

.metric-card {
  padding: 34px 30px 30px;
  border-top: 3px solid var(--transparent);
  background: var(--white);
  transition: border-color .25s ease;
}

.metric-card:hover {
  border-top-color: var(--gold);
}

.metric-card--accent {
  border-top-color: var(--gold);
  background: var(--green-950);
  color: var(--white);
}

.metric-card dt {
  color: var(--green-950);
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.metric-card--accent dt {
  color: var(--gold-light);
}

.metric-card dd {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.metric-card p {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.metric-card--accent p {
  border-top-color: var(--white-a14);
  color: var(--text-on-dark-soft);
}

.metric-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-700);
  font-weight: 700;
}

.metric-card--accent a {
  color: var(--gold-light);
}

.metric-card a .icon {
  width: 14px;
  height: 14px;
}

.metric-card a:hover {
  color: var(--gold);
}

.chart-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.chart-card {
  margin: 0;
  padding: 34px 32px 32px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.chart-card figcaption {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.chart-card figcaption strong {
  display: block;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.chart-card figcaption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.chart-plot {
  flex: 1;
  min-height: 280px;
  margin-top: 30px;
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 3vw, 30px);
}

.chart-column {
  flex: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  justify-items: center;
  gap: 14px;
}

.chart-bar {
  width: 100%;
  max-width: 96px;
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 11px;
  background: linear-gradient(180deg, var(--green-700), var(--green-925));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.chart-column:first-child .chart-bar {
  background: linear-gradient(180deg, var(--gold), var(--gold-hover));
  color: var(--button-ink);
}

.chart-label {
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

.chart-empty {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.share-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  list-style: none;
}

.share-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.share-item__head a {
  color: var(--green-950);
  font-size: 16px;
  font-weight: 600;
}

.share-item__head a:hover {
  color: var(--green-700);
}

.share-item__head strong {
  color: var(--green-700);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.share-item__track {
  margin-top: 10px;
  height: 8px;
  background: var(--green-50);
}

.share-item__track span {
  display: block;
  height: 100%;
  min-width: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--gold));
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.program-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 34px;
  background: var(--white);
}

.program-card--featured {
  background: var(--green-950);
  color: var(--white);
}

.program-card__code {
  align-self: flex-start;
  padding: 7px 15px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.program-card--featured .program-card__code {
  background: var(--gold);
  color: var(--button-ink);
}

.program-card h3 {
  margin: 26px 0 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.program-card--featured h3 {
  color: var(--white);
}

.program-card__desc {
  margin: 15px 0 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.75;
}

.program-card--featured .program-card__desc {
  color: var(--text-on-dark-soft);
}

.program-card__facts {
  margin: 26px 0 0;
  padding: 22px 0;
  display: grid;
  gap: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-card--featured .program-card__facts {
  border-top-color: var(--white-a14);
  border-bottom-color: var(--white-a14);
}

.program-card__facts>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.program-card__facts dt {
  color: var(--muted);
  font-size: 14px;
}

.program-card--featured .program-card__facts dt {
  color: var(--text-on-dark-subtle);
}

.program-card__facts dd {
  margin: 0;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.program-card--featured .program-card__facts dd {
  color: var(--white);
}

.program-card__list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.program-card__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

.program-card__list .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green-700);
}

.program-card--featured .program-card__list li {
  color: var(--text-on-dark-soft);
}

.program-card--featured .program-card__list .icon {
  color: var(--gold);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step-list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-item {
  position: relative;
  padding: 30px 0 4px;
}

.step-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--gold);
}

.step-item__index {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.step-item__period {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 600;
}

.step-item__period .icon {
  width: 16px;
  height: 16px;
}

.step-item h3 {
  margin: 12px 0 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.step-item p {
  margin: 12px 0 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.doctorate-docs__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .6fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.doctorate-docs .inner-heading {
  margin-bottom: 34px;
}

.docs-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.docs-group__title {
  margin: 0 0 4px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.docs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
}

.docs-list li:first-child {
  border-top: 1px solid var(--line);
}

.docs-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green-700);
}

.docs-list__note {
  color: var(--green-700);
  font-size: 14px;
}

.docs-footnote {
  margin: 20px 0 0;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.7;
}

.docs-footnote a {
  color: var(--green-700);
  text-decoration: underline;
}

.docs-footnote + .docs-footnote {
  margin-top: 8px;
}

.docs-aside {
  position: sticky;
  top: 126px;
  padding: 36px 34px 34px;
  border-top: 4px solid var(--gold);
  background: var(--green-950);
  color: var(--white);
}

.docs-aside h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.docs-aside p {
  margin: 16px 0 0;
  color: var(--text-on-dark-soft);
  font-size: 15px;
  line-height: 1.8;
}

.docs-aside__links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.docs-aside__links--secondary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--white-a14);
}

@media (max-width: 1100px) {
  .metric-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-layout {
    grid-template-columns: 1fr;
  }

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

  .step-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .step-item:nth-child(n+3)::before {
    top: -1px;
  }

  .doctorate-docs__layout {
    grid-template-columns: 1fr;
  }

  .docs-aside {
    position: static;
  }

  :root {
    --shell: min(100% - 40px, 960px);
  }

  .appeal-layout {
    grid-template-columns: 1fr;
  }

  .appeal-aside {
    position: static;
  }

  .staff-card {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .staff-card img {
    min-height: 192px;
  }

  .branch-profile {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-page-grid {
    grid-template-columns: 1fr;
  }

  .latest-news {
    position: static;
  }

  .scientist-profile-layout {
    grid-template-columns: 1fr;
  }

  .scientist-profile-side,
  .other-scientists {
    position: static;
  }

  .publication-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .publication-search {
    width: 100%;
  }

  .normative-layout {
    grid-template-columns: 1fr;
  }

  .legal-categories {
    position: static;
  }

  .legal-categories nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-categories nav a:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .legal-categories__note {
    grid-template-columns: 22px 1fr;
  }

  .header__tools .external-link {
    display: none;
  }

  html {
    scroll-padding-top: 52px;
  }

  .nav__inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-mobile-highlight {
    order: 3;
    min-height: 42px;
    margin-left: auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--button-ink);
    border-radius: 4px;
    background: var(--gold);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-mobile-highlight:hover {
    background: var(--gold-hover);
  }

  .nav-mobile-uzzamin {
    order: 2;
    min-height: 52px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-on-dark);
    border-left: 1px solid var(--white-a12);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  .nav-mobile-uzzamin:hover {
    color: var(--gold-light);
  }

  .nav-mobile-uzzamin .icon {
    width: 13px;
    height: 13px;
  }

  .nav-button {
    order: 1;
    min-height: 52px;
    margin: 0;
    padding: 0 22px 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 90;
    max-height: calc(100vh - 170px);
    min-height: 0;
    padding: 8px 18px 18px;
    display: none;
    overflow-y: auto;
    flex-direction: column;
    background: var(--green-950);
    box-shadow: 0 18px 28px var(--black-a24);
  }

  .nav-item {
    width: 100%;
    display: block;
  }

  .nav-item>summary,
  .nav-links>.nav-direct {
    width: 100%;
    min-height: 50px;
    padding: 0 2px;
    justify-content: space-between;
    border-bottom: 1px solid var(--white-a08);
    font-size: 15px;
  }

  .nav-links>.nav-direct:last-child {
    border-bottom: 0 !important;
  }

  .nav-item>summary::after,
  .nav-links>.nav-direct::after {
    display: none;
  }

  .nav-item>.nav-dropdown,
  .nav-item:not([open])>.nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0;
    display: none;
    border-top: 0;
    background: var(--green-900);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item[open]>.nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    min-height: 46px;
    padding: 11px 18px;
    font-size: 14px;
  }

  .nav-links>.nav-highlight {
    display: none;
  }

  .nav-toggle:checked~.nav-links {
    display: flex;
  }

  .hero {
    min-height: min(650px, 75svh);
  }

  .hero__grid {
    grid-template-columns: 1.12fr .88fr;
    gap: 20px;
  }

  .hero__orbit--two {
    width: 430px;
    height: 430px;
  }

  .hero__orbit--one {
    width: 360px;
    height: 360px;
  }

  .hero__tag {
    display: none;
  }

  .about__grid {
    gap: 60px;
  }

  .quote-card {
    grid-template-columns: 140px 1fr;
    column-gap: 36px;
  }

  .quote-card p {
    display: none;
  }

  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches__grid {
    grid-template-columns: 1fr;
  }

  .branches__map {
    min-height: 520px;
  }

  .branches__content {
    padding: 80px max(30px, calc((100vw - 960px) / 2));
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-card,
  .news-card--large {
    grid-row: auto;
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }

  .news-card__image,
  .news-card--large .news-card__image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .resources__grid {
    gap: 60px;
  }

  .footer-map__grid {
    gap: 45px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .metric-grid,
  .program-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .program-card {
    padding: 28px 22px 26px;
  }

  .step-item {
    border-top: 1px solid var(--line);
  }

  .step-item:first-child {
    border-top: 0;
  }

  .chart-card {
    padding: 28px 20px 26px;
  }

  .chart-plot {
    min-height: 220px;
    gap: 10px;
  }

  .chart-label {
    font-size: 12px;
  }

  .docs-aside {
    padding: 28px 22px 26px;
  }

  :root {
    --shell: calc(100% - 32px);
  }

  .page-hero {
    padding-block: 48px 58px;
  }

  .page-hero::after {
    top: -120px;
    right: -250px;
  }

  .breadcrumbs {
    margin-bottom: 38px;
    font-size: 12px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .page-hero h1+p {
    margin-top: 20px;
    font-size: 17px;
  }

  .news-toolbar {
    margin-bottom: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .news-filters {
    gap: 7px;
  }

  .news-filters button {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-card__body {
    min-height: 220px;
    padding: 22px 21px;
  }

  .archive-card h2 {
    font-size: 20px;
  }

  /* Katta kartochka ham oddiy ustun ko'rinishida */
  .archive-card--featured {
    flex-direction: column;
  }

  .archive-card--featured .archive-card__image {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .archive-card--featured .archive-card__body {
    padding: 22px 21px;
  }

  .archive-card--featured h2 {
    font-size: 22px;
  }

  .article-hero {
    padding-block: 46px 58px;
  }

  .article-hero .breadcrumbs {
    margin-bottom: 34px;
  }

  .article-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .article-hero--news h1 {
    font-size: 25px;
    line-height: 1.28;
  }

  .article-section {
    padding-block: 52px 70px;
  }

  .news-article__content {
    padding: 30px 23px 36px;
  }

  .news-article__content p {
    font-size: 16px;
  }

  .news-article__content>p:first-child,
  .news-article__content .news-article__lead {
    font-size: 19px;
  }

  .news-article__content blockquote {
    margin-top: 30px;
    padding: 22px 20px;
    font-size: 17px;
  }

  .article-footer-row {
    padding: 20px 23px;
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-news {
    padding: 22px 20px;
  }

  .gallery-toolbar {
    margin-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-toolbar strong {
    font-size: 24px;
  }

  .photo-grid {
    gap: 14px;
  }

  .photo-set,
  .photo-set:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-set:nth-child(even) .photo-item--cover,
  .photo-set:nth-child(even) .photo-stack {
    order: 0;
  }

  .photo-stack {
    gap: 14px;
  }

  .photo-item--cover strong,
  .photo-item strong {
    font-size: 18px;
  }

  .scientist-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .publication-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .publication-kinds {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .publication-toolbar {
    padding: 10px;
  }

  .publication-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .publication-filters :is(button, a) {
    flex: 0 0 auto;
  }

  .publication-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 172px;
    padding: 8px;
  }

  .publication-card>div {
    padding: 18px 48px 16px 10px;
  }

  .publication-card h2 {
    font-size: 15px;
  }

  .publication-card small {
    margin-top: 11px;
    font-size: 11px;
  }

  .normative-layout {
    gap: 24px;
  }

  .legal-categories>.eyebrow {
    padding: 23px 20px 6px;
  }

  .legal-categories>h2 {
    padding: 0 20px 20px;
    font-size: 22px;
  }

  .legal-categories nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .legal-categories nav a,
  .legal-categories nav a:nth-child(odd) {
    width: 220px;
    min-width: 220px;
    border-right: 1px solid var(--line);
  }

  .legal-categories__note {
    display: none;
  }

  .normative-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .normative-heading h2 {
    font-size: 36px;
  }

  .normative-toolbar {
    grid-template-columns: 1fr;
  }

  .normative-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 0;
  }

  .normative-card>time {
    padding: 23px 8px;
  }

  .normative-card>time strong {
    font-size: 27px;
  }

  .normative-card>div {
    padding: 22px 18px 20px;
  }

  .normative-card h3 {
    font-size: 17px;
  }

  .normative-card p {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  .scientist-card {
    grid-template-columns: 106px minmax(0, 1fr);
    min-height: 225px;
    padding: 8px;
  }

  .scientist-card>img {
    min-height: 209px;
  }

  .scientist-card>div {
    padding: 15px 10px 14px 8px;
  }

  .scientist-card p {
    font-size: 9px;
  }

  .scientist-card h2 {
    font-size: 18px;
  }

  .scientist-card em {
    font-size: 11px;
  }

  .scientist-profile__intro {
    grid-template-columns: 1fr;
  }

  .scientist-profile__intro>img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .scientist-profile__intro>div {
    padding: 26px 20px 30px;
  }

  .scientist-profile__intro h2 {
    font-size: 27px;
  }

  .dissertation-card {
    padding: 27px 22px;
  }

  .dissertation-card h2 {
    font-size: 24px;
  }

  .research-block {
    padding: 42px 22px 34px;
  }

  .research-block .inner-heading h2 {
    font-size: 29px;
  }

  /* Mobilda: yillar bitta qatorda, matn ostida — chiziq chap chekkada */
  .timeline__item {
    --rail: 5px;
    grid-template-columns: 1fr;
    gap: 9px;
    padding-left: 26px;
    padding-block: 2px 24px;
  }

  .timeline__period {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }

  .timeline__year {
    font-size: 16px;
  }

  .timeline__year--end {
    font-size: 14px;
  }

  .timeline__rule {
    width: 12px;
  }

  .timeline__role {
    font-size: 15px;
  }

  .profile-back {
    padding: 20px 22px;
  }

  .photo-item>span {
    padding: 48px 18px 17px;
  }

  .lightbox figcaption {
    padding: 56px 16px 18px;
    font-size: 15px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }

  .lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .lightbox__nav--prev {
    left: 12px;
  }

  .lightbox__nav--next {
    right: 12px;
  }

  .inner-section {
    padding-block: 68px;
  }

  .article-layout,
  .leadership-grid,
  .staff-grid,
  .branch-profile,
  .branch-duties,
  .branch-contact-band__grid {
    grid-template-columns: 1fr;
  }

  .person-card--lead {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .person-card--lead .person-card__photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .person-card--lead .person-card__body {
    padding: 27px 24px 30px;
  }

  .person-card--lead h2 {
    font-size: 31px;
  }

  .person-card--lead .person-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-layout {
    gap: 40px;
  }

  .article-fact {
    position: static;
    padding: 26px;
  }

  .prose h2,
  .inner-heading h2 {
    font-size: 32px;
  }

  .prose p,
  .inner-heading>p:last-child {
    font-size: 16px;
  }

  .task-list {
    grid-template-columns: 1fr;
  }

  .task-list li {
    min-height: 0;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .task-list p {
    font-size: 16px;
  }

  .person-card__body {
    display: flex;
    padding: 22px 18px;
    flex-direction: column;
  }

  .person-card:not(.person-card--lead) {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 260px;
  }

  .person-card:not(.person-card--lead) .person-card__photo {
    min-height: 260px;
  }

  .person-card__degree {
    min-height: 0;
  }

  .person-card:not(.person-card--lead) h2 {
    font-size: 21px;
  }

  .person-card:not(.person-card--lead) .person-card__role {
    font-size: 10px;
  }

  .person-card:not(.person-card--lead) .person-card__degree {
    margin-top: 7px;
    font-size: 13px;
  }

  .person-meta {
    width: 100%;
    margin-top: 14px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .person-card--lead .person-meta {
    margin-top: 0;
  }

  .person-meta dt,
  .person-meta dd {
    font-size: 12px;
  }

  .person-meta>div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .staff-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 185px;
  }

  .staff-card img {
    min-height: 185px;
  }

  .staff-card>div {
    padding: 24px 45px 22px 18px;
  }

  .staff-card p {
    font-size: 10px;
  }

  .staff-card h2 {
    font-size: 18px;
  }

  .branch-profile__image {
    min-height: 280px;
  }

  .branch-director {
    padding: 30px 26px;
  }

  .branch-director>img {
    margin-bottom: 0;
  }

  .branch-contact-band {
    padding-block: 30px;
  }

  .branch-contact-band__grid {
    gap: 22px;
  }

  .branch-duties {
    gap: 36px;
  }

  .branch-duties__info>p {
    font-size: 18px;
  }

  .branch-map__canvas {
    height: 240px;
  }

  .region-chips {
    grid-template-columns: 1fr;
  }

  .notice__inner {
    min-height: 44px;
    justify-content: space-between;
    gap: 8px;
  }

  .notice__inner>span {
    display: none;
  }

  .notice__phone {
    flex: 0 0 auto;
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
  }

  .notice__phone-label {
    display: none;
  }

  .notice__mobile-tools {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  .notice__mobile-tools .notice__social {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--gold-light);
    border: 1px solid var(--white-a18);
    border-radius: 50%;
  }

  .notice__mobile-tools .notice__social .icon {
    width: 13px;
    height: 13px;
  }

  .notice__mobile-tools .notice__social:hover {
    color: var(--green-950);
    border-color: var(--gold);
    background: var(--gold);
  }

  .notice__uzzamin {
    min-height: 26px;
    margin-left: 3px;
    padding-left: 7px;
    color: var(--gold-light);
    border-left: 1px solid var(--white-a18);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  .header__inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .logo-svg--header {
    width: 46px;
    height: 46px;
  }

  .brand__copy {
    gap: 5px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 10px;
    line-height: 1.35;
  }

  .header__tools .socials {
    display: none;
  }

  .header__tools {
    gap: 0;
  }

  .language {
    padding-left: 0;
    border-left: 0;
  }

  .language>summary {
    padding: 6px 0 6px 10px;
  }

  .nav-mobile-highlight {
    min-height: 40px;
    padding-inline: 11px;
    gap: 6px;
    font-size: 14px;
  }

  .nav-button {
    padding: 0 16px 0 0;
    font-size: 14px;
  }

  .nav-mobile-uzzamin {
    padding: 0 16px;
    font-size: 12px;
    letter-spacing: .04em;
  }

  .nav-mobile-uzzamin .icon {
    width: 11px;
    height: 11px;
    display: block;
    flex: 0 0 11px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 65px 80px;
  }

  .hero__content {
    position: relative;
    z-index: 4;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .stats {
    margin-top: 45px;
  }

  .stats div {
    padding-right: 10px;
  }

  .stats div+div {
    padding-left: 12px;
  }

  .stats dt {
    font-size: 27px;
  }

  .stats dd {
    font-size: 10px;
    line-height: 1.35;
  }

  .hero__visual {
    --hero-size: 100%;

    position: absolute;
    right: -120px;
    bottom: -125px;
    width: 420px;
    min-height: 420px;
    opacity: .19;
  }

  .hero__orbit--one {
    width: 360px;
    height: 360px;
  }

  .hero__orbit--two {
    width: 420px;
    height: 420px;
  }

  .scroll-hint {
    display: none;
  }

  .section {
    padding-block: 78px;
  }

  .branches {
    padding-block: 0;
  }

  .section-title {
    font-size: clamp(39px, 11vw, 50px);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__copy {
    padding-top: 0;
  }

  .quote-card {
    margin-top: 52px;
    padding: 30px 26px 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-card__number {
    padding: 0 0;
    border-right: 0;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

  .quote-card__number strong {
    font-size: 64px;
    position: sticky;
    text-align: center;
    display: contents;
  }

  .quote-card__number span {
    position: sticky;
    display: contents;
  }

  .quote-card blockquote {
    font-size: 22px;
    line-height: 1.45;
    text-align: center;
  }

  .section-head,
  .media-strip__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 330px;
  }

  .branches__map {
    min-height: 360px;
    padding: 60px 16px 24px;
  }

  .map-label {
    top: 20px;
    left: 20px;
  }

  .branches__content {
    padding: 70px 20px 80px;
  }

  .branch-detail__contacts {
    grid-template-columns: 1fr;
  }

  .branch-detail__contacts p {
    grid-column: auto;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card,
  .news-card--large {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }

  .news-card--large .news-card__image,
  .news-card__image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-card--large h3,
  .news-card h3 {
    font-size: 22px;
  }

  .news-card__body,
  .news-card--large .news-card__body {
    padding: 24px;
  }

  .media-strip {
    padding-block: 75px;
  }

  .gallery-row {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .gallery-row figure {
    aspect-ratio: 1.4;
  }

  .resources__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .resource-links a {
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
  }

  .resource-links strong {
    font-size: 18px;
  }

  .footer-map {
    padding-block: 58px;
  }

  .footer-map__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-map__brand {
    align-items: flex-start;
  }

  .logo-svg--footer {
    width: 62px;
    height: 62px;
  }

  .footer-map__brand strong {
    font-size: 24px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }

  .footer-map__frame,
  .footer-map__frame iframe {
    min-height: 380px;
  }

  .footer__bottom-links {
    display: none;
  }

  .footer__bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .appeal-form {
    padding: 26px 20px 24px;
  }

  .appeal-form__grid {
    grid-template-columns: 1fr;
  }

  .appeal-form__heading h2 {
    font-size: 23px;
  }

  .appeal-alert {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 20px;
  }

  .appeal-alert__icon {
    width: 44px;
    height: 44px;
  }

  .upload {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 10px;
  }

  .appeal-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .appeal-form__footer .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}