/* ============================================================
   Базовая организация государств-участников СНГ
   Редизайн в визуальной системе РГУП им. В.М. Лебедева
   Чистый HTML + CSS + JS, без сборки и зависимостей
   ============================================================ */

/* ── Переменные ─────────────────────────────────────────────── */
:root {
  --navy: #062471;
  --navy-deep: #04184f;
  --navy-ink: #0a1a44;
  --purple: #515796;
  --red: #c53f39;
  --red-dark: #a9332e;
  --red-soft: #ff8b86;
  --gold: #c9a227;
  --ink: #10162b;
  --muted: #5f6478;
  --muted-light: #666c80;
  --bg: #f5f5f7;
  --line: #e5e7ef;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
  --shadow-card: 0 18px 48px rgba(6, 36, 113, .09);
  --shadow-deep: 0 30px 80px rgba(4, 17, 50, .28);
  --ease: cubic-bezier(.22, .7, .22, 1);
  --header-h: 88px;
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
}

/* ── Сброс ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.btn, .nav__link, .eyebrow, .brand,
.section-title, .hero__title, .news__all,
.card__more, .news-card__more, .books__author,
.library__subtitle, .org__title, .mobile-menu__link { font-family: var(--font-head); }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ar, .ci {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .35s var(--ease);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  transition: top .25s;
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff8b86);
  transition: width .1s linear;
}

/* ── Служебная полоса ───────────────────────────────────────── */
.topbar {
  background: var(--purple);
  color: #fff;
  font-size: 12.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__nav > a {
  color: rgba(255, 255, 255, .82);
  transition: color .2s;
  white-space: nowrap;
}
.topbar__nav > a:hover { color: #fff; }
.topbar__phone { font-weight: 500; }
.topbar__uni {
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .92);
  transition: color .2s;
}
.topbar__uni:hover { color: #fff; }
.topbar__cabinet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  font-weight: 500;
  color: #fff !important;
}
.topbar__cabinet .ar { width: 15px; height: 15px; }
.topbar__cabinet:hover .ar { transform: translateX(3px); }

/* ── Шапка ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(6, 36, 113, .08);
  transition: box-shadow .3s, background .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 10px 30px rgba(6, 36, 113, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand__emblem {
  width: 44px;
  height: 45px;
  flex: 0 0 auto;
  transition: transform .4s var(--ease);
}
.brand:hover .brand__emblem { transform: rotate(-4deg) scale(1.03); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .015em;
  color: var(--navy);
  text-transform: uppercase;
}
.brand__sub {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
}
.brand__sep {
  width: 1px;
  height: 32px;
  background: var(--line);
  margin: 0 2px;
}
.brand__uni {
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--purple);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--navy); }
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__cabinet .ar { width: 16px; height: 16px; }
.header__cabinet:hover .ar { transform: translateX(3px); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s, opacity .2s, top .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ── Мобильное меню ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 24px 32px;
  background: #fff;
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform .5s var(--ease), visibility .5s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { visibility: visible; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
}
.mobile-menu__link .ar { color: var(--red); }
.mobile-menu__link:active .ar { transform: translateX(4px); }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 32px;
}
.mobile-menu__phone {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}
.mobile-menu__meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.mobile-menu__meta a { text-decoration: underline; text-underline-offset: 3px; }

body.is-locked { overflow: hidden; }

/* ── Кнопки ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn--sm { padding: 11px 17px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { padding: 17px 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(210, 74, 68, .26);
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(6, 36, 113, .22);
}
.btn--outline {
  border-color: rgba(6, 36, 113, .18);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn:hover .ar { transform: translateX(4px); }

/* ── Герой ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(640px, calc(100vh - 132px), 880px);
  min-height: clamp(640px, calc(100svh - 132px), 880px);
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroZoom 20s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 17, 50, .76) 0%, rgba(4, 17, 50, .42) 36%, rgba(4, 17, 50, .78) 76%, rgba(4, 17, 50, .94) 100%),
    radial-gradient(90% 60% at 50% 0%, rgba(81, 87, 150, .4), transparent 62%),
    linear-gradient(90deg, rgba(6, 36, 113, .35), transparent 40%, transparent 60%, rgba(6, 36, 113, .35));
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding-top: 30px;
}
.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.hero__content {
  max-width: 1140px;
  margin: auto;
  padding: clamp(24px, 3vw, 40px) 0;
  text-align: center;
}
.hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 28px;
}
.hero__logos img:first-child { width: 96px; height: 96px; }
.hero__logos img:last-child { width: 120px; height: 120px; }
.hero__logos-sep {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, .34);
}
.hero__institution {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  text-wrap: balance;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title span {
  display: block;
  color: #fff;
}
@media (min-width: 1100px) {
  .hero__title span { white-space: nowrap; }
}
.hero__subtitle {
  max-width: 900px;
  margin: 14px auto 0;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.hero__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__bottom a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 6px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: background .25s, color .25s;
}
.hero__bottom a span {
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
  transition: color .25s;
}
.hero__bottom a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.hero__bottom a:hover span { color: var(--red); }
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0 22px 26px;
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: -100% 0 0;
  background: var(--red);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

/* ── Секции, заголовки ──────────────────────────────────────── */
section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.section { padding: clamp(72px, 8.5vw, 120px) 0; }
.section--light { background: var(--bg); }
.section--navy {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(81, 87, 150, .55), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(210, 74, 68, .14), transparent 65%);
  pointer-events: none;
}
.section--navy::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 70%);
  pointer-events: none;
}
.section--navy > .container { position: relative; z-index: 2; }

