@charset "UTF-8";
/* Указываем box sizing */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы и маркеры списков с нулевой специфичностью */
:where(ul[class], ol[class]) {
  padding: 0;
  list-style: none;
}

/* Убираем внешние отступы с нулевой специфичностью */
:where(body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd) {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  display: block;
}

/* Автоотступы только для простых текстовых <article> без классов, чтобы не сдвигать карточки */
:where(article:not([class]) > * + *) {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитают их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Запас прокрутки под фиксированную шапку с воздухом под рамку подсветки */
[id] {
  scroll-margin-top: 14rem;
}

@keyframes anchorHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0.32);
    outline: 2px solid #0e63ae;
    outline-offset: 8px;
  }
  45% {
    box-shadow: 0 0 0 10px rgba(14, 99, 174, 0.1);
    outline: 2px solid #0e63ae;
    outline-offset: 8px;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0);
    outline: 2px solid transparent;
    outline-offset: 8px;
  }
}
@keyframes anchorFramePulse {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0.24);
  }
  18% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(14, 99, 174, 0.08);
  }
  70% {
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(14, 99, 174, 0.03);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0);
  }
}
/* Подсветка для отдельных карточек (у которых уже есть padding со всех сторон) */
.is-anchor-highlight {
  border-radius: 2.4rem;
  animation: anchorHighlightPulse 2.2s ease-out;
}

/* Подсветка для секций (.container): равный воздух 1.6rem сверху, снизу и по бокам без сдвига макета */
.container.is-anchor-highlight {
  position: relative;
  animation: none;
  outline: none;
  box-shadow: none;
}
.container.is-anchor-highlight::after {
  content: "";
  position: absolute;
  inset: -1.6rem 0.4rem;
  border: 2px solid rgba(14, 99, 174, 0.85);
  border-radius: 2.8rem;
  background: rgba(14, 99, 174, 0.025);
  pointer-events: none;
  animation: anchorFramePulse 2.2s ease-out forwards;
}

/* Мгновенный плавный возврат иконки + при закрытии анимированного <details> */
details.is-closing .adm-faq__icon,
details.is-closing .rat-item__plus,
details.is-closing .edu-program-row__plus {
  transform: rotate(0deg) !important;
}

.header {
  position: fixed;
  width: 100%;
  top: 1.4rem;
  left: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: top 0.25s ease;
}
.header__container {
  max-width: 144rem !important;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 0 2.6rem !important;
}

