@charset "UTF-8";
:root {
  --font-family: "Montserrat", sans-serif;
  --accent-family: "MoscowUniversity", sans-serif;
  --blue-dark: #061049;
  --blue-accent: #3b62ff;
  --blue-soft: #6683ff;
  --blue-text-accent: #130BB9;
  --surface: #eef1f6;
  --surface-alt: #f5f6fa;
  --white: #ffffff;
  --bg: #ebebeb;
  --placeholder: #d9d9d9;
  --lavender: #ccd5f3;
  --sky: #d9ecff;
  --text: #12163a;
  --text-muted: #9b9fb6;
  --text-on-dark-muted: #aab0d6;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --container-width: 1440px;
  --container-offset: 40px;
  --container-mobile-offset: 15px;
  --container-short-width: 1218px;
  --gap: 24px;
  --header-height: 150px;
  --header-mobile-height: 94px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg);
}

main {
  min-height: 200px;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover {
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 400;
}

h2 {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
}

h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
.nowrap {
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

.justify-between {
  justify-content: space-between;
}

.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px) saturate(0.8);
  -webkit-backdrop-filter: blur(5px) saturate(0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); /* Белая линия сверху ВНУТРИ */
  overflow: hidden;
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  transition: all 0.3s ease;
}

/* Основной градиентный блик */
.glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 70%, transparent 100%);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Контент поверх */
.glass > * {
  position: relative;
  z-index: 2;
}

.text-accent {
  color: var(--blue-text-accent);
}

.container {
  margin: 0 auto;
  padding: 0 var(--container-offset);
  max-width: var(--container-width);
}

.left-aligment-by-logo {
  padding-left: calc(var(--container-offset) + 30px);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--container-mobile-offset);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--blue {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--blue-dark);
}

.btn--white:hover {
  background: var(--blue-soft);
  color: var(--white);
}

.btn--lavender {
  background: var(--lavender);
  color: var(--blue-dark);
}

.btn--lavender:hover {
  background: var(--blue-soft);
  color: var(--lavender);
}

.btn--blue-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--blue-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline-light {
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--outline-dark {
  border: 1px solid var(--blue-dark);
  color: var(--blue-dark);
  background: transparent;
}

.btn--outline-dark:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--ghost {
  height: 52px;
  padding: 0 16px;
  color: var(--text);
  background: var(--white);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--blue-accent);
}

.slider-nav {
  display: inline-flex;
  gap: 10px;
}

.arrow-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: url("../i/arrow.svg") center/contain no-repeat;
}

.arrow-btn:hover {
  background: url("../i/arrow-b.svg") center/contain no-repeat;
}

.arrow-btn--prev {
  transform: scaleX(-1);
}

.arrow-btn:disabled,
.arrow-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Keep nav arrows visible (dimmed) instead of Swiper's default display:none
   when a slider has nothing to scroll to — matches the design's static chrome. */
.arrow-btn.swiper-button-lock {
  display: inline-block;
}

@media (max-width: 768px) {
  .btn--ghost {
    height: 42px;
    font-size: 0.875rem;
  }
}
@media (max-width: 640px) {
  .arrow-btn {
    width: 40px;
    height: 40px;
  }
}
.header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.header a {
  text-decoration: none;
}
.header nav {
  margin-top: -5px;
  flex-grow: 1;
}

.header__blur {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition);
}

.header-dark .header__blur {
  background: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding-left: 60px;
  transition: min-height var(--transition);
}

.header--compact .header__inner {
  min-height: 94px;
}

.logo {
  width: 279px;
  padding: 13px 12px 12px 12px;
  margin-right: 47px;
  display: flex;
  color: var(--blue-dark);
  font-family: var(--accent-family);
  transition: color var(--transition), padding var(--transition);
}
.logo:hover {
  color: inherit;
}
.logo div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.logo div span {
  display: block;
}
.logo div .logo_msu {
  margin-bottom: -0.1rem;
}

.header-dark .logo {
  color: var(--white);
}

.header--compact .logo {
  padding: 8px;
}

.logo__img {
  height: 68px;
  width: auto;
  padding-right: 12px;
  transition: height var(--transition);
}

.logo_fii {
  font-size: 1.25rem;
  line-height: 1;
}

.logo_msu {
  font-size: 0.52rem;
}

.header--compact {
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.nav__link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--blue-accent);
}

.header-dark .nav__link {
  color: var(--white);
}

.nav__link.menu-empty, .dropdown__list li a.menu-empty {
  color: var(--text-muted);
  cursor: default;
}

.nav__chevron {
  display: none;
}

.nav__footer {
  display: none;
}

.nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: -16px;
  min-width: 260px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 22, 58, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__item--dropdown.is-open .dropdown,
.nav__item--dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__list li a {
  display: block;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #f3f3f3;
  color: var(--blue-dark);
  transition: background var(--transition), color var(--transition);
}

.dropdown__list li a:hover {
  background: var(--surface);
  color: var(--blue-accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-dark);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.header-dark .burger span {
  background: var(--white);
}

.burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 10, 36, 0.5);
}

.menu-overlay--active {
  display: block;
}

@media (max-width: 1360px) and (min-width: 1281px) {
  .nav__link {
    font-size: 0.75rem;
  }
}
@media (max-width: 1280px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-mobile-height) + 8px) 20px 24px;
    overflow-y: auto;
    background: radial-gradient(circle at 50% 250%, #5A00FA 0%, #001CA2 45%, #010101 100%);
    transition: right var(--transition);
    z-index: 95;
  }
  .nav.menu--active {
    right: 0;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav__item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav__link,
  .header-dark .nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    color: var(--white);
    font-size: 16px;
  }
  .nav__chevron {
    display: block;
    flex-shrink: 0;
    transition: transform var(--transition);
  }
  .nav__item--dropdown.is-open .nav__chevron {
    transform: rotate(90deg);
  }
  .dropdown {
    position: static;
    display: none;
    margin-bottom: 12px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }
  .nav__item--dropdown.is-open .dropdown {
    display: block;
  }
  .dropdown__list li a {
    font-size: 14px;
  }
  .nav__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 32px;
  }
  .nav__social {
    display: flex;
    gap: 12px;
  }
  .nav__social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .nav__copy {
    font-size: 10px;
    line-height: 1.4;
    color: var(--white);
    opacity: 0.7;
  }
  .burger {
    display: flex;
  }
  .logo,
  .burger {
    position: relative;
    z-index: 96;
  }
  .header__inner {
    padding-left: 20px;
    min-height: var(--header-mobile-height);
  }
  .logo {
    margin-right: 12px;
    padding: 8px;
  }
  .logo__img {
    height: 44px;
    padding-right: 8px;
  }
  .logo_fii {
    font-size: 0.9rem;
  }
  .logo_msu {
    font-size: 0.42rem;
  }
  .header:has(.nav.menu--active) .logo {
    color: var(--white);
  }
  .header nav {
    margin-top: 0;
  }
}
/* Site-wide footer: full header-style logo + the entire nav menu mirrored
   as columns, plus a bottom copyright bar. */
.footer {
  padding: 64px 0 32px;
  background: var(--blue-dark);
  color: var(--text-on-dark-muted);
}

.footer__top.b-container {
  padding-bottom: 40px;
}

.footer__brand-row {
  margin-bottom: 40px;
}

.footer .logo--footer {
  width: auto;
  padding: 0;
  margin-right: 0;
  color: var(--white);
  text-decoration: none;
}

.logo--footer .logo__img {
  height: 70px;
}

.footer__menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 32px 24px;
}

.footer__menu > li {
  list-style: none;
  margin: 0;
}

.footer__col-title, .footer__menu > li a {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.14px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.footer__col-title a {
  text-decoration: none;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a,
.footer__list span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer__list a.footer-menu-empty {
  color: var(--text-muted);
  cursor: default;
  opacity: 0.4;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom .b-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  margin-top: 8px;
}

.footer__copy,
.footer__policy {
  margin: 0;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer__policy {
  text-decoration: none;
}

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

.footer .nav__social-link {
  width: 36px;
  height: 36px;
}

.footer .nav__social {
  display: flex;
}

@media (max-width: 767px) {
  .footer {
    padding: 48px 0 24px;
  }
  .footer__menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
  row-gap: 40px;
  align-items: start;
}

.news-card-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-decoration: none;
}
.news-card-inner:hover {
  text-decoration: underline;
}
.news-card-inner:hover .news-card__arrow {
  background: url("../i/arrow-b.svg") center/contain no-repeat;
}

/* карточки идут по 2 в ряд: широкая + узкая, затем узкая + широкая */
.news-card:nth-child(4n+1),
.news-card:nth-child(4n+4) {
  grid-column: span 2;
}

.news-card:nth-child(4n+2),
.news-card:nth-child(4n+3) {
  grid-column: span 1;
}

.news-card__image {
  position: relative;
  aspect-ratio: 1.86;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--placeholder);
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tags {
  position: absolute;
  left: 24px;
  bottom: 16px;
  display: flex;
  gap: 10px;
}

.news-card__tag {
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
}

.news-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-card__text {
  flex: 1;
}

.news-card__date {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(6, 16, 73, 0.5);
}

.news-card__title {
  flex: 1;
  font-family: var(--accent-family);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue-dark);
}

/* ============ Single article (thenews.html) ============ */
.news-article__date {
  margin: 0 0 16px;
  font-size: 15px;
  color: rgba(6, 16, 73, 0.6);
}

.news-article__image {
  margin-bottom: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--placeholder);
}
.news-article__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article__body {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--blue-dark);
}
.news-article__body p {
  margin: 0 0 24px;
}
.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-card__arrow {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: url("../i/arrow.svg") center/contain no-repeat;
}

@media (max-width: 860px) {
  .news__grid {
    grid-template-columns: 1fr;
  }
  .news-card:nth-child(4n+1),
  .news-card:nth-child(4n+2),
  .news-card:nth-child(4n+3),
  .news-card:nth-child(4n+4) {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .news-card {
    gap: 20px;
  }
  .news-card__title {
    font-size: 1rem;
  }
  .news-card__arrow {
    width: 40px;
    height: 40px;
  }
}
.events-slider {
  overflow: hidden;
  padding-bottom: 4px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 24px;
}

.event-card__date {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 16, 73, 0.5);
}

.event-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue-dark);
}

.teachers-slider-wrap {
  flex: 1;
  min-width: 0;
}

.teachers-slider {
  overflow: hidden;
}

.teacher-card {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 535px;
}

