main.site-main.front-page-template {
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

.colored {
  color: var(--accent) !important;
}

.front-page-template .hero {
  position: relative;
  overflow: hidden;
  clip-path: polygon(100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px), 0 0);
  background: #091021;
  color: #ffffff;
  padding: 118px 0 96px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  --hero-parallax-y: 0px;
}

.front-page-template .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(5, 12, 26, 0.74), rgba(10, 24, 49, 0.64));
}

.front-page-template .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.front-page-template .hero-slide {
  position: absolute;
  inset: -8% 0;
  display: block;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: hero-fade 8.6s linear infinite;
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(1.06);
  will-change: transform;
}

.front-page-template .hero-slide-1 {
  background-image: url("../img/home/hero-1.webp");
}

.front-page-template .hero-slide-2 {
  background-image: url("../img/home/hero-2.webp");
  animation-delay: -4.3s;
}

.front-page-template .container,
.front-page-template .hero-content {
  position: relative;
  z-index: 2;
}

.front-page-template .hero-content {
  position: relative;
  max-width: 860px;
}

.front-page-template .hero .hero-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template .hero-pending .hero-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template .hero.is-animated .hero-reveal {
  animation-name: hero-reveal-up;
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.front-page-template .hero.is-animated .hero-reveal-1 { animation-delay: 0.05s; }
.front-page-template .hero.is-animated .hero-reveal-2 { animation-delay: 0.14s; }
.front-page-template .hero.is-animated .hero-reveal-3 { animation-delay: 0.24s; }
.front-page-template .hero.is-animated .hero-reveal-4 { animation-delay: 0.34s; }
.front-page-template .hero.is-animated .hero-reveal-5 { animation-delay: 0.44s; }
.front-page-template .hero.is-animated .hero-reveal-6 { animation-delay: 0.54s; }

.front-page-template h2.h2-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template h2.h2-reveal.is-visible {
  animation-name: hero-reveal-up;
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.front-page-template .h2-reveal-follow {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template .h2-reveal-follow.is-visible {
  animation-name: hero-reveal-up;
  animation-duration: 0.72s;
  animation-delay: 0.1s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.front-page-template h2.section-title {
  font-size: 66px;
  line-height: 1.05;
}

.front-page-template .hero .section-title {
    margin: 0;
    color: #ffffff;
    font-size: 170px;
    line-height: 0.6;
}

.front-page-template .hero-tagline {
    display: inline-block;
    margin: 12px 0 28px;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.front-page-template .hero-subtitle {
    margin: 0 0 34px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 32px;
    line-height: 1.25;
    font-weight: 400 !important;
}

.front-page-template .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.front-page-template .hero-discount-wrap {
  position: relative;
  display: inline-block;
}

.front-page-template .hero-discount-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    -webkit-mask-image: url(../img/geneva/btn-mask.svg);
    mask-image: url(../img/geneva/btn-mask.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.front-page-template .hero-discount-btn:hover,
.front-page-template .hero-discount-wrap:hover .hero-discount-btn,
.front-page-template .hero-discount-btn:focus-visible {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.front-page-template .hero-discount-btn__text {
  color: #1f2f77;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0.055em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.front-page-template .hero-discount-badge {
    position: absolute;
    right: -8px;
    bottom: -16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 34px;
    padding: 0 8px;
    border-radius: 12px;
    background: linear-gradient(90deg, #1f2f77 0%, #2a46b5 55%, #1f2f77 100%);
    color: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.front-page-template .hero-discount-badge:hover,
.front-page-template .hero-discount-wrap:hover .hero-discount-badge {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.front-page-template .geneva-mask-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  height: 64px;
  padding: 0 26px;
  border: 0;
  color: #fff;
  text-decoration: none;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0.055em;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(70deg, #CF2C29 15%, #FE6B68 48%, #CF2C29 82.5%);
  -webkit-mask-image: url("../img/geneva/btn-mask.svg");
  mask-image: url("../img/geneva/btn-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.front-page-template .geneva-mask-btn:hover,
.front-page-template .geneva-mask-btn:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.front-page-template .hero-apply-btn {
  margin-bottom: 0;
}

.front-page-template .hero-about-trigger {
  position: relative;
  margin: 0 0 16px;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 0.055em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease;
}

.front-page-template .hero-about-trigger:hover,
.front-page-template .hero-about-trigger:focus-visible {
  background: transparent !important;
  color: #fff;
  transform: translateY(-1px);
}

.front-page-template .hero-about-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  opacity: 0.3;
}

.front-page-template .hero-about-trigger:hover::after,
.front-page-template .hero-about-trigger:focus-visible::after {
  transform: scaleX(1);
}

.front-page-template .hero-apply-note {
    margin: 0;
    max-width: 450px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 40px;
}

.front-page-template .announcement {
    max-width: 800px;
    margin: -34px auto 60px;
    z-index: 4;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 30px;
}

.front-page-template .announcement.is-reveal-ready {
  transform: translateY(42px);
  transition: transform 0.82s ease;
  will-change: transform;
}

.front-page-template .announcement.is-reveal-visible {
  transform: translateY(0);
}

.front-page-template .announcement .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(131deg, rgba(51, 51, 51, 0.2) 60%, rgba(240, 45, 55, 0.88) 100%);
  border-radius: inherit;
  overflow: hidden;
}

.front-page-template .announcement .announcement-link {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    padding: 0 0 0 60px;
    text-decoration: none;
    background-image: radial-gradient(ellipse at top, #7080c3, transparent), radial-gradient(ellipse at bottom right, #1e2f77, transparent);
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right;
    background-size: auto, auto;
    --glass-c1: rgba(255, 255, 255, 0.78);
    --glass-c2: rgba(255, 255, 255, 0.18);
    --glass-c3: rgb(30 47 119);
}

.front-page-template .announcement .announcement-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/home/bell.webp);
    background-repeat: no-repeat;
    background-position: 20px 20px;
    background-size: 60px auto;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    transform: rotate(0deg) scale(1);
    transform-origin: 40px 50%;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.front-page-template .announcement .announcement-link:hover::after {
  opacity: 1;
  transform: rotate(-8deg) scale(1.14);
}

.front-page-template .announcement .announcement-link::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(173deg, rgb(255 255 255 / 49%) 0%, rgb(255 255 255 / 4%) 32%, rgb(255 255 255 / 6%) 64%, rgb(203 86 91) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 5;
}

.front-page-template .announcement .announcement-link:hover {
  --glass-c1: rgba(255, 255, 255, 0.9);
  --glass-c2: rgba(255, 255, 255, 0.24);
  --glass-c3: rgba(255, 255, 255, 0.42);
}

.front-page-template .announcement .section-overlay img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: auto;
  opacity: 0.15;
}

.front-page-template .announcement .section-overlay {
  border-radius: inherit;
  overflow: hidden;
}

.front-page-template .announcement .container {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.front-page-template .announcement .split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
}

.front-page-template .announcement .announcement-copy h2,
.front-page-template .announcement .announcement-copy p {
  margin: 0;
  color: #fff;
}

.front-page-template .announcement .announcement-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.05;
  font-weight: 400 !important;
  text-transform: uppercase;
}

.front-page-template .announcement .announcement-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 36px;
  transform: translateX(0);
  opacity: 0.85;
  z-index: 2;
  transition: all 0.25s ease-in-out;
}

@media (min-width: 768px) {
  .front-page-template .announcement {
      position: fixed;
      right: 30px;
      bottom: 30px;
      width: 480px;
      max-width: none;
      margin: 0;
      z-index: 120;
      transform: translateY(0);
      opacity: 1;
      transition: transform 350ms ease-in, opacity 350ms linear;
      transition-delay: 0ms, 0ms;
      will-change: transform, opacity;
  }

  .front-page-template .announcement.is-reveal-ready {
    transition:
      transform 350ms ease-in,
      opacity 350ms linear;
    will-change: transform, opacity;
  }

  .front-page-template .announcement.announcement-offscreen {
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    transition-delay: 0ms, 0ms;
    pointer-events: none;
  }

  .front-page-template .announcement .announcement-link {
    border-radius: 14px;
  }

  .front-page-template .announcement .announcement-copy h2 {
    margin-bottom: 10px;
    font-size: clamp(24px, 1.8vw, 32px);
    line-height: 1.08;
  }
}

.front-page-template .announcement:hover .announcement-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* About Home */
.front-page-template .about-home {
  padding: 44px 0 72px;
  background: radial-gradient(circle at 12% 0%, #f2f5ff 0%, #f8f9fc 34%, #eef2f8 100%);
  overflow: hidden;
}

.front-page-template .about-home .about-home__text {
    max-width: 730px;
    margin: 0 auto 60px;
}

.front-page-template .about-home .about-home__video-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .about-text {
  padding-bottom: 60px;
}

.front-page-template .about-home__title {
  margin: 0 0 18px;
  color: #1f2f77;
  font-size: clamp(42px, 5vw, 64px);
}

.front-page-template .about-home__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 52%);
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.front-page-template .about-home__text {
  display: grid;
  gap: 16px;
}

.front-page-template .about-home__text p {
  margin: 0;
  color: #223347;
  font-size: 20px;
  line-height: 1.6;
}

.front-page-template .about-home__slider-wrap {
  margin: 0;
  overflow: visible;
}

.front-page-template .about-home__slider-wrap.is-reveal-ready {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.front-page-template .about-home__slider-wrap.is-reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.front-page-template .about-home .alumni-swiper {
  overflow: visible;
}

.front-page-template .about-home .alumni-swiper .swiper-slide {
  opacity: 0.35;
  filter: blur(6px);
  transition: opacity 0.28s ease;
}

.front-page-template .about-home .alumni-swiper .swiper-slide.swiper-slide-active {
  opacity: 1;
  filter: blur(0);
}

.front-page-template .about-home .alumni-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 30px 24px 0 34px;
  border-radius: 30px;
  background: linear-gradient(132deg, #122247 0%, #1f2f77 44%, #2f58c4 100%);
  color: #fff;
  box-shadow: 0 16px 42px rgba(13, 30, 73, 0.26);
}

.front-page-template .about-home .alumni-card__content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  width: min(62%, 560px);
  padding: 30px 0 22px 34px;
}

.front-page-template .about-home .alumni-card__meta {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.front-page-template .about-home .alumni-card__name {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

.front-page-template .about-home .alumni-card__desc {
  margin: 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.5;
}

.front-page-template .about-home .alumni-card__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
}

.front-page-template .about-home .alumni-card__photo {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.front-page-template .about-home .alumni-swiper-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.front-page-template .about-home .alumni-swiper-pagination {
  order: 1;
}

.front-page-template .about-home .alumni-swiper-prev {
  order: 2;
  margin-left: auto;
}

.front-page-template .about-home .alumni-swiper-next {
  order: 3;
}

.front-page-template .about-home .alumni-swiper-prev, .front-page-template .about-home .alumni-swiper-next {
    display: flex;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 50%;
    background: #1f2f77;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    justify-content: center;
    align-items: center;
}

.front-page-template .about-home .alumni-swiper-prev img,
.front-page-template .about-home .alumni-swiper-next img {
  display: block;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.front-page-template .about-home .alumni-swiper-prev:hover,
.front-page-template .about-home .alumni-swiper-next:hover,
.front-page-template .about-home .alumni-swiper-prev:focus-visible,
.front-page-template .about-home .alumni-swiper-next:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.front-page-template .about-home .alumni-swiper-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.front-page-template .about-home .alumni-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #9facd5;
  opacity: 1;
}

.front-page-template .about-home .alumni-swiper-pagination .swiper-pagination-bullet-active {
  background: #1f2f77;
}

.front-page-template .about-home__video-wrap {
  position: relative;
  margin-top: 28px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(12, 22, 49, 0.2);
  background: #0b142b;
}

.front-page-template .about-home__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.front-page-template .about-home__video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.2) 0%, rgba(8, 18, 40, 0.38) 100%);
  cursor: pointer;
  transition: opacity 0.22s ease;
}

.front-page-template .about-home__video-play-icon {
  width: 92px;
  height: 92px;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 10px 30px rgba(3, 11, 31, 0.38));
  transition: transform 0.2s ease;
}

.front-page-template .about-home__video-play:hover .about-home__video-play-icon {
  transform: scale(1.06);
}

.front-page-template .about-home__video-wrap.is-playing .about-home__video-play {
  opacity: 0;
  pointer-events: none;
}

.front-page-template .about-home__video-wrap.is-playing:hover .about-home__video-play {
  opacity: 1;
  pointer-events: auto;
}

.front-page-template .about-home__video-wrap.is-playing .about-home__video-play {
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.05) 0%, rgba(8, 18, 40, 0.2) 100%);
}

.front-page-template .about-home__video-wrap.is-playing .about-home__video-play-icon {
  opacity: 0;
}

.front-page-template .about-home__video-wrap.is-playing:hover .about-home__video-play-icon {
  opacity: 0.85;
}

/* CTA */
.front-page-template .cta {
  position: relative;
  padding: 64px 0 72px;
  --cta-parallax-y: 0px;
}

.front-page-template .cta .section-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, #f6f7fb 0%, #c6c8cf 100%);
}

.front-page-template .cta .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.front-page-template .cta .section-overlay::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  background-image: url("../img/home/mgimo-new.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  transform: translate3d(0, var(--cta-parallax-y), 0) scale(1.05);
  will-change: transform;
}

.front-page-template .cta .section-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(246, 247, 251, 1) 0%,
    rgba(246, 247, 251, 0.74) 24%,
    rgba(246, 247, 251, 0.12) 58%,
    rgba(246, 247, 251, 0) 100%
  );
}

