@media (max-width: 1835px) {
    .services-kp__item.expanded {
      padding-left: 215px;
    }
}
@media (max-width: 1600px) {
    .header-offer__name { 
        font-size: 70px;
    }
    .header-offer__title {
        font-size: 48px;
        line-height: 58px;
    }
}
@media (max-width: 1500px) {
  .header-offer__logo::after, .kp-partner__logo::after {
      top: 50px;
      left: 90px;
      width: 190px;
      height: 190px;
  }
  .header-offer__logo.header-offer__logo-abokado::after, .ung-tech .header-offer__logo::after {
    left: 80px;
  }
    .header-offer__name { 
        font-size: 56px;
        line-height: 67px;
    }
    .header-offer__title {
        padding-top: 24px;
        font-size: 39px;
        line-height: 36px;
    }
    .header-offer__logo, .kp-partner__logo {
        width: 42%;
    }
    .header-offer__text, .kp-partner__text {
        width: 50%;
    }
    .services-kp__item-title {
        font-size: 48px;
        line-height: 58px;
    }
    .services-kp__item {
        height: 130px;
        padding: 36px 0 36px 120px;
    }
    .services-kp__item.expanded {
        padding-left: 180px;
    }
    .services-kp__item::after {
        top: calc(50% - 12px);
        width: 24px;
        height: 24px;
        background-size: 24px;
    }
    .services-kp__item::before {
        top: calc(50% - 12px);
        font-size: 24px;
    }
    .services-kp__main-content .title {
        font-size: 24px;
        line-height: 29px;
    }
    .services-kp__img-block {
        width: 380px;
    }
    .services-kp__img-block::after {
        width: 220px;
        height: 220px;
    }
    .services-kp__main-content {
        width: 50%;
    }
    .services-kp__list-title {
        margin-top: 30px;
        font-size: 18px;
    }
    .services-kp__content-list {
        margin: 24px 0 15px 25px;
    }
    .services-kp__content-list li {
        padding-bottom: 16px;
        font-size: 14px;
        line-height: 16px;
    }
    .services-kp__description {
        padding: 70px 0;
    }
    .services-kp__content-item {
        padding-bottom: 30px;
    }
    .services-kp__content-item2 {
        padding-top: 30px;
    }
    .attention__text {
        margin: 30px 0;
    }
    .title__kp {
        font-size: 32px;
        line-height: 38px;
    }
    .services-kp__cases {
        margin: 36px 0;
    }
    .services-kp__cases > li {
        min-width: 300px;
        height: auto;
    }
    .img__wrapper-cases {
        height: 240px;
    }
    .services-kp__cases-title {
        margin: 32px 0;
        font-size: 24px;
        line-height: 29px;
    }
    .services-kp__tariffs {
        padding: 36px 0 55px;
    }
    .tariffs-title {
        font-size: 48px;
        padding-bottom: 25px;
        line-height: 58px;
    }
    .services-kp__tariffs-first, .services-kp__tariffs-second {
        margin-top: 40px;
        padding: 28px;
    }
    .red-block {
        padding: 8px;
        font-size: 15px;
    }
    .services-kp__tariffs-second .tariffs-title::after, .tariff2 .tariffs-title::after {
        width: 26px;
        height: 35px;
        background-size: 26px;
    }
    .tariffs__price-block, .tariffs__price-budget {
        padding: 16px;
        font-size: 16px;
    }
    .tariffs__price-block span {
        font-size: 42px;
    }
    .tariffs__price-budget span {
        font-size: 30px;
    }  
    .tariffs__list {
        padding-left: 32px;
        font-size: 16px;
        line-height: 20px;
    }
    .tariffs__block {
        max-height: 380px;
    }
    .tariffs__list li::before {
        top: 3px;
        left: -32px;
        background-size: 16px;
    }
    .tariffs__list li.negativ::before {
        width: 16px;
        height: 2px;
        top: 10px;
        left: -32px;
    }
    .btn-order {
      padding: 16px;
    }
    .team-main__data {
      padding: 40px 0;
    }
    .extra-services {
      padding: 56px 0 45px;
    }
    .extra-services .services__item {
      min-width: 405px;
      min-height: 525px;
      padding: 58px 20px 24px;
    }
    .extra-services .services__item::before {
      top: 24px;
      right: 24px;
      font-size: 20px;
    }
    .extra-services .services__equivalent-text {
      margin: 16px 0;
      padding: 8px 0;
    }
    .extra-services .services__list-link {
      font-size: 16px;
    }
    .more-services__content-block {
      padding-top: 32px;
    }
    .more-services__fixed-menu {
      margin-top: 32px;
    }
    .more-services__fixed-list {
      width: 407px;
    }
    .more-services__fixed-item {
      padding: 34px;
      font-size: 28px;
    }
    .more-services__fixed-item::after {
      background-size: 26px;
      width: 26px;
      height: 26px;
      top: calc(50% - 11px);
    }
    .more-services__content-block {
      width: calc(100% - 435px);
    }
    .why-title {
      padding: 0 0 24px;
    }
    .more-services__title {
      font-size: 24px;
    }
    .more-services__why-list li {
      padding: 0 0 20px 22px;
    }
    .more-services__why-list li::before {
      top: 4px;
      width: 7px;
      height: 7px;
    }
    .more-services__why-list :last-child {
      padding-bottom: 32px;
    }
    .what-title {
      padding-top: 32px;
    }
    .more-services__what-wripper, .more-services__what-wripper-mobile {
      margin: 32px 0 0;
    }
    .more-services__what-list li {
      padding: 0 0 32px 40px;
    }
    .more-services__what-list li::before {
      font-size: 20px;
    }
    .more-services__what-list .title {
      padding-bottom: 16px;
      font-size: 20px;
    }
    .more-services__what-list {
      line-height: 18px;
    }
    .more-services__cost-block {
      padding: 32px 0;
    }
    .more-services__cost-list .more-services__title {
      line-height: 30px;
      padding-bottom: 24px;
    }
    .more-services__cost-item {
      padding: 28px;
    }
    .more-services__price {
      font-size: 16px;
    }
    .more-services__price span {
      font-size: 36px;
      line-height: 50px;
    }
    .content-service__item-title {
      margin-top: 20px;
      font-size: 20px;
      line-height: 24px;
    }
    .more-services__title.case-title {
      font-size: 36px;
      margin-bottom: 36px;
      line-height: 43px;
    }
    .more-services__cases-list li {
      min-width: 407px;
    }
    .more-services__cases-list .cases-title {
      margin: 30px 0;
    }
    .invoice__tariff {
      width: 406px;
      height: 470px;
      padding: 28px;
    }
    .invoice__tariff-abokado {
      height: 550px;
    }
    .invoice__title-block img {
      display: none;
    }
    .more-services {
      padding-bottom: 56px;
    }
    .invoice {
      padding: 64px 0;
    }
    .invoice__content-item {
      font-size: 16px;
      line-height: 18px;
    }
    .kp-partner {
      padding: 56px 0;
    }
    .kp-partner__name {
      font-size: 36px;
      line-height: 43px;
    }
    .kp-partner__text-block {
      padding: 24px 0;
      font-size: 18px;
      line-height: 27px;
    }
    .discuss-form {
      padding: 36px 0;
    }
    .discuss-form__kp .btn-order__red {
      max-width: 260px;
      margin-top: 24px;
    }
    .invoice__title-block {
      margin-left: 0;
    }
}
@media (max-width: 1440px) {
  .services-kp__content-item a.services-kp__link:first-of-type {
    padding-bottom: 30px;
  }
  .more-services__circle {
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
  }
  .more-services__circle span {
    font-size: 50px;
    line-height: 60px;
  }
}
@media (max-width: 1024px) {
  .header-offer__partner img, .kp-partner__partner img{
    height: 40px;
  }
  .invoice-container {
    flex-wrap: wrap;
  }
}
@media (max-width: 1100px) {
    .services-kp__main-content {
        padding-right: 0;
    }
    .header-offer__logo::after, .kp-partner__logo::after {
        width: 165px;
        top: 20px;
        left: auto;
        right: 20px;
    }
    .header-offer__logo.header-offer__logo-abokado::after, .ung-tech .header-offer__logo::after {
      left: 40px;
      top: 15px;
    }
    .header-offer__partner, .kp-partner__partner {
        margin-top: 20px;
    }
    .services-kp__list {
        margin-top: 20px;
        position: relative;
    }
    .services-kp__item-title {
        font-size: 24px;
        line-height: 32px;
    }
    .services-kp__item {
        height: auto;
        padding: 20px 0 20px 44px;
    }
    .services-kp__item::before {
        top: calc(50% - 9px);
        font-size: 16px;
    }
    .services-kp__item-title {
        font-size: 24px;
        line-height: 32px;
    }
    .services-kp__item::after {
      content: "";
      top: calc(50% - 6px);
      width: 13px;
      height: 13px;
      right: 8px;
      background-size: 13px;
    }
    .services-kp .services-kp__item.expanded::after, .more-services .services-kp__item.expanded::after {
        right: 68px;
    }
    .services-kp .services-kp__item.expanded, .more-services .services-kp__item.expanded {
        padding-left: 104px;
    }
    .services-kp__item.expanded.sticky {
        position: sticky;
        top: 80px;
        left: 0;
        z-index: 50;
    }
    .services-kp__img-block {
        display: none;
    }
    .services-kp__main-content .title, .title__kp {
        font-size: 24px;
        line-height: 30px;
    }
    .services-kp__description {
        padding: 30px 0;
        /* border-bottom: 2px solid #B4B8C8; */
    }
    .services-kp__list-title {
        margin-top: 20px;
        font-size: 20px;
    }
    .services-kp__content-list li {
        padding-bottom: 16px;
    }
    .services-kp__content-list {
        margin-top: 24px;
    }
    .attention__text {
        margin: 20px 0 30px;
        padding: 20px;
        font-size: 18px;
    }
    .title__kp {
        padding-top: 30px;
    }
    .services-kp__cases li {
        min-width: 260px;
        height: auto;
    }
    .services-kp__cases-title {
        margin: 20px 0;
        font-size: 20px;
        line-height: 24px;
    }
    .services-kp__cases {
        margin: 30px 0;
        padding-bottom: 30px;
    }
    .services-kp__tariffs {
        margin: 30px 0;
        /* border-top: 2px solid #B4B8C8; */
    }
    .services-kp__tariffs:not(.services-seo) {
        flex-direction: column;
    }
    .title__kp.services-kp__tariffs-item br {
        display: none;
    }
    .services-kp__tariffs-item {
        width: 100%;
    }
    .services-kp__tariffs-first {
        order: 2;
    }
    .services-kp__tariffs-second.services-kp__tariffs-item .red-block {
        font-size: 12px;
    }
    .services-kp__tariffs-first, .services-kp__tariffs-second {
        padding: 20px;
    }
    .tariffs-title {
        font-size: 32px;
        padding-bottom: 20px;
    }
    .services-kp__tariffs-second .tariffs-title::after, .tariff2 .tariffs-title::after {
        background-size: 16px;
        width: 16px;
        height: 22px;
        top: 10px;
        right: -30px;
    }
    .tariffs__price-block {
        font-size: 16px;
    }
    .tariffs__price-block span, .tariffs__price-budget span {
        font-size: 32px;
        line-height: 32px;
    }
    .tariffs__list, .tariffs__price-budget {
        font-size: 16px;
        line-height: 24px;
    }
    .tariffs__list li::before {
        width: 17px;
        height: 12px;
        top: 8px;
        left: -35px;
        background-size: 17px;
    }
    .tariffs__list {
        padding-left: 35px;
    }
    .tariffs__list-more-block {
        bottom: -8px;
    }
    .tariffs__list-more {
        width: 24px;
    }
    .services-kp__tariffs-first {
        margin-top: 0;
    }
    .tariffs__list li.negativ::before {
        width: 16px;
        left: -35px;
    }
    .btn-order {
        padding: 13px;
        max-width: 350px;
        margin: 25px auto 0;
    }
    .services-kp__tariffs {
        padding: 0;
    }
    .achievements .team-data__text {
        font-size: 32px;
        line-height: 48px;
        margin-bottom: 0;
    }
    .achievements .team-data__title {
        font-size: 14px;
    }
    .achievements.achievements-kp .team-main__data {
        padding: 30px 0;
    }
    .extra-services {
        padding: 50px 0 40px;
    }
    .extra-services .services__block {
        padding-bottom: 30px;
        margin-top: 20px;
    }
    .extra-services .services__item {
        position: relative;
        min-width: 260px;
        min-height: 500px;
        height: 500px;
        padding: 30px 10px;
    }
    .extra-services .services__item::before {
        top: 10px;
        right: 10px;
        font-size: 16px;
    }
    .extra-services .services__list-title {
        font-size: 20px;
        height: 70px;
    }
    .extra-services .services__equivalent-text {
        margin: 0;
        font-size: 16px;
        border: none;
    }
    .extra-services .services__equivalent-text span {
        font-size: 24px;
    }
    .more-services__description-wrapper {
        flex-direction: column;
    }
    .more-services__fixed-menu {
        position: relative;
        top: 0;
    }
    .more-services__fixed-list {
        display: flex;
    }
    .more-services__fixed-item {
        font-size: 16px;
        padding: 20px 0;
        text-align: left;
    }
    .more-services__content-block { 
        padding-top: 20px;
    }
    .more-services__fixed-list, .more-services__content-block, .more-services__text, .more-services__fixed-menu {
        width: 100%;
    }
    .more-services__fixed-item::after {
        content: none;
    }
    .more-services__fixed-item.active {
        background-color: #fff;
        border-bottom: 6px solid #FC0000;
        color: inherit;
    }
    .why-title {
        padding: 0 0 20px;
    }
    .more-services__why-list li {
        padding: 0 0 12px 30px;
    }
    .more-services__why-list :last-child {
        padding-bottom: 30px;
    }
    .what-title {
        padding-top: 30px;
    }
    .more-services__title {
        font-size: 24px;
        line-height: 32px;
    }
    .more-services__what-wripper, .more-services__note, .invoice__title-block img {
        display: none;
    }
    .more-services__what-wripper-mobile {
        display: block;
        border: none;
    }
    .more-services__what-list {
        display: flex;
        width: 100%;
        padding: 0 0 30px;
        column-gap: 20px;
        overflow: hidden;
        overflow-x: scroll;
        counter-reset: step-counter; 
    }
    .more-services__what-list li {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        list-style-type: none;
        min-width: 260px;
        min-height: 280px;
        height: 280px;
        padding: 60px 10px;
        background-color: rgba(238, 241, 244, 0.4);
    }
    .more-services__what-list li:hover {
        background-color: #FC0000;
        color: #fff;
    }
    .more-services__what-list li:before,
    .more-services__what-list:first-child li:nth-child(1):before,
    .more-services__what-list:first-child li:nth-child(2):before, 
    .more-services__what-list:first-child li:nth-child(3):before {
        position: absolute;
        content: "Крок " counter(step-counter);
        counter-increment: step-counter;
        top: 20px;
        left: 10px;
        color: #111116;
        font-size: 16px;
    }
    .more-services__what-list li:hover:before,
    .more-services__what-list:first-child li:hover:nth-child(1):before,
    .more-services__what-list:first-child li:hover:nth-child(2):before, 
    .more-services__what-list:first-child li:hover:nth-child(3):before {
        color: #fff;
    }
    .more-services__what-list li .title {
        padding-bottom: 0;
    }
    .more-services__cost-list {
        flex-direction: column;
    }
    .more-services__cost-list .more-services__cost-item:first-child, .invoice__tariff.tariff1 {
        margin-right: 0;
    }
    .more-services__cost-item {
        padding: 20px;
    }
    .more-services__cost-list .more-services__title {
        line-height: 24px;
        padding-bottom: 20px;
    }
    .more-services__price span {
        font-size: 32px;
        line-height: 32px;
    }
    .content-service__item-title {
        margin-top: 20px;
        font-size: 20px;
        line-height: 24px;
    }
    .more-services__cost-block {
        padding: 50px 0 0;
        border: none;
    }
    .more-services__cases-list li {
        min-width: 260px;
    }
    .more-services__cases-list .cases-title {
        margin: 20px 0;
        font-size: 20px;
        line-height: 24px;
    }
    .more-services__cases-list {
        padding-bottom: 30px;
    }
    .services-kp__list:last-child {
        border: none;
    }
    .invoice, .kp-partner {
        padding: 50px 0;
    }
    .invoice-container, .invoice__tariff-wrapper {
        flex-direction: column;
        row-gap: 30px;
    }
    .invoice__tariff {
        width: 100%;
        height: 430px;
        padding: 30px 20px;
    }
    .invoice__tariff-abokado {
      height: 500px;
    }
    .invoice__tariff.tariff1 {
        order: 2;
    }
    .invoice__tariff-wrapper-abokado .invoice__tariff.tariff1 {
      order: 0;
    }
    .invoice__content-item {
        margin-top: 20px;
        font-size: 16px;
        line-height: 20px;
    }
    .nvoice__content-cost {
        font-size: 24px;
        line-height: 32px;
    }
    .invoice__content-list {
        padding-bottom: 20px;
    }
    .kp-partner__name {
        font-size: 24px;
        line-height: 30px;
    }
    .kp-partner__text-block {
        padding: 30px 0;
        font-size: 16px;
        line-height: 20px;
    }
    .discuss-form__title {
        text-align: center;
    }
    .discuss-form {
        padding-top: 30px;
    }
    .discuss-form__kp .btn-order__red {
        max-width: 100%;
        margin-top: 30px;
    }
    .services-kp__main-content {
      width: 100%;
    }
    .nav__list li:first-child::before {
      content: none;
    }
}
@media (max-width: 800px) {
  .more-services__circle {
    display: none;
  }
  .services-kp__item.expanded.sticky,
  .services-kp .cases__item.expanded, .more-services .services-kp__item.expanded {
    margin: 0 -40px;
  }
  .more-services .cases__item.expanded::before, .more-services .services-kp__item.expanded::before,
  .services-kp .cases__item.expanded::before, .services-kp .services-kp__item.expanded::before {
    left: 40px;
  }
  .services-kp .services-kp__item.expanded, .more-services .services-kp__item.expanded {
    padding-left: 84px;
    margin: 0 -40px;
  }
  .services-kp .services-kp__item.expanded::after, .more-services .services-kp__item.expanded::after {
    right: 48px;
  }
}
@media (max-width: 600px) {
  .services-kp__item.expanded.sticky,
  .services-kp .cases__item.expanded, .more-services .services-kp__item.expanded {
    margin: 0 -20px;
  }
  .more-services .cases__item.expanded::before, .more-services .services-kp__item.expanded::before,
  .services-kp .cases__item.expanded::before, .services-kp .services-kp__item.expanded::before {
    left: 20px;
  }
  .services-kp .services-kp__item.expanded, .more-services .services-kp__item.expanded {
      padding-left: 64px;
      margin: 0 -20px;
  }
  .services-kp .services-kp__item.expanded::after, .more-services .services-kp__item.expanded::after {
    right: 28px;
  }
  .header-offer__name { 
      font-size: 46px;
  }
  .header-offer__title {
      font-size: 36px;
      line-height: 43px;
  }
  .header-offer, .kp-partner__wrapper {
      flex-wrap: wrap;
      row-gap: 50px;
  }
  .header-offer__text, .kp-partner__text, .header-offer__logo, .kp-partner__logo, .services-kp__main-content {
      width: 100%;
  }
  .btn-order {
    max-width: 100%;
  }
  .more-services {
    padding-bottom: 0;
  }
  .header-offer__logo.header-offer__logo-abokado::after, .ung-tech .header-offer__logo::after {
    left: 14%;
    top: 9%;
  }
  .img__wrapper-cases {
      height: 200px;
      min-height: auto;
  }
  .img__wrapper-cases img, .more-services__img-wrapper img {
      object-position: center;
  }
}
@media (max-width: 550px) {
    .services-kp__link.link-arrow {
        display: block;
        width: fit-content;
        margin-left: 0;
    }
    .services-kp__content-item a.services-kp__link:first-of-type {
        padding-bottom: 40px;
    }
    .ung-tech .header-offer__name {
      padding: 30px 30px 0 0;
    }
}
@media (max-width: 450px) {
  .header-offer__logo.header-offer__logo-abokado::after, .ung-tech .header-offer__logo::after {
    left: 40px;
    top: 15px;
  }
}
@media (max-width: 400px) {
    .services-kp__item-title {
        font-size: 20px;
        line-height: 28px;
      }
}