.teacher-card__photo {
  flex: 0 0 50%;
  width: 50%;
  max-height: 535px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--placeholder);
}
.teacher-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card__text {
  max-height: 535px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.teacher-card__name {
  margin-bottom: 12px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.4px;
  margin-right: 5px;
}

.teacher-card__role {
  margin: 0;
  font-family: var(--accent-family);
  font-size: 24px;
  line-height: 1.2;
}

.teacher-card__bio {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  overflow: auto;
}

@media (max-width: 860px) {
  .teacher-card {
    flex-direction: column;
    min-height: 0;
  }
  .teacher-card__photo {
    width: 100%;
    aspect-ratio: 446/535;
  }
  .teacher-card__text {
    padding: 24px;
  }
  .teacher-card__name {
    font-size: 28px;
  }
  .teacher-card__role {
    font-size: 18px;
  }
}
.ph-image {
  background-color: var(--placeholder);
  background-size: cover;
  background-position: center;
}

/* 404 — full-bleed dark hero, not the light .info-page treatment, since
   there's no content list here, just a short message and a way back. */
.error-page {
  min-height: 100vh;
  padding: 192px 0 96px;
  display: flex;
  align-items: center;
  background: var(--blue-dark);
  color: var(--white);
}

.error-page__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.error-page__code {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(96px, 16vw, 180px);
  line-height: 1;
  color: var(--lavender);
}

.error-page__title {
  margin: 24px 0 16px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
}

.error-page__text {
  margin: 0 auto 40px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 767px) {
  .error-page {
    padding: 150px 0 64px;
  }
  .error-page__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Руководство — one featured-style hero card per person */
.leadership {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leadership-hero {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-md);
  color: var(--white);
  overflow: hidden;
}

.leadership-hero__photo {
  flex: 0 0 250px;
  width: 340px;
}
.leadership-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-hero__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 48px;
  background: var(--blue-dark);
}

.leadership-hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lavender);
}

.leadership-hero__name {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.05;
}

.leadership-hero__role {
  margin: 0;
  font-family: var(--accent-family);
  font-size: 22px;
  line-height: 1.2;
  color: var(--lavender);
}

.leadership-hero__bio {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

@media (max-width: 767px) {
  .leadership-hero {
    flex-direction: column;
  }
  .leadership-hero__photo {
    width: 100%;
    aspect-ratio: 4/3;
  }
  .leadership-hero__text {
    padding: 28px 24px;
  }
  .leadership-hero__name {
    font-size: 28px;
  }
  .leadership-hero__role {
    font-size: 18px;
  }
}
/* Hero */
.hero {
  position: relative;
  height: 778px;
  padding-top: 195px;
  padding-bottom: 46px;
  color: var(--white);
  overflow: hidden;
}
.hero .btn {
  width: 260px;
  height: 64px;
  font-size: 1rem;
}

.hero__bg {
  background-image: url("../i/hero.jpg");
  position: absolute;
  inset: 0;
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding: 51px var(--container-offset) 40px 70px;
}

.hero__content {
  max-width: 620px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__title {
  margin-bottom: 18px;
  font-family: var(--accent-family);
  font-size: clamp(2.5rem, 5.4vw, 64px);
  line-height: 1;
}

.hero__text {
  max-width: 460px;
  margin-bottom: 36px;
  font-size: 17px;
  line-height: 1.33;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__badges {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: end;
  gap: 16px;
  margin-top: 40px;
  min-width: 260px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 1rem;
  font-weight: 500;
}

.badge__icon {
  display: inline-flex;
  margin-right: 22px;
  color: var(--white);
  flex-shrink: 0;
}
.badge__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-msu img {
  min-height: 47px;
}

.badge-f img {
  min-height: 42px;
}

/* About */
.about {
  padding: 101px 0 81px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.about__inner,
.goal__intro,
.tab-wrapper,
.campus__wrapper {
  max-width: var(--container-short-width);
  width: 100%;
}

.tab-wrapper img {
  margin-left: -22px;
}

.tab-wrapper-top {
  display: flex;
  justify-content: flex-end;
}
.tab-wrapper-top img {
  margin: 0 14px 0 0;
}

.about__title {
  max-width: 986px;
  margin-bottom: 35px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 42px);
  line-height: 1.2;
}

.about__text {
  max-width: 816px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.about__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  max-width: 1138px;
  padding-top: 17px;
}

.about__label {
  display: block;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.about__value {
  font-family: var(--accent-family);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0;
}
.about__value .bull {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 15px;
}
.about__value .bull::after {
  content: "•";
  font-size: 3rem;
  display: inline-block;
  position: absolute;
  margin: -12px 0 0 2px;
}

.about__block--partners {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}
.about__block--partners div {
  flex-shrink: 0;
}
.about__block--partners img {
  flex-shrink: 0;
}

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

.partner-logo--intellect {
  width: 264px;
}

.partner-logo--vd {
  width: 136px;
}

/* Section head */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.section-head__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* News */
.news {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 126px;
}
.news .section-head {
  flex-basis: 24%;
}
.news .news__grid {
  flex-basis: 76%;
}

/* Events */
.events {
  padding-top: 88px;
  padding-bottom: 72px;
}

/* Goal */
.goal {
  padding: 65px 0 61px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.goal__intro {
  margin-bottom: 0;
}

.goal__inner {
  max-width: 675px;
}

.goal__intro h2 {
  font-size: clamp(2.5rem, 3.4vw, 70px);
  margin-bottom: 29px;
}

.goal__intro p {
  line-height: 1.6;
}

/* Campus — full-bleed photo section */
.campus {
  position: relative;
  aspect-ratio: 1440/810;
  max-height: 810px;
  min-height: 431px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-color: var(--placeholder);
  background-size: cover;
  background-position: center;
  width: 100%;
}

.campus__inner {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 90px;
}
.campus__inner .btn {
  font-size: 0.875rem;
  height: 52px;
  font-weight: 300;
  width: 300px;
}

.campus__text {
  margin: 0;
  max-width: 724px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.9vw, 42px);
  letter-spacing: -0.42px;
  line-height: 1.2;
  color: var(--white);
}

/* Gallery */
.gallery {
  padding-top: 86px;
  padding-bottom: 80px;
}
.gallery h2 {
  margin: 20px 0 29px 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: 9px;
}

.gallery__info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery__info .gallery__info-top {
  margin-right: 20px;
  max-width: 414px;
}

.gallery__info p {
  margin: 20px 0 32px;
  line-height: 1.5;
}
.gallery__info .gallery-slider-foot p {
  margin: 0;
}

.gallery-slider-wrap {
  min-width: 0;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}

.gallery__photo {
  aspect-ratio: 16/11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--placeholder);
}
.gallery__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slider-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.gallery__caption {
  margin: 0;
  font-size: 14px;
  color: rgba(6, 16, 73, 0.6);
}

.gallery-slider .swiper-pagination {
  bottom: 16px;
}

.gallery-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--placeholder);
  opacity: 0.7;
  transition: width var(--transition), opacity var(--transition);
}

.gallery-slider .swiper-pagination-bullet-active {
  width: 32px;
  opacity: 1;
}

/* Footer: see components/_footer.scss (shared across all pages) */
.mobile-cta {
  display: none;
}

@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    padding-left: var(--container-mobile-offset);
    padding-right: var(--container-mobile-offset);
  }
  .hero__actions {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 685px;
    padding: 130px 0 34px;
  }
  .hero__bg {
    background-image: url("../i/hero-m.jpg");
    background-position: bottom right;
  }
  .hero__inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__content {
    max-width: none;
    gap: 24px;
  }
  .hero__text {
    max-width: 350px;
    margin-bottom: 0;
    font-size: 0.875rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
    font-size: 0.875rem;
    height: 52px;
  }
  .hero__badges {
    order: -1;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    margin-top: 0;
    gap: 10px;
    font-size: 0.75rem;
  }
  .badge {
    flex: 1;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }
  .badge__icon {
    margin-right: 0;
  }
  .badge-msu img {
    min-height: 31px;
    height: 31px;
  }
  .badge-f img {
    min-height: 28px;
    height: 28px;
  }
  .about {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .about__block {
    margin-right: 0;
  }
  .about__label {
    margin-bottom: 1.25rem;
  }
  .about__value {
    font-size: 1rem;
  }
  .about__value .bull::after {
    font-size: 2rem;
    margin: -1px 0 0 2px;
  }
  .about__block--partners {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 27px;
  }
  .partner-logo--intellect {
    width: 256px;
  }
  .news {
    flex-direction: column;
    align-items: stretch;
    gap: 0px;
    padding-top: 48px;
  }
  .news .section-head {
    margin-bottom: 40px;
  }
  .events {
    padding: 56px var(--container-mobile-offset) 48px var(--container-mobile-offset);
  }
  .events .section-head {
    margin-bottom: 20px;
  }
  .events .section-head__actions .btn--ghost {
    display: none;
  }
  .goal {
    padding: 50px 0 36px 0;
  }
  .goal__intro, .goal__intro p {
    font-size: 0.875rem;
  }
  .campus {
    aspect-ratio: 390/246;
    overflow: hidden;
    max-width: 100%;
  }
  .campus:before {
    position: absolute;
    opacity: 0.7;
    background: linear-gradient(rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.8) 80%);
    mix-blend-mode: overlay;
    display: block;
    content: "";
    width: 100%;
    height: 431px;
  }
  .campus__inner {
    gap: 24px;
    padding-bottom: 24px;
    max-width: 100%;
  }
  .campus .btn--outline-light,
  .campus__inner .btn {
    width: 100%;
  }
  .gallery {
    padding: 48px var(--container-mobile-offset);
  }
  .gallery__info-top {
    font-size: 0.875rem;
  }
  .gallery-slider-wrap {
    width: calc(100% + 2 * var(--container-mobile-offset));
    margin-left: calc(-1 * var(--container-mobile-offset));
  }
  .gallery-slider-wrap .gallery__photo {
    border-radius: 0;
  }
  .mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 24px;
  }
  .tab-wrapper {
    display: flex;
    justify-content: flex-end;
  }
  .tab-wrapper img {
    width: 50%;
  }
  .tab-wrapper.tab-wrapper-top {
    justify-content: flex-start;
  }
  .tab-wrapper.tab-wrapper-top img {
    width: 50%;
  }
}
@media (max-width: 389px) {
  .badge {
    padding: 10px;
  }
  .badge-msu img {
    min-height: 25px;
    height: 25px;
  }
  .badge-f img {
    min-height: 25px;
    height: 25px;
  }
  .campus__text {
    font-size: 1.25rem;
  }
}
.teacherspage main {
  padding-top: calc(var(--header-height) + 56px);
}

.teachers {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 80px;
}
.teachers .slider-nav {
  justify-content: flex-end;
}

.teachers__head {
  flex-basis: 32%;
  min-height: 535px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.teachers__title {
  max-width: 330px;
  font-family: var(--accent-family);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
  color: var(--blue-dark);
}

.teachers-slider-wrap {
  flex-basis: 68%;
}

@media (max-width: 1380px) {
  .teachers__head {
    flex-basis: 330px;
  }
}
@media (max-width: 1280px) {
  .teacherspage main {
    padding-top: calc(var(--header-height) + 0px);
  }
  .teachers {
    display: block;
  }
  .teachers__head {
    min-height: auto;
    flex-direction: row;
    margin-bottom: 40px;
  }
  .teachers__title {
    max-width: 100%;
  }
  .teachers-slider-wrap {
    flex-basis: 100%;
    max-width: 880px;
  }
}
@media (max-width: 860px) {
  .teachers {
    flex-direction: column;
  }
  .teachers__head {
    flex: none;
    width: 100%;
    min-height: 0;
    gap: 24px;
    flex-basis: 100%;
  }
  .teachers-slider-wrap {
    flex: none;
    width: 100%;
    flex-basis: 100%;
  }
}
@media (max-width: 389px) {
  .teachers__title {
    font-size: 1.25rem;
  }
}
/* Bachelors page — shared page background + narrower content container */
.bachelorspage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.b-container {
  margin: 0 auto;
  padding: 0 40px;
  max-width: var(--container-short-width);
}

.b-section {
  padding: 80px 0;
}

.b-section--tight {
  padding: 64px 0;
}

/* Section head: title left, description right */
.b-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 64px;
}

