@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,regular,italic,700,700italic,900,900italic&display=swap');

/* =============================================
   HANWEI — Case Page
   ============================================= */

/* --- Base --- */

.hanwei-page {
    font-family: 'Montserrat';
    color: #000;
    background-color: #fff;
}

/* --- Hero --- */

.hanwei-hero {
    overflow: hidden;

    background: url('../img/hanwei/fone.png') 0 0 no-repeat #031350;
    background-size: auto;
    padding-top: 50px;
    margin-bottom: 50px;

    .container {
        height: 100%;
    }
}

.hanwei-hero__wrap {
    display: flex;
    height: 100%;
    justify-content: space-between;
}

/* LEFT */
.hanwei-hero__left {
    position: relative;
    width: 45%;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
}

.hanwei-hero__logo {
    margin-bottom: 36px;
}

.hanwei-hero__logo img {
    width: 220px;
    height: auto;
}

.hanwei-hero__title {
    font-size: 43px;
    font-weight: 700;
    color: #fff;
    line-height: 1.10;
    margin: 0 0 20px 0;
    max-width: 700px;
}

.hanwei-hero__subtitle {
    font-size: 29px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    margin: 0 0 55px 0;
    max-width: 700px;
}

/* Features grid */
.hanwei-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 80px;
    max-width: 700px;
}