.bar-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 7.4rem;
  padding: 1rem 0;
}
.bar-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.bar-header__logo img {
  height: 4.8rem;
  width: auto;
  display: block;
}
.bar-header__search {
  display: flex;
  align-items: center;
}
.bar-header__search a {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: #eef5fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bar-header__search a:hover {
  background: rgba(14, 99, 174, 0.16);
  transform: translateY(-1px);
}
.bar-header__search img {
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.menu__body {
  margin-right: 2rem;
}
.menu__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}
.menu__item {
  position: relative;
  margin-right: 0;
}
.menu__item-row {
  display: flex;
  align-items: center;
}
.menu__link {
  color: #0f172a;
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.menu__link.active {
  color: #0e63ae;
  background: #eef5fc;
  font-weight: 600;
}
.menu__link:hover {
  color: #0e63ae;
  background: rgba(14, 99, 174, 0.07);
}
.menu__caret {
  font-size: 1.1rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.menu__toggle {
  display: none;
}
.menu__dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 24rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(14, 99, 174, 0.15);
  border-radius: 1.8rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}
.menu__dropdown::before {
  content: "";
  position: absolute;
  top: -1.2rem;
  left: 0;
  right: 0;
  height: 1.2rem;
}
.menu__dropdown li {
  margin: 0;
}
.menu__dropdown a {
  display: block;
  padding: 0.95rem 1.3rem;
  border-radius: 1.1rem;
  font-size: 1.42rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.menu__dropdown a:hover {
  background: #eef5fc;
  color: #0e63ae;
}
.menu__item--right .menu__dropdown {
  left: auto;
  right: 0;
}

@media (min-width: 1161px) {
  .menu__item--has-sub:hover .menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu__item--has-sub:hover .menu__caret {
    transform: rotate(180deg);
  }
}
.language-switcher {
  position: relative;
  cursor: pointer;
}
.language-switcher__icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.3rem;
  border-radius: 99rem;
  background: #eef5fc;
  border: 1px solid rgba(14, 99, 174, 0.16);
  transition: background-color 0.2s ease;
}
.language-switcher__icon:hover {
  background: rgba(14, 99, 174, 0.14);
}
.language-switcher__icon img {
  width: 2rem;
  height: 1.8rem;
  border-radius: 2px;
}
.language-switcher span {
  font-size: 1.45rem;
  color: #0e63ae;
  margin: 0;
  font-weight: 600;
  display: inline-block;
}
.language-switcher__menu {
  display: none;
  border-radius: 1.6rem;
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  left: auto;
  min-width: 11rem;
  padding: 0.8rem;
  background-color: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  z-index: 60;
}
.language-switcher__menu._active {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.language-switcher__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  margin: 0;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.language-switcher__item:hover {
  background: #eef5fc;
}
.language-switcher__item span {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 600;
}
.language-switcher__item img {
  width: 2rem;
  height: 1.8rem;
}

.burger-menu {
  display: none;
}

@media (max-width: 1360.98px) {
  .menu__link {
    font-size: 1.42rem;
    padding: 0.8rem 0.95rem;
  }
}
@media (max-width: 1160.98px) {
  [id] {
    scroll-margin-top: 12.4rem;
  }
  .header {
    top: 1rem;
    padding: 0 1.4rem;
  }
  .header__container {
    padding: 0 1.8rem !important;
    border-radius: 1.8rem;
  }
  .menu {
    gap: 0.8rem;
  }
  .menu__body {
    position: absolute;
    top: -600%;
    left: 0;
    width: 100%;
    margin-right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .menu__body._active {
    z-index: 5;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 1.6rem;
    opacity: 1;
    pointer-events: auto;
    background-color: #ffffff;
    border: 1px solid rgba(14, 99, 174, 0.16);
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  }
  .menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .menu__item {
    width: 100%;
  }
  .menu__item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
  }
  .menu__link {
    flex: 1;
    padding: 1.1rem 1.4rem;
    font-size: 1.6rem;
  }
  .menu__caret {
    display: none;
  }
  .menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(14, 99, 174, 0.18);
    background: #eef5fc;
    color: #0e63ae;
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }
  .menu__dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #eef5fc;
    border-radius: 1.4rem;
    margin: 0.4rem 0 0.8rem;
    padding: 0.6rem;
  }
  .menu__dropdown::before {
    display: none;
  }
  .menu__item._open .menu__dropdown {
    display: block;
  }
  .menu__item._open .menu__toggle {
    transform: rotate(180deg);
  }
  .burger-menu {
    z-index: 5;
    display: block;
    position: relative;
    width: 3.8rem;
    height: 3.8rem;
    cursor: pointer;
    background: #eef5fc;
    border: 1px solid rgba(14, 99, 174, 0.18);
    border-radius: 1.2rem;
    margin-left: 0.8rem;
  }
  .burger-menu span,
  .burger-menu::before,
  .burger-menu::after {
    left: 0.9rem;
    position: absolute;
    height: 2px;
    width: 1.8rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    background-color: #0e63ae;
  }
  .burger-menu::before,
  .burger-menu::after {
    content: "";
  }
  .burger-menu::before {
    top: 1.1rem;
  }
  .burger-menu::after {
    bottom: 1.1rem;
  }
  .burger-menu span {
    top: 50%;
    transform: scale(1) translate(0, -50%);
  }
  .burger-menu._active span {
    transform: scale(0) translate(0, -50%);
  }
  .burger-menu._active::before {
    top: 48%;
    transform: rotate(-45deg) translate(0, -50%);
  }
  .burger-menu._active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
  }
}
@media (max-width: 499.98px) {
  .bar-header {
    min-height: 6.4rem;
  }
  .bar-header__logo img {
    height: 4rem;
    width: auto;
  }
  .bar-header__search a {
    margin-right: 0.6rem;
    width: 3.4rem;
    height: 3.4rem;
  }
}
html,
body {
  height: 100%;
  line-height: 1;
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.wrapper {
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  font-size: 1.8rem;
  flex: 1 1 auto;
}

.container {
  max-width: 148rem;
  width: 100%;
  margin: 0 auto;
  padding: 0rem 2rem;
}

.image-text {
  margin-top: 6rem;
  color: #0e63ae;
}
.image-text__title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
}
.image-text__title a {
  color: #0e63ae;
  text-decoration: none;
}