.front-page-template .cta .section-content {
  position: relative;
  z-index: 3;
}

.front-page-template .cta .section-content > .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: start;
  gap: 36px;
}

.front-page-template .cta .cta-copy .section-title, .front-page-template .cta .cta-copy .section-description {
    margin: 0;
    color: #1e2f77;
}

.front-page-template .cta .cta-copy .section-description {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.front-page-template .cta .cta-copy .section-description p {
    color: var(--text);
    font-size: 20px;
}

.front-page-template .cta .cta-copy .section-title {
  margin-top: 50px;
  margin-bottom: 12px;
  font-size: 66px;
}

.front-page-template .cta .cta-form {
    background: rgb(255 255 255 / 75%);
    padding: 30px;
    border-radius: 22px;
}

.front-page-template .cta .icf__label, .front-page-template .cta .icf__toggle-switch-label {
    color: var(--muted);
}

.front-page-template .hero-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.36s ease, visibility 0.36s ease;
}

.front-page-template .hero-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.front-page-template .hero-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 30, 0.56);
}

.front-page-template .hero-modal__dialog {
  position: relative;
  width: min(880px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #ffffff;
  color: #102037;
  border-radius: 18px;
  padding: 34px 34px 30px;
  box-shadow: 0 28px 62px rgba(2, 8, 20, 0.4);
  transform: translateY(26px) scale(0.95);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease;
}

.front-page-template .hero-modal.is-visible .hero-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.front-page-template .hero-modal.is-closing .hero-modal__dialog {
  transform: translateY(26px) scale(0.95);
  opacity: 0;
}

.front-page-template .hero-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #102037;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.front-page-template .about p {
  margin: 0;
  color: #25374e;
  font-size: 18px;
  line-height: 1.65;
}

