

.site-shell {
  position: relative;
  isolation: isolate;
}

.support-line {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 89px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: #020919;
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: block;
  width: min(1119px, 100%);
  min-height: 61px;
  margin: 0 auto;
}

.brand {
  position: absolute;
  top: 6.5px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__logo {
  width: 48px;
  height: 44px;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 0;
  width: 191px;
  transform: none;
}

.brand__name,
.header-cta,
.section-title,
.curriculum-track,
.department-card h3,
.footer-mark,
.footer-nav a {
  font-family: "Jost", sans-serif;
}

.brand__name {
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
  line-height: 114.1%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__meta {
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 300;
  
  letter-spacing: 0.02em;
  line-height: 114.1%;
  text-transform: uppercase;
}

.site-nav {
  position: absolute;
  top: 25.5px;
  left: 504px;
  display: inline-flex;
  align-items: center;
  gap: 67px;
  margin: 0;
  white-space: nowrap;
}

.site-nav a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav__cta {
  min-height: 24px;
  padding: 4px 16px;
  border: 1px solid var(--accent);
  border-radius: 85px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(164, 143, 255, 0.1), rgba(164, 143, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 20px rgba(164, 143, 255, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.header-cta {
  display: none;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(164, 143, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(164, 143, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 8px;
  right: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hero,
.section {
  scroll-margin-top: 96px;
}

.hero {
  padding: 14px 0 0;
}

.hero-shell {
  position: relative;
  min-height: 600px;
  overflow: hidden;
background: radial-gradient(circle at 71% 63%, rgba(164, 143, 255, 0.14), transparent 26%), radial-gradient(circle at 36% 28%, rgba(74, 127, 255, 0.08), transparent 22%), linear-gradient(180deg, rgba(4, 11, 27, 0.96), rgba(2, 9, 25, 0.98)); }


.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  max-width: none;
  will-change: transform;
}

.hero-bg--left {
  left: -18px;
  bottom: -6px;
  width: 285px;
  opacity: 0.82;
}

.hero-bg--right {
  right: -10px;
  bottom: -14px;
  width: 482px;
  opacity: 0.78;
}

.hero-bg--overlay {
  left: 148px;
  right: 0;
  top: -18px;
  width: calc(100% - 148px);
  opacity: 0.88;
  mix-blend-mode: screen;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 9, 25, 0.52) 0%, rgba(2, 9, 25, 0.12) 30%, rgba(2, 9, 25, 0.08) 64%, rgba(2, 9, 25, 0.5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(2, 9, 25, 0.08) 44%, rgba(2, 9, 25, 0.24) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 736px) minmax(340px, 566px);
  align-items: center;
  gap: 12px;
  min-height: 497px;
}

.hero-copy {
  width: 736px;
  max-width: 736px;
  padding-left: 84px;
}

.hero-support-copy {
  margin: 0 0 18px;
  width: 736px;
  opacity: 0.58;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.51);
  font-size: 17.73px;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  line-height: normal;
  word-wrap: break-word;
}

h1,
h2,
h3,
.footer-mark {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  max-width: 736px;
  font-family: "Jost", sans-serif;
  font-size: 42.55px;
  font-weight: 900;
  line-height: 52.51px;
  word-wrap: break-word;
}

.lead {
  width: 736px;
  max-width: 100%;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 17.73px;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  line-height: normal;
  word-wrap: break-word;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 14px;
}

.hero-visual__logo {
  width: min(100%, 566px);
  filter:
    drop-shadow(0 0 28px rgba(102, 103, 255, 0.22))
    drop-shadow(0 0 42px rgba(164, 143, 255, 0.2));
}

.hero-scroll {
  position: absolute;
  z-index: 1;
  display: flex;
  bottom: 0;
  left: 50%;
  justify-content: center;
  margin-top: 14px;
}

.hero-scroll img {
  width: 28px;
  height: auto;
  opacity: 0.92;
}

.section {
  position: relative;
  padding: 48px 0 0;
}

.section--about {
  padding-top: 8px;
}

.section-title {
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 800;
  line-height: 0.98;
}

.section-title--center {
  width: 736px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-copy {
  margin-top: 34px;
}

.about-copy p,
.quote-copy p,
.admission-feature__body,
.contact-card strong,
.support-card p,
.department-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 24px;
  line-height: 33.06px;
}

.about-copy p + p {
  margin-top: 18px;
}

.section--about .narrow-container,
.section--quote .narrow-container {
  width: min(100%, 1180px);
}

.about-copy {
  width: 1180px;
  max-width: 100%;
  text-align: justify;
}

.about-copy strong,
.quote-copy strong {
  color: var(--white);
  font-weight: 700;
}

.about-strip {
  margin-top: 30px;
  overflow: hidden;
}

.about-strip img {
  width: max(100vw, var(--scene-width));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  height: clamp(170px, 18vw, 230px);
  object-fit: cover;
  opacity: 0.92;
}

.section--quote {
  padding-top: 28px;
}

.quote-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.quote-block__mark {
  flex: 0 0 auto;
}

.quote-block__mark img {
  width: 72px;
  height: 137px;
  object-fit: contain;
}

.quote-block__text {
  flex: 0 1 767px;
  margin: 0;
}

.quote-block__text p {
  margin: 0;
  width: 767px;
  max-width: 100%;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
}

.quote-block__author {
  flex: 0 0 auto;
  padding-top: 8px;
  color: var(--text-soft);
  font-style: normal;
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
}

.quote-copy {
  margin-top: 28px;
}

.section--research,
.section--curriculum,
.section--departments,
.section--admission,
.section--support,
.section--contacts {
  padding-top: 54px;
}

.section--research .section-title {
  width: 864px;
}

.research-slider {
  margin-top: 28px;
  width: min(100%, 1046px);
  margin-inline: auto;
  border: 1px solid rgba(164, 143, 255, 0.72);
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24), 0 0 32px rgba(164, 143, 255, 0.12);
}

.research-slider__viewport {
  position: relative;
  height: 460px;
  min-height: 460px;
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 30%),
    #04091b;
}

.research-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  background: #04091b;
}

.research-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.research-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.28) saturate(1.16) contrast(1.12);
}

