.nonresident {
    overflow: hidden;
    padding-bottom: 114px;
    position: relative;
  }
  .nonresident .row {
    position: relative;
  }
  .nonresident__image {
    position: absolute;
    top: -147px;
    right: -157px;
    z-index: -1;
  }

  .nonresident__image img {
    max-width: 100%;
    height: auto;
  }

  .nonresident__title {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-style: normal;
    padding-top: 117px;
    margin-bottom: 50px;
    font-size: 50px;
    line-height: 60px;
  }
  .nonresident__content {
    display: flex;
  }
  .nonresident__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -16px;
    grid-row-gap: 25px;
    row-gap: 25px;
  }
  .nonresident__item {
    margin-left: 15px;
    margin-right: 16px;
    width: calc(50% - 31px);
  }
  .nonresident__item-image {
    margin-bottom: 16px;
  }
  .nonresident__item-image-img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
  }

  .nonresident__item-text {
    font-family: Manrope;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #444444;
  }

  .nonresident__contacts {
    width: 362px;
    border-radius: 20px;
    text-align: center;
    flex-shrink: 0;
    padding: 67px 35px 68px 30px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin: 4px 4px 10px 29px;
  }
  .nonresident__contacts:before {
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
  }
  .nonresident__text {
    margin-bottom: 23px;
    line-height: 24px;
    font-family: Manrope;
    font-weight: 500;
    font-size: 20px;
    color: #FFFFFF;
    position: relative;
    z-index: 3;
  }
  .nonresident__phones {
    font-size: 26px;
    line-height: 22px;
    margin-bottom: 20px;
    font-family: Manrope;
    font-weight: 800;
    color: #FFFFFF;
    z-index: 3;
    position: relative;
  }

  .nonresident__phones a{
    font-size: 26px;
    line-height: 22px;
    margin-bottom: 20px;
    font-family: Manrope;
    font-weight: 800;
    color: #FFFFFF;
    z-index: 3;
    position: relative;
  }

  .nonresident__phones .phone + .phone {
    margin-top: 10px;
  }
  .nonresident__worktime {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    margin-left: 5px;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 24px;
    z-index: 3;
    position: relative;
  }

  .nonresident__worktime span{
    font-family: Manrope, sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 24px;
    z-index: 3;
    position: relative;
  }


  .nonresident__border-gradient {
    position: relative;
  }

  .nonresident__border-gradient::before {
    position: absolute;
    content: "";
    z-index: 1;
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    background: linear-gradient(90deg, #0E6F0C 0%, #13A210 100%);
    border-radius: inherit;
  }

  .nonresident__border-gradient::after {
    position: absolute;
    content: "";
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(257.96deg, #52CA4F 14.25%, #13A210 86.96%);
    border-radius: inherit;
  }

  @media screen and (max-width: 1320px) {
    .nonresident {
      padding-bottom: 103px;
    }
    .nonresident__image {
      top: -64px;
      width: 671px;
      right: -175px;
    }
    .nonresident__title {
      font-size: 38px;
      line-height: 48px;
      padding-top: 103px;
      margin-bottom: 50px;
    }
    .nonresident__contacts {
      width: 293px;
      margin-left: 18px;
      padding: 50px 20px;
    }
    .nonresident__text {
      margin-bottom: 22px;
      font-size: 18px;
      margin-left: -3px;
    }
    .nonresident__phones {
      margin-bottom: 22px;
    }
    .nonresident__worktime {
      font-size: 18px;
      margin-left: 0;
    }
    .nonresident__items {
      margin-left: -7px;
      margin-right: -7px;
    }
    .nonresident__item {
      margin-left: 7px;
      margin-right: 7px;
      width: calc(50% - 14px);
    }
    .nonresident__item-image {
      margin-bottom: 16px;
    }
    .nonresident__item-text {
      font-size: 16px;
      line-height: 24px;
    }
  }
  @media screen and (max-width: 1023px) {
    .nonresident {
      padding-bottom: 84px;
    }
    .nonresident__image {
      top: -60px;
      width: 534px;
      right: -140px;
    }
    .nonresident__title {
      font-size: 30px;
      line-height: 40px;
      padding-top: 80px;
      margin-bottom: 30px;
    }
    .nonresident__contacts {
      width: 256px;
      margin-left: 17px;
      padding: 40px 4px 40px 12px;
    }
    .nonresident__text {
      margin-bottom: 15px;
      line-height: 22px;
    }
    .nonresident__phones {
      font-size: 22px;
      margin-bottom: 12px;
    }
    .nonresident__item-image {
      margin-bottom: 8px;
    }
    .nonresident__item-text {
      line-height: 22px;
    }
  }
  @media screen and (max-width: 767px) {
    .nonresident {
      padding-bottom: 64px;
    }
    .nonresident__title {
      font-size: 26px;
      line-height: 34px;
      padding-top: 66px;
      margin-right: 35px;
      margin-bottom: 30px;
    }
    .nonresident__image {
      top: -36px;
      width: 376px;
      right: -156px;
    }
    .nonresident__content {
      display: block;
      max-width: 500px;
      margin: auto;
    }
    .nonresident__items {
      flex-direction: column;
      grid-row-gap: 20px;
      row-gap: 20px;
    }
    .nonresident__item {
      display: flex;
      align-items: center;
      width: 100%;
    }
    .nonresident__item-image {
      margin-bottom: 0;
      width: 134px;
      flex-shrink: 0;
      overflow: hidden;
      border-radius: 10px;
      margin-right: 10px;
    }
    .nonresident__item-image-img {
      margin-left: -10px;
      max-width: 115%;
    }
    .nonresident__item-text {
      line-height: 24px;
      margin-right: 5px;
    }
    .nonresident__contacts {
      margin-top: 35px;
      margin-left: 4px;
      width: auto;
      margin-right: 4px;
      padding: 26px 12px 19px;
    }
    .nonresident__phones {
      margin-bottom: 13px;
    }
    .nonresident__text {
      margin-left: -3px;
    }
  }