.mb {
    margin-bottom: 170px;   
}

@media (max-width: 992px) {
    .mb {
        margin-bottom: 100px;   
    }
}

/* HERO */

.hero__content {
    background: linear-gradient(180deg, #2f6bff 0%, #e8efff 100%);
    background-size: cover;
    background-position: center;
    padding: 50px;
    border-radius: 32px 32px 0 0;
    height: 75vh;
    max-height: 800px;
    display: grid;
    gap: 79px;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero__content::after {
    background: linear-gradient(180deg, #2f6bff 0%, #e8efff00 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.hero__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    color: var(--color-white);
    margin: 0;
}

.hero__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: var(--color-white);
    margin-bottom: 24px;
    margin: 0;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 992px) {
    .hero__content {
        padding: 24px;
        display: flex;
        gap: 36px;
        flex-direction: column;
        height: auto;
        max-height: auto;
    }

    .hero__buttons {
        margin-top: 24px;
    }

    .hero__buttons .button {
        width: 100%;
        text-align: center;
    }

    .hero__title {
        font-size: 40px;
        line-height: 40px;
    }
}

@media (max-width: 460px) {
    .hero__title {
        font-size: 27px;
        line-height: 27px;
    }   
}

/* SERVICES */

.services .container.header  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
}

.services .container.header h2 {
    margin: 0;
}

.services .container.header  .section-description {
    width: 35%;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    margin: 0;
}

.services .container.services__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.services .container.services__list .services__item {
    background-color: var(--color-surface);
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius-24);
    position: relative;
    z-index: -1;
}

.services .container.services__list .services__item:nth-child(2), 
.services .container.services__list .services__item:nth-child(3) {
    grid-column: span 2;
}


.services .container.services__list .services__item:nth-child(2) .services__image {
    width: 421px;
    height: 421px;
    right: -30px;
    top: -130px;
}

.services .container.services__list .services__item:nth-child(3) .services__image {
    width: 468px;
    height: 468px;
    right: -30px;
    top: -140px;
}

.services .container.services__list .services__item:nth-child(4) .services__image {
    width: 312px;
    height: 312px;
    transform: rotate(0);
    right: -30px;
    top: -120px;
}

.services .container.services__list .services__title {
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
    margin-bottom: 8px;
}

.services .container.services__list .services__text {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
}

.services .container.services__list .services__image {
    width: 340px;
    height: 340px;
    opacity: 1;
    transform: rotate(-11.61 deg);
    position: absolute;
    right: -50px;
    top: -110px;
}

@media (max-width: 992px) {
    .services .container.header  {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .services .container.header .section-description {
        width: 100%;
    }

    .services .container.services__list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .services .container.services__list .services__item {
        height: 280px;
    }

    .services .container.services__list .services__item:nth-child(2), 
    .services .container.services__list .services__item:nth-child(3) {
        grid-column: span 1;
    }

    .services .container.services__list .services__image {
        width: 290px;
        height: 290px;
        right: -30px;
        top: -80px;
    }

    .services .container.services__list .services__item:nth-child(2) .services__image {
        width: 290px;
        height: 290px;
        right: -30px;
        top: -80px;
    }

    .services .container.services__list .services__item:nth-child(3) .services__image {
        width: 290px;
        height: 290px;
        right: -30px;
        top: -80px;
    }

    .services .container.services__list .services__item:nth-child(4) .services__image {
        width: 290px;
        height: 290px;
        transform: rotate(0);
        right: -30px;
        top: -60px;
    }
}

/* CASES */

.cases h2 {
    margin: 0;
    margin-bottom: 34px;
}

.cases .cases__list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    overflow-y: hidden;
    overflow-x: auto;
    scrollbar-width: none;
}

.cases .cases__list::-webkit-scrollbar {
  display: none;
}

.cases .cases__list .cases__track {
    display: flex;
    gap: 24px;
    width: max-content;

    padding-left: max(24px, calc((100vw - 1200px) / 2));
    padding-right: max(24px, calc((100vw - 1200px) / 2));
}

.cases .cases__list .cases__item {
    width: 400px;
    height: 400px;
    background-color: var(--color-surface);
    border-radius: var(--radius-24);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cases .cases__list .cases__item .cases__title {
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--color-black);
    margin: 0;
    margin-bottom: 8px;
}

.cases .cases__list .cases__item .cases__text {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--color-muted);
}

.cases .cases__list .cases__item .cases_tags_list {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cases .cases__list .cases__item .cases_tags_list .cases_tag {
    background-color: var(--color-chip-bg);
    color: var(--color-black);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .cases h2 {
        margin-bottom: 32px;
    }

    .cases .cases__list .cases__track {
        padding: 0 24px;
        flex-direction: column;
        gap: 16px;
    }

    .cases .cases__list .cases__item {
        width: 100%;
    }
}

/* CTA */

.cta .cta__content {
    padding: 50px 32px;
    border-radius: 40px;
    background: radial-gradient(at bottom center, #8FB4FF -20%, #3175FF 70%) #FFFFFF;
    background-blend-mode: multiply,multiply;
    text-align: center;
    color: var(--color-white);
}

.cta .cta__content .cta__title {
    margin: 0 auto 24px;
    width: 60%;
}

.cta .cta__content .cta__text {
    opacity: 0.9;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
    width: 50%;
    margin: 0 auto 100px;
    position: relative;
    z-index: 1;
}

.cta .cta__content .cta__button {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 300px;
    max-width: 70%;
}

@media (max-width: 992px) {
    .cta .cta__content .cta__title {
        text-align: left;
        width: 100%;
    }

    .cta .cta__content .cta__text {
    text-align: left;
        width: 100%;
    }

    .cta .cta__content .cta__button {
        width: 100%;
        max-width: 100%;
    }
}

/* FEATURES */

.features {
    margin-bottom: 100px;
}

.features h2 {
    font-weight: 700;
    font-style: Bold;
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 32px;
}

.features .features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 12px;
}

.features .features__grid .feature {
    background-color: var(--color-surface);
    padding: 24px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--radius-24);
}

.features .features__grid .feature .feature__title {
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
    margin-bottom: 8px;
}

.features .features__grid .feature .feature__text {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
}

@media (max-width: 1200px) {
    .features .features__grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .features .features__grid {
        display: flex;
        flex-direction: column;
    }

    .features h2 {
        font-size: 40px;
        line-height: 40px;
    }
}

@media (max-width: 460px) {
    .features h2 {
        font-size: 30px;
        line-height: 30px;
    }
}