.b-head__title {
  max-width: 552px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(40px, 3.4vw, 48px);
  line-height: 1;
  color: var(--blue-dark);
}

.b-head__text {
  margin: 0;
  max-width: 529px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--blue-dark);
}

.b-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.b-head--center .b-head__title {
  max-width: 935px;
  color: var(--white);
}
.b-head--center .b-head__text {
  max-width: 529px;
  color: var(--white);
  font-weight: 500;
}

.b-eyebrow {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
}

/* Generic rounded card used across most sections */
.b-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.b-card--tint {
  background: var(--lavender);
}

.b-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.b-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}

.b-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
}

.b-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
}

/* ============ Hero ============ */
.b-hero {
  padding-top: 192px;
  padding-bottom: 72px;
}

.b-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.b-hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 593px;
}

.b-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b-hero__eyebrow {
  color: var(--blue-dark);
}

.b-hero__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  color: var(--blue-dark);
}

.b-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
}

.b-hero__lower {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 499px;
}

.b-hero__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--blue-dark);
}

.b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.b-hero__photo {
  flex-shrink: 0;
  width: 448px;
  max-width: 40%;
  aspect-ratio: 448/535;
  border-radius: var(--radius-md);
  background-color: var(--placeholder);
  background-size: cover;
  background-position: center;
  background-position: left -20px center;
  background-repeat: no-repeat;
}

/* ============ About programme + slider ============ */
.b-about-slider-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw - 15px);
}

.b-about-slider {
  overflow: hidden;
}

.b-about-slider .swiper-slide {
  width: auto;
  height: auto;
  align-self: flex-start;
}

.b-about-nav {
  display: none;
}

.stat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
  height: 290px;
  padding-top: 81px;
  padding-bottom: 50px;
}

.stat-card--rect {
  width: 445px;
  height: auto;
  min-height: 290px;
  padding: 40px 33px 38px 40px;
}
.stat-card--rect .stat-card__title, .stat-card--rect .stat-card__text {
  margin: 0;
}

.stat-card--square {
  width: 290px;
}

.stat-card--circle {
  width: 290px;
  border-radius: var(--radius-pill);
}

.stat-card--sky {
  background: var(--sky);
}

.stat-card--gray {
  background: var(--bg);
  border: 1px solid #ccc;
}

.stat-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.stat-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.stat-card--circle .stat-card__inner,
.stat-card--square .stat-card__inner {
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.stat-card__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}

.stat-card__text {
  font-size: 14px;
  line-height: 1.2;
}

.stat-card__big {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 48px;
  margin: 0 0 0 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card__bigger {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 80px;
  margin: 0px 0 0 0;
  line-height: 0.7;
  letter-spacing: -0.02em;
}

.stat-card__caption {
  margin-top: 0px;
  font-size: 14px;
}

.stat-card__tags {
  position: relative;
  width: 100%;
  height: 100%;
}

.stat-card__tag {
  position: absolute;
  transform: rotate(var(--rot, 4deg));
}

.stat-card__tag--light {
  background: var(--white);
  color: var(--blue-dark);
}

.stat-card__tag--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.stat-card__dummy {
  height: 20px;
}

.stat-card--p0 {
  padding: 0;
}

.stat-card-pt60 {
  padding: 60px;
}

/* ============ Кому подойдёт программа (bento) ============ */
.b-fit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b-fit__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b-fit__row .b-card--wide {
  flex-grow: 1.4;
}

.b-card-1, .b-card-3 {
  flex-basis: calc(30% - 7px);
  min-height: 259px;
}

.b-card-2 {
  flex-basis: calc(40% - 7px);
  min-height: 259px;
}

.b-card-4, .b-card-5 {
  flex-basis: calc(50% - 5px);
  min-height: 207px;
}

/* ============ Что вы будете изучать (timeline) ============ */
#whatstudy {
  padding-top: 88px;
  padding-bottom: 152px;
}

.curriculum-card {
  display: flex;
  gap: 40px;
  padding: 64px;
  border-radius: var(--radius-md);
  background: var(--white);
}

.curriculum-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curriculum-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
}

.curriculum-item__title {
  max-width: 386px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  color: var(--blue-dark);
  margin: 0;
}

.curriculum-item__text {
  max-width: 301px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--blue-dark);
  margin: 0;
}

.curriculum-rail {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  margin-top: 32px;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.curriculum-rail::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
  background: #061049;
  transform: translateX(-50%);
}

.curriculum-rail__dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 40px;
  height: 40px;
  background: url("../i/bachelors/curriculum-rail__dot.svg") center/contain no-repeat;
}

/* ============ Преимущества программы ============ */
#benefitsofprogram {
  padding-top: 152px;
}
#benefitsofprogram .b-head__title {
  max-width: 500px;
}
#benefitsofprogram .b-head__text {
  max-width: 562px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}

.advantage-pair {
  position: relative;
  max-width: 576px;
}

.advantage-pair__title {
  position: relative;
  z-index: 1;
  padding: 32px;
  width: auto;
  display: inline-block;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin: 0;
}

.advantage-pair__text {
  position: relative;
  z-index: 2;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 12px 24px rgba(6, 16, 73, 0.08);
}

.advantage-center {
  margin: -29px auto 0px auto;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  text-align: center;
  color: var(--blue-dark);
}

.advantage-pair-2, .advantage-pair-4 {
  margin-left: 60px;
}

.advantage-pair-1 .advantage-pair__title {
  width: max-content;
  margin: 16px 0 0 107px;
}
.advantage-pair-1 .advantage-pair__text {
  max-width: 303px;
  margin: -32px 0 0 0;
}

.advantage-pair-2 .advantage-pair__title {
  margin: 16px 0 0 1px;
}
.advantage-pair-2 .advantage-pair__text {
  max-width: 335px;
  margin: -62px -29px 0 159px;
}

.advantage-pair-3 .advantage-pair__title {
  margin: 30px 0 0 54px;
}
.advantage-pair-3 .advantage-pair__text {
  max-width: 335px;
  margin: -62px -39px 0 264px;
}

.advantage-pair-4 .advantage-pair__title {
  margin: 3px 0 0 151px;
}
.advantage-pair-4 .advantage-pair__text {
  max-width: 311px;
  margin: -31px 0 0 46px;
}

/* ============ Проекты и исследования ============ */
.projects-card {
  padding: 70px 158px 70px 113px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  gap: 8%;
  color: var(--blue-dark);
}

.projects-card__title {
  margin-bottom: 48px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: var(--blue-dark);
}

.projects-card__lead {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin: 0;
}

.projects-card__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projects-card__body {
  font-size: 14px;
  line-height: 1.2;
}

.projects-card__body p {
  margin: 0 0 12px;
}

.projects-card__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.projects-card__body li {
  margin-bottom: 8px;
}

/* ============ Кто преподаёт ============ */
#whoteaches {
  padding-top: 94px;
}

.whoteaches-btn2 {
  display: none;
}

.b-teachers-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.b-teachers-block__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 24px;
  max-width: 394px;
}

.b-teachers-block__text {
  max-width: 388px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--blue-dark);
  margin: 0 0 30px 0;
}

.advisor-block {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 87px;
}

.advisor-block__photo {
  width: 332px;
  height: 332px;
  border-radius: var(--radius-md);
  background-color: var(--placeholder);
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
}

.advisor-block__text {
  width: 332px;
  height: 332px;
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.advisor-block__role {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--blue-dark);
  margin: 0;
}

.advisor-block__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--blue-dark);
  margin: 0;
}

/* ============ Карьерные траектории ============ */
#career-trajectories {
  padding-bottom: 158px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}

.career-card--span-4 {
  grid-column: span 4;
}

.career-card--span-3 {
  grid-column: span 3;
}

.career-card {
  border-radius: var(--radius-md);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px;
  background: var(--white);
  color: var(--blue-dark);
}

.career-card--dark {
  background: var(--blue-dark);
  color: var(--white);
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.career-card--photo {
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  padding: 0;
}

.career-card__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}

.career-card__text {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 0;
}

.career-card-1 {
  padding: 50px 50px;
}

/* ============ Dark full-bleed band sections (stages / admission) ============ */
#bach-how.b-band {
  padding-top: 101px;
  padding-bottom: 103px;
}
#bach-how .b-head__title {
  margin-bottom: -3px;
}
#bach-how .b-head--center {
  margin-bottom: 60px;
}

.b-band {
  position: relative;
  padding: 85px 0 80px;
  background: var(--blue-dark);
  color: var(--white);
}

.b-band__divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 1142px;
  max-width: 90%;
  height: 75px;
  color: var(--blue-dark);
}
.b-band__divider img {
  display: block;
  width: 100%;
  height: 100%;
}

.bach-how-tab-wrapper {
  display: none;
}

.b-band__divider--flip {
  transform: translate(-50%, 0) rotate(180deg);
  top: auto;
  bottom: 0;
}

.stage-grid,
.admission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-card,
.admission-card {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 290px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}
.stage-card .b-pill,
.admission-card .b-pill {
  font-size: 14px;
}

.admission-card {
  min-height: 342px;
}

.stage-card__head,
.admission-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admission-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stage-card__title,
.admission-card__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0;
}

.stage-card__text,
.admission-card__text {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

/* ============ Гранты ============ */
#bach-grants {
  padding-top: 158px;
}
#bach-grants .btn {
  width: max-content;
}

.grants {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.grants__col {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grants__col .b-head__title {
  max-width: none;
  margin-bottom: 25px;
}

.grants__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--blue-dark);
}

.grants__card {
  flex: 1 1 380px;
  max-width: 447px;
  aspect-ratio: 447/395;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.grants__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bach-grants-mobile-btn {
  display: none;
}

/* ============ FAQ ============ */
#bach-faq .b-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 52px;
}

.faq {
  max-width: 675px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px dashed rgba(6, 16, 73, 0.3);
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 32px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  color: var(--blue-dark);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--blue-dark);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue-dark);
  transition: transform var(--transition);
}
.faq-item__icon::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.faq-item__panel > div {
  overflow: hidden;
}

.faq-item__panel p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue-dark);
}

.faq-item__panel ul {
  margin: 0 0 24px;
  padding-left: 20px;
  list-style: disc;
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue-dark);
}

.faq-item__panel li {
  margin-bottom: 8px;
}

.faq-item__panel li:last-child {
  margin-bottom: 0;
}

.faq-item__panel a {
  color: inherit;
}