.hanwei-hero__feature {
    font-size: 21px;
    text-align: center;
    font-weight: 400;
    color: #fff;
    padding: 12px 16px;
    border-radius: 28px;
    background-color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* Stack */
.hanwei-hero__stack-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.hanwei-hero__stacks {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stack-hanwei__item {
    max-height: 67px;
    border-radius: 23px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stack-hanwei__figma {
    max-height: 67px;
    padding-right: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.stack-hanwei__img {
    height: 100%;
}

/* Tags row */
.hanwei-hero__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-top: auto;
    margin-bottom: 50px;
}

.hanwei-hero__tags .dot {
    opacity: 1;
}

/* RIGHT */
.hanwei-hero__right {
    max-width: 45%;
    width: 100%;
    position: relative;
}

/* Large image */
.hanwei-hero__img-large {
    width: 100%;
    object-fit: cover;
    object-position: top left;
    border-radius: 33px;
    display: block;
}

@media (min-width: 1200px) {
    .hanwei-hero__img-large {
        position: absolute;
        bottom: 0;
    }
}


.hanwei-hero__element {
    position: absolute;
    bottom: 0%;
    left: 50%;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    @media (max-width: 1600px){
        left: 75%;
        width: 100%;
    }
}

.idea__top {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
    p {
      font-size: 24px;
      line-height: 125%;
    }
}



.idea__block {
    background: #a8bbdd87;
    padding: 25px 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;

    h3 {
      font-size: 40px;
      margin-bottom: 20px;
      color: #000;
    }

    p {
        font-size: 24px;
        color: #000;
        line-height: 1;
    }
}

.idea__block-text {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 100%;
}

.idea__block-wrap__item p {
  margin-top: auto;
}

.idea__block-mb70 {
  margin-bottom: 70px;
}

.idea__created-title {
    text-align: center;
    font-size: 40px;
    color: #000;
    margin-bottom: 40px;
}

.idea__block-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: baseline;
  margin: 0 auto;
  gap: 20px;
}

.idea__block-text {

}

.idea__block-text-margin {
    margin-top: 60px;
    margin-bottom: 80px;
}


/* =============================================
   АДАПТИВ
   ============================================= */

@media (min-width: 1200px) {
    .hanwei-hero {
        aspect-ratio: 1440 / 1020;
    }
}

@media (max-width: 1440px) {
    .hanwei-hero {
        aspect-ratio: auto;
    }

    .hanwei-hero__left {
        padding: 36px;
    }

    .hanwei-hero__logo img {
        width: 160px;
    }

    .hanwei-hero__title {
        font-size: 48px;
    }

    .hanwei-hero__subtitle {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .hanwei-hero__feature {
        font-size: 18px;
    }

    .hanwei-hero__tags {
        font-size: 26px;
    }
}

@media (max-width: 1200px) {
    .hanwei-hero__title {
        font-size: 40px;
    }

    .hanwei-hero__subtitle {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .hanwei-hero__feature {
        font-size: 16px;
    }

    .hanwei-hero__tags {
        font-size: 22px;
    }

    .hanwei-hero__stack-title {
        font-size: 26px;
    }
}

@media (max-width: 1024px) {
    .hanwei-hero__wrap {
        flex-direction: column;
    }

    .hanwei-hero__left {
        width: 100%;
        padding: 40px 24px;
    }

    .hanwei-hero__right {
        max-width: 100%;
    }

    .hanwei-hero__title {
        font-size: 36px;
    }

    .hanwei-hero__subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .hanwei-hero__title {
        font-size: 28px;
    }

    .hanwei-hero__subtitle {
        font-size: 18px;
    }

    .hanwei-hero__features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 40px;
    }

    .hanwei-hero__feature {
        font-size: 13px;
        padding: 10px 12px;
        white-space: normal;
    }

    .hanwei-hero__tags {
        font-size: 16px;
    }

    .hanwei-hero__stack-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hanwei-hero {
        padding-top: 24px;
    }

    .hanwei-hero__title {
        font-size: 22px;
    }

    .hanwei-hero__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hanwei-hero__features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hanwei-hero__feature {
        font-size: 13px;
    }

    .hanwei-hero__tags {
        font-size: 14px;
        gap: 8px;
    }

    .hanwei-hero__stack-title {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .hanwei-hero__title {
        font-size: 18px;
    }

    .hanwei-hero__subtitle {
        font-size: 13px;
    }

    .hanwei-hero__feature {
        font-size: 12px;
        padding: 8px 10px;
    }

    .hanwei-hero__tags {
        font-size: 13px;
    }
}



/* =============================================================
   CASE-HERO — переопределения для hanwei (тёмно-синий фон)
   ============================================================= */

.hanwei-page .case-hero {
  background: url('../img/hanwei/fone.png') 0 0 no-repeat #031350;
  background-size: auto;
  margin-bottom: 50px;
}

.hanwei-page .case-hero__decor {
  left: 45%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hanwei-page .case-hero__right {
  max-width: 50%;
  z-index: 5;
}


/* =============================================
   EXAMPLES
   ============================================= */

.examples {
    padding: 60px 0;
    background-color: #EEEEEE;
    border-radius: 20px;
}

.examples__text {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 60px;
}
.examples__wrap {
    img {
        border-radius: 30px;
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }

    p {

        font-size: 15px;
        @media (max-width: 768px){
              text-align: center;
        }
    }
    p:not(:last-child){
        margin-bottom: 50px;
        @media (max-width: 768px){

        }
    }
}


.hanwei-features {
    padding: 80px 0;
    background: #fff;
    color: #000;
}

.hanwei-features__text {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 50px;
}

.hanwei-features__image {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 120px;
}


.hanwei-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
}

.hanwei-features__title {
    margin-bottom: 40px;
}

.hanwei-features__top {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.hanwei-features__phones {
    flex-shrink: 0;
    max-width: 45%;
}

.hanwei-features__phones img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hanwei-features__num {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    row-gap: 90px;
    column-gap: 90px;
}

.num-features__figure {
    font-size: 96px;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 40px;
}

.num-features__text {
    font-size: 24px;
}


.hanwei-features__footer {
}
.footer-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}
.footer-features__text {
    font-size: 24px;
    line-height: 100%;
        flex-shrink: 0;
}
.footer-features__line {
    height: 2px;
    background-color: rgba(168, 187, 221, 0.53);
    flex-shrink: 1;
    width: 100%;
}

.hanwei-features__info {
    display: flex;
    gap: 40px;
}
.hanwei-features__info-num {
    font-size: 75px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    line-height: 125%;
    margin-bottom: 40px;
    width: 48px;
}
.hanwei-features__desc {
    b {
        font-size: 32px;
        font-weight: 700;
        line-height: 100%;
    }
    p {
        font-size: 24px;
        line-height: 125%;
    }
}


.hanwei-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    position: relative;
}
.hanwei-step {
    border-radius: 20px;
    background-color: rgba(238, 238, 238, 1);

    border-radius: 20px;
    background-color: rgba(238, 238, 238, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px;
    line-height: 100%;
    padding-bottom: 20px;
    p {
        max-width: 80%;
        margin: 0 auto;
        margin-top: auto;
    }
}

.hanwei-step:last-child {
    grid-column: 2;
}

.hanwei-step-title {
    margin-bottom: 60px;
}

.hanwei-steps__line {
    position: absolute;
    max-width: 85%;
    width: 100%;
    border: 3px dashed #cec8c8;
}
.hanwei-steps__line-one {
    top: 15%;
    right: 0;
}
.hanwei-steps__line-two {
    top: 50%;
}
.hanwei-steps__line-three {
    bottom: 15%;
    max-width: 100%;
}

.section-steps {
    position: relative;
}

.stage {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.stage__body {
  width: fit-content;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-right: 60px;
  position: relative;
}
.stage__body::before {
  content: "";
  position: absolute;
  height: 98px;
  left: 100%;
  top: 0px;
  width: 3px;
  background-color: rgba(134, 132, 132, 1);;
}
.stage__num {
  color: rgba(134, 132, 132, 1);
  font-family: "Lato", sans-serif;
  font-size: 96px;
  font-weight: 600;
  line-height: 100%;
}

.stage__title {
  color: rgba(0, 0, 0, 1);
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 100%;
  margin-left: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage__title span {
  flex-shrink: 0;
}
@media (max-width: 1300px){
  .stage__title span{
    display: none;
  }
}


.analytics__wrap {
    position: relative;
    display: flex;
    margin-bottom: 100px;
    .text {
        max-width: 50%;
        font-size: 24px;
        line-height: 125%;
    }
    img {
        position: absolute;
        bottom: 50%;
        right: 0;
        transform: translateY(50%);
        max-width: 50%;
    }
}

.prototyp {
    margin-bottom: 100px;
}
.prototypes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.prototype__card {
    border-radius: 24px;
    text-align: center;
    aspect-ratio: 3 / 2;
    border-radius: 24px;
    border: 2px solid rgba(238, 238, 238, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.prototype__card--text {
    font-weight: 600;
    font-size: 20px;
    padding: 0 10px;
}

.analytics-banner {
    display: block;
    margin-bottom: 20px;width: 100%;
}

.phase__text {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 60px;
}

.hanwei-design {
    margin-bottom: 80px;
}

.hanwei-design__body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}
.hanwei-design__left {
    max-width: 40%;
}
.hanwei-design__text {
    font-size: 32px;
    line-height: 100%;
    font-weight: 500;
    margin-bottom: 20px;
}
.hanwei-design__colors {
    display: flex;
    gap: 20px;
}
.hanwei-design__right {
    max-width: 50%;
}
.hanwei-design__weight {
    p {
        font-size: 48px;
        line-height: 1.25;
    }
}

.hanwei-design__color {
    aspect-ratio: 120 / 260;
    width: 100%;
    position: relative;
    &.blue {
        background-color: #122a87;
    }
    &.red {
        background-color: rgba(255, 56, 56, 1);
    }
    &.white {
        background-color: #fff;
        border: 1px solid #000;
        span {
            color: #000;
        }
    }
    &.black {
        background-color: #000;
    }
    span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        color: #fff;
    }
}



.hanwei-design__banner {
    width: 100%;
    margin-bottom: 80px;
}
@media (max-width: 768px){
    .hanwei-design__banner {
        margin-bottom: 30px;
    }
}

.hanwei-design__footer {
    display: flex;
    align-items: center;
    font-size: 32px;
    line-height: 125%;
    gap: 30px;
}
.hanwei-design__footer:not(:last-child){
    margin-bottom: 20px;
}


.hanwei-development {
    margin-bottom: 80px;
}

.hanwei-development__body {
    display: flex;
    max-width: 1040px;
    margin: 0 auto;
    gap: 80px;
    margin-bottom: 80px;
}
.hanwei-development__one {
    position: relative;
    span {
        display: block;
        max-width: 280px;
        font-size: 24px;
        line-height: 125%;
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translate(25%,-75%);
    }
    img {
        @media (max-width: 768px){
              max-width: 100%;
        }
    }
}
.hanwei-development__two {
    position: relative;
    span {
        text-align: center;
        display: block;
        font-size: 24px;
        line-height: 125%;
    }
    img {
        @media (max-width: 768px){
              max-width: 100%;
        }
    }
}


.hanwei-development__footer {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 24px;
    line-height: 125%;
}


.hanwei-integration {
}

.hanwei-integration__wrap {
    display: flex;
    gap: 24px;
    margin-bottom: 90px;
}
.hanwei-integration__item {
    border: 1px solid #eeeeee;
    border-radius: 24px;
    /* font-family: 'Lato'; */
    font-size: 20px;
    line-height: 125%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px;
    p {
        max-width: 160px;
        display: block;
    }
}


.hanwei-testing {
    margin-bottom: 80px;
}
.hanwei-testing__wrap {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    max-width: 90%;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 50px;
}
.hanwei-testing__item {
    max-width: 307px;
    width: 100%;
    text-align: center;
    p {
        font-size: 24px;
        line-height: 125%;
        font-weight: 400;
    }
}
.hanwei-testing__item-img {
    aspect-ratio: 307 / 216;
    border-radius: 24px;
    background-color: #EEEEEE;
    text-align: center;
    margin-bottom: 20px;
    @media (max-width: 768px){
         aspect-ratio: auto;
         padding-top: 20px;
         padding-bottom: 20px;
    }
    img {
        max-width: 196px;
        width: 100%;
        height: auto;
        text-align: center;
    }
}

.hanwei-release {
}

.hanwei-release__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hanwei-release__left {
    max-width: 45%;
    p {
        font-size: 24px;
        font-weight: 400;
    }
    b {
        font-weight: 600;
        margin-top: 60px;
        font-size: 24px;
        display: block;
        margin-bottom: 24px;
    }
}
.hanwei-release__right {
}

.resume__block {
    border: 5px solid rgba(168, 187, 221, 0.5);
    padding: 50px 80px;
    border-radius: 20px;
    margin-bottom: 100px;
    position: relative;

    .resume__block-text {
        padding-bottom: 30px;
        border-bottom: 3px solid #A8BBDD;
        margin-bottom: 30px;
    }
    b {
        font-style: italic;
        font-size: 24px;
        line-height: 125%;
    }
}
.resume__quote {
    position: absolute;
    top: -40px;
    left: 20px;
}
.resume__meneger {
    font-size: 24px;
    line-height: 125%;
    text-align: right;
}


.hanwei-results__line {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.hanwei-results__line::before {
  content: "";
  height: 1px;
  flex-shrink: 1;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.7);
}
.hanwei-results__line::after {
  content: "";
  height: 1px;
  flex-shrink: 1;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.7);
}


.hanwei-results__title {
    width: 100%;
    font-size: 48px;
    font-weight: 700;
    width: 600px;
    flex-shrink: 0;
}


.results-hanwei {
    background-color: rgba(168, 187, 221, 0.53);
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 60px;
    img {
        margin-bottom: 10px;
        width: 100%;
    }
}
.results-hanwei__title-mini {
    font-size: 24px;
    line-height: 125%;
    margin-bottom: 40px;
    font-weight: 400;
}
.results-hanwei__text {
    font-size: 15px;
    font-weight: 400;
}

.results-hanwei__text:not(:last-child){
    margin-bottom: 50px;
}


.results-hanwei-tablet {
    background-color: rgba(168, 187, 221, 0.53);
    padding-top: 60px;
    padding-bottom: 60px;
}
.hanwei-tablet {
}

.hanwei-tablet__row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    &:not(:last-child){
        margin-bottom: 50px;
    }

}
.hanwei-tablet__item {
    text-align: center;
    img {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }
    p {
        font-size: 15px;
        font-weight: 400;
    }
}


.results-hanwei {
}
.hanwei-mobile {
    background-color: rgba(168, 187, 221, 0.53);
    padding-top: 60px;
    padding-bottom: 60px;
}
.hanwei-mobile__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    &:not(:last-child){margin-bottom: 50px;}

}

.hanwei-mobile__item {
    text-align: center;
}

@media (max-width: 768px){
      .hanwei-mobile__item {
        line-height: 125%;
      }
}

.hanwei-reviews__img {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.hanwei-reviews__footer {
    display: flex;
    gap: 50px;
    margin-bottom: 100px;
    .btn-primary {
        align-items: center;
        text-decoration: none;
        width: 200px;
        justify-content: center;
    }
}
.hanwei-reviews__left {
    p {
        font-size: 40px;
        font-weight: 600;
        line-height: 1.25;
    }
    a {
        font-size: 32px;
        font-weight: 500;
        color: #000;
        line-height: 1;
    }

}


/* =============================================
   АДАПТИВ — остальные секции
   ============================================= */

@media (max-width: 1200px) {
    .idea__top {
        gap: 24px;
    }
    .idea__top p {
        font-size: 20px;
    }

    .hanwei-title {
        font-size: 34px;
    }

    .hanwei-features__text,
    .hanwei-features__desc p,
    .examples__text,
    .phase__text,
    .idea__block-text,
    .num-features__text {
        font-size: 20px;
    }

    .hanwei-features__desc b {
        font-size: 26px;
    }

    .num-features__figure {
        font-size: 72px;
        margin-bottom: 24px;
    }

    .hanwei-features__num {
        row-gap: 50px;
        column-gap: 50px;
    }

    .hanwei-integration__item {
        padding: 50px 40px;
    }

    .resume__block {
        padding: 40px 50px;
    }

    .hanwei-results__title {
        font-size: 38px;
        width: 480px;
    }

    .hanwei-reviews__left p {
        font-size: 30px;
    }
    .hanwei-reviews__left a {
        font-size: 24px;
    }

    .stage__num {
        font-size: 72px;
    }
    .stage__title {
        font-size: 34px;
    }

    .hanwei-design__text {
        font-size: 26px;
    }
    .hanwei-design__weight p {
        font-size: 38px;
    }
    .hanwei-design__footer {
        font-size: 26px;
    }

    .hanwei-development__body {
        gap: 50px;
    }
    .hanwei-development__footer {
        font-size: 20px;
    }
    .hanwei-development__one span,
    .hanwei-development__two span {
        font-size: 20px;
    }

    .hanwei-features__info-num {
        font-size: 60px;
    }
    .hanwei-features__info {
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    /* idea */
    .idea__top {
        flex-direction: column;
    }
    .idea__logo img {
        max-width: 200px;
    }
    .idea__block-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    /* features */
    .hanwei-features__top {
        flex-direction: column;
        align-items: flex-start;
    }
    .hanwei-features__phones {
        max-width: 40%;
        margin: 0 auto;
    }
    .hanwei-features__num {
        width: 100%;
    }

    /* steps */
    .hanwei-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .hanwei-step:last-child {
        grid-column: auto;
    }

    /* analytics */
    .analytics__wrap {
        flex-direction: column;
        margin-bottom: 50px;
    }
    .analytics__wrap .text {
        max-width: 100%;
    }
    .analytics__wrap img {
        position: static;
        transform: none;
        max-width: 60%;
        margin: 0 auto;
        margin-top: 30px;
    }

    /* prototypes */
    .prototypes {
        grid-template-columns: repeat(2, 1fr);
    }

    /* design */
    .hanwei-design__body {
        flex-direction: column;
    }
    .hanwei-design__left {
        max-width: 100%;
    }
    .hanwei-design__right {
        max-width: 100%;
    }

    /* development */
    .hanwei-development__body {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        gap: 40px;
    }
    .hanwei-development__one span {
        position: static;
        transform: none;
        display: block;
        max-width: 100%;
        margin-top: 16px;
    }

    /* integration */

    /* testing */
    .hanwei-testing__wrap {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        gap: 30px;
    }
    .hanwei-testing__item {
        max-width: 45%;
    }

    /* release */
    .hanwei-release__body {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .hanwei-release__left {
        max-width: 100%;
    }
    .hanwei-release__right img {
        max-width: 100%;
    }

    /* resume */
    .resume__block {
        padding: 40px 30px;
    }

    /* results line */
    .hanwei-results__title {
        font-size: 30px;
        width: auto;
    }

    /* tablet gallery */
    .hanwei-tablet__row {
        flex-wrap: wrap;
    }

    /* reviews */
    .hanwei-reviews__footer {
        flex-direction: column;
        gap: 30px;
    }
    .hanwei-reviews__footer .btn-primary {
        width: auto;
        align-self: flex-start;
    }
    .hanwei-reviews__img {
        margin-bottom: 50px;
    }
    .hanwei-reviews__img img {
        max-width: 100%;
    }

    /* stage */
    .stage {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .stage__body::before {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .hanwei-development__body {
        margin-bottom: 30px;
    }
    /* idea */
    .idea__block h3 {
        font-size: 28px;
    }
    .idea__block p,
    .idea__block-text {
        font-size: 18px;
    }
    .idea__created-title {
        font-size: 28px;
    }
    .idea__top {
        margin-bottom: 40px;
    }
    .idea__block-text-margin {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    /* examples */
    .examples {
        padding: 40px 0;
        border-radius: 12px;
    }
    .examples__text {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /* features */
    .hanwei-title {
        font-size: 26px;
    }
    .hanwei-features {
        padding: 50px 0;
    }
    .hanwei-features__text {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .hanwei-features__image {
        margin-bottom: 60px;
    }
    .hanwei-features__num {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    .num-features__figure {
        font-size: 56px;
        margin-bottom: 16px;
    }
    .num-features__text {
        font-size: 18px;
    }
    .hanwei-features__phones {
        max-width: 40%;
    }
    .hanwei-features__info-num {
        font-size: 48px;
        width: 36px;
    }
    .hanwei-features__desc b {
        font-size: 22px;
    }
    .hanwei-features__desc p {
        font-size: 18px;
    }

    /* steps */
    .hanwei-steps {
        gap: 20px;
    }
    .hanwei-steps__line {
        display: none;
    }
    .hanwei-step {
        font-size: 16px;
    }
    .hanwei-step-title {
        margin-bottom: 30px;
    }

    /* stage */
    .stage__num {
        font-size: 56px;
    }
    .stage__title {
        font-size: 26px;
        margin-left: 30px;
    }
    .stage__body {
        padding-right: 30px;
    }
    .stage__body::before {
        height: 56px;
        padding-right: 0;
    }

    /* analytics */
    .analytics__wrap {
        margin-bottom: 30px;
    }
    .analytics__wrap .text {
        font-size: 18px;
    }

    /* prototypes */
    .prototypes {
        gap: 12px;
        margin-bottom: 40px;
    }

    .prototype__card {
            aspect-ratio: 4 / 2;
    }
    .phase__text {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /* design */
    .hanwei-design__text {
        font-size: 20px;
    }
    .hanwei-design__weight p {
        font-size: 28px;
    }
    .hanwei-design__footer {
        font-size: 16px;
        gap: 16px;
    }
    .hanwei-design__footer img {
        max-width: 40px;
        height: auto;
    }
    .hanwei-design__body {
        margin-bottom: 40px;
    }
    .hanwei-design {
        margin-bottom: 50px;
    }

    /* development */
    .hanwei-development__one span,
    .hanwei-development__two span {
        font-size: 18px;
    }
    .hanwei-development__footer {
        font-size: 18px;
        align-items: flex-start;
    }
    .hanwei-development__footer img {
        max-width: 40px;
        height: auto;
    }
    .hanwei-development {
        margin-bottom: 50px;
    }

    /* integration */
    .hanwei-integration__item {
        padding: 20px 20px;
        font-size: 18px;
    }

    /* testing */
    .hanwei-testing__wrap {
        flex-direction: column;
        align-items: center;
    }
    .hanwei-testing__item {
        max-width: 100%;
    }
    .hanwei-testing__item p {
        font-size: 18px;
    }
    .hanwei-testing {
        margin-bottom: 50px;
    }

    /* release */
    .hanwei-release__left p {
        font-size: 18px;
    }
    .hanwei-release__left b {
        font-size: 18px;
        margin-top: 30px;
    }

    /* resume */
    .resume__block {
        padding: 30px 20px;
        margin-bottom: 60px;
        border-width: 2px;
    }
    .resume__block b {
        font-size: 18px;
    }
    .resume__meneger {
        font-size: 18px;
    }

    /* results line */
    .hanwei-results__line {
        gap: 20px;
        margin-bottom: 30px;
    }
    .hanwei-results__title {
        font-size: 24px;
        text-align: center;
    }

    /* results gallery */
    .results-hanwei {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .results-hanwei__title-mini {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .results-hanwei__text {
        font-size: 13px;
        text-align: center;
    }

    .results-hanwei__text:not(:last-child) {
        margin-bottom: 30px;
    }

    /* tablet gallery */
    .hanwei-tablet__row {
        gap: 16px;
    }
    .hanwei-tablet__item p {
        font-size: 13px;
    }

    /* mobile gallery */
    .hanwei-mobile__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .hanwei-mobile {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    /* reviews */
    .hanwei-reviews__left p {
        font-size: 22px;
    }
    .hanwei-reviews__left a {
        font-size: 18px;
    }

    /* footer features */
    .footer-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }
    .footer-features__line {
        display: none;
    }
    .footer-features__text {
        font-size: 18px;
    }

    .analytics__wrap img {
        max-width: 60%;
    }

    .hanwei-design__colors {
        margin-bottom: 20px;
    }

    .hanwei-integration__wrap {
        justify-content: center;
    }
    .resume__quote {
        width: 20vw;
    }
    .hanwei-tablet__item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .prototyp {
        margin-bottom: 30px;
    }
     .prototypes {
        grid-template-columns: repeat(2, 1fr);
     }
     .prototype__card--text {
        font-size: 16px;
        line-height: 125%;
     }
     .prototype__card {
        aspect-ratio: auto;
        padding: 20px 20px;
     }
    /* idea */
    .idea__block {
        padding: 20px 16px;
    }
    .idea__block h3 {
        font-size: 22px;
    }

    /* design colors */
    .hanwei-design__colors {
        flex-wrap: wrap;

    }
    .hanwei-design__color {
        aspect-ratio: 1 / 1;
        width: calc(50% - 10px);
    }

    /* stage */
    .stage__title {
        font-size: 22px;
        margin-left: 20px;
    }
    .stage__num {
        font-size: 44px;
    }
    .stage__body::before {
        height: 44px;
    }

    /* mobile gallery */
    .hanwei-mobile__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* release */
    .hanwei-release__body {
        gap: 24px;
    }

    /* resume */
    .resume__quote {
        top: -25px;
    }
    .resume__quote img {
        max-width: 50px;
    }

    /* results line */
    .hanwei-results__line::before,
    .hanwei-results__line::after {
        display: none;
    }
    .hanwei-results__title {
        font-size: 22px;
        text-align: center;
    }

    /* hanwei features info */
    .hanwei-features__info {
        gap: 16px;
        margin-bottom: 10px;

    }
    .hanwei-features__info-num {
        width: 25px;
        flex-shrink: 0;
    }

    /* reviews img */
    .hanwei-reviews__img {
        margin-bottom: 30px;
    }
    .hanwei-reviews__footer {
        margin-bottom: 60px;
    }

    .analytics__wrap img {
        max-width: 100%;
    }
}

@media (max-width: 480px){
    .prototypes {
         grid-template-columns: 1fr;
    }
    .idea__block-wrap {
        grid-template-columns: 1fr;
    }
    .hanwei-integration__wrap {
        flex-direction: column;
    }

    .hanwei-steps {
        grid-template-columns: 1fr;
    }


}