.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6rem;
}
.image-text-block__text {
  color: #0e63ae;
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.3;
  transition: all 0.2s ease;
}
.image-text-block__text a {
  color: #0e63ae;
  text-decoration: none;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.1s ease;
}
.image-text-block__text a:hover {
  margin-left: 0.5rem;
  font-weight: 600;
}
.image-text-block__image {
  max-height: 51rem;
}
.image-text-block__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.image-text-block li, .image-text-block p {
  margin-bottom: 1rem;
}

/* ============================== */
.brochure {
  margin: 6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 99, 174, 0.5);
  border-radius: 40px;
}

.button-brochure {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  width: 100%;
  padding: 1rem 0;
}

.button-brochure span {
  font-size: 2rem;
  font-weight: 400;
  line-height: 39px;
  text-align: center;
}

.button-brochure:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 26, 48, 0.9);
  border-radius: 10rem;
  z-index: -2;
}

.button-brochure:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 23, 43, 0.9);
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}

.button-brochure:hover {
  color: #fff;
}

.button-brochure:hover:before {
  width: 100%;
}

.title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
}
.title a {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
  color: #0e63ae;
  text-decoration: none;
}

/* ============================== */
.start {
  margin-top: 10rem !important;
}
.start__block {
  position: relative;
}
.start__image img {
  height: 50svh;
  width: 100%;
  max-height: 90svh;
  object-fit: cover;
  border-radius: 20px;
}

.text-start {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  width: 100%;
  padding: 1rem 1rem 0rem;
  max-width: 92.5rem;
  background-color: #ffffff;
  border-radius: 40px;
  width: auto;
}
.text-start__title {
  color: #0e63ae;
  font-size: 3.2rem;
  line-height: 39px;
  font-weight: 600;
}
.text-start__text {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 29px;
}

/* ============================== */
.training-programs {
  margin-top: 2rem;
}
.training-programs h3 {
  font-size: 2.4rem;
}
.training-programs li {
  list-style-type: none;
  margin-left: -4rem;
}
.training-programs li a {
  color: #0e63ae;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
}

.want-details {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border: 1px solid #0e63ae;
  border-radius: 20px;
  text-decoration: none;
  transition: font-weight 100ms linear;
  will-change: font-weight;
}
.want-details:hover span {
  font-weight: 500;
}
.want-details span {
  color: #0e63ae;
  font-size: 2rem;
  font-weight: 400;
  line-height: 24px;
}

.button-back a {
  font-size: 2.2rem;
  color: #000;
  text-decoration: none;
  transition: margin-left 0.3s ease;
}
.button-back a:hover {
  font-weight: 500;
  margin-left: 0.5rem;
}