.faq-table-wrap {
  margin: 0 0 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-table {
  width: 100%;
  border: 1px solid #fff;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue-dark);
}

.faq-table td {
  padding: 12px 16px;
  background: var(--white);
}

.faq-table tr:nth-child(even) td {
  background: var(--bg);
}

.faq-table td:last-child {
  width: 15%;
  white-space: nowrap;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

/* ============ Контакты ============ */
#bach-contacts .b-head {
  margin-bottom: 52px;
}

.contacts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.contacts-grid .b-card {
  flex: 1 1 300px;
  min-width: 0;
  min-height: 227px;
}

.contacts-grid .b-card:last-child {
  flex-basis: 36%;
}

.contacts-card__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}

.contacts-card__text {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.contacts-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--blue-dark);
  color: var(--white);
}

.contacts-address__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
}

.contacts-address__text {
  margin: 0;
  font-size: 18px;
}

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .stage-card__title {
    font-size: 28px;
  }
  .b-card__title {
    font-size: 25px;
  }
  .projects-card {
    padding: 70px;
  }
}
@media (max-width: 1080px) {
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .advantage-pair,
  .advantage-pair--offset {
    max-width: none;
    margin-left: 0;
  }
  .advantage-pair {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .advantage-pair__title,
  .advantage-pair__text {
    position: static;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  .advantage-pair .advantage-pair__title {
    margin: 0;
    width: 100%;
  }
  .advantage-pair .advantage-pair__text {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  .advantage-center {
    margin: 20px 0;
    font-size: 47px;
  }
}
@media (max-width: 1024px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-card--span-3,
  .career-card--span-4 {
    grid-column: span 1;
  }
  .curriculum-card {
    padding: 32px;
  }
  .curriculum-item__title {
    font-size: 24px;
  }
  .advantage-grid {
    gap: 48px 32px;
  }
  .advantage-pair {
    max-width: none;
  }
  .advantage-pair--offset {
    margin-left: 32px;
  }
  .advantage-pair__title,
  .advantage-pair__text {
    width: 88%;
  }
  .b-card__title {
    font-size: 18px;
  }
  .projects-card {
    padding: 32px;
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .b-container {
    padding-left: var(--container-mobile-offset);
    padding-right: var(--container-mobile-offset);
  }
  .b-hero {
    padding-top: 110px;
    padding-bottom: 0;
  }
  .b-hero__inner {
    flex-direction: column;
    gap: 15px;
  }
  .b-hero__photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 343/260;
    background-position: 0 0;
  }
  .b-hero__content {
    max-width: none;
    gap: 20px;
  }
  .b-hero__actions {
    flex-direction: column;
  }
  .b-hero__actions .btn {
    width: 100%;
  }
  .b-hero__eyebrow {
    display: none;
  }
  .b-hero__intro {
    flex-direction: column-reverse;
  }
  .b-hero__badge {
    font-size: 12px;
    padding: 16px 18px;
  }
  .b-hero__text {
    margin-top: 0;
  }
  .b-hero__lower {
    gap: 0;
  }
  .b-section {
    padding: 48px 0;
  }
  .b-head {
    margin-bottom: 32px;
  }
  .b-about-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 7px;
  }
  .b-about-slider-wrap {
    margin-left: 0;
  }
  .b-about-slider-wrap {
    width: 100%;
  }
  .stat-card--rect {
    padding: 32px;
    width: 320px;
  }
  .stat-card__title {
    font-size: 28px;
  }
  .b-head__text {
    font-size: 14px;
  }
  .b-fit__row .b-card--wide {
    flex-basis: 100%;
  }
  .b-card {
    flex-basis: 100%;
    min-height: auto;
  }
  .b-card__title {
    font-size: 24px;
  }
  .curriculum-item__title {
    font-size: 24px;
  }
  .curriculum-item {
    padding: 12px 0;
    gap: 24px;
  }
  .curriculum-item::after {
    display: block;
    content: "";
    position: relative;
    z-index: 1;
    display: block;
    width: 40px;
    height: 40px;
    background: url(../i/bachelors/curriculum-rail__dot.svg) center/contain no-repeat;
  }
  .curriculum-rail {
    display: none;
  }
  #whatstudy {
    padding-bottom: 119px;
  }
  #bach-how .b-eyebrow {
    font-weight: 500;
  }
  #bach-how.b-band {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #bach-how .b-head__title {
    margin: 10px auto 5px auto;
  }
  #bach-how .b-head--center {
    margin-bottom: 40px;
  }
  #bach-how .b-head--center .b-head__text {
    max-width: 236px;
  }
  .bach-how-tab-wrapper {
    display: flex;
  }
  .bach-how-tab-wrapper-end {
    display: none;
  }
  #career-trajectories {
    padding-bottom: 120px;
  }
  .career-grid {
    grid-template-columns: 1fr;
  }
  #benefitsofprogram {
    padding-top: 120px;
  }
  .curriculum-card {
    flex-direction: column;
    gap: 24px;
    padding: 40px;
  }
  .curriculum-rail {
    flex-direction: row;
    width: 100%;
    height: 40px;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: space-between;
  }
  .curriculum-rail::before {
    top: 50%;
    bottom: auto;
    left: 20px;
    right: 20px;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }
  .curriculum-item {
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }
  .projects-card {
    gap: 0;
  }
  .projects-card__title {
    margin-bottom: 20px;
  }
  .projects-card__lead {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .b-teachers-block__col {
    max-width: none;
  }
  #whoteaches {
    padding-top: 80px;
  }
  .whoteaches-btn1 {
    display: none;
  }
  .whoteaches-btn2 {
    display: block;
  }
  .b-teachers-block {
    gap: 0;
  }
  .b-teachers-block__text {
    font-size: 14px;
  }
  .advisor-block {
    justify-content: center;
    padding-top: 0;
    gap: 20px;
  }
  .advisor-block__text {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-direction: column-reverse;
    padding: 32px;
    gap: 32px;
  }
  .advisor-block__role {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
  }
  .advisor-block__name {
    font-family: var(--accent-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
  }
  #bach-how .b-head__title {
    font-size: 32px;
  }
  .career-card-1 {
    padding: 32px;
  }
  .career-card:nth-child(1) {
    order: 1;
  }
  .career-card:nth-child(2) {
    order: 2;
  }
  .career-card:nth-child(3) {
    order: 3;
  }
  .career-card:nth-child(4) {
    order: 6;
  }
  .career-card:nth-child(5) {
    order: 7;
  }
  .career-card:nth-child(6) {
    order: 4;
  }
  .career-card:nth-child(7) {
    order: 8;
  }
  .career-card:nth-child(8) {
    order: 9;
  }
  .career-card:nth-child(9) {
    order: 10;
  }
  .career-card:nth-child(10) {
    order: 11;
  }
  #bach-grants {
    padding-top: 120px;
  }
  .grants {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .grants__col,
  .grants__card {
    flex-basis: auto;
    max-width: none;
  }
  .bach-grants-desktop-btn {
    display: none;
  }
  #bach-grants .bach-grants-mobile-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
  .curriculum-card {
    padding: 24px;
  }
  .stage-card,
  .admission-card {
    flex-basis: 100%;
  }
  .stage-card__title {
    font-size: 32px;
  }
  #bach-faq .b-head {
    text-align: left;
    margin-bottom: 10px;
  }
  #bach-faq .faq-item__toggle, #bach-faq .faq-item__panel p {
    font-size: 14px;
  }
  #bach-contacts .b-head {
    margin-bottom: 40px;
  }
  .contacts-address {
    flex-direction: column;
    align-items: flex-start;
  }
  .contacts-card__text {
    font-size: 14px;
  }
  .contacts-grid .b-card {
    min-height: 162px;
  }
  .bach-contacts-uo br {
    display: none;
  }
  .contacts-address__text {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .b-hero__badge {
    padding: 16px 15px;
  }
  .advantage-pair .advantage-pair__title {
    font-size: 28px;
  }
  .projects-card__title {
    font-size: 32px;
  }
}
/* Welcome / admissions landing page — reuses shared b-* / faq / stage-grid /
   tab-wrapper components from _bachelors.scss and _home.scss; this file only
   holds the pieces unique to this page. */
.welcomepage main {
  background: var(--bg);
  overflow-wrap: break-word;
}
.welcomepage .b-hero__actions {
  margin-top: 23px;
}
.welcomepage .b-hero__actions .btn {
  font-size: 16px;
  padding: 18px 32px;
}

/* ============ Hero ============ */
.w-hero {
  padding: 234px 0 80px;
  color: var(--white);
  position: relative;
  background-image: url("../i/bg-dark.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0;
}

@supports (-webkit-hyphens: none) {
  .w-hero {
    background-image: url("../i/bg-dark.jpg");
  }
}
.w-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.w-hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}

.w-hero__title {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 64px);
  letter-spacing: 2%;
  line-height: 1.1;
  padding-top: 9px;
}

.w-hero__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
}

.w-hero__highlight {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 2%;
  line-height: 1.3;
}

/* Stats block */
.w-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w-stats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: 450px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 44px 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
}

.w-stats__ribbon {
  position: absolute;
  top: 0;
  right: 40px;
  width: 52px;
  height: 70px;
}

.w-stats__ribbon img {
  display: block;
  width: 100%;
  height: 100%;
}

.w-stats__ribbon-label {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  font-family: var(--accent-family);
  font-size: 34px;
  text-align: center;
  color: var(--blue-dark);
}

.w-stats__direction {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.w-stats__code {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
}

.w-stats__caption {
  margin: 0;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.w-stats__footnote {
  margin: 14px 0 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.w-stats__years {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}

.w-stats__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.w-stats__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
}

.w-stats__item-och {
  margin-right: 48px;
}

.w-stats__item span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
}

#welcome-mainabout {
  padding-top: 141px;
}
#welcome-mainabout .tab-wrapper-top {
  margin-top: -20px;
}
#welcome-mainabout .tab-wrapper-top img {
  margin: 0 8% 0 0;
  height: 18px;
}
#welcome-mainabout .b-head {
  flex-wrap: nowrap;
}
#welcome-mainabout .b-head__title {
  max-width: 672px;
}
#welcome-mainabout .b-head__text {
  max-width: 500px;
  margin-right: 6%;
}
#welcome-mainabout .b-card {
  min-height: 476px;
}
#welcome-mainabout .b-card .b-card__title {
  margin-bottom: 20px;
}

/* ============ Вступительные испытания / exam table ============ */
.exam-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.exam-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  color: var(--blue-dark);
}

.exam-row__subject {
  flex: 1 1 200px;
  font-size: 16px;
  font-weight: 500;
}

.exam-row__type {
  flex: 1 1 200px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.5;
}

.exam-row__score {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* ============ Контрактное обучение / price card ============ */
.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--blue-dark);
  color: var(--white);
}

.price-card__label {
  margin: 0 0 59px;
  font-size: 18px;
  font-weight: 500;
}

.price-card__value {
  margin: 0 0 8px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
}