.research-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.research-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 25, 0) 0%, rgba(2, 9, 25, 0.08) 54%, rgba(2, 9, 25, 0.58) 100%),
    linear-gradient(0deg, rgba(164, 143, 255, 0.06), rgba(164, 143, 255, 0.06));
  pointer-events: none;
}

.research-slide__caption {
  position: absolute;
  left: clamp(36px, 10vw, 164px);
  right: clamp(36px, 10vw, 164px);
  bottom: clamp(24px, 4vw, 40px);
  padding: 0 10px;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.62), 0 0 24px rgba(2, 9, 25, 0.28);
}

.research-slider__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  height: 91px;
  padding: 14px 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 8, 24, 0.96) 0%, #020919 100%);
}

.research-slider__arrow {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.research-slider__arrow:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(164, 143, 255, 0.32));
}

.research-slider__arrow:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 20px rgba(164, 143, 255, 0.48));
}

.research-slider__arrow-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.research-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 42px;
}

.research-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(164, 143, 255, 0.82);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.research-slider__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.section-intro {
  width: 1180px;
  max-width: 100%;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 24px;
  font-weight: 300;
  line-height: 33.06px;
  text-align: justify;
}

.section--curriculum .section-title {
  width: 864px;
}

.section--departments .section-title {
  width: 1064px;
}

.curriculum-track-wrap {
  width: 100%;
  margin-top: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.curriculum-track-wrap::-webkit-scrollbar {
  display: none;
}

.curriculum-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: max-content;
  min-width: 100%;
  color: var(--white);
  min-height: 65px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.curriculum-track__label {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.66);
  font-size: inherit;
  font-weight: 300;
  text-transform: none;
}

.curriculum-track__divider {
  flex: 0 0 1px;
  width: 1px;
  height: 1.8em;
  background: var(--line);
}

.curriculum-track__tab {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.curriculum-track__tab.is-active {
  color: var(--accent);
}

.curriculum-track__special {
  margin-left: 0;
}

.study-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  width: 1180px;
  max-width: 100%;
  margin-top: 26px;
  padding: 10px 0;
}

.study-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 308px;
  overflow: hidden;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
}

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

.study-card__image {
  align-self: stretch;
  flex: 1 1 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  min-height: 0;
}

.study-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.study-card h3 {
  width: 190px;
  min-height: 77px;
  height: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 27.55px;
  text-transform: none;
  text-align: center;
}

.departments-grid {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 22px;
  margin-top: 34px;
}

.department-card,
.admission-feature,
.support-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 22, 50, 0.92), rgba(6, 12, 28, 0.96));
  box-shadow: var(--shadow);
}

.department-card {
  display: flex;
  flex-direction: column;
  width: 278px;
  height: 372px;
  padding: 23px 20px;
  gap: 16px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(163.61, 143.1, 255, 0.51) 100%);
}

.department-card__icon {
  width: 65px;
  height: 54px;
  margin-bottom: 0;
}