.front-page-template .about__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: #102037;
}

@keyframes hero-fade {
  0%,
  46.5116% {
    opacity: 1;
  }
  50%,
  96.5116% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-page-template .hero .hero-reveal {
    opacity: 1;
    transform: none;
  }

  .front-page-template h2.h2-reveal {
    opacity: 1;
    transform: none;
  }

  .front-page-template .h2-reveal-follow {
    opacity: 1;
    transform: none;
  }

  .front-page-template .hero.is-animated .hero-reveal {
    animation: none !important;
  }

  .front-page-template h2.h2-reveal.is-visible {
    animation: none !important;
  }

  .front-page-template .h2-reveal-follow.is-visible {
    animation: none !important;
  }

  .front-page-template .announcement.is-reveal-ready {
    transform: none;
    transition: none;
  }

  .front-page-template .about-home__slider-wrap.is-reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .front-page-template .faculties__card.is-reveal-ready {
    opacity: 1;
    transform: none;
  }

  .front-page-template .faculties__card.is-reveal-visible {
    animation: none !important;
  }

}



/* Statistics */
.front-page-template .statistics {
    position: relative;
    background: linear-gradient(180deg, rgba(31, 47, 119, 0.04) 0%, rgba(31, 47, 119, 0.02) 100%);
}

.front-page-template .statistics__content {
  max-width: 1180px;
  margin: 0 auto;
}

.front-page-template .statistics__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.front-page-template .statistics__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  row-gap: 10px;
  padding: 0 18px;
  text-align: center;
}

.front-page-template .statistics__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  width: 1px;
  height: 80%;
  background: rgba(31, 47, 119, 0.16);
}

.front-page-template .statistics__num {
    display: block;
    margin: 0;
    color: var(--accent);
    font-size: 60px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.front-page-template .statistics__label {
  margin: 0;
  max-width: 18ch;
  color: #2b3d55;
  font-size: 16px;
  line-height: 1.35;
}







/* Discounts */
.front-page-template .discounts {
  padding: 72px 0 84px;
  background: #ffffff;
}

.front-page-template .discounts__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .discounts__title {
  margin: 0 0 20px;
  max-width: 18ch;
  color: #1f2f77;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

.front-page-template .discounts__lead,
.front-page-template .discounts__intro {
  margin: 0;
  color: #2b3d55;
  font-size: 21px;
  line-height: 1.45;
}

.front-page-template .discounts__lead {
  max-width: 88ch;
}

.front-page-template .discounts__intro {
  margin-top: 24px;
  font-weight: 600;
}

.front-page-template .discounts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.front-page-template .discounts__card {
  padding: 26px 24px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 47, 119, 0.04) 0%, rgba(31, 47, 119, 0.01) 100%);
}

.front-page-template .discounts__card-title,
.front-page-template .discounts__retention-title {
  margin: 0 0 14px;
  color: #1f2f77;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.front-page-template .discounts__list {
  margin: 0;
  padding-left: 24px;
  color: #233143;
  font-size: 18px;
  line-height: 1.5;
}

.front-page-template .discounts__list li + li {
  margin-top: 10px;
}

.front-page-template .discounts__list--roman {
  list-style-type: upper-roman;
}

.front-page-template .discounts__retention {
  margin-top: 20px;
  padding: 26px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: rgba(31, 47, 119, 0.04);
}





/* International Club */
.front-page-template .international-club {
  padding: 72px 0 86px;
  background: linear-gradient(180deg, rgba(31, 47, 119, 0.06) 0%, rgba(31, 47, 119, 0.02) 100%);
}

.front-page-template .international-club__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .international-club__banner-wrap {
  display: block;
  border-radius: 24px;
  overflow: hidden;
}