.price-card__caption {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.price-card__note {
  margin: 0;
  padding: 17px 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  line-height: 1.4;
}

/* ============ О программе — 2x2 feature grid ============ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  min-height: 220px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}

.feature-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feature-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--accent-family);
  font-size: 20px;
}

.feature-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  max-width: 400px;
}

/* ============ Учебный план (dark band, reuses stage-grid/stage-card) ============ */
.plan-download {
  display: flex;
  justify-content: center;
  margin-top: 62px;
}

#welcome-plan .b-head {
  margin-bottom: 52px;
}
#welcome-plan .stage-card {
  padding: 33px 20px 26px 32px;
  gap: 54px;
}
#welcome-plan .stage-card__text {
  line-height: 1.8;
}
#welcome-plan .b-pill {
  padding: 13px 16px;
}
#welcome-plan .stage-card__head {
  gap: 22px;
}

/* ============ Особенности обучения (stacked card) ============ */
#welcome-features .b-head--center .b-head__title {
  color: var(--blue-dark);
}

.stacked-card {
  position: relative;
  max-width: 903px;
  min-height: 232px;
  margin: 0 auto;
}

.stacked-card__inner {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 170px;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-sm);
  color: var(--blue-dark);
  text-align: center;
}

.stacked-card.is-ready .stacked-card__inner {
  transition: transform 0.5s ease, width 0.5s ease, background-color 0.5s ease, opacity 0.4s ease, box-shadow 0.5s ease;
}

.stacked-card__inner[data-pos="0"] {
  z-index: 3;
  width: 100%;
  transform: translate(-50%, 0);
  background: var(--white);
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.04);
  opacity: 1;
}

.stacked-card__inner[data-pos="1"] {
  z-index: 2;
  width: 93.3%;
  transform: translate(-50%, 30px);
  background: #f8f8f8;
  box-shadow: none;
  opacity: 1;
}

.stacked-card__inner[data-pos="2"] {
  z-index: 1;
  width: 86.7%;
  transform: translate(-50%, 60px);
  background: #f2f2f2;
  box-shadow: none;
  opacity: 1;
}

.stacked-card__inner[data-pos=hidden] {
  z-index: 0;
  width: 86.7%;
  transform: translate(-50%, 60px);
  background: #f2f2f2;
  box-shadow: none;
  opacity: 0;
}

.stacked-card__inner.is-leaving {
  z-index: 4;
  transform: translate(-50%, -30px);
}

.stacked-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
}

.stacked-card__text {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

/* ============ Ключевые даты (rail with numbered circles) ============ */
#welcome-keydates .b-head--center {
  margin-bottom: 50px;
}
#welcome-keydates .b-head--center .b-head__title {
  color: var(--blue-dark);
}
#welcome-keydates .tab-wrapper.tab-wrapper-top {
  justify-content: flex-start;
}
#welcome-keydates .tab-wrapper.tab-wrapper-top img {
  margin: 0 0 0 8%;
}
#welcome-keydates .admission-card {
  padding: 38px 32px 24px 32px;
}
#welcome-keydates .admission-card--dark .admission-card__title {
  margin-bottom: 47px;
}
#welcome-keydates .admission-card--dark .admission-card__date {
  gap: 3px;
}
#welcome-keydates .admission-card--dark .admission-card__footnote {
  margin-top: 27px;
  padding-top: 16px;
}
#welcome-keydates .info-bar {
  background-color: #CCD5F3;
}
#welcome-keydates .info-bar .btn--white {
  background: none;
  border: 1px solid #000;
}
#welcome-keydates .info-bar a {
  color: #130BB9;
  text-decoration: none;
}
#welcome-keydates .info-bar a:hover {
  text-decoration: underline;
}

.keydates-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 56px 68px 64px 113px;
  border-radius: var(--radius-md);
  background: var(--white);
}

.keydates-list {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

.keydates-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 29px 0;
  color: var(--blue-dark);
}

.keydates-item__date {
  margin: 0;
  flex: 1 1 240px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
}

.keydates-item__label {
  margin: 0;
  flex: 1 1 240px;
  font-size: 18px;
  font-weight: 500;
}

.keydates-rail {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 30px 0;
  justify-items: center;
  align-items: center;
}

.keydates-rail::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
  background: rgba(6, 16, 73, 0.25);
  transform: translateX(-50%);
}

.keydates-rail__dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--blue-dark);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
}

/* Приоритетный / основной этап зачисления — dark variant of .admission-card */
.admission-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.admission-card--dark .admission-card__title {
  color: var(--white);
}

.admission-card--dark .admission-card__dates {
  display: flex;
  gap: 98px;
  flex-wrap: wrap;
}

.admission-card--dark .admission-card__date {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admission-card--dark .admission-card__date-value {
  margin: 0;
  min-height: 71px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}

.admission-card--dark .admission-card__date-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.admission-card--dark .admission-card__footnote {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  line-height: 1.2;
  opacity: 0.5;
}

/* ============ Info bar ============ */
.info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-bar__text {
  margin: 0;
  max-width: 724px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--blue-dark);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .keydates-card {
    padding: 40px;
  }
  .keydates-item {
    flex-wrap: wrap;
  }
  .admission-card--dark .admission-card__dates {
    gap: 40px;
  }
  #welcome-mainabout .b-fit__row {
    gap: 50px;
  }
  #welcome-mainabout .tab-wrapper.tab-wrapper-top {
    justify-content: flex-end;
  }
}
@media (max-width: 767px) {
  .w-hero {
    padding-top: 150px;
    padding-bottom: 48px;
  }
  .w-hero__aside {
    width: 100%;
    align-items: stretch;
  }
  .w-stats {
    width: 100%;
    padding: 24px;
  }
  .w-stats__row {
    gap: 26px 4px;
    justify-content: flex-start;
  }
  .exam-row {
    flex-wrap: wrap;
  }
  .exam-row__score {
    width: 100%;
  }
  .features-grid {
    gap: 16px;
  }
  .feature-card {
    padding: 24px;
    min-height: 0;
  }
  .feature-card__title {
    font-size: 22px;
  }
  .feature-card__icon {
    width: 49px;
    height: 40px;
  }
  .stacked-card {
    min-height: 292px;
  }
  .stacked-card__inner {
    height: 232px;
    padding: 24px;
  }
  .stacked-card__title {
    font-size: 26px;
  }
  .keydates-card {
    padding: 24px;
  }
  .keydates-list {
    display: flex;
    flex-direction: column;
  }
  .keydates-item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px dashed rgba(6, 16, 73, 0.2);
  }
  .keydates-item__date,
  .keydates-item__label {
    flex: none;
  }
  .keydates-item:last-child {
    border-bottom: 0;
  }
  .keydates-rail {
    display: none;
  }
  .admission-card--dark .admission-card__dates {
    flex-direction: column;
    gap: 24px;
  }
  .admission-card--dark .admission-card__date-value {
    min-height: 0;
  }
  .info-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  #welcome-mainabout .b-head {
    flex-wrap: wrap;
  }
  #welcome-mainabout .tab-wrapper-top img {
    height: auto;
  }
  .w-stats__item {
    gap: 3px;
  }
}
/* Магистратура — reuses w-hero/w-stats, b-band/stage-grid, info-table,
   info-numbered-list, info-bar, keydates-card and admission-card from the
   welcome/bachelors pages; this file only holds the pieces unique here. */
.magistratura-page main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.magistratura-descr {
  max-width: 760px;
}

.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.stage-grid[hidden] {
  display: none;
}

/* Semester subject list — dashed rows read as a compact table rather than
   one run-on line of <br>-separated text. */
.stage-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stage-card__list li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(6, 16, 73, 0.2);
  font-size: 14px;
  line-height: 1.3;
}
.stage-card__list li:first-child {
  padding-top: 0;
}
.stage-card__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Document links under the study plan — a quiet, scannable list rather
   than a stack of loud full-width buttons. */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 62px auto 0;
}

.doc-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.doc-list__item:hover {
  background: var(--blue-soft);
  color: var(--white);
}

.doc-list__arrow {
  flex-shrink: 0;
  width: 9px;
  height: 16px;
}

#magistratura-campaign .b-head--center .b-head__title,
#magistratura-keydates .b-head--center .b-head__title {
  color: var(--blue-dark);
}

#magistratura-keydates .tab-wrapper.tab-wrapper-top {
  justify-content: flex-start;
}
#magistratura-keydates .tab-wrapper.tab-wrapper-top img {
  margin: 0 0 0 8%;
}

.magistratura-info-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keydates-rail {
  margin: 45px 0;
}

@media (max-width: 767px) {
  .doc-list {
    margin-top: 40px;
  }
  .doc-list__item {
    padding: 16px 20px;
  }
  .w-stats__row {
    gap: 26px 26px;
  }
  .w-stats__item-och {
    margin-right: 18px;
  }
}
/* Аспирантура — reuses w-hero/w-stats, price-card, faq, doc-list,
   info-numbered-list, keydates-card and admission-card from the other
   admission pages; this file only holds the pieces unique here. */
.postgraduate-page main {
  background: var(--bg);
  overflow-wrap: break-word;
}
.postgraduate-page .w-hero__inner {
  align-items: stretch;
  flex-wrap: nowrap;
}
.postgraduate-page .w-hero__content {
  justify-content: space-between;
  flex-basis: 48%;
}
.postgraduate-page .w-hero .doc-list {
  margin: 0;
  max-width: none;
}
.postgraduate-page .w-hero .doc-list__item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.postgraduate-page .w-hero .doc-list__item:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 767px) {
  .postgraduate-page .w-hero__content {
    display: contents;
  }
  .postgraduate-page .w-hero__title,
  .postgraduate-page .w-hero .doc-list {
    width: 100%;
  }
  .postgraduate-page .w-hero__title {
    order: 1;
  }
  .postgraduate-page .w-hero__aside {
    order: 2;
  }
  .postgraduate-page .w-hero .doc-list {
    order: 3;
    margin-top: 0;
  }
}

/* Pull the grants block up a bit closer to the price banner above it */
#postgraduate-grants {
  padding-top: 24px;
}

/* Стоимость обучения — a wide, centered banner rather than the narrow
   left-aligned price-card paired with an exam table on other pages. */
.price-banner {
  padding: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
}

.price-banner__label {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
}

.price-banner__value {
  margin: 0 0 12px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
}

.price-banner__caption {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.8;
}

#postgraduate-campaign .b-head--center .b-head__title,
#postgraduate-research .b-head--center .b-head__title {
  color: var(--blue-dark);
}
#postgraduate-campaign .b-head--center .b-head__text,
#postgraduate-research .b-head--center .b-head__text {
  color: var(--blue-dark);
}
#postgraduate-campaign .b-head--center .b-head__text a,
#postgraduate-research .b-head--center .b-head__text a {
  color: var(--blue-text-accent);
}

