@media (min-width: 0px) {
  .benefits {
    border-radius: 20px;
    background: #000;
    padding: 20px 0;
  }

  .benefits__boxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .benefits__box {
    padding: 20px 16px;
    border-radius: 16px;
    background: #fff;
    max-width: 100%;
  }

  .benefits__box:first-of-type {
    padding: 20px;
    background: #dc5086;
  }

  .benefits__box:last-of-type {
    background: #dc5086;
  }

  .benefits__box_pretitle {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    color: #fff;
  }

  .benefits__box_title {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-top: 6px;
    color: #fff;
  }

  .benefits__box_name {
    margin-top: 10px;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
  }

  .benefits__box:last-of-type .benefits__box_name {
    color: #fff;
    margin-top: 0;
  }

  .benefits__box_name span {
    font-weight: 700;
  }

  .benefits__box_des {
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
  }

  .benefits_button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    width: 100%;
    margin-top: 20px;
    border-radius: 16px;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    /* 16px */
    letter-spacing: 0.32px;
  }
}

@media (min-width: 657px) {
  .benefits__boxes {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .benefits__box {
    max-width: 285px;
    min-width: 285px;
    height: 222px;
  }

  .benefits__box:last-of-type {
    height: unset;
  }

  .benefits__box:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 957px) {
  .benefits__box:last-of-type,
  .benefits__box:first-of-type {
    min-width: 578px;
  }

  .benefits__inner {
    display: flex;
    flex-direction: column;
  }

  .benefits_button {
    max-width: 320px;
    align-self: center;
  }

  .benefits {
    padding: 50px 0;
    border-radius: unset;
  }
  .benefits__box_name {
    margin-top: 10px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
  }
  .benefits__box_des {
    margin-top: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
  }
}

@media (min-width: 958px) {
  .mobile {
    display: none;
  }

  .device {
    display: block;
  }
}
@media (min-width: 1234px) {
  .benefits {
    padding: 100px 0;
  }

  .benefits__box:last-of-type,
  .benefits__box:first-of-type {
    min-width: 596px;
  }

  .benefits__boxes {
    gap: 20px;
  }

  .benefits__box_pretitle {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
  }

  .benefits__box_title {
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
  }

  .benefits_button {
    margin-top: 40px;
  }
  .benefits__box:last-of-type .benefits__box_name {
    color: #fff;
    margin-top: 17px;
  }
}