.department-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.department-card h3 {
  min-height: 112px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  color: var(--white);
  align-self: stretch;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  text-transform: uppercase;
}

.department-card p {
  align-self: stretch;
  margin-top: 0;
  padding-top: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 23.33px;
}

.admission-feature {
  margin-top: 28px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 58%, rgba(163, 143, 255, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 22, 50, 0.92), rgba(6, 12, 28, 0.96));
}

.admission-feature__head {
  display: grid;
  gap: 12px;
}

.admission-feature__code,
.admission-feature__label,
.contact-card__label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admission-feature__head h3 {
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
  text-wrap: balance;
}

.admission-feature__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admission-feature__stat {
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.admission-feature__stat strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-family: "Jost", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.admission-feature__body {
  margin-top: 24px;
}

.soft-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.soft-list li {
  position: relative;
  padding-left: 18px;
}

.soft-list li + li {
  margin-top: 10px;
}

.soft-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(164, 143, 255, 0.24);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.support-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  color: var(--white);
}

.perspective-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 20px 16px 18px;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(163.61, 143.10, 255, 0.51) 100%);
  box-shadow: var(--shadow);
}

.support-card img,
.support-card svg {
  display: block;
  width: auto;
  max-width: min(100%, 400px);
  height: 190px;
  max-height: unset;
  margin: 0 auto;
  object-fit: contain;
}

.perspective-card img {
  display: block;
  width: auto;
  max-width: min(100%, 180px);
  height: 70px;
  margin: 0 0 16px;
  object-fit: contain;
  object-position: left center;
}

.perspective-card h3 {
  min-height: 96px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

.perspective-card p {
  margin: auto 0 0;
  padding-top: 18px;
  font-size: 15px;
  line-height: 1.45;
}

.support-card p {
  margin: auto 0 0;
  padding-top: 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  gap: 12px;
  min-height: 144px;
  padding: 20px;
}

.contact-card strong {
  font-size: 18px;
  font-weight: 500;
}

.contact-card a {
  color: var(--white);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--accent);
}

.contacts-actions {
  width: min(100%, 420px);
  margin-top: 28px;
}

.contacts-actions .btn {
  width: 100%;
}

.contact-link {
  min-height: 56px;
}

.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(164, 143, 255, 0.12), rgba(164, 143, 255, 0.04)),
    linear-gradient(180deg, rgba(13, 22, 50, 0.92), rgba(6, 12, 28, 0.96));
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 72px;
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 9, 24, 0.3), rgba(2, 9, 25, 0.88));
  backdrop-filter: blur(16px);
}

.footer-container {
  width: min(1192px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.8fr) minmax(220px, 0.9fr);
  align-items: start;
  gap: 30px;
}