#postgraduate-campaign {
  /* Only 2 items are used here — the shared 4-row grid otherwise stretches
     the card and leaves the rail dots misaligned with their own text. */
  /* "Как выбрать тему эссе?" — plain info cards instead of an accordion,
     stacked in a single column. */
}
#postgraduate-campaign .keydates-card--compact .keydates-list {
  grid-template-rows: repeat(2, 1fr);
}
#postgraduate-campaign .info-numbered-list {
  margin-left: auto;
  margin-right: auto;
}
#postgraduate-campaign .info-numbered-item__text strong {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 20px;
  display: block;
  line-height: 1.1;
  letter-spacing: -1%;
}
#postgraduate-campaign .info-cards {
  flex-direction: column;
}
#postgraduate-campaign .info-card__title {
  font-size: 24px;
  line-height: 1.25;
}
#postgraduate-campaign .info-card__lead {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 600;
}
#postgraduate-campaign .info-card__list {
  margin: 16px 0 0;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.5;
  list-style: disc;
}
#postgraduate-campaign .info-card__list li {
  margin-bottom: 8px;
}
#postgraduate-campaign .info-card__list li:last-child {
  margin-bottom: 0;
}
#postgraduate-campaign .info-card__list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#postgraduate-campaign .info-card__list a:hover {
  text-decoration: none;
}

/* Emphasized deadline callouts, bordered top and bottom like a pull-quote */
.impact-note {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid rgba(6, 16, 73, 0.2);
  border-bottom: 1px solid rgba(6, 16, 73, 0.2);
  text-align: center;
}

.impact-note p {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--blue-dark);
}

.impact-note p:last-child {
  margin-bottom: 0;
}

/* Ключевые преимущества — dark band, heading + divider + text columns */
.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.advantage-item {
  flex: 1 1 220px;
  min-width: 0;
}

.advantage-item__title {
  margin: 0 0 16px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--white);
}

.advantage-item__divider {
  height: 3px;
  width: 100%;
  background: var(--blue-soft);
  margin-bottom: 16px;
}

.advantage-item__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-on-dark-muted);
}

/* Проблематика научных исследований — researcher profile cards */
.researcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.researcher-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}

.researcher-card__photo {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--placeholder);
}
.researcher-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.researcher-card__name {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
}
.researcher-card__name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--blue-accent);
}
.researcher-card__name a:hover {
  border-bottom-color: transparent;
}

.researcher-card__degree {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
}

.researcher-card__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .researcher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .postgraduate-page .w-hero__inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .advantages-grid {
    gap: 32px;
  }
  .researcher-grid {
    grid-template-columns: 1fr;
  }
  .impact-note p {
    font-size: 16px;
  }
  .admission-card {
    min-height: auto;
  }
}
/* О Факультете — overview/landing page for the faculty itself */
.facultypage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

/* ============ Hero ============ */
.fac-scroll-stack {
  position: relative;
  height: 300vh;
}

.fac-banner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fac__image {
  position: absolute;
  inset: 0;
}

.fac__image img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  transform: scale(1.15);
  will-change: transform;
}

.fac__overlay {
  background: rgba(0, 0, 0, 0.6392156863);
  position: absolute;
  inset: 0;
  opacity: 0;
  backdrop-filter: blur(0px);
}

.fac-banner__text {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  margin-bottom: 30%;
}

.fac-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 900px;
  color: #fff;
  will-change: transform;
}

.fac-banner-tab-top-wrapper {
  position: fixed;
  z-index: 20;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.fac-banner-tab-top {
  position: absolute;
  bottom: 0;
  z-index: 200;
  width: 100%;
  height: 50px;
  background-color: var(--lavender);
}

.fac-banner-tab-top-wrapper img {
  margin-top: -36px;
  margin-left: -36px;
}

.fac-banner-tab {
  position: absolute;
  bottom: 0;
  z-index: 200;
  width: 100%;
  height: 50px;
  background-color: var(--lavender);
  left: 0;
}

.fac-hero {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  margin-top: -100vh;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  transform: translateY(100vh);
}

.fac-hero__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -100px;
  gap: 40px;
  flex-wrap: wrap;
}

.fac-hero__title, .fac-banner__title {
  max-width: 670px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.42px;
}

.fac-hero__title {
  max-width: 719px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.fac-badge {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: 290px;
  height: 290px;
  max-width: 100%;
  margin-right: 36px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--blue-dark);
  color: var(--white);
}

.fac-badge::before {
  content: "";
  display: block;
  position: absolute;
  margin-top: -5px;
  margin-left: -5px;
  z-index: -1;
  width: 290px;
  height: 290px;
  background-color: var(--lavender);
  border-radius: var(--radius-md);
}

.fac-badge__caption {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.fac-badge__year {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 64px;
  line-height: 0.8;
  letter-spacing: -1.28px;
}
.fac-badge__year span {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
}

/* ============ Часть большой экосистемы ============ */
.ecosystem-tab-top {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.ecosystem-tab-top img {
  margin-left: -36px;
}

.fac-ecosystem {
  background: var(--lavender);
  position: relative;
  z-index: 2;
  padding-top: 123px;
  padding-bottom: 115px;
}

.fac-ecosystem__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 65px;
}

.fac-ecosystem__head .b-head__title {
  max-width: 465px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.48px;
  color: var(--blue-dark);
}

.fac-ecosystem__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 576px;
}
.fac-ecosystem__text p {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--blue-dark);
}

.ecosystem-tab-bottom {
  display: flex;
  justify-content: flex-end;
}

.fac-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fac-pillar {
  flex: 1 1 333px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 259px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.fac-pillar--wide {
  flex: 1.34 1 446px;
}

.fac-pillar__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.fac-pillar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

/* ============ Готовим специалистов ============ */
.fac-specialists {
  padding: 147px 0 123px 0;
}

.fac-specialists__head {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
  margin-bottom: 52px;
}

.fac-specialists__head .b-head__title {
  color: var(--blue-dark);
  letter-spacing: -1%;
}

.fac-specialists__head .b-head__text {
  color: var(--blue-dark);
  opacity: 0.7;
}

.fac-specialists__card {
  max-width: 674px;
  min-height: 263px;
  margin: 40px auto 0;
  padding: 44px 80px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
  text-align: center;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.24px;
}
.fac-specialists__card p {
  margin: 0 0 29px;
}
.fac-specialists__card p:last-child {
  margin-bottom: 0;
}

/* ============ Партнёрский тикер ============ */
.fac-ticker {
  overflow: hidden;
  padding: 24px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.fac-ticker__track {
  display: flex;
  align-items: center;
  gap: 76px;
  width: max-content;
  animation: fac-ticker-scroll 28s linear infinite;
}

@keyframes fac-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.fac-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.24px;
  white-space: nowrap;
  color: var(--white);
}

.fac-ticker__item--logo1 img {
  height: 50px;
  width: auto;
  display: block;
}

.fac-ticker__item--logo2 img {
  height: 40px;
  width: auto;
  display: block;
}

.fac-ticker__dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: #6449ff;
}

/* ============ Вольное дело support band ============ */
.fac-support {
  padding: 127px 0 80px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.fac-support__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 48px;
}

.fac-support__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  max-width: 571px;
}

.fac-support__lead {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.32px;
}

.fac-support__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.fac-support__gallery {
  flex: 1 1 672px;
  min-width: 0;
  max-width: 672px;
}

.fac-gallery-slider {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fac-support__photo {
  aspect-ratio: 480/320;
  background-color: var(--placeholder);
}
.fac-support__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fac-gallery-slider .swiper-pagination {
  bottom: 16px;
}

.fac-gallery-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--white);
  opacity: 0.5;
  transition: width var(--transition), opacity var(--transition);
}

.fac-gallery-slider .swiper-pagination-bullet-active {
  width: 24px;
  opacity: 1;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .fac-banner__text {
    align-items: center;
  }
  .fac-ecosystem__head {
    flex-direction: column;
  }
  .fac-ecosystem__text {
    max-width: none;
  }
  .fac-support__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .fac-support__text {
    max-width: none;
  }
  .fac-support__gallery {
    width: 100%;
    max-width: none;
    flex: 1;
  }
}
@media (max-width: 767px) {
  .fac-hero__inner {
    flex-direction: column;
    gap: 32px;
  }
  .fac-badge__year {
    font-size: 48px;
  }
  .fac-ecosystem, .fac-specialists {
    padding: 48px 0;
  }
  .fac-ecosystem__head {
    margin-bottom: 32px;
  }
  .fac-pillars {
    flex-direction: column;
  }
  .fac-pillar, .fac-pillar--wide {
    flex: 1 1 auto;
    min-height: 0;
    gap: 24px;
  }
  .fac-specialists__card {
    padding: 24px;
  }
  .fac-support {
    padding: 48px 0;
  }
  .fac-banner-tab-top-wrapper img, .ecosystem-tab-top img, .ecosystem-tab-bottom img {
    height: 18px;
  }
  .ecosystem-tab-top img {
    margin-left: 0;
  }
  .fac-banner-tab-top-wrapper img {
    margin-top: -16px;
    margin-left: 0;
  }
}
/* Учёный совет — bento grid of council member cards */
.councilpage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.council {
  padding-top: 192px;
}

.council-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.council-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}

.council-card--span-41 {
  flex-basis: calc(30% - 7px);
}

.council-card--span-42 {
  flex-basis: calc(40% - 7px);
}

.council-card--span-43 {
  flex-basis: calc(30% - 7px);
}

.council-card--span-6 {
  flex-basis: calc(50% - 5px);
}

.council-card--span-5 {
  flex-basis: calc(40% - 6px);
}

.council-card--span-2 {
  flex-basis: calc(20% - 8px);
  min-height: 200px;
}

.council-card__name {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1%;
}