/* PC + LAPTOP*/
@media (max-width: 1281.98px) {
  .container {
    max-width: 108rem;
  }
  .text-start {
    max-width: 90%;
    padding: 1rem 1rem 0rem;
  }
  .text-start__title {
    font-size: 2.4rem;
  }
  .text-start__text {
    font-size: 2rem;
  }
  .training-programs h3 {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .training-programs ul {
    margin: 0;
  }
  .training-programs li a {
    font-size: 1.6rem;
  }
  .image-text-block__text {
    font-size: 2.2rem;
  }
}
@media (max-width: 1038.98px) {
  .title {
    font-size: 2.2rem;
  }
  .image-text-block {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
  }
  .image-text-block__text {
    font-size: 2rem;
  }
}
/* TABLET */
@media (max-width: 860.98px) {
  .container {
    max-width: none;
  }
  .image-text-block {
    gap: 2rem;
  }
  .image-text-block__text {
    font-size: 2rem !important;
  }
  .start__image img {
    height: 100% !important;
    object-fit: contain !important;
  }
  .text-start {
    max-width: 90%;
    padding: 1rem 1rem 1rem;
    left: 2rem;
    bottom: 2rem;
  }
  .text-start__title {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .text-start__text {
    font-size: 1.6rem;
  }
}
@media (max-width: 668.98px) {
  .text-start {
    left: 1rem;
    bottom: 1rem;
    padding: 1rem 1rem 1rem 2rem;
  }
  .text-start__title {
    margin-bottom: 1rem;
  }
  .text-start__text {
    line-height: 1.8rem;
  }
  .want-details span {
    font-size: 1.6rem;
  }
}
/* MOBILE */
@media (max-width: 499.98px) {
  .text-start__title {
    margin-bottom: 0rem;
    font-size: 1.4rem;
    line-height: 1;
  }
  .text-start__text {
    line-height: 1.2rem;
    font-size: 1.2rem;
    display: none;
  }
  .brochure span {
    font-size: 1.6rem;
    line-height: 24px;
  }
  .title {
    font-size: 2rem;
  }
  .image-text-block__text {
    font-size: 1.6rem !important;
    max-width: 90vw;
  }
  .image-text-block__image {
    max-width: 90vw;
  }
  .want-details img {
    display: none;
  }
}
/* Обязательно для работы position: sticky в поднавигации и боковом оглавлении факультетов */
.wrapper {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body {
  background-color: #f7f8fa;
  color: #0f172a;
}

.edu-main {
  padding-top: 11.4rem;
  padding-bottom: 6.4rem;
}

/* ==========================================================================
   1. HERO-БАННЕР (УСТОЙЧИВ К ЛЮБОМУ ФОТО)
   ========================================================================== */
.edu-hero {
  margin-bottom: 2.4rem;
}
.edu-hero__frame {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  min-height: clamp(31rem, 44vh, 43rem);
  display: flex;
  align-items: flex-end;
  background: #09447a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.edu-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transition: transform 0.6s ease;
}
.edu-hero__frame:hover .edu-hero__img {
  transform: scale(1.02);
}
.edu-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 34, 61, 0.88) 0%, rgba(7, 34, 61, 0.6) 55%, rgba(7, 34, 61, 0.22) 100%);
  pointer-events: none;
}
.edu-hero__content {
  position: relative;
  z-index: 2;
  padding: 4.4rem 4.8rem;
  max-width: 84rem;
  color: #ffffff;
}
.edu-hero__eyebrow {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.edu-hero__title {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  color: #ffffff;
}
.edu-hero__lead {
  font-size: 1.65rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
}
.edu-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.edu-hero__stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.5rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.38rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   2. ЛИПКАЯ НАВИГАЦИЯ ПО РАЗДЕЛАМ СТРАНИЦЫ
   ========================================================================== */
.edu-subnav {
  position: sticky;
  top: 9.8rem;
  z-index: 40;
  margin-bottom: 3.6rem;
}
.edu-subnav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 99rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.edu-subnav__pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}
.edu-subnav__pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.9rem 1.8rem;
  border-radius: 99rem;
  font-size: 1.42rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.edu-subnav__pill:hover {
  background: #eef5fc;
  color: #0e63ae;
}
.edu-subnav__pill._active {
  background: #0e63ae;
  color: #ffffff;
}
.edu-subnav__pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.85rem 1.8rem;
  border-radius: 99rem;
  background: #eef5fc;
  color: #0e63ae;
  border: 1px solid rgba(14, 99, 174, 0.18);
  font-size: 1.38rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.edu-subnav__pdf-link:hover {
  background: #0e63ae;
  color: #ffffff;
}