.footer-left {
  display: grid;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-logo-main {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.footer-brand__copy {
  display: grid;
  gap: 4px;
}

.footer-mark {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 0.96;
}

.footer-brand__meta {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo-sub {
  color: var(--white);
  max-width: 271px;
}

.footer-logo-sub svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.btn {
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.btn.telegram,
.btn.vk,
.btn.mgu,
.btn.mgu.mgu__white {
  background:
    linear-gradient(180deg, rgba(164, 143, 255, 0.12), rgba(164, 143, 255, 0.04));
}

.btn img,
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1150px) {
  .header-inner {

    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 61px;
  }

  .brand {
    position: static;
    width: auto;
  }

  .brand__copy {
    width: auto;
    transform: translateY(-1px);
  }

  .site-nav {
    position: static;
    display: flex;
    gap: 28px;
    margin-left: auto;
  }

  .site-nav__cta {
    border-color: var(--line);
  }

  .nav-toggle {
    position: static;
    top: auto;
    right: auto;
    margin-left: auto;
  }

  .hero-shell {
    min-height: 560px;
    padding: 52px 0 52px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }

  .hero-copy {
    padding-left: 48px;
  }

  .hero-bg--right {
    width: 390px;
  }

  .study-plan-grid {
    gap: 12px;
  }

  .study-card {
    max-width: calc((100% - 36px) / 4);
  }

  .department-card {
    width: calc((100% - 22px) / 2);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 10, 28, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero-shell {
    min-height: 0;
    padding: 42px 0 46px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-visual {
    justify-content: center;
    padding-right: 0;
  }

  .hero-visual__logo {
    width: min(72vw, 420px);
  }

  .hero-bg--left {
    width: 190px;
    opacity: 0.5;
  }

  .hero-bg--right {
    width: 280px;
    opacity: 0.46;
  }

  .hero-bg--overlay {
    left: 40px;
    right: 24px;
    width: auto;
    opacity: 0.72;
  }

  .about-copy p,
  .quote-copy p,
  .admission-feature__body,
  .contact-card strong,
  .support-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .quote-block {
    flex-wrap: wrap;
  }

  .quote-block__author {
    padding-top: 0;
  }

  .quote-block__text p {
    font-size: 30px;
  }

  .faq-item h3 {
    font-size: 21px;
  }

  .faq-item p {
    font-size: 17px;
  }

  .study-plan-grid {
    gap: 12px;
  }

  .study-card {
    max-width: calc((100% - 24px) / 3);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .header-inner {
    min-height: 62px;
  }

  .brand__logo {
    width: 58px;
  }

  .brand__name {
    font-size: 13px;
  }

  .hero-shell {
    padding: 34px 0 42px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-support-copy {
    font-size: 14px;
  }

  .lead {
    font-size: 15px;
  }

  .section {
    padding-top: 42px;
  }

  .section-title {
    font-size: 30px;
  }

  /* .about-copy {
    text-align: left;
  } */

  .about-copy p,
  .quote-copy p {
    font-size: 18px;
    line-height: 1.6;
  }

  .about-strip img {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .section-intro {
    font-size: 18px;
    line-height: 1.6;
    /* text-align: left; */
  }

  .quote-block__mark img {
    width: 38px;
    height: auto;
  }

  .quote-block__text p {
    font-size: 24px;
  }

  .quote-block__author {
    font-size: 18px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 19px;
  }

  .faq-item p {
    font-size: 16px;
    line-height: 1.55;
  }

  .research-slider__viewport {
    height: 320px;
    min-height: 320px;
  }

  .research-slider__footer {
    gap: 16px;
    height: 78px;
    padding-inline: 14px;
  }

  .research-slider__arrow {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .research-slider__dots {
    gap: 12px;
    margin: 0 12px;
  }

  .research-slide__caption {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 22px;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
  }

  .curriculum-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-width: max-content;
    min-height: 0;
    padding-right: 12px;
    font-size: 17px;
    line-height: 1.4;
  }

  .curriculum-track__label {
    font-size: 17px;
    flex: 0 0 auto;
  }

  .curriculum-track__divider {
    height: 24px;
    flex: 0 0 auto;
  }

  .curriculum-track__tab {
    flex: 0 0 auto;
  }

  .study-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .study-card {
    min-height: 278px;
  }

  .study-card h3 {
    width: 100%;
    height: auto;
    min-height: 62px;
    font-size: 17px;
    line-height: 1.35;
  }

  .department-card,
  .admission-feature,
  .perspective-card,
  .support-card,
  .contact-card {
    border-radius: 12px;
  }

  .departments-grid {
    display: flex;
    width: 100%;
  }

  .department-card {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .perspectives-grid,
  .support-grid,
  .admission-feature__stats {
    grid-template-columns: 1fr;
  }

  .perspective-card {
    min-height: 0;
  }

  .perspective-card img {
    height: 60px;
  }

  .support-card {
    min-height: 240px;
  }

  .support-card img,
  .support-card svg {
    height: 150px;
  }

  .footer-mark {
    font-size: 16px;
  }

  .buttons {
    flex-direction: column;
  }
}


/* ============================
   HEADER FIX
   normal flow, height ~70px
   ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: unset;
  max-height: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: #020919;
  backdrop-filter: blur(18px);
}

.container.header-inner,
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1192px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
}

/* logo block */

.brand {
  position: static;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 0;
  width: auto;
  transform: none;
}

.brand__name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.brand__meta {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* nav */

.site-nav {
  position: static;
  top: auto;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 4vw, 67px);
  margin-left: auto;
  white-space: nowrap;
}

.site-nav a {
  min-height: 24px;
  font-size: 12px;
  line-height: 1;
}

.site-nav__cta {
  min-height: 24px;
  padding: 4px 16px;
  border: 1px solid var(--accent);
  border-radius: 85px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-cta {
  display: none;
}

/* burger */

.nav-toggle {
  display: none;
  position: static;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

/* tablet */

@media (max-width: 1150px) {
  .container.header-inner,
  .header-inner {
    gap: 20px;
  }

  .site-nav {
    gap: 28px;
  }
}

/* mobile menu */

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 10, 28, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 40px;
    justify-content: center;
  }

  .site-nav__cta {
    min-height: 44px;
    border-radius: 12px;
  }
}

/* small mobile */

@media (max-width: 640px) {
  .container.header-inner,
  .header-inner {
    width: min(100%, calc(100% - 24px));
    min-height: 42px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 22px;
  }

  .brand__meta {
    font-size: 9px;
  }
}