.council-card__role {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.council-card--mark {
  background-color: var(--blue-dark);
  background-image: url("../i/logo-w-ii.svg");
  background-repeat: no-repeat;
  background-size: 318px;
  background-position: -20px calc(100% + 1px);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .council-card--span-41, .council-card--span-42, .council-card--span-43 {
    flex-basis: calc(50% - 5px);
  }
  .council-card--span-6,
  .council-card--span-5 {
    flex-basis: calc(50% - 5px);
  }
  .council-card--span-2 {
    flex-basis: calc(50% - 5px);
    background-position: -20px 33px;
  }
}
@media (max-width: 767px) {
  .council {
    padding-top: 150px;
  }
  .council-card--span-41, .council-card--span-42, .council-card--span-43,
  .council-card--span-6,
  .council-card--span-5 {
    flex-basis: 100%;
  }
  .council-card {
    min-height: 0;
    gap: 24px;
    padding: 24px;
  }
  .council-card--span-2 {
    flex-basis: 100%;
    min-height: 200px;
    background-size: contain;
    background-position: bottom;
  }
}
/* Ключевые партнёры */
.partnerspage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.partners {
  padding-top: 192px;
}

.partners .b-head {
  margin-bottom: 48px;
}

.partners .b-head__title {
  font-size: clamp(32px, 5vw, 64px);
}

.partners-more .b-head__title {
  font-size: clamp(32px, 4vw, 42px);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-card {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 300px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.partner-card--dark {
  background: var(--blue-dark);
  color: var(--white);
  max-width: 446px;
}

.partner-card__logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.partner-card__logo--dark {
  height: 113px;
  width: fit-content;
}

.partner-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  max-width: 300px;
}

.partner-card__text-1 {
  margin-left: calc(100% - 360px);
  max-width: 360px;
}

/* ============ Партнёры инициатив ============ */
.partners-more-tab-top {
  display: flex;
  margin-bottom: -1px;
}
.partners-more-tab-top img {
  display: block;
}

.partners-more-tab-bottom {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -1px;
}
.partners-more-tab-bottom img {
  display: block;
}

.partners-more {
  background: var(--lavender);
  padding: 85px 0 108px 0;
}
.partners-more .b-head {
  margin-bottom: 92px;
}

.partners-more .b-head__title {
  color: var(--blue-dark);
}

.partners-more__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  mix-blend-mode: multiply;
  padding: 0 75px;
}

.partners-more__logo {
  max-width: 220px;
  object-fit: contain;
}

/* ============ Responsive ============ */
@media (max-width: 767px) {
  .partners {
    padding-top: 150px;
  }
  .partner-card {
    min-height: 0;
    padding: 24px;
    gap: 24px;
  }
  .partners-more .b-head__title {
    font-size: 28px;
  }
  .partners-more__grid {
    gap: 32px;
  }
  .partner-card--dark {
    max-width: 100%;
  }
  .partner-card__logo {
    width: fit-content;
  }
  .partner-card__text-1 {
    margin-left: auto;
  }
  .partners-more .b-head {
    margin-bottom: 40px;
  }
  .partners-more {
    padding: 60px 0;
  }
  .partners-more-tab-top img, .partners-more-tab-bottom img {
    width: 50%;
  }
}
/* Общежитие ДСВ */
.dormitoriespage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.dorm-conditions .b-head--center .b-head__title {
  color: var(--blue-dark);
}

/* ============ Hero ============ */
.dorm-hero {
  padding-top: 192px;
}

.dorm-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  align-items: stretch;
}

.dorm-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  max-width: 600px;
}

.dorm-hero__title {
  margin: 40px 0 30px 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -1%;
  color: var(--blue-dark);
}

.dorm-hero__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: var(--blue-dark);
  max-width: 500px;
}

.dorm-hero__address {
  margin: 24px 0 -8px 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  color: var(--blue-dark);
}
.dorm-hero__address strong {
  font-family: var(--font-family);
  font-weight: 400;
}

.dorm-hero__photo {
  min-width: 0;
  max-width: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--placeholder);
}
.dorm-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Как добраться / Гости в общежитии ============ */
.dorm-info__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dorm-info__card {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 435px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}
.dorm-info__card .btn--lavender {
  margin-top: 24px;
  padding: 14px 15px;
  font-size: 14px;
}

.dorm-info__card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.dorm-info__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 48px;
}

.dorm-info__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  padding-right: 5px;
}

.dorm-info__card--dark .dorm-info__text {
  max-width: 450px;
}

/* Map reveal — same grid-rows accordion technique as .faq-item__panel.
   Lives in the DOM right after the dark "Как добраться" card so it lands
   there on mobile (where .dorm-info__grid stacks in source order); on
   desktop `order` pushes it after both cards instead. */
.dorm-map {
  order: 3;
  flex: 1 1 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.dorm-map.is-open {
  grid-template-rows: 1fr;
  margin-top: 10px;
}

.dorm-map > div {
  overflow: hidden;
}

.dorm-map__frame {
  position: relative;
  aspect-ratio: 16/6;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--placeholder);
}
.dorm-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ Условия проживания ============ */
.dorm-conditions__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dorm-conditions__card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 413px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.dorm-conditions__card--tint {
  background: var(--lavender);
}

.dorm-conditions__card--dark {
  background: var(--blue-dark);
  color: var(--white);
  justify-content: flex-end;
}

.dorm-conditions__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
}

.dorm-conditions__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.dorm-conditions__card--dark .dorm-conditions__text {
  font-family: var(--accent-family);
  font-size: 24px;
  letter-spacing: -1%;
}

.dorm-conditions__list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  font-size: 18px;
  line-height: 1.34;
  max-width: 270px;
}
.dorm-conditions__list li::marker {
  font-size: 0.8rem;
}

/* ============ Responsive ============ */
@media (max-width: 767px) {
  .dorm-hero {
    padding-top: 150px;
  }
  .dorm-hero__content {
    max-width: none;
  }
  .dorm-hero__title, .dorm-hero__address, .dorm-conditions .b-head__title {
    font-size: 2rem;
  }
  .dorm-conditions__title {
    font-size: 1.5rem;
  }
  .dorm-info__card {
    padding: 24px;
    min-height: auto;
  }
  .dorm-conditions__card {
    min-height: 0;
    padding: 24px;
    gap: 24px;
  }
  .dorm-info__text, .dorm-conditions__list,
  .dorm-conditions__card--dark .dorm-conditions__text, .dorm-conditions__text {
    font-size: 1rem;
  }
  .dorm-info__title {
    font-size: 2rem;
  }
  .dorm-map {
    order: 0;
  }
  .dorm-map__frame {
    aspect-ratio: 4/5;
  }
}
/* Памятка первокурсника — long-form informational page, many small custom
   sections; reuses .exam-table/.exam-row (schedules) and .b-card-ish tokens
   throughout instead of inventing new card primitives where one already fits. */
.memopage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

/* Shared "memo-card" base — used across most sections below */
.memo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.memo-card--tint {
  background: var(--lavender);
}

.memo-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.memo-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.memo-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
.memo-card__text p {
  margin: 0 0 1em;
}
.memo-card__text p:last-child {
  margin-bottom: 0;
}

.memo-card--dark .memo-card__text {
  color: var(--white);
}

.memo-card__fine {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(6, 16, 73, 0.5);
}

/* ============ Hero ============ */
.memo-hero {
  display: flex;
  flex-direction: column;
  min-height: 805px;
  padding: 190px 0 80px;
  color: var(--white);
  background-color: var(--blue-dark);
  background-position: center;
  background-image: url("../../assets/i/pages/freshmans-memo-hero.jpg");
  background-repeat: no-repeat;
}

.memo-hero__inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex: 1;
  flex-wrap: wrap;
}

.memo-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  max-width: 480px;
}

.memo-hero__eyebrow {
  font-weight: 500;
}

.memo-hero__title {
  margin: 45px 0 0 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -1%;
}

.memo-hero__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  max-width: 450px;
}

/* ============ Учебный процесс ============ */
.memo-process__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.memo-process__grid > .memo-card {
  flex: 1 1 380px;
  min-width: 0;
  justify-content: space-between;
}

.memo-process__col {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.memo-process__col .memo-card {
  flex: 1;
  gap: 64px;
}

.memo-process .exam-table {
  gap: 24px;
  margin-top: 24px;
}

.memo-process .exam-row {
  padding: 0 0 24px;
  border-radius: 0;
  background: none;
  border-bottom: 1px solid rgba(6, 16, 73, 0.15);
}

.memo-process .exam-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.memo-process .exam-row__subject {
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.memo-process .exam-row__score {
  font-size: 18px;
  font-weight: 500;
}

/* ============ Цифровая жизнь ============ */
.memo-digital {
  padding-bottom: 152px;
}

.memo-digital__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.memo-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 160px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  transition: background var(--transition);
}

a.memo-link-card:hover {
  background: var(--lavender);
}

.memo-link-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.memo-link-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.memo-link-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.memo-link-card__url {
  font-size: 18px;
  font-weight: 500;
}

.memo-link-card__arrow {
  flex-shrink: 0;
  font-size: 16px;
}

.memo-link-card__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

/* ============ Библиотеки МГУ ============ */
.memo-library {
  padding: 108px 0 90px 0;
  background: var(--lavender);
  color: var(--blue-dark);
}

.memo-library__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.memo-library__text h2 {
  margin-bottom: 100px;
}

.memo-library__title {
  margin: 0 0 8px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.48px;
}

.memo-library__text p {
  font-size: 18px;
  line-height: 1.2;
}

.memo-library__photo {
  flex: 1 1 420px;
  min-width: 445px;
  max-width: 445px;
  aspect-ratio: 445/487;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--placeholder);
}
.memo-library__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memo-library-tab-top,
.memo-library-tab-bottom {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -1px;
}
.memo-library-tab-top img,
.memo-library-tab-bottom img {
  display: block;
}

/* ============ Здоровье и еда ============ */
.memo-health__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.memo-health__grid > .memo-card {
  flex: 1 1 420px;
  min-width: 0;
}

.memo-health__card {
  justify-content: space-between;
}

.memo-health__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.memo-health__btn {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 14px;
}

.memo-health__btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.memo-health__name {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.memo-health__addr {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.memo-health__lead {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.memo-health__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.24px;
}

.memo-tip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: var(--blue-dark);
  color: var(--white);
  justify-content: space-between;
}

.memo-tip__label {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.32px;
}

.memo-tip__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--white);
  max-width: 55%;
}

/* ============ Военный учебный центр ============ */
.memo-military {
  padding: 130px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.memo-military .b-head__title {
  color: var(--white);
}

.memo-military__head {
  align-items: flex-start;
}

.memo-military__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 520px;
}
.memo-military__intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: var(--white);
}

.memo-military__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.memo-military__programs {
  flex-basis: 63%;
}

.memo-military__programs, .memo-military__note {
  min-width: 0;
  justify-content: space-between;
}

.memo-military__note {
  position: relative;
  border: 1px solid #fff;
  flex-basis: 38%;
}

.memo-military__note .tab-top-whiteborder {
  position: absolute;
  width: 210px;
  height: 21px;
  margin-top: -49px;
  right: 40px;
}

.memo-military__note-box {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
}
.memo-military__note-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.memo-military__tests {
  background: var(--lavender);
}

.memo-military__tests-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.memo-military__tests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 480px;
}

.memo-military__test {
  flex: 1 1 160px;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.memo-military__tests-note {
  flex: 1 1 450px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

/* ============ CTA ============ */
.memo-cta {
  padding-top: 150px;
}

.memo-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
}

.memo-cta__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.memo-cta__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.48px;
}

.memo-cta__body {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.4;
}

.memo-cta__body p {
  margin: 0;
}

.memo-cta__mark {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .memo-tip__text br {
    display: none;
  }
}
@media (max-width: 1024px) {
  .memo-digital__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .memo-military__row {
    flex-direction: column;
    gap: 32px;
  }
  .memo-library__inner {
    flex-direction: column;
  }
  .memo-library__text h2 {
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  .memo-hero {
    padding: 150px 0 48px;
  }
  .memo-hero__content {
    max-width: none;
  }
  .memo-process__grid > .memo-card {
    justify-content: flex-start;
  }
  .memo-process__col .memo-card {
    gap: 24px;
  }
  .memo-digital {
    padding-bottom: 50px;
  }
  .memo-digital__grid {
    grid-template-columns: 1fr;
  }
  .memo-library {
    padding: 48px 0;
  }
  .memo-library__text {
    max-width: none;
  }
  .memo-tip {
    flex-direction: column;
    align-items: flex-start;
  }
  .memo-tip__text {
    max-width: 100%;
  }
  .memo-military {
    padding: 48px 0;
  }
  .memo-military__tests-row {
    gap: 16px;
  }
  .memo-cta {
    padding-top: 50px;
  }
  .memo-cta__card {
    padding: 32px;
  }
  .memo-library__photo {
    flex: 1;
    min-width: auto;
    max-width: 100%;
  }
}
/* Аспирантам — reuses one small set of card/link primitives (.grad-card,
   .grad-link, .grad-doc) across every section instead of inventing a new
   component per section, since the source repeats the same "card +
   title + link row" shape roughly twenty times on this page. */
.gradpage main {
  background: var(--bg);
  overflow-wrap: break-word;
}

.grad-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
}