.front-page-template .international-club__banner-link {
  box-shadow: 0 12px 26px rgba(16, 32, 82, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.front-page-template .international-club__banner {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.32s ease, filter 0.32s ease;
}

@media (hover: hover) and (pointer: fine) {
  .front-page-template .international-club__banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(16, 32, 82, 0.24);
  }

  .front-page-template .international-club__banner-link:hover .international-club__banner {
    transform: scale(1.018);
    filter: brightness(1.06) saturate(1.05);
  }
}

.front-page-template .international-club__banner-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.front-page-template .international-club__title {
  margin: 28px 0 0;
  max-width: 20ch;
  color: #1f2f77;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.front-page-template .international-club__split {
    margin-top: 60px;
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 80px;
}

.front-page-template .international-club__lead-wrap {
  position: sticky;
  top: 112px;
}

.front-page-template .international-club__lead-card {
  margin: 0;
  padding: 28px 24px;
  border-radius: 22px;
  background: #1f2f77;
  box-shadow: 0 18px 36px rgba(13, 24, 72, 0.2);
}

.front-page-template .international-club__lead-card p {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.35em;
    font-weight: 400;
}

.front-page-template .international-club__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.front-page-template .international-club__benefits-title {
  margin: 0 0 2px;
  color: #1f2f77;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}

.front-page-template .international-club__item {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 30px;
}

.front-page-template .international-club__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #d7dae5;
    transform: translateY(-50%) rotate(45deg);
    z-index: 0;
}

.front-page-template .international-club__item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.front-page-template .international-club__item.is-reveal-ready {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template .international-club__item.is-reveal-visible {
  animation-name: hero-reveal-up;
  animation-duration: 0.62s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.front-page-template .international-club__item p {
    margin: 0;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.35em;
    font-weight: 400;
}





@media (prefers-reduced-motion: reduce) {
  .front-page-template .international-club__item.is-reveal-ready {
    opacity: 1;
    transform: none;
  }

  .front-page-template .international-club__item.is-reveal-visible {
    animation: none !important;
  }
}

/* Exams */
.front-page-template .exams {
  position: relative;
  overflow: hidden;
  padding: 74px 0 92px;
  background: linear-gradient(180deg, rgba(246, 247, 251, 0.94) 0%, rgba(246, 247, 251, 0.82) 100%);
  --exams-parallax-y: 0px;
}

.front-page-template .exams::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  background-image: url("../img/home/mgimo-new.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  transform: translate3d(0, var(--exams-parallax-y), 0) scale(1.05);
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

.front-page-template .exams .container {
  position: relative;
  z-index: 2;
}

.front-page-template .exams .section-header {
  margin-bottom: 22px;
}

.front-page-template .exams .section-title {
  margin: 0;
}

.front-page-template .exams .section-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.front-page-template .exams .skidki {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.front-page-template .exams .skidkiBox {
  padding: 20px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.front-page-template .exams .skidkiBox.skidkiBox--past {
  opacity: 0.88;
}

.front-page-template .exams .skidkiBox.skidkiBox--upcoming {
  outline: 2px solid var(--accent);
}

.front-page-template .exams .skidkiBox.skidkiBox--past .eventText {
  color: #7b8088;
}

.front-page-template .exams .skidkiBox h4 {
  margin: 0 0 12px;
  color: #1f2f77;
  font-size: 20px;
  line-height: 1.2;
}

.front-page-template .exams .eventRow {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: start;
}

.front-page-template .exams .eventRow + .eventRow {
  margin-top: 10px;
}

.front-page-template .exams .eventDate {
  color: #1f2f77;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.front-page-template .exams .eventDate.eventDate--upcoming {
  color: var(--accent);
}

.front-page-template .exams .eventTime {
  margin-top: 2px;
  color: #5c6f95;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
}

.front-page-template .exams .eventText {
  color: #24354f;
  font-size: 14px;
  line-height: 1.35;
}

.front-page-template .exams-demo-wrap,
.front-page-template .exams-tests-wrap .skidkiBox {
  border-radius: 20px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.front-page-template .exams-demo-wrap h3,
.front-page-template .exams-tests-wrap h3 {
  margin: 0 0 14px;
  color: #1f2f77;
  font-size: 30px;
  line-height: 1.15;
}

.front-page-template .exams-demo-wrap {
  padding: 20px;
}

.front-page-template .exams-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(210px, 0.7fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.front-page-template .exams .examList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.front-page-template .exams .examItem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 47, 119, 0.12);
  background: rgba(255, 255, 255, 0.4);
  color: #1f2f77;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.front-page-template .exams .examItem:hover,
.front-page-template .exams .examItem:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 47, 119, 0.28);
  background: rgba(31, 47, 119, 0.06);
}

.front-page-template .exams .examItem img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 999px;
}

.front-page-template .exams-reco-wrap {
  display: flex;
}

.front-page-template .exams-tests-wrap {
  display: flex;
}

.front-page-template .exams-tests-wrap .skidkiBox {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.front-page-template .exams-reco-btn {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(31, 47, 119, 0.16);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #1f2f77;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.front-page-template .exams-reco-btn:hover,
.front-page-template .exams-reco-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 47, 119, 0.3);
  box-shadow: 0 14px 22px rgba(31, 47, 119, 0.12);
}

.front-page-template .exams-reco-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.front-page-template .exams-reco-icon svg {
  width: 22px;
  height: 22px;
}

.front-page-template .exams .tests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.front-page-template .exams .test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 14px;
  padding: 0 14px;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #1f2f77 0%, #2d4cb8 100%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.front-page-template .exams .test:hover,
.front-page-template .exams .test:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}







/* Open House */
.front-page-template .open-house {
  padding: 68px 0 84px;
  background: #ffffff;
}

.front-page-template .open-house__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .open-house__title {
  margin: 0;
  color: #1f2f77;
  text-align: center;
}

.front-page-template .open-house__subtitle {
  margin: 12px 0 0;
  color: #2a3c57;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

.front-page-template .open-house__video-wrap {
  position: relative;
  margin-top: 24px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1325;
  box-shadow: 0 20px 40px rgba(14, 25, 69, 0.16);
}

.front-page-template .open-house__video {
  width: 100%;
  height: auto;
  display: block;
}

.front-page-template .open-house__video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.2) 0%, rgba(8, 18, 40, 0.38) 100%);
  cursor: pointer;
  transition: opacity 0.22s ease;
}

.front-page-template .open-house__video-play-icon {
  width: 92px;
  height: 92px;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 10px 30px rgba(3, 11, 31, 0.38));
  transition: transform 0.2s ease;
}

.front-page-template .open-house__video-play:hover .open-house__video-play-icon {
  transform: scale(1.06);
}

.front-page-template .open-house__video-wrap.is-playing .open-house__video-play {
  opacity: 0;
  pointer-events: none;
}

.front-page-template .open-house__video-wrap.is-playing:hover .open-house__video-play {
  opacity: 1;
  pointer-events: auto;
}

.front-page-template .open-house__video-wrap.is-playing .open-house__video-play {
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.05) 0%, rgba(8, 18, 40, 0.2) 100%);
}

.front-page-template .open-house__video-wrap.is-playing .open-house__video-play-icon {
  opacity: 0;
}

.front-page-template .open-house__video-wrap.is-playing:hover .open-house__video-play-icon {
  opacity: 0.85;
}



/* Faculties */
.front-page-template .faculties {
  padding: 70px 0 88px;
  background: linear-gradient(88.78deg, #162256 0%, #304ABC 50%, #162256 100%);
}

.front-page-template .faculties__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .faculties__title {
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.front-page-template .faculties__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.front-page-template .faculties__card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
}

.front-page-template .faculties__card.is-reveal-ready {
  opacity: 0;
  transform: translateY(24px);
}

.front-page-template .faculties__card.is-reveal-visible {
  animation-name: hero-reveal-up;
  animation-duration: 0.62s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.front-page-template .faculties__card--wide {
  grid-column: span 2;
}

.front-page-template .faculties__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.front-page-template .faculties__card-head h3 {
  margin: 0;
  color: #1f2f77;
  font-size: 22px;
  line-height: 1.2;
}

.front-page-template .faculties__card-head img {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.front-page-template .faculties__card:hover .faculties__card-head img,
.front-page-template .faculties__card:focus-visible .faculties__card-head img {
  transform: scale(1.08);
}

.front-page-template .faculties__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #24354f;
  font-size: 16px;
  line-height: 1.35;
}

.front-page-template .faculties__card li {
  position: relative;
  padding-left: 16px;
}

.front-page-template .faculties__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 47, 119, 0.55);
}

.front-page-template .faculties__card li + li {
  margin-top: 8px;
}

.front-page-template .faculties__note {
  margin: 0;
  color: #2b3d57;
  font-size: 16px;
  line-height: 1.42;
}

.front-page-template .faculties__card--image {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

.front-page-template .faculties__card--image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}





/* English Programs */
.front-page-template .english-programs {
  padding: 70px 0 88px;
  background: #f5f7fc;
}