.section-head { margin-bottom: clamp(34px, 4vw, 56px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--red);
}
.eyebrow__num { color: var(--red); }
.eyebrow--light .eyebrow__num { color: var(--red-soft); }
.eyebrow--light { color: rgba(255, 255, 255, .62); }
.eyebrow--light::before { background: var(--red); }

.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 28px;
  margin-top: 16px;
}
.section-head__row > .btn { justify-self: end; }
.section-head__row .section-title { max-width: none; }
.section-title {
  max-width: 760px;
  font-size: clamp(30px, 3.35vw, 48px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.022em;
  color: var(--navy);
  text-wrap: balance;
}
.section-title--light { color: #fff; }
.section-lead {
  max-width: 430px;
  padding-bottom: 5px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.section-lead--wide {
  max-width: 620px;
  margin-top: 14px;
}
.section--light .section-lead { color: var(--muted); }

/* ── Вступительное слово ────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}
.about__media-wrap { position: relative; padding-left: 18px; }
.about__media-wrap::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 0;
  width: 3px;
  height: 108px;
  background: var(--red);
}
.about__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 3.55;
  background: #e9ebf2;
  box-shadow: var(--shadow-deep);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.about__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 17, 50, .78) 100%);
}
.about__caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
}
.about__caption span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.about__caption small {
  font-size: 12px;
  color: rgba(255, 255, 255, .66);
}
.about__body { padding-top: 4px; }
.about__greeting {
  margin-bottom: 24px;
  font-size: clamp(24px, 2.4vw, 33px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--navy);
}
.about__body p {
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #3e4458;
  text-wrap: pretty;
}
.about__body .about__lead {
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
}
.about__sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__sign-line {
  width: 3px;
  height: 42px;
  background: var(--red);
  flex: 0 0 auto;
}
.about__sign p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.about__sign strong {
  font-size: 14px;
  color: var(--navy);
  letter-spacing: .02em;
}

/* ── Карточки участников ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cards .card__media { aspect-ratio: 16 / 9; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(6, 36, 113, .07);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 36, 113, .12);
  box-shadow: var(--shadow-card);
}
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8eaf1;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__index {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 28px;
}
.card__title {
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -.015em;
  color: var(--navy);
}
.card__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.66;
  color: var(--muted);
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.card:hover .card__more .ar { transform: translateX(5px); }

/* ── Обучение ───────────────────────────────────────────────── */
.education__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}
.education__media { position: relative; isolation: isolate; }
.education__media::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -11%;
  left: -13%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}
.education__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 5 / 4;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .34);
}
.education__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.education__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  right: -14px;
  bottom: -20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 192px;
  padding: 17px 20px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease);
}
.education__chip:hover { transform: translateY(-3px); }
.education__chip-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.education__chip strong { font-size: 17px; font-weight: 600; }
.education__chip-cta {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
}
.education__text {
  max-width: 520px;
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}
.education__text a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: border-color .2s;
}
.education__text a:hover { border-color: var(--red); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chips li {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .85);
}
.education__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Поддержка ──────────────────────────────────────────────── */
.support__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.support__text {
  max-width: 540px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: #3e4458;
}
.url-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.url-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 36, 113, .2);
  box-shadow: var(--shadow-card);
}
.url-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(210, 74, 68, .1);
  color: var(--red);
}
.url-card__icon svg { width: 20px; height: 20px; }
.url-card__text { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.url-card__text small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.url-card__text strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.url-card .ar { color: var(--red); }
.url-card:hover .ar { transform: translateX(4px); }
.support__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 4.55;
  background: #e9ebf2;
  box-shadow: var(--shadow-deep);
}
.support__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.support__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4, 17, 50, .55) 100%);
}
.support__badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  background: rgba(6, 36, 113, .66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.support__badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.support__badge small { font-size: 11px; color: rgba(255, 255, 255, .6); }

/* ── Библиотека ─────────────────────────────────────────────── */
.library__grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}
.library__aside { position: sticky; top: 108px; }
.library__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 3 / 4.05;
  padding: 32px 28px 30px;
  border-radius: 6px 20px 20px 6px;
  background: linear-gradient(155deg, #0b2f80 0%, #062471 52%, #04184f 100%);
  color: #fff;
  box-shadow: 0 32px 70px rgba(6, 36, 113, .3);
}
.library__cover::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  pointer-events: none;
}
.library__cover::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -40%;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 74, 68, .38), transparent 64%);
}
.library__cover-kicker {
  position: relative;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.library__cover-title {
  position: relative;
  z-index: 2;
  margin: auto 0;
  font-size: clamp(27px, 2.35vw, 35px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.library__cover-rule {
  position: relative;
  z-index: 2;
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--red);
}
.library__cover-year {
  position: relative;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.library__cover-emblem {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  opacity: .22;
}
.library__lead {
  margin-bottom: 14px;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink);
}
.library__content > p:not(.library__lead):not(.library__note) {
  font-size: 15px;
  line-height: 1.7;
  color: #3e4458;
}
.library__subtitle {
  margin: 30px 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
}
.books { border-top: 1px solid rgba(6, 36, 113, .12); }
.books li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(6, 36, 113, .12);
}
.books__num {
  padding-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
}
.books__author {
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
}
.books__title {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.library__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 26px;
}
.library__facts dt {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.library__facts dd {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.library__note {
  padding-left: 16px;
  border-left: 2px solid rgba(6, 36, 113, .18);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.library__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(6, 36, 113, .1);
  border-radius: 14px;
  background: #fff;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(210, 74, 68, .45);
  box-shadow: 0 16px 34px rgba(6, 36, 113, .08);
}
.link-card span span { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.link-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted-light);
}
.link-card .ar { color: var(--red); }
.link-card:hover .ar { transform: translateX(4px); }

/* ── Новости ────────────────────────────────────────────────── */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(6, 36, 113, .08);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 36, 113, .14);
  box-shadow: var(--shadow-card);
}
.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eaf1;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.045); }
.news-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}
.news-card time {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--muted-light);
}
.news-card h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .25s;
}
.news-card:hover h3 { color: var(--red); }
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.news-card:hover .news-card__more .ar { transform: translateX(5px); }

