.front-hero {
  overflow: hidden;
  background: url(/images/front-banner-back.png) center bottom / auto 100% repeat-x;
  color: #333;
}

.front-hero__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 48% 52%;
  width: 84.65%;
  max-width: 2150px;
  min-height: min(27.13vw, 689px);
  margin: 0 auto;
}

.front-hero__symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 110%;
  z-index: 0;
  transform: translate(-50%, -50%);
  animation: front-hero-symbol-move 30s ease infinite;
  pointer-events: none;
}

.front-hero__content {
  position: relative;
  padding: clamp(28px, 1.97vw, 50px) 0 clamp(28px, 1.57vw, 40px) 31.8%;
}

.front-hero__content > :not(.front-hero__symbol) {
  position: relative;
  z-index: 2;
}

.front-hero .front-hero__eyebrow {
  margin: 0 0 clamp(20px, 1.5vw, 38px);
  color: #e21e2c;
  font-size: clamp(11px, .75vw, 19px);
  font-weight: 700;
  text-transform: uppercase;
}

.front-hero__eyebrow span {
  margin: 0 .2em;
}

.front-hero h1 {
  margin: 0 0 clamp(14px, 1vw, 25px);
  margin-right: max(-50px, -1.97vw);
  color: #333;
  font-size: clamp(30px, 2.83vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.front-hero .front-hero__description {
  margin: 0 0 clamp(14px, 1vw, 25px);
  color: #707070;
  font-size: clamp(15px, 1.1vw, 28px);
  line-height: 1.35;
  font-weight: 600;
}

.front-hero .front-hero__proof {
  margin: 0 0 clamp(16px, .95vw, 24px);
  font-size: clamp(12px, .95vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

.front-hero__proof > span:first-child {
  margin: 0 .25em;
  color: #e21e2c;
}

.front-hero__graduates {
  white-space: nowrap;
}

.front-hero .front-hero__button {
  min-width: min(100%, clamp(220px, 15.35vw, 390px));
  padding: clamp(14px, .95vw, 24px) clamp(24px, 3vw, 76px);
  border: 1px solid #e21e2c;
  border-radius: clamp(6px, .47vw, 12px);
  background: #e21e2c;
  color: #fff;
  font-size: clamp(12px, .75vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
}

.front-hero .front-hero__button:hover {
  border-color: #bd2130;
  background: #c82333;
}

.front-hero .front-hero__button:focus-visible {
  outline: 3px solid #333;
  outline-offset: 4px;
}

.front-hero .front-hero__discount {
  margin: clamp(14px, .8vw, 20px) 0 0;
  font-size: clamp(12px, .75vw, 19px);
  font-weight: 700;
}

.front-hero__discount span {
  color: #e21e2c;
}

.front-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.front-hero__visual img {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
}

@media (max-width: 1199px) {
  .front-hero__inner {
    width: calc(100% - 48px);
    grid-template-columns: 52% 48%;
  }

  .front-hero__content {
    padding-left: 8%;
  }

  .front-hero h1 {
    margin-right: 0;
    font-size: clamp(29px, 3vw, 36px);
  }
}

@media (max-width: 767px) {
  .front-hero__inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .front-hero__content {
    padding: 32px 24px 24px;
    text-align: center;
  }

  .front-hero h1 {
    font-size: clamp(26px, 5.2vw, 38px);
    line-height: 1.16;
  }

  .front-hero__visual {
    position: relative;
    justify-content: center;
  }

  .front-hero__visual img {
    position: static;
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .front-hero .front-hero__button {
    min-height: 48px;
  }
}

@media (max-width: 374px) {
  .front-hero__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .front-hero h1 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-hero__symbol {
    animation: none;
  }
}

@keyframes front-hero-symbol-move {
  0%, 50%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-85deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(85deg);
  }
}
