.benefitPage {
  width: 100%;
}

#wrapper:has(.benefitPage) {
  overflow: clip;
}

.benefitPage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f3f4f5;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.benefit__main {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding: 0 0 32px;
}

@media (min-width: 991px) {
  .benefit__main {
    --infoOffset: 24px;
    flex-direction: row;
    gap: 40px;
    padding: 0 0 185px;
  }
}

.benefit__main_info {
  display: contents;
  max-width: 655px;
  flex-shrink: 0;
}

@media (min-width: 991px) {
  .benefit__main_info {
    display: block;
    padding-block-start: 112px;
  }
}

.benefit__main_semiTitle {
  font-size: 18px;
  line-height: 132%;
  font-weight: 600;
  color: #6b6d80;
  margin: 0;
  order: 1;
  margin-block-end: 12px;
}

@media (min-width: 991px) {
  .benefit__main_semiTitle {
    font-size: 24px;
    margin-block-end: 16px;
  }
}

.benefit__main_title {
  font-size: 32px;
  line-height: 107%;
  font-weight: 800;
  color: #303345;
  text-wrap: balance;
  order: 2;
  margin-block-end: 20px;
}

@media (min-width: 991px) {
  .benefit__main_title {
    font-size: 80px;
    margin-block-end: 24px;
  }
}

.benefit__main_description {
  font-size: 14px;
  line-height: 142%;
  color: #303345;
  text-wrap: balance;
  order: 3;
  margin-block-end: 24px;
}

@media (min-width: 991px) {
  .benefit__main_description {
    font-size: 20px;
    text-wrap: unset;
    margin-block-end: 40px;
    line-height: 125%;
  }
}

.benefit__main_img {
  display: block;
  flex-shrink: 0;
  order: 4;
  max-width: 100%;
  margin-block-end: 24px;
}

@media (min-width: 767px) {
  .benefit__main_img {
    max-width: 655px;
    margin-block-end: 0;
  }
}

@media (min-width: 1299px) {
  .benefit__main_img {
    margin: 0 0 0 auto;
  }
}

.benefit__main_btn {
  order: 5;
  width: 100%;
}

@media (min-width: 991px) {
  .benefit__main_btn {
    width: max-content;
    font-size: 14px;
  }
}

.benefit__choose {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
  padding: 68px 0 8px;
}

@media (min-width: 991px) {
  .benefit__choose {
    display: block;
    padding: 175px 0;
  }
}

.benefit__choose_btn {
  margin: 40px auto 0;
  width: 100%;
  order: 4;
}

@media (min-width: 991px) {
  .benefit__choose_btn {
    margin: 24px auto 0;
    width: max-content;
  }
}

.benefit__choose_title {
  order: 1;
}

.benefit__choose_description {
  order: 2;
}

.benefit__items {
  --itemsGap: 14px;
  gap: var(--itemsGap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  order: 3;
  margin-top: 40px;
}

@media (min-width: 991px) {
  .benefit__items {
    --itemsGap: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-top: 80px;
  }
}

.benefit__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  border-radius: 16px;
  width: 100%;
  padding: 20px;
}

.benefit__item:nth-child(2n) + .benefit__item:last-child {
  flex-direction: row;
  flex-wrap: nowrap;
  grid-column-end: span 2;
}

.benefit__item:nth-child(2n)
  + .benefit__item:last-child
  .benefit__item_content {
  width: auto;
  margin-inline: auto;
}

@media (max-width: 992px) {
  .benefit__item:nth-child(2n) + .benefit__item:last-child .benefit__item_img {
    rotate: -45deg;
    align-self: center;
  }

  .benefit__item:nth-child(2n)
    + .benefit__item:last-child
    .benefit__item_info
    > p {
    text-align: left;
  }

  .benefit__item:nth-child(2n)
    + .benefit__item:last-child
    .benefit__item_title {
    text-align: left;
    font-size: 20px;
  }
}

@media (min-width: 991px) {
  .benefit__item {
    padding: 20px;
    gap: 24px;
    max-width: 202px;
    grid-column-end: unset;
  }

  .benefit__item:nth-child(2n) + .benefit__item:last-child {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .benefit__item:nth-child(2n) + .benefit__item:last-child .benefit__item_img {
    align-self: unset;
    margin-right: auto;
  }
}

.benefit__item_img {
  flex-shrink: 0;
  margin: 0 auto;
  max-width: 100%;
  max-height: 130px;
  display: block;
}

@media (min-width: 991px) {
  .benefit__item_img {
    max-height: 156px;
  }
}

.benefit__item_content {
  margin-top: auto;
  width: 100%;
}

.benefit__item_title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #303345;
  text-align: center;
}

@media (min-width: 991px) {
  .benefit__item_title {
    font-size: 20px;
  }
}

.benefit__item_info {
  margin-block-start: 4px;
}

.benefit__item_info > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 124%;
  color: #a4a5b1;
  text-align: center;
  /* white-space: nowrap; */
}

@media (min-width: 991px) {
  .benefit__item_info > p {
    font-size: 16px;
  }
}

.benefit__levels {
  padding-block-start: 60px;
}

@media (min-width: 991px) {
  .benefit__levels {
    padding-block-end: 60px;
    padding-block-start: 0;
  }
}

.benefit__levels .benefit__levels_description {
  margin-block-end: 40px;
}