/* Общие заголовки секций */
.edu-section {
  margin-bottom: 5.6rem;
}
.edu-section[id] {
  scroll-margin-top: 18.5rem;
}
.edu-section:last-child {
  margin-bottom: 0;
}
.edu-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.6rem;
  margin-bottom: 2.8rem;
}
.edu-section__eyebrow {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0e63ae;
  margin-bottom: 0.6rem;
}
.edu-section__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin: 0;
}
.edu-section__subtitle {
  font-size: 1.55rem;
  color: #475569;
  max-width: 68rem;
  margin-top: 0.8rem;
  line-height: 1.55;
}

/* ==========================================================================
   3. ВЕРТИКАЛЬНАЯ ЛИСТАЛКА ФАКУЛЬТЕТОВ С ЛИПКИМ ОГЛАВЛЕНИЕМ (#faculties)
   ========================================================================== */
.edu-faculties-layout {
  display: grid;
  grid-template-columns: 34rem minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
}

/* Левое липкое оглавление */
.edu-toc {
  position: sticky;
  top: 17.6rem;
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.4rem;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  max-height: calc(100vh - 20rem);
  overflow-y: auto;
}
.edu-toc__heading {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  padding: 0 1.2rem 1.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #f1f5f9;
}
.edu-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.edu-toc__link {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 1rem 1.2rem;
  border-radius: 1.3rem;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: #475569;
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.edu-toc__link:hover {
  background: #f7f8fa;
  color: #0e63ae;
}
.edu-toc__link._active {
  background: #eef5fc;
  color: #0e63ae;
  border-left-color: #0e63ae;
  font-weight: 600;
}
.edu-toc__num {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0e63ae;
  opacity: 0.75;
}

/* Правая колонка: журнальные карточки факультетов */
.edu-faculties-feed {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.edu-faculty-card {
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.8rem;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 18.5rem;
}
.edu-faculty-card:hover {
  border-color: rgba(14, 99, 174, 0.3);
  box-shadow: 0 18px 42px rgba(14, 99, 174, 0.09);
}
.edu-faculty-card:hover .edu-faculty-card__media img {
  transform: scale(1.03);
}
.edu-faculty-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 36rem;
  overflow: hidden;
  background: #eef5fc;
}
.edu-faculty-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.55s ease;
}
.edu-faculty-card__index {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.6rem 1.3rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0e63ae;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.edu-faculty-card__body {
  padding: 3rem 3.4rem 3.2rem;
}
.edu-faculty-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.edu-faculty-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.28;
  color: #0f172a;
  margin-bottom: 1.4rem;
}
.edu-faculty-card__desc {
  font-size: 1.52rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.4rem;
  position: relative;
}
.edu-faculty-card__desc p {
  margin-bottom: 1rem;
}
.edu-faculty-card__desc p:last-child {
  margin-bottom: 0;
}
.edu-faculty-card__desc ul,
.edu-faculty-card__desc ol {
  padding-left: 2rem;
  margin: 0.8rem 0 1rem;
  list-style: disc;
}
.edu-faculty-card__desc._collapsed {
  max-height: 11.5rem;
  overflow: hidden;
}
.edu-faculty-card__desc._collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
}
.edu-faculty-card__more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 2rem;
  color: #0e63ae;
  font-size: 1.42rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.edu-faculty-card__more-btn:hover {
  text-decoration: underline;
}
.edu-faculty-card {
  /* Компактное превью программ внутри карточки факультета */
}
.edu-faculty-card__programs {
  background: #f7f8fa;
  border: 1px solid #e2e8f0;
  border-radius: 1.8rem;
  padding: 1.8rem 2rem;
  margin-bottom: 2.2rem;
}
.edu-faculty-card__programs-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 1.2rem;
}
.edu-faculty-card__programs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.edu-faculty-card__programs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  border-radius: 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  font-size: 1.35rem;
  color: #0f172a;
  line-height: 1.3;
}
.edu-faculty-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

/* Цветные бейджи уровней образования */
.edu-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border-radius: 99rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.edu-badge--bachelor {
  background: #e6f2fc;
  color: #0e63ae;
}
.edu-badge--specialist {
  background: #ede9fe;
  color: #5b21b6;
}
.edu-badge--master {
  background: #dcfce7;
  color: #166534;
}
.edu-badge--phd {
  background: #fef3c7;
  color: #92400e;
}
.edu-badge--other {
  background: #f1f5f9;
  color: #475569;
}