/* ── Контакты ───────────────────────────────────────────────── */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.person {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(6, 36, 113, .07);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.person:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 36, 113, .14);
  box-shadow: var(--shadow-card);
}
.person__avatar {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 50%;
  background: #e9ecf5;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__avatar--initials {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .05em;
}
.person__info { min-width: 0; }
.person h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--navy);
}
.person__role {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
}
.person__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 13px;
}
.person__contacts a {
  color: var(--red);
  transition: color .2s;
}
.person__contacts a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }

.contact-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.contact-strip__item span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.contact-strip__item .ci {
  width: 15px;
  height: 15px;
  color: var(--red);
}
.contact-strip__item p,
.contact-strip__item a {
  display: block;
  margin-top: 9px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #fff;
}
.contact-strip__item a:hover { color: #ffd8d5; }

/* ── Подписка ───────────────────────────────────────────────── */
.subscribe {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.subscribe__bg { position: absolute; inset: 0; }
.subscribe__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.subscribe::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 50, .96) 0%, rgba(4, 17, 50, .86) 48%, rgba(4, 17, 50, .72) 100%),
    radial-gradient(80% 100% at 90% 10%, rgba(81, 87, 150, .45), transparent 60%);
}
.subscribe__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 74px);
  align-items: center;
  padding-top: clamp(64px, 7.5vw, 104px);
  padding-bottom: clamp(64px, 7.5vw, 104px);
}
.subscribe__text h2 {
  max-width: 560px;
  margin-top: 16px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
}
.subscribe__text > p {
  max-width: 590px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .76);
}
.subscribe__phone {
  font-size: 14px !important;
  color: rgba(255, 255, 255, .6) !important;
}
.subscribe__phone a {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.subscribe__form {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 32px 70px rgba(0, 0, 0, .28);
}
.subscribe__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--navy);
}
.field { display: flex; gap: 9px; }
.field input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfbfd;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #a4a8b8; }
.field input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 36, 113, .1);
}
.field .btn { height: 52px; flex: 0 0 auto; }
.subscribe__note {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted-light);
}
.subscribe__note a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.subscribe__status {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--red);
  min-height: 0;
}
.subscribe__status.is-ok { color: #1f7a4d; }

/* ── Подвал ─────────────────────────────────────────────────── */
.footer__red { background: var(--red); color: #fff; }
.footer__red-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
}
.footer__red-item span {
  display: block;
  margin-bottom: 3px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.footer__red-item a {
  font-size: 15.5px;
  font-weight: 500;
  color: #fff;
}
.footer__red-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__red-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}
.footer__red-btn .ar { width: 16px; height: 16px; }
.footer__red-btn:hover { background: #fff; border-color: #fff; color: var(--red); }
.footer__red-btn:hover .ar { transform: translateX(3px); }

.footer__main {
  padding: 60px 0 48px;
  background: var(--navy);
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
}
.footer__logos a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  transition: color .2s;
}
.footer__logos a:hover { color: #fff; }
.footer__logos img { width: 42px; height: 42px; object-fit: contain; }
.footer__brand > p {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .58);
}
.footer__col h4 {
  margin-bottom: 15px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.footer__col a:hover { color: #fff; }
.footer__contacts p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
}
.footer__contacts p a { color: #fff; font-size: 14px; }
.footer__contacts p a:hover { color: #ffd8d5; }

.footer__bottom {
  padding: 15px 0;
  background: var(--purple);
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer__bottom a { color: rgba(255, 255, 255, .85); }
.footer__bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── Наверх ─────────────────────────────────────────────────── */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(6, 36, 113, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top svg { width: 19px; height: 19px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--red); }

/* ── Появление при скролле (надёжно: контент никогда не остаётся скрытым) ── */
.reveal {
  opacity: 1;
  translate: none;
  transition:
    opacity .6s var(--ease),
    translate .6s var(--ease),
    transform .4s var(--ease),
    box-shadow .4s var(--ease),
    border-color .3s,
    color .3s,
    background-color .3s;
}
.js-anim-ready .reveal:not(.is-in) {
  opacity: 0;
  translate: 0 24px;
}
.js-anim-ready .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .brand__uni, .brand__sep { display: none; }
  .nav { gap: 16px; }
  .nav__link { font-size: 13.5px; }
  .header__inner { gap: 20px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .nav, .header__cabinet { display: none; }
  .burger { display: block; }
  .header__inner { justify-content: space-between; }
  .header__actions { margin-left: auto; }
  .hero { min-height: clamp(620px, 88svh, 820px); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media-wrap { max-width: 620px; }
  .education__grid { grid-template-columns: 1fr; gap: 56px; }
  .education__media { max-width: 620px; }
  .support__grid { grid-template-columns: 1fr; gap: 48px; }
  .support__media { max-width: 560px; aspect-ratio: 4 / 4; }
  .library__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
  .library__facts { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer__contacts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
  .footer__contacts h4 { width: 100%; margin-bottom: 2px; }
}

@media (max-width: 900px) {
  .topbar__org { display: none; }
  .topbar__nav { width: 100%; justify-content: space-between; gap: 14px; }
  .topbar__nav > a:nth-child(1),
  .topbar__nav > a:nth-child(2) { display: none; }
  .topbar__cabinet { margin-left: auto; }

  .section-head__row { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .section-head__row > .btn { justify-self: start; }
  .section-lead { max-width: 620px; }

  .library__grid { grid-template-columns: 1fr; gap: 34px; }
  .library__aside { position: static; width: 100%; max-width: 320px; margin: 0 auto; }

  .cards { grid-template-columns: 1fr 1fr; }

  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__grid .news-card:last-child { grid-column: 1 / -1; }
  .news__grid .news-card:last-child { display: grid; grid-template-columns: .9fr 1.1fr; }
  .news__grid .news-card:last-child .news-card__media { aspect-ratio: auto; height: 100%; }

  .people { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-strip__item:first-child { grid-column: 1 / -1; }

  .subscribe__inner { grid-template-columns: 1fr; gap: 36px; }
  .subscribe__text h2 { max-width: 640px; }
  .subscribe__form { max-width: 560px; }

  .footer__red-inner { grid-template-columns: 1fr 1fr; }
  .footer__red-btn { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contacts { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero__top-place { display: none; }
  .hero__bottom { grid-template-columns: repeat(3, 1fr); }
  .hero__bottom a { justify-content: center; gap: 9px; padding: 18px 4px; font-size: 10.5px; }
  .hero__scroll { display: none; }
  .hero__title { font-size: clamp(30px, 7.4vw, 44px); }
  .hero__institution { font-size: 9.5px; letter-spacing: .08em; }
  .hero__institution br { display: none; }
  .hero__logos img:first-child { width: 48px; height: 48px; }
  .hero__logos img:last-child { width: 60px; height: 60px; }
  .hero__content { padding: 46px 0; }
  .hero__actions .btn { flex: 1 1 auto; }

  .section-head__row { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .section-head__row > .btn { justify-self: start; }
  .section-lead { max-width: 100%; }
  .section-title { font-size: clamp(27px, 6.5vw, 36px); }

  .cards { grid-template-columns: 1fr; }

  .news__grid { grid-template-columns: 1fr; }
  .news__grid .news-card:last-child { grid-column: auto; display: flex; }
  .news__grid .news-card:last-child .news-card__media { aspect-ratio: 16 / 10; height: auto; }
  .news-card h3 { font-size: 14.5px; }

  .library__grid { grid-template-columns: 1fr; gap: 34px; }
  .library__aside { position: static; width: 100%; max-width: 340px; }
  .library__links { grid-template-columns: 1fr; }

  .contact-strip { grid-template-columns: 1fr; padding: 24px; }
  .contact-strip__item:first-child { grid-column: auto; }

  .footer__red-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .footer__red-btn { justify-self: stretch; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contacts { display: block; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .topbar { font-size: 11.5px; }
  .topbar__nav { gap: 10px; }
  .topbar__phone { font-size: 11.5px; }
  .topbar__cabinet { padding-left: 12px; gap: 5px; }
  .brand__emblem { width: 38px; height: 38px; }
  .brand__name { font-size: 12px; letter-spacing: .01em; }
  .brand__sub { font-size: 10px; }
  .header__inner { height: 68px; }

  .hero { min-height: 640px; }
  .hero__title { font-size: clamp(18px, 5.15vw, 22px); letter-spacing: -.02em; text-wrap: wrap; }
  .hero__subtitle { font-size: 14px; }
  .hero__logos { gap: 16px; margin-bottom: 20px; }
  .hero__logos-sep { height: 36px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__bottom a { flex-direction: column; gap: 5px; padding: 14px 2px; font-size: 9.5px; letter-spacing: .07em; }
  .hero__top { font-size: 9px; letter-spacing: .12em; }

  .about__media { aspect-ratio: 4 / 3.3; border-radius: 18px; }
  .about__greeting { font-size: 23px; }
  .about__body .about__lead { font-size: 16px; }
  .about__body p { font-size: 14.5px; }

  .education__chip { right: 8px; bottom: -14px; min-width: 168px; padding: 14px 16px; }
  .education__chip strong { font-size: 15px; }
  .education__text { font-size: 15px; }
  .chips li { padding: 8px 13px; font-size: 11.5px; }
  .education__actions { flex-direction: column; }
  .education__actions .btn { width: 100%; }

  .support__media { aspect-ratio: 4 / 4.4; }
  .support__badge { flex-direction: column; align-items: flex-start; gap: 2px; }

  .library__cover { aspect-ratio: 3 / 3.8; padding: 26px 22px; }
  .books li { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .person { flex-direction: column; gap: 16px; padding: 22px; }
  .person__avatar { width: 68px; height: 68px; flex-basis: 68px; }

  .subscribe__form { padding: 18px; }
  .field { flex-direction: column; }
  .field .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand, .footer__contacts { grid-column: auto; }
  .footer__logos { gap: 18px; }
  .footer__logos a { font-size: 8px; }
  .footer__logos img { width: 36px; height: 36px; }
}

/* ── Уменьшение движения ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; translate: none !important; }
  .hero__media img { animation: none; }
}

/* ── Печать ─────────────────────────────────────────────────── */
@media print {
  .topbar, .header, .mobile-menu, .hero__bottom, .to-top, .scroll-progress, .subscribe { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: #fff; }
  .hero__media, .hero__shade { display: none; }
  .hero__title, .hero__subtitle, .hero__institution { color: var(--ink); }
  .hero__content { padding: 30px 0; }
  .section { padding: 28px 0; }
  .reveal { opacity: 1 !important; translate: none !important; }
  a { text-decoration: underline; }
}

/* ── Страница новости ───────────────────────────────────────── */
.article-section { padding-top: clamp(34px, 4vw, 56px); }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--red); }

.article { max-width: 800px; margin: 0 auto; }
.article-section .crumbs { max-width: 800px; margin-left: auto; margin-right: auto; }

.article__head { margin-bottom: 28px; }

.article__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(197, 63, 57, .09);
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article__title {
  margin-top: 16px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--navy);
  text-wrap: balance;
}

.article__date {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted-light);
}

.article__cover {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 18px;
  background: #e9ebf2;
}
.article__cover img { width: 100%; height: auto; max-height: 470px; object-fit: cover; }

.article__body {
  font-size: 16.5px;
  line-height: 1.75;
  color: #343a4e;
}
.article__body p { margin-bottom: 18px; }
.article__body p:last-child { margin-bottom: 0; }

.article__body h2 {
  margin: 34px 0 14px;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--navy);
}
.article__body h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.article__body ul,
.article__body ol { margin: 0 0 20px; padding-left: 22px; }
.article__body ul { list-style: none; }
.article__body ol { list-style: decimal; }
.article__body ul li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 2px;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  top: .68em;
  left: -16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.article__body ol li { margin-bottom: 9px; }

.article__body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
}
.article__body blockquote p { margin: 0; }

.article__body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article__body a:hover { color: var(--red-dark); }

.article__body strong { font-weight: 600; color: var(--ink); }

.article__foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ── Пустое состояние новостей ──────────────────────────────── */
.news__empty {
  padding: 40px 24px;
  border: 1px dashed rgba(6, 36, 113, .18);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.news-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(81, 87, 150, .22), transparent 70%),
    linear-gradient(140deg, #e6e9f4, #f2f4fa);
}

@media (max-width: 760px) {
  .article__body { font-size: 15.5px; line-height: 1.72; }
  .article__cover { margin-bottom: 24px; border-radius: 14px; }
}

/* ── Библиотека: ссылки на издания ──────────────────────────── */
.books__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.books__link:hover {
  color: var(--red);
  border-bottom-color: rgba(197, 63, 57, .4);
}

/* ── Новости: ссылка на все материалы ───────────────────────── */
.news__cta-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 10px 18px;
  border-radius: 10px;
  border-color: rgba(6, 36, 113, .22);
}
.news__cta-head .ar {
  width: 14px;
  height: 14px;
  transition: transform .2s var(--ease);
}
.news__cta-head:hover .ar {
  transform: translate(2px, -2px);
}

.news__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.news__all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(6, 36, 113, .22);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s, border-color .2s;
}
.news__all .ar { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.news__all:hover { color: var(--red); border-bottom-color: var(--red); }
.news__all:hover .ar { transform: translateX(3px); }

/* ── Контакты: организации ──────────────────────────────────── */
.orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.org {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(6, 36, 113, .09);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, translate .3s var(--ease);
}
.org:hover {
  border-color: rgba(6, 36, 113, .16);
  box-shadow: var(--shadow-card);
  translate: 0 -3px;
}

.org__title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: pretty;
}

.org__note {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.org__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  font-size: 14px;
}
.org__contacts a {
  color: var(--red);
  transition: color .2s;
}
.org__contacts a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ── Уважительный акцент: обращение и цитаты — PT Serif ─────── */
.about__greeting,
.article__body blockquote,
.library__lead {
  font-family: var(--font-serif);
}

/* ── Адаптив для новых блоков ───────────────────────────────── */
@media (max-width: 900px) {
  .orgs { grid-template-columns: 1fr; }
  .news__foot { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .hero__logos img:first-child { width: 62px; height: 62px; }
  .hero__logos img:last-child { width: 78px; height: 78px; }
  .hero__logos-sep { height: 48px; }
  .hero__subtitle { font-size: 16px; }
  .org { padding: 22px; }
}