.front-page-template .english-programs__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .english-programs__title {
  margin: 0 0 22px;
  color: #1f2f77;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.front-page-template .english-programs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.front-page-template .english-programs__card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
}

.front-page-template .english-programs__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.front-page-template .english-programs__card-head h3 {
  margin: 0;
  color: #1f2f77;
  font-size: 22px;
  line-height: 1.2;
}

.front-page-template .english-programs__card-head img {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.front-page-template .english-programs__card:hover .english-programs__card-head img,
.front-page-template .english-programs__card:focus-visible .english-programs__card-head img {
  transform: scale(1.08);
}

.front-page-template .english-programs__program {
  margin: 0;
  color: #24354f;
  font-size: 16px;
  line-height: 1.35;
}



/* Online Courses */
.front-page-template .online-courses {
  position: relative;
  padding: 68px 0 82px;
  overflow: hidden;
}

.front-page-template .online-courses .section-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #f5f7fc 0%, #d8dde9 100%);
}

.front-page-template .online-courses .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.front-page-template .online-courses .section-content {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .online-courses .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: stretch;
}

.front-page-template .online-courses__copy .section-title {
  margin: 0 0 14px;
  color: #1f2f77;
}

.front-page-template .online-courses__copy p {
  margin: 0;
  color: #2a3c57;
  font-size: 22px;
  line-height: 1.4;
}

.front-page-template .online-courses__note {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
    min-height: 100%;
    padding: 30px 28px 24px;
    aspect-ratio: 1 / 0.75;
    border-radius: 22px;
    background-image: linear-gradient(150deg, rgb(10 24 64) 0%, rgb(24 50 128 / 69%) 48%, rgb(47 88 196 / 47%) 100%), url(../img/home/documents-bg.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: cover, cover;
    background-blend-mode: normal, overlay;
    box-shadow: 0 18px 36px rgba(30, 49, 119, 0.1);
    overflow: visible;
}

.front-page-template .online-courses__note::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(138deg, rgba(18, 34, 71, 0.8) 0%, rgba(31, 47, 119, 0.72) 100%);
  box-shadow: 0 14px 26px rgba(15, 26, 64, 0.22);
  transform: translate3d(14px, 12px, 0) rotate(2.2deg) scale(0.99);
  transform-origin: left bottom;
  opacity: 0.62;
  z-index: -1;
  pointer-events: none;
}

.front-page-template .online-courses__note::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(138deg, rgba(15, 30, 84, 0.68) 0%, rgba(26, 46, 112, 0.58) 100%);
  box-shadow: 0 10px 20px rgba(11, 20, 54, 0.2);
  transform: translate3d(28px, 24px, 0) rotate(4.4deg) scale(0.97);
  transform-origin: left bottom;
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
}

.front-page-template .online-courses__note > * {
  position: relative;
  z-index: 1;
}

/* Viewport reveal: phantom layers pivot in from bottom-left */
.front-page-template .online-courses__note.is-stack-reveal-ready::before {
  opacity: 0;
  transform: translate3d(6px, 16px, 0) rotate(-6deg) scale(0.92);
}

.front-page-template .online-courses__note.is-stack-reveal-ready::after {
  opacity: 0;
  transform: translate3d(12px, 24px, 0) rotate(-10deg) scale(0.88);
}

.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible::before {
  opacity: 0.62;
  transform: translate3d(14px, 12px, 0) rotate(2.2deg) scale(0.99);
}

.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible::after {
  opacity: 0.4;
  transform: translate3d(28px, 24px, 0) rotate(4.4deg) scale(0.97);
}

@media (prefers-reduced-motion: no-preference) {
  .front-page-template .online-courses__note::before,
  .front-page-template .online-courses__note::after {
    transition:
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.75s ease;
  }
}

.front-page-template .online-courses__note:hover,
.front-page-template .online-courses__note:focus-within {
  transition: transform 0.24s ease;
}

.front-page-template .online-courses__note:hover::before,
.front-page-template .online-courses__note:focus-within::before,
.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible:hover::before,
.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible:focus-within::before {
  transform: translate3d(16px, 14px, 0) rotate(2.8deg) scale(0.985);
}

.front-page-template .online-courses__note:hover::after,
.front-page-template .online-courses__note:focus-within::after,
.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible:hover::after,
.front-page-template .online-courses__note.is-stack-reveal-ready.is-stack-reveal-visible:focus-within::after {
  transform: translate3d(31px, 26px, 0) rotate(5.2deg) scale(0.96);
}

.front-page-template .online-courses__note p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.45;
}

.front-page-template .online-courses__actions {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: none;
}

.front-page-template .online-courses__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  padding: 0 24px;
  text-decoration: none;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1;
  -webkit-mask-image: url("../img/geneva/btn-mask.svg");
  mask-image: url("../img/geneva/btn-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.front-page-template .online-courses__btn:hover,
.front-page-template .online-courses__btn:focus-visible {
  transform: translateY(-1px);
}

.front-page-template .online-courses__btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #1f2f77;
}

.front-page-template .online-courses__btn--secondary:hover,
.front-page-template .online-courses__btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.front-page-template .online-courses__btn--primary {
  background: linear-gradient(70deg, #CF2C29 15%, #FE6B68 48%, #CF2C29 82.5%);
  color: #ffffff;
}

.front-page-template .online-courses__btn--primary:hover,
.front-page-template .online-courses__btn--primary:focus-visible {
  filter: brightness(1.05);
}





/* Documents */
.front-page-template .documents {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background: linear-gradient(180deg, rgba(246, 247, 251, 0.94) 0%, rgba(246, 247, 251, 0.82) 100%);
  --documents-parallax-y: 0px;
}

.front-page-template .documents::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  background-image: url("../img/home/documents-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  transform: translate3d(0, var(--documents-parallax-y), 0) scale(1.05);
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

.front-page-template .documents__content {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .documents .section-title {
  margin: 0 0 14px;
  color: #1f2f77;
}

.front-page-template .documents__body {
  display: grid;
  gap: 24px;
}

.front-page-template .documents__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 52%);
  gap: 40px;
  align-items: center;
}

.front-page-template .documents__copy {
  display: grid;
  gap: 18px;
}

.front-page-template .documents__lead {
  margin: 0;
  color: #2a3c57;
  font-size: 24px;
  line-height: 1.35;
}

.front-page-template .documents__slider-wrap {
  margin: 0;
  overflow: visible;
}

.front-page-template .documents__slider-wrap.is-reveal-ready {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.front-page-template .documents__slider-wrap.is-reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.front-page-template .documents .documents-swiper {
  overflow: visible;
}

.front-page-template .documents .documents-swiper .swiper-slide {
  opacity: 0.35;
  filter: blur(6px);
  transition: opacity 0.28s ease;
}

.front-page-template .documents .documents-swiper .swiper-slide.swiper-slide-active {
  opacity: 1;
  filter: blur(0);
}

.front-page-template .documents .documents-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 30px;
  background: linear-gradient(132deg, #122247 0%, #1f2f77 44%, #2f58c4 100%);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(13, 30, 73, 0.26);
}

.front-page-template .documents .documents-card__index {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 4;
  margin: 0;
  font-size: clamp(56px, 8vw, 90px);
  font-weight: 700;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.front-page-template .documents .documents-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(9, 19, 43, 0.16) 0%, rgba(9, 19, 43, 0.58) 68%, rgba(9, 19, 43, 0.78) 100%),
    var(--documents-slide-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.front-page-template .documents .documents-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 12% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.front-page-template .documents .documents-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 30px 24px 22px 26px;
}

.front-page-template .documents .documents-card__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
}

.front-page-template .documents .documents-card__note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.45;
}