.edu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.1rem;
  border-radius: 99rem;
  font-size: 1.42rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.edu-btn--primary {
  background: #0e63ae;
  color: #ffffff;
}
.edu-btn--primary:hover {
  background: #09447a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 99, 174, 0.24);
}
.edu-btn--soft {
  background: #eef5fc;
  color: #0e63ae;
  border: 1px solid rgba(14, 99, 174, 0.18);
}
.edu-btn--soft:hover {
  background: rgba(14, 99, 174, 0.14);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. ЕДИНЫЙ ИНТЕРАКТИВНЫЙ РЕЕСТР ПРОГРАММ (#programs)
   ========================================================================== */
.edu-catalog {
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 3rem;
  padding: 3.6rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.04);
}
.edu-catalog__controls {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid #f1f5f9;
}
.edu-catalog__top-bar {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 1.4rem;
  align-items: center;
}
.edu-catalog__search-wrap {
  position: relative;
}
.edu-catalog__search-wrap svg {
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  color: #475569;
  pointer-events: none;
}
.edu-catalog__input, .edu-catalog__select {
  width: 100%;
  height: 4.8rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(14, 99, 174, 0.2);
  background: #f7f8fa;
  color: #0f172a;
  font-size: 1.48rem;
  padding: 0 1.6rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.edu-catalog__input:focus, .edu-catalog__select:focus {
  background: #ffffff;
  border-color: #0e63ae;
  box-shadow: 0 0 0 4px rgba(14, 99, 174, 0.12);
}
.edu-catalog__input {
  padding-left: 4.4rem;
}
.edu-catalog__reset {
  height: 4.8rem;
  padding: 0 2rem;
  border-radius: 1.4rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 1.42rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.edu-catalog__reset:hover {
  border-color: #0e63ae;
  color: #0e63ae;
  background: #eef5fc;
}
.edu-catalog__levels-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}
.edu-catalog__level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.edu-catalog__level-btn {
  padding: 0.8rem 1.6rem;
  border-radius: 99rem;
  border: 1px solid rgba(14, 99, 174, 0.14);
  background: #f7f8fa;
  color: #475569;
  font-size: 1.38rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.edu-catalog__level-btn:hover {
  background: #eef5fc;
  color: #0e63ae;
}
.edu-catalog__level-btn._active {
  background: #0e63ae;
  border-color: #0e63ae;
  color: #ffffff;
}
.edu-catalog__counter {
  font-size: 1.4rem;
  font-weight: 600;
  color: #475569;
}
.edu-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.edu-catalog__empty {
  display: none;
  text-align: center;
  padding: 4.4rem 2rem;
  border-radius: 2rem;
  background: #f7f8fa;
  color: #475569;
  font-size: 1.6rem;
}

/* Раскрывающаяся карточка программы в реестре */
.edu-program-row {
  background: #f7f8fa;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2rem;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.edu-program-row:hover {
  border-color: rgba(14, 99, 174, 0.32);
  background: #ffffff;
}
.edu-program-row[open] {
  background: #ffffff;
  border-color: rgba(14, 99, 174, 0.4);
  box-shadow: 0 12px 28px rgba(14, 99, 174, 0.08);
}
.edu-program-row[open] .edu-program-row__plus {
  background: #0e63ae;
  color: #ffffff;
  transform: rotate(45deg);
}
.edu-program-row__summary {
  list-style: none;
  cursor: pointer;
  padding: 2rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: center;
  user-select: none;
}
.edu-program-row__summary::-webkit-details-marker {
  display: none;
}
.edu-program-row__meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}
.edu-program-row__code {
  font-size: 1.28rem;
  font-weight: 600;
  color: #475569;
}
.edu-program-row__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.edu-program-row__faculty {
  font-size: 1.38rem;
  color: #475569;
}
.edu-program-row__right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.edu-program-row__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}
.edu-program-row__chips span {
  padding: 0.45rem 1.1rem;
  border-radius: 99rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 1.28rem;
  font-weight: 600;
  color: #475569;
}
.edu-program-row__plus {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #eef5fc;
  color: #0e63ae;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.edu-program-row__details {
  padding: 2rem 2.4rem 2.4rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.edu-program-row__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.2rem;
}
.edu-program-row__fact {
  background: #f7f8fa;
  border-radius: 1.4rem;
  padding: 1.2rem 1.5rem;
}
.edu-program-row__fact span {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin-bottom: 0.35rem;
}
.edu-program-row__fact strong {
  font-size: 1.45rem;
  color: #0f172a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.edu-program-row__overview {
  font-size: 1.48rem;
  line-height: 1.6;
  color: #475569;
}
.edu-program-row__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ==========================================================================
   5. НИЖНИЙ БЛОК «НУЖНЫ ПОДРОБНОСТИ?» (#contact-cta)
   ========================================================================== */
.edu-cta {
  background: linear-gradient(135deg, #0e63ae 0%, #09447a 100%);
  color: #ffffff;
  border-radius: 3rem;
  padding: 4rem 4.4rem;
  box-shadow: 0 18px 40px rgba(14, 99, 174, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2.8rem;
}
.edu-cta__eyebrow {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.8rem;
}
.edu-cta__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.edu-cta__text {
  font-size: 1.55rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 62rem;
  margin: 0;
}
.edu-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.edu-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem 2.2rem;
  border-radius: 99rem;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.edu-cta__btn--white {
  background: #ffffff;
  color: #0e63ae;
}
.edu-cta__btn--white:hover {
  transform: translateY(-2px);
}
.edu-cta__btn--glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}
.edu-cta__btn--glass:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1160.98px) {
  .edu-main {
    padding-top: 9.8rem;
  }
  .edu-subnav {
    top: 9.2rem;
  }
  .edu-faculties-layout {
    grid-template-columns: 28rem minmax(0, 1fr);
    gap: 2.4rem;
  }
}
@media (max-width: 1024.98px) {
  .edu-faculties-layout {
    grid-template-columns: 1fr;
  }
  /* На планшетах/мобильных боковое оглавление превращается в удобные переносимые чипсы сверху */
  .edu-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 1.8rem;
  }
  .edu-toc__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .edu-toc__link {
    display: inline-flex;
    align-items: center;
    border-left: none;
    border: 1px solid rgba(14, 99, 174, 0.14);
    border-radius: 99rem;
    padding: 0.7rem 1.3rem;
    font-size: 1.32rem;
  }
  .edu-toc__link._active {
    background: #0e63ae;
    color: #ffffff;
    border-color: #0e63ae;
  }
  .edu-toc__link._active .edu-toc__num {
    color: rgba(255, 255, 255, 0.85);
  }
  .edu-catalog__top-bar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860.98px) {
  .edu-subnav {
    position: static;
    margin-bottom: 2.8rem;
  }
  .edu-subnav__bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 2rem;
    padding: 1.2rem;
  }
  .edu-subnav__pills {
    flex-wrap: wrap;
  }
  .edu-subnav__pill {
    padding: 0.8rem 1.35rem;
    font-size: 1.35rem;
  }
  .edu-subnav__pdf-link {
    justify-content: center;
  }
  .edu-section[id],
  .edu-faculty-card {
    scroll-margin-top: 11rem;
  }
  .edu-hero__content {
    padding: 2.8rem 2.4rem;
  }
  .edu-faculty-card__body {
    padding: 2.2rem 2rem;
  }
  .edu-catalog {
    padding: 2.4rem 1.8rem;
    border-radius: 2.2rem;
  }
  .edu-program-row__summary {
    grid-template-columns: 1fr;
    padding: 1.8rem;
  }
  .edu-program-row__right {
    justify-content: space-between;
  }
  .edu-program-row__chips {
    justify-content: flex-start;
  }
  .edu-cta {
    padding: 2.8rem 2.2rem;
    border-radius: 2.2rem;
  }
}