.width-limiter {
  max-width: 1264px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.stat-card {
  color: #3d3e40;
  border-radius: 15px;
  border: 1px solid #b5bdcd;
  background-color: #fff;
  padding: 19px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  img {
    width: 60px;
    height: 60px;
  }

  h3 {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
  }

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

  @media screen and (max-width: 991px) {
    width: 320px;
    align-items: center;

    img {
      width: 48px;
      height: 48px;
    }

    h3 {
      font-size: 18px;
      line-height: 20px;
    }

    p {
      font-size: 14px;
      line-height: 20px;
    }
  }
}

.online-trial {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  color: #3d3e40;

  @media screen and (max-width: 991px) {
    .section-title {
      font-size: 24px;
      margin-bottom: 10px;
    }
    .students-scroll {
      margin-top: unset;
    }
    .student-card__title {
      font-size: 20px;
      line-height: 1.2;
      margin-bottom: 14px;
    }
  }

  p {
    margin-bottom: unset;
  }

  .banner {
    position: relative;
    color: #fff;
    font-weight: 700;
    margin-bottom: 100px;

    &::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 367px;
      left: 0;
      top: 0;
      background: linear-gradient(141.25deg, #0177CC 48.07%, #FFFFFF 124.55%);
      border-radius: 0 0 70px 70px;
      z-index: 0;
    }

    .banner__content {
      position: relative;
      z-index: 10;
      padding-top: 36px;
    }

    h1 {
      font-size: 36px;
      line-height: 40px;
      margin-bottom: 25px;
      text-align: left;
    }

    .banner__description {
      max-width: 483px;
      font-size: 16px;
      line-height: 18px;
      margin-bottom: 54px;
    }

    .stat-cards {
      display: flex;
      justify-content: center;
      gap: 24px;
    }

      @media screen and (max-width: 991px) {
        text-align: center;

        &::before {
          height: 274px;
          border-radius: 0 0 30px 30px;
        }

        .banner__content {
          padding-top: 18px;
          max-width: 568px;
        }

        h1 {
          font-size: 18px;
          line-height: 1;
          margin-bottom: 36px;
          text-align: center;
        }

        .banner__description {
          max-width: unset;
          font-size: 14px;
          line-height: 20px;
          margin-bottom: 24px;
        }

        .stat-cards {
          flex-direction: column;
          align-items: center;
          gap: 10px;
        }
      }
  }

  .system {
    position: relative;
    background-color: #ececec;
    border-radius: 15px;
    margin-bottom: 60px;
    
    .system__content {
      position: relative;
      max-width: 1264px;
      padding: 60px 25px 24px;
      margin-left: auto;
      margin-right: auto;
    }

    .system__img {
      max-width: 460px;
      position: absolute;
      left: 0;
      bottom: 0;
    }

    .system__texts {
      padding-left: 485px;
    }

    .system__citate {
      max-width: 424px;
      margin-bottom: 30px;
      font-size: 24px;
      line-height: 30px;
      letter-spacing: -0.02em;
      color: #242935;
    }

    .system__benefits {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .system__benefit {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 19px;
      background-color: #fff;
      border: 1px solid #b5bdcd;
      border-radius: 15px;
    }

    @media screen and (max-width: 991px) {
      display: none;
    }
  }

  .student_mobile {
    display: none;
    background-color: #ececec;
    border-radius: 15px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    max-width: 568px;

    .student__img {
      max-width: 320px;
      transform: scale(1.2);
      transform-origin: bottom center;
    }

    @media screen and (max-width: 991px) {
      display: flex;
    }
  }
  
  .results_mobile {
    display: none;
    max-width: 568px;
    flex-direction: column;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 57px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 20px;

    .results__citate {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 20px;
    }
    
    .results__benefits {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .results__benefit {
      border-radius: 15px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      line-height: 1.4;
      font-weight: 700;
      background-color: #fff;
      border: 1px solid #b5bdcd;
    }

    @media screen and (max-width: 991px) {
      display: flex;
    }
  }

  .school {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    background-color: #0579cd;
    color: #fafafa;
    margin-bottom: 60px;

    .school__content {
      position: relative;
      max-width: 1264px;
      margin-left: auto;
      margin-right: auto;
    }

    .school__bg {
      position: absolute;
      width: 46.5%;
      max-width: 568px;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 1;
      border-radius: 15px;
    }

    .school__text-content {
      position: relative;
      max-width: 670px;
      width: 55%;
      line-height: 1.3;
      letter-spacing: -0.02em;
      padding: 36px 58px;
      z-index: 10;
    }

    .school__title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .school__description {
      font-size: 18px;
      margin-bottom: 28px;
      max-width: 542px;
    }

    .school__cards {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;

      @media screen and (max-width: 1040px) {
        grid-template-columns: 1fr 1fr;
      }
    }

    .school__card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 19px;
      background-color: #fff;
      border: 1px solid #b5bdcd;
      border-radius: 15px;
      color: #3d3e40;

      img {
        width: 48px;
        height: 48px;
      }

      h5 {
        font-size: 20px;
        line-height: 1.1;
        font-weight: 700;
      }

      p {
        font-size: 17px;
        line-height: 1.2;
      }
    }

    @media screen and (max-width: 991px) {
      .school__bg {
        display: block;
        position: relative;
        top: unset;
        right: unset;
        transform: unset;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-radius: 15px;
      }

      .school__text-content {
        max-width: 568px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        line-height: 20px;
        letter-spacing: 0;
      }

      .school__title {
        font-size: 18px;
      }

      .school__description {
        font-size: 14px;
        margin-bottom: 18px;
      }

      .school__cards {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .school__card {
        align-items: center;
        text-align: center;

        img {
          width: 36px;
          height: 36px;
        }

        h5 {
          font-size: 18px;
        }

        p {
          font-size: 14px;
        }
      }
    }
  }

  .form {
    margin-bottom: 60px;
    max-width: 626px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    color: #3d3e40;

    .form__border {
      padding: 20px;
      border: 1px solid #b5bdcd;
      border-radius: 15px;
      margin-bottom: 20px;
    }

    .errors {
      color: #ff7272;
      font-size: 14px;
      line-height: 1;
    }

    .zend_form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: unset;
    }

    .form__title {
      text-align: center;
      font-size: 24px;
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .form__description {
      padding: 20px;
      text-align: center;
      font-size: 16px;
      line-height: 1.4;
    }

    .form__input-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .form__label {
      position: relative;
      opacity: 0.6;
      font-size: 14px;
      line-height: 1;
      font-weight: 500;
    }
    .form__label_required::after {
      content: '*';
      right: 0;
      top: 0;
    }

    .form__input {
      padding: 10px 9px;
      border: 1px solid #3d3e40;
      border-radius: 5px;
      font-weight: 500;

      &::placeholder {
        color: #3d3e4099;
      }
    }

    .form__radio-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .form__radio {
      flex-shrink: 0;

      input {
        display: none;
      }

      label {
        border-radius: 15px;
        border: 1px solid #b5bdcd;
        background: transparent;
        padding: 10px 15px;
        font-size: 13px;
        line-height: 1;
        font-weight: 600;
        color: #000;
        transition: all .15s ease-in-out;
      }

      &:has(input:checked) {
        label {
          border-color: #0177cc;
          background-color: #0177cc;
          color: #fafafa;
        }
      }
    }

    .form__footer-description {
      font-size: 13px;
      line-height: 1.3;
      text-align: center;
    }

    .form__submit {
      font-size: 16px;
      line-height: 30px;
      font-weight: 600;
      color: #fafafa;
      padding: 10px 20px;
      border: none;
      border-radius: 10px;
      background-color: #0177cc;
      margin-left: auto;
      margin-right: auto;
    }

    .form__afterwords {
      max-width: 434px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
      font-size: 20px;
      line-height: 1.4;
      font-weight: 700;
      color: #000;
    }
  }

  footer {
    background-color: #1b9dfb;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;

    @media screen and (max-width: 991px) {
      font-size: 14px;
      flex-direction: column;
      gap: 0;
      padding: 10px;
    }
  }
}

.online-trial.online-trial_vanchess {
  .banner::before {
    background: url(/new-design/img/online-trial/vanchess-banner.webp);
    background-size: cover;
    background-position: center;
  }

  .system, .student_mobile {
    background-color: #ffe4cc;
  }

  .school {
    background-color: #cce4f5;
    color: #242935;
  }

  .form .form__radio:has(input:checked) {
    border-color: #ff7900;
    background-color: #ff7900;
    color: #fafafa;
  }

  .form .form__submit {
    background: #ff7900;
  }

  footer {
    background-color: #3d3e40;
  }
}