.front-page-template .documents .documents-card__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.front-page-template .documents .documents-card__list li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.35;
}

.front-page-template .documents .documents-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.front-page-template .documents .documents-swiper-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.front-page-template .documents .documents-swiper-pagination {
  order: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.front-page-template .documents .documents-swiper-prev {
  order: 2;
  margin-left: auto;
}

.front-page-template .documents .documents-swiper-next {
  order: 3;
}

.front-page-template .documents .documents-swiper-prev,
.front-page-template .documents .documents-swiper-next {
  display: flex;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  background: #1f2f77;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  justify-content: center;
  align-items: center;
}

.front-page-template .documents .documents-swiper-prev img,
.front-page-template .documents .documents-swiper-next img {
  display: block;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.front-page-template .documents .documents-swiper-prev:hover,
.front-page-template .documents .documents-swiper-next:hover,
.front-page-template .documents .documents-swiper-prev:focus-visible,
.front-page-template .documents .documents-swiper-next:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.front-page-template .documents .documents-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #9facd5;
  opacity: 1;
}

.front-page-template .documents .documents-swiper-pagination .swiper-pagination-bullet-active {
  background: #1f2f77;
}

.front-page-template .documents__warning {
  margin: 0 auto;
  max-width: 980px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(207, 44, 41, 0.2);
  background: rgba(207, 44, 41, 0.06);
  color: #24354f;
  font-size: 18px;
  line-height: 1.4;
}

.front-page-template .documents__apply-btn {
  min-width: 280px;
  margin: 2px auto 0;
}

/* Admission Links */

.front-page-template .admission-links {
    padding: 72px 0 90px;
    background: linear-gradient(180deg, #ffffff, transparent);
}

.front-page-template .admission-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.front-page-template .admission-links__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 340px;
    aspect-ratio: 1 / 0.75;
    padding: 30px 28px 24px;
    border-radius: 22px;
    border: 0;
    background: linear-gradient(132deg, #122247 0%, #1f2f77 44%, #2f58c4 100%);
    box-shadow: 0 18px 36px rgba(30, 49, 119, 0.1);
    overflow: hidden;
}

.front-page-template .admission-links__card[href] {
  text-decoration: none;
}

.front-page-template .admission-links__card::before {
  content: none;
}

.front-page-template .admission-links__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 108%;
  opacity: 0.95;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.32s ease;
  will-change: transform;
}

.front-page-template .admission-links__card:hover::after,
.front-page-template .admission-links__card:focus-visible::after,
.front-page-template .admission-links__card:focus-within::after {
  transform: scale(1.04);
}

.front-page-template .admission-links__card > * {
  position: relative;
  z-index: 2;
}

.front-page-template .admission-links__card--tuition::after {
  background-image:
    linear-gradient(90deg, rgba(15, 29, 70, 0.92) 0%, rgba(18, 34, 71, 0.72) 42%, rgba(18, 34, 71, 0.16) 72%),
    url("../img/home/mgimo-students-1.webp");
}

.front-page-template .admission-links__card--rules::after {
  background-image:
    linear-gradient(90deg, rgba(15, 29, 70, 0.92) 0%, rgba(18, 34, 71, 0.72) 42%, rgba(18, 34, 71, 0.16) 72%),
    url("../img/home/about-cover.webp");
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
}

.front-page-template .admission-links__eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 48px;
    line-height: 1.02;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.front-page-template .admission-links__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.24;
}

.front-page-template .admission-links__btn {
    margin-top: 20px;
    width: fit-content;
    min-width: 220px;
    background: rgb(255 255 255 / 82%);
    color: #1f2f77;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.front-page-template .admission-links__btn:hover,
.front-page-template .admission-links__btn:focus-visible,
.front-page-template .admission-links__card:hover .admission-links__btn,
.front-page-template .admission-links__card:focus-visible .admission-links__btn,
.front-page-template .admission-links__card:focus-within .admission-links__btn {
  background: rgb(255 255 255 / 96%);
  color: #1f2f77;
  filter: none;
  transform: translateY(-1px);
}





/* Education Exhibitions */
.front-page-template .education-exhibitions {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
}

.front-page-template .education-exhibitions__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .education-exhibitions .section-title {
  margin: 0 0 18px;
  color: #1f2f77;
}

.front-page-template .education-exhibitions__table-wrap {
  padding: 10px;
}

.front-page-template .education-exhibitions__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
}

.front-page-template .education-exhibitions__table th,
.front-page-template .education-exhibitions__table td {
  padding: 14px 14px;
  vertical-align: top;
  text-align: left;
}