.grad-card--tint {
  background: var(--lavender);
}

.grad-card--dark {
  background: var(--blue-dark);
  color: var(--white);
}

.grad-card--row {
  padding: 0;
}

.grad-card--row .grad-link {
  padding: 32px;
}

.grad-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.32px;
}

.grad-card__title--lg {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.48px;
}

.grad-card__note {
  margin: 0;
  max-width: 340px;
  font-size: 18px;
  line-height: 1.4;
}

.grad-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.grad-card--dark .grad-card__text strong {
  font-weight: 700;
}

.grad-card__contact {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.grad-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grad-card__tag {
  display: block;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
}

.grad-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.grad-link span {
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
}

.grad-link--plain span {
  text-decoration: none;
}

.grad-link__accent {
  text-decoration: none;
  font-style: italic;
}

.grad-link__arrow {
  flex-shrink: 0;
}
.grad-link__arrow rect, .grad-link__arrow path {
  transition: fill var(--transition), stroke var(--transition);
}

.grad-link:hover {
  color: var(--blue-accent);
}
.grad-link:hover .grad-link__arrow rect {
  fill: var(--blue-accent);
  stroke: var(--blue-accent);
}
.grad-link:hover .grad-link__arrow path {
  stroke: var(--white);
}

.grad-card--dark .grad-link:hover .grad-link__arrow rect {
  stroke: var(--blue-accent);
}

.grad-card__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grad-card__boxed-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grad-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.grad-doc span {
  font-size: 18px;
  font-weight: 500;
}

.grad-doc:hover {
  color: var(--blue-accent);
}
.grad-doc:hover .grad-link__arrow rect {
  fill: var(--blue-accent);
  stroke: var(--blue-accent);
}
.grad-doc:hover .grad-link__arrow path {
  stroke: var(--white);
}

.grad-contact-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.grad-contact-link:hover {
  color: var(--blue-accent);
}

/* ============ Hero ============ */
.grad-hero {
  padding-top: 192px;
}

.grad-hero__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 593px;
  margin-bottom: 48px;
}

.grad-hero__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.64px;
  color: var(--blue-dark);
}

.grad-hero__text {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.2;
}

.grad-hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.grad-hero__grid > .grad-card {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 290px;
}

/* ============ Быстрый доступ / Документы / Академический отпуск ============ */
.grad-quick__grid,
.grad-docs__grid,
.grad-leave__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grad-quick__grid > .grad-card {
  flex: 1 1 360px;
  min-width: 0;
  min-height: 227px;
}

.grad-docs__grid > .grad-card {
  flex: 1 1 500px;
  min-width: 0;
}

.grad-card--full {
  flex-basis: 100%;
}

.grad-leave__grid > .grad-card {
  flex: 1 1 500px;
  min-width: 0;
  min-height: 290px;
}

/* ============ Аттестация аспирантов ============ */
.grad-attest {
  padding: 85px 0 108px;
  background: var(--lavender);
}

.grad-attest .b-head {
  margin-bottom: 48px;
}

.grad-attest .b-head--center .b-head__title {
  color: var(--blue-dark);
}

.grad-attest__year + .grad-attest__year {
  margin-top: 40px;
}

.grad-attest__year-title {
  margin: 0 0 24px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  color: var(--blue-dark);
}

.grad-attest__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.grad-attest__row > .grad-card {
  flex: 1 1 340px;
  min-width: 0;
  min-height: 360px;
}

.grad-attest-tab-top {
  display: flex;
  margin-bottom: -1px;
}
.grad-attest-tab-top img {
  display: block;
}

.grad-attest-tab-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: -1px;
}
.grad-attest-tab-bottom img {
  display: block;
}

/* ============ Учебные дисциплины ============ */
.grad-disciplines__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grad-disciplines__grid > .grad-card {
  flex: 1 1 500px;
  min-width: 0;
  min-height: 350px;
}

/* ============ Нормативные документы ============ */
.grad-normative__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grad-normative__grid > .grad-card {
  flex: 1 1 480px;
  min-width: 0;
}

/* ============ Контакты ============ */
.grad-contacts__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grad-contacts__grid > .grad-card {
  flex: 1 1 500px;
  min-width: 0;
  min-height: 290px;
}

/* ============ Responsive ============ */
@media (max-width: 767px) {
  .grad-hero {
    padding-top: 150px;
  }
  .grad-hero__head {
    max-width: none;
  }
  .grad-attest {
    padding: 48px 0;
  }
  .grad-attest__row > .grad-card {
    min-height: 0;
  }
  .grad-card__title--lg {
    font-size: 32px;
  }
}
/* Shared layout for short, mostly-text content pages (staff/student info
   pages built from single-purpose documents — contacts, requisites, etc.)
   instead of inventing a bespoke page file for each one. */
.info-page {
  padding: 192px 0 96px;
}

.info-page__head {
  margin-bottom: 40px;
}

.info-page__head .b-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-dark);
  opacity: 0.6;
}

.info-page__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--blue-dark);
}

.info-page__intro {
  margin: 0 0 48px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--blue-dark);
}
.info-page__intro p {
  margin: 0 0 16px;
}
.info-page__intro p:last-child {
  margin-bottom: 0;
}
.info-page__intro a {
  color: var(--blue-text-accent);
}

.info-page__section + .info-page__section {
  margin-top: 48px;
}

.info-page__section-title {
  margin: 0 0 24px;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--blue-dark);
}

.info-page__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(6, 16, 73, 0.7);
}

.info-page__note + .info-page__note {
  margin-top: 16px;
}

/* Two-up cards (e.g. department names) */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-card {
  flex: 1 1 300px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
}

.info-card.h-auto {
  flex: 1;
}

.info-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
}

/* Label/value rows (contacts, staff, requisites) */
.info-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
}

/*.info-row__label { flex: 1 1 280px; font-size: 15px; font-weight: 500; color: var(--blue-dark); }*/
.info-row__label {
  flex: 1 1 280px;
  font-size: 23px;
  line-height: 1;
  color: var(--blue-dark);
  font-family: var(--accent-family);
}

.info-row__label-long {
  flex: 1 1 380px;
}

.info-row__value {
  flex: 1 1 280px;
  font-size: 16px;
  color: var(--blue-dark);
}

.info-row__value a {
  color: inherit;
  text-decoration: none;
}

.info-row__value a:hover {
  text-decoration: underline;
}

/* Numbered document/link list (e.g. "Сведения об образовательной организации") */
.info-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.info-numbered-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
}

.info-numbered-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding-top: 4px;
  border-radius: var(--radius-pill);
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--accent-family);
  font-size: 18px;
  margin-bottom: auto; /*for align*/
}

.info-numbered-item__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--blue-dark);
}

.info-numbered-item__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-numbered-item__text a:hover {
  text-decoration: none;
}

/* Social links (contacts page) */
.contacts-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.contacts-social__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: opacity var(--transition);
}

.contacts-social__link:hover {
  opacity: 0.8;
}

.contacts-social__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin: -14px -10px -10px -10px;
}

/* Interactive map (contacts page) */
.contacts-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Two-up layout: contacts on the left, map on the right */
.contacts-columns {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.contacts-columns__col {
  flex: 1 1 0;
  min-width: 0;
}

.contacts-columns__col .info-page__section {
  max-width: none;
  height: 100%;
}

.infopage .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 15px 15px 0;
}

.infopage .news-tags a {
  background-color: var(--text-muted);
}

.infopage .news-tags a:hover {
  background-color: var(--blue-accent);
}

.infopage .news-tags a.active {
  background-color: var(--blue-dark);
}

@media (max-width: 1024px) {
  .contacts-columns {
    flex-direction: column;
    gap: 48px;
  }
}
@media (max-width: 767px) {
  .info-page {
    padding-top: 150px;
  }
  .info-row__label,
  .info-row__value {
    flex-basis: 100%;
  }
  .info-numbered-item {
    align-items: flex-start;
  }
  .contacts-map iframe {
    height: 300px;
  }
  .contacts-social__link {
    padding: 10px 19px;
  }
}
/* Timetable pages (schedule.html + the per-programme schedule pages it
   links to) — a genuine table (with merged cells for shared lectures),
   not the flex-based .info-row pattern used by the other info pages. */
.schedule-page {
  padding: 192px 0 96px;
}

.schedule-page__head {
  margin-bottom: 40px;
}

.schedule-page__head .b-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-dark);
  opacity: 0.6;
}

.schedule-page__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--blue-dark);
}

.schedule-page__meta {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(6, 16, 73, 0.7);
}

/* Cards linking to each schedule, on the parent "Расписание" page */
.schedule-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schedule-card {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 180px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--lavender);
  color: var(--blue-dark);
  text-decoration: none;
  transition: background var(--transition);
}

.schedule-card:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.schedule-card__title {
  margin: 0;
  font-family: var(--accent-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
}

.schedule-card__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.schedule-card__arrow {
  align-self: flex-end;
  font-size: 20px;
}

/* The timetable itself — a flat bordered grid (day column tinted +
   accented, room shown as a small chip) rather than the spaced
   "pill row" look used elsewhere on the site. */
.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(6, 16, 73, 0.12);
  border-radius: var(--radius-md);
}

.schedule-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--white);
}

.schedule-table th {
  padding: 16px;
  background: var(--blue-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: var(--white);
}

.schedule-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(6, 16, 73, 0.1);
  border-right: 1px solid rgba(6, 16, 73, 0.1);
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.35;
  vertical-align: top;
}

.schedule-table td:last-child {
  border-right: 0;
}

.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody tr:hover td:not(.schedule-table__day) {
  background: rgba(204, 213, 243, 0.35);
}

.schedule-table__day {
  width: 130px;
  border-left: 4px solid var(--blue-accent);
  background: var(--lavender);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.schedule-table__num {
  width: 44px;
  text-align: center;
  font-weight: 700;
  color: var(--blue-text-accent);
}

.schedule-table__time {
  width: 120px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: rgba(6, 16, 73, 0.6);
}

.schedule-table__empty {
  color: rgba(6, 16, 73, 0.3);
  text-align: center;
}

.schedule-table__empty::after {
  content: "—";
}

.schedule-subject {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.schedule-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-style: italic;
  color: rgba(6, 16, 73, 0.65);
}

.schedule-room {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .schedule-page {
    padding-top: 150px;
  }
}

/*# sourceMappingURL=main.css.map */