.front-page-template .education-exhibitions__table thead th {
  color: #1f2f77;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(31, 47, 119, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

.front-page-template .education-exhibitions__table tbody td {
  color: #24354f;
  font-size: 16px;
  line-height: 1.35;
  border-top: 1px solid rgba(31, 47, 119, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.front-page-template .education-exhibitions__table tbody tr:first-child td {
  border-top: 0;
}

.front-page-template .education-exhibitions__table td:nth-child(1) {
  width: 25%;
  color: #1f2f77;
  font-weight: 700;
}

.front-page-template .education-exhibitions__table td:nth-child(2) {
  width: 20%;
  color: #1f2f77;
  font-weight: 700;
}

.front-page-template .education-exhibitions__place {
  color: #5a6f95;
}

/* Home Contacts */
.front-page-template .home-contacts {
  padding: 72px 0 90px;
  background: #ffffff;
}

.front-page-template .home-contacts__content {
  max-width: 1120px;
  margin: 0 auto;
}

.front-page-template .home-contacts .section-title {
  margin: 0 0 18px;
  color: #1f2f77;
}

.front-page-template .home-contacts__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.front-page-template .home-contacts__side {
  padding: 0;
}

.front-page-template .home-contacts__phone {
    display: inline-block;
    color: #1f2f77;
    font-size: 42px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

.front-page-template .home-contacts__status {
  margin: 10px 0 0;
  color: #5a6f95;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: 700;
}

.front-page-template .home-contacts__tg {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(31, 47, 119, 0.2);
  background: #1f2f77;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.front-page-template .home-contacts__tg img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.front-page-template .home-contacts__tg:hover,
.front-page-template .home-contacts__tg:focus-visible {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.front-page-template .home-contacts__hint {
  margin: 8px 0 0;
  color: #445b82;
  font-size: 14px;
  line-height: 1.35;
}

.front-page-template .home-contacts__main {
  display: grid;
  gap: 14px;
}

.front-page-template .home-contacts__form-title {
  margin: 0;
  color: #1f2f77;
  font-size: 30px;
  line-height: 1.16;
}

.front-page-template .home-contacts__form-frame {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(31, 47, 119, 0.14);
  background: #f8faff;
}

.front-page-template .home-contacts__details {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.front-page-template .home-contacts__card {
  border-radius: 22px;
  border: 0;
  background: linear-gradient(132deg, #122247 0%, #1f2f77 44%, #2f58c4 100%);
  box-shadow: 0 18px 36px rgba(30, 49, 119, 0.1);
}

.front-page-template .home-contacts__detail-card {
  min-height: 0;
  justify-content: flex-start;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.front-page-template .home-contacts__detail-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}

.front-page-template .home-contacts__detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.35;
}

.front-page-template .home-contacts__detail-card a {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
}

.front-page-template .home-contacts__detail-card a:hover,
.front-page-template .home-contacts__detail-card a:focus-visible {
  text-decoration: underline;
}

/* Responsive Breakpoints */

/* <= 1200px */
@media (max-width: 1200px) {
  .front-page-template .exams .skidki {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* <= 1100px */
@media (max-width: 1100px) {
  .front-page-template .faculties__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-page-template .faculties__card--wide,
  .front-page-template .faculties__card--image {
    grid-column: span 2;
  }
}

@media (max-width: 1100px) {
  .front-page-template .admission-links__grid {
    grid-template-columns: 1fr;
  }

  .front-page-template .admission-links__card {
    min-height: 0;
  }
}


/* <= 1024px */
@media (max-width: 1024px) {
  .front-page-template .statistics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 0;
  }

  .front-page-template .statistics__item:nth-child(3n)::after {
    content: none;
  }
}

@media (max-width: 1024px) {
  .front-page-template .discounts {
    padding: 60px 0 70px;
  }

  .front-page-template .discounts__lead,
  .front-page-template .discounts__intro {
    font-size: 19px;
  }

  .front-page-template .discounts__card-title,
  .front-page-template .discounts__retention-title {
    font-size: 24px;
  }
}

@media (max-width: 1024px) {
  .front-page-template .international-club {
    padding: 60px 0 72px;
  }

  .front-page-template .international-club__split {
    grid-template-columns: 1fr;
  }

  .front-page-template .international-club__lead-wrap {
    position: static;
  }

  .front-page-template .international-club__lead-card p {
    font-size: 24px;
  }

  .front-page-template .international-club__item p {
    font-size: 21px;
  }

  .front-page-template .international-club__benefits-title {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .front-page-template .online-courses .split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .front-page-template .online-courses__note::before {
    transform: translate3d(10px, 8px, 0) rotate(1.7deg) scale(0.99);
    opacity: 0.52;
  }

  .front-page-template .online-courses__note::after {
    transform: translate3d(18px, 14px, 0) rotate(3deg) scale(0.975);
    opacity: 0.3;
  }
}

@media (max-width: 1024px) {
  .front-page-template .documents__split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .front-page-template .home-contacts__grid {
    grid-template-columns: 1fr;
  }

  .front-page-template .home-contacts__details {
    grid-template-columns: 1fr;
  }
}


/* <= 900px */
@media (max-width: 900px) {
  .front-page-template .exams .skidki {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-page-template .exams-demo-wrap h3,
  .front-page-template .exams-tests-wrap h3 {
    font-size: 24px;
  }

  .front-page-template .exams-bottom {
    grid-template-columns: 1fr;
  }

  .front-page-template .exams-reco-btn {
    min-height: 130px;
    font-size: 20px;
  }
}


/* <= 767px */
@media (max-width: 767px) {

  .front-page-template h2.section-title,
  .front-page-template .cta .cta-copy .section-title {
    font-size: 44px;
  }

  .front-page-template .announcement {
    position: static;
    width: auto;
    z-index: 4;
    transform: none;
    margin: -30px 16px 0;
  }

  .front-page-template .hero {
    min-height: auto;
    padding: 90px 0 72px;
  }

  .front-page-template .hero .section-title {
    font-size: 110px;
  }

  .front-page-template .hero-tagline {
    margin: 6px 0 40px;
    font-size: 20.5px;
  }

  .front-page-template .hero-actions {
    flex-wrap: wrap;
  }

  .front-page-template .hero-subtitle {
    margin: 0 0 24px;
  }

  .front-page-template .announcement .split {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
  }

  .front-page-template .announcement .section-overlay img {
    right: 16px;
    bottom: 16px;
    width: 72px;
  }

  .front-page-template .cta {
    padding: 0;
  }

  .front-page-template .cta .container {
    padding-top: 0;
  }

  .front-page-template .about-home {
    padding: 36px 0 46px;
  }

  .front-page-template .about-home__intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .front-page-template .about-home__text p {
    font-size: 17px;
  }

  .front-page-template .about-home .alumni-card {
    min-height: 250px;
    padding: 24px;
    border-radius: 22px;
  }

  .front-page-template .about-home .alumni-card__desc {
    font-size: 16px;
  }

  .front-page-template .about-home .alumni-card__content {
    width: 100%;
    padding: 24px 14px 20px 14px;
  }

  .front-page-template .about-home .alumni-card__photo {
    object-position: bottom right;
  }

  .front-page-template .about-home__slider-wrap {
    overflow: hidden;
  }

  .front-page-template .about-home .alumni-swiper {
    overflow: hidden;
  }

  .front-page-template .about-home__video-wrap {
    border-radius: 22px;
  }

  .front-page-template .cta .section-content > .split {
    grid-template-columns: 1fr;
  }

  .front-page-template .geneva-mask-btn {
    min-width: 220px;
    height: 58px;
    font-size: 14px;
  }

  .front-page-template .hero-discount-btn__text {
    font-size: 13px;
  }

  .front-page-template .hero-about-trigger {
    font-size: 14px;
  }

  .front-page-template .hero-modal__dialog {
    width: calc(100% - 22px);
    padding: 28px 18px 20px;
    border-radius: 14px;
  }

  .front-page-template .about p {
    font-size: 16px;
  }

}

@media (max-width: 767px) {
  .front-page-template .statistics {
    padding: 34px 0 40px;
  }

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

  .front-page-template .statistics__item:last-child {
    grid-column: 1 / -1;
  }

  .front-page-template .statistics__item:nth-child(3n)::after {
    content: '';
  }
}

@media (max-width: 767px) {
  .front-page-template .discounts {
    padding: 40px 0 46px;
  }

  .front-page-template .discounts__title {
    margin-bottom: 16px;
  }

  .front-page-template .discounts__lead,
  .front-page-template .discounts__intro {
    font-size: 17px;
  }

  .front-page-template .discounts__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .front-page-template .discounts__card,
  .front-page-template .discounts__retention {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .front-page-template .discounts__card-title,
  .front-page-template .discounts__retention-title {
    font-size: 21px;
  }

  .front-page-template .discounts__list {
    font-size: 16px;
    padding-left: 22px;
  }
}

@media (max-width: 767px) {
  .front-page-template .international-club {
    padding: 40px 0 46px;
  }

  .front-page-template .international-club__banner-wrap {
    border-radius: 16px;
  }

  .front-page-template .international-club__title {
    margin-top: 18px;
  }

  .front-page-template .international-club__split {
    margin-top: 18px;
    gap: 14px;
  }

  .front-page-template .international-club__lead-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .front-page-template .international-club__lead-card p {
    font-size: 20px;
    line-height: 1.2;
  }

  .front-page-template .international-club__item {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .front-page-template .international-club__item::before {
    left: 19px;
    width: 34px;
    height: 34px;
    border-radius: 14px;
  }

  .front-page-template .international-club__item img {
    width: 56px;
    height: 56px;
  }

  .front-page-template .international-club__item p {
    font-size: 17px;
    line-height: 1.3;
  }

  .front-page-template .international-club__benefits-title {
    font-size: 23px;
  }
}

@media (max-width: 767px) {
  .front-page-template .exams {
    padding: 42px 0 48px;
  }

  .front-page-template .exams .section-content {
    gap: 14px;
  }

  .front-page-template .exams .skidki {
    grid-template-columns: 1fr;
  }

  .front-page-template .exams-demo-wrap,
  .front-page-template .exams-tests-wrap .skidkiBox {
    padding: 16px;
    border-radius: 16px;
  }

  .front-page-template .exams-demo-wrap h3,
  .front-page-template .exams-tests-wrap h3 {
    font-size: 21px;
  }

  .front-page-template .exams .eventRow {
    grid-template-columns: 78px 1fr;
  }

  .front-page-template .exams-reco-btn {
    min-height: 112px;
    font-size: 18px;
  }

  .front-page-template .exams .examList,
  .front-page-template .exams .tests {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .front-page-template .open-house {
    padding: 40px 0 46px;
  }

  .front-page-template .open-house__subtitle {
    margin-top: 10px;
    font-size: 18px;
  }

  .front-page-template .open-house__video-wrap {
    margin-top: 16px;
    border-radius: 16px;
  }

  .front-page-template .open-house__video-play-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 767px) {
  .front-page-template .faculties {
    padding: 42px 0 48px;
  }

  .front-page-template .faculties__title {
    margin-bottom: 16px;
    font-size: 34px;
  }

  .front-page-template .faculties__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .front-page-template .faculties__card,
  .front-page-template .faculties__card--wide,
  .front-page-template .faculties__card--image {
    grid-column: auto;
  }

  .front-page-template .faculties__card {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .front-page-template .faculties__card--image {
    padding: 0;
  }

  .front-page-template .faculties__card-head h3 {
    font-size: 18px;
  }

  .front-page-template .faculties__card-head img {
    width: 80px;
    height: 80px;
  }

  .front-page-template .faculties__card ul {
    font-size: 14px;
    line-height: 1.35;
  }

  .front-page-template .faculties__card li {
    padding-left: 14px;
  }

  .front-page-template .faculties__card li::before {
    width: 5px;
    height: 5px;
  }

  .front-page-template .faculties__note {
    font-size: 14px;
  }

  .front-page-template .faculties__card--image img {
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .front-page-template .english-programs {
    padding: 42px 0 48px;
  }

  .front-page-template .english-programs__title {
    margin-bottom: 16px;
    font-size: 34px;
  }

  .front-page-template .english-programs__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .front-page-template .english-programs__card {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .front-page-template .english-programs__card-head h3 {
    font-size: 18px;
  }

  .front-page-template .english-programs__card-head img {
    width: 72px;
    height: 72px;
  }

  .front-page-template .english-programs__program {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .front-page-template .online-courses {
    padding: 42px 0 48px;
  }

  .front-page-template .online-courses__copy p {
    font-size: 17px;
  }

  .front-page-template .online-courses__note {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .front-page-template .online-courses__note::before {
    transform: translate3d(6px, 6px, 0) rotate(1.2deg) scale(0.995);
    opacity: 0.45;
  }

  .front-page-template .online-courses__note::after {
    transform: translate3d(10px, 8px, 0) rotate(2deg) scale(0.985);
    opacity: 0.22;
  }

  .front-page-template .online-courses__note p {
    font-size: 16px;
  }

  .front-page-template .online-courses__actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .front-page-template .documents {
    padding: 42px 0 48px;
  }

  .front-page-template .documents__body {
    gap: 18px;
  }

  .front-page-template .documents__split {
    gap: 16px;
  }

  .front-page-template .documents__lead {
    font-size: 18px;
  }

  .front-page-template .documents__slider-wrap {
    overflow: hidden;
  }

  .front-page-template .documents .documents-swiper {
    overflow: hidden;
  }

  .front-page-template .documents .documents-card {
    min-height: 250px;
    border-radius: 22px;
  }

  .front-page-template .documents .documents-card__content {
    min-height: 250px;
    padding: 24px 16px 20px;
  }

  .front-page-template .documents .documents-card__title {
    font-size: 22px;
  }

  .front-page-template .documents .documents-card__note {
    font-size: 13px;
  }

  .front-page-template .documents .documents-card__list li {
    font-size: 13px;
  }

  .front-page-template .documents__warning {
    padding: 14px;
    font-size: 16px;
  }

  .front-page-template .documents__apply-btn {
    min-width: 240px;
  }
}

@media (max-width: 767px) {
  .front-page-template .admission-links {
    padding: 42px 0 48px;
  }

  .front-page-template .admission-links__card {
    gap: 14px;
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .front-page-template .admission-links__eyebrow {
    font-size: 24px;
  }

  .front-page-template .admission-links__text {
    font-size: 18px;
    line-height: 1.28;
  }

  .front-page-template .admission-links__btn {
    min-width: 200px;
  }

  .front-page-template .home-contacts__card {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .front-page-template .education-exhibitions {
    padding: 42px 0 48px;
  }

  .front-page-template .education-exhibitions__table-wrap {
    padding: 8px;
    overflow-x: auto;
  }

  .front-page-template .education-exhibitions__table {
    min-width: 760px;
  }

  .front-page-template .education-exhibitions__table th,
  .front-page-template .education-exhibitions__table td {
    padding: 12px;
  }

  .front-page-template .education-exhibitions__table tbody td {
    font-size: 14px;
  }

  .front-page-template .home-contacts {
    padding: 42px 0 48px;
  }

  .front-page-template .home-contacts__phone {
    font-size: 24px;
  }

  .front-page-template .home-contacts__form-title {
    font-size: 24px;
  }

  .front-page-template .home-contacts__form-frame {
    padding: 16px;
    border-radius: 16px;
  }

  .front-page-template .home-contacts__detail-card h4 {
    font-size: 18px;
  }

  .front-page-template .home-contacts__detail-card p,
  .front-page-template .home-contacts__detail-card a {
    font-size: 14px;
  }
}


/* <= 520px */
@media (max-width: 520px) {
  .front-page-template .statistics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-page-template .statistics__item {
    padding: 0 10px;
  }

  .front-page-template .statistics__item:last-child {
    grid-column: 1 / -1;
  }

  .front-page-template .statistics__item::after {
    content: none !important;
  }
}
