


/*Team Section*/
.cases__btn {
    position: relative;
    border-radius: 40px;
    padding: 12px 57px 12px 26px;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--black);
    -webkit-transition: var(--main-trs);
    transition: var(--main-trs);
}





/*What-ai Section*/


/* Section what-ai */
.what-ai {
    padding: 120px 0;
}

.what-ai-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.what-ai__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.02em;
    white-space: normal;
}

.what-ai__title span {
    color: #4A5FE6;
}

.what-ai__item {
    background: linear-gradient(180deg, #6984E0 0%, #9E9FE2 100%);
    border-radius: 20px;
    padding: 40px 30px;
}

.what-ai__item-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #F7F7F7;
    margin-bottom: 40px;
}

.what-ai__item-content {
    color: #F7F7F7;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.02em;

}


@media (max-width: 768px) {

    .what-ai-container {
        display: block;
    }
}



/*Stage-work Section*/


.stage-work {
    position: relative;
    background-color: #EDEEFF;
    padding: 100px 0 150px;
}



.stage-work::before {
    content: "";
    position: absolute;
    top: 67%;
    left: 31%;
    width: 100%;
    height: 59%;
    background-image: url(../img/bg/creative-bg-image.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%) rotate(22deg);
    z-index: 0;
}

.stage-work>* {
    position: relative;
    z-index: 1;
}

.stage-and-cost-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    color: #2C2C2C;
}

.stage-and-cost-title span {
    color: #4a5fe6;
}

.stage-work-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stage-work-item {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    min-height: 226px;
    border-radius: 20px;
    z-index: 0;
}

.stage-work-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #6984E0 0%, #9E9FE2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 1;
    border-radius: 20px;
}

.stage-work-item:hover::before {
    transform: scaleX(1);
}

/* Текстовые элементы — выше псевдоэлемента */
.stage-work-item * {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.stage-work-number {
    font-weight: 500;
    font-size: 80px;
    line-height: 90%;
    color: rgba(0, 54, 246, 0.2);
    text-transform: uppercase;
}

.stage-work-item-content-title {
    white-space: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 30px;
    color: #2C2C2C;
    margin-top: 0;
}

.stage-work-item-content-descr {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: rgba(44, 44, 44, 0.6);
    max-width: 90%;
}

.stage__body-block .splide__arrows {
    right: 100px !important;
    top: -25px !important;
}

/* Цвета при наведении */
.stage-work-item:hover .stage-work-number,
.stage-work-item:hover .stage-work-item-content-title,
.stage-work-item:hover .stage-work-item-content-descr {
    color: #F7F7F7;
}

.stage-work-item--empty {
    background-color: transparent !important;
}

.stage-work-item--empty::before  {
    content: none;
}


@media (max-width: 1240px) {
    .stage-and-cost-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .stage-work-block {
        grid-template-columns: repeat(2, 1fr);
    }

    .stage-work-item-content-title {
        font-size: 24px;
    }

    .stage-work-item-content-descr {
        font-size: 15px;
    }

    .stage-work-number {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .stage-work {
        padding: 60px 0 80px;
    }

    .stage-and-cost-title {
        font-family: 'Hero New', sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 120%;
        letter-spacing: -2%;
        margin-bottom: 60px;
    }

    .stage-work::before {
        top: 105%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(28deg);
        background-size: 114%;
        width: 134%;
    }

    .stage-work-block {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .stage-work-item {
        padding: 30px 15px;
        gap: 16px;
        min-height: auto;
    }

    .stage-work-number {
        font-weight: 500;
        font-size: 60px;
        line-height: 95%;
        letter-spacing: 0;
        vertical-align: middle;
        text-transform: uppercase;
    }

    .stage-work-item-content-title {
        font-weight: 600;
        font-size: 20px;
        line-height: 120%;
        letter-spacing: 0;
        margin-bottom: 30px;
    }

    .stage-work-item-content-descr {
        font-weight: 400;
        font-size: 14px;
        line-height: 120%;
        letter-spacing: -2%;
        vertical-align: middle;
    }

    .stage-work-item-null {
        display: none;
    }
}





/*Creative Section*/

.creative-approach__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -3%;
    margin-bottom: 60px;
    color: #2C2C2C;
    /* или ваш цвет */
}


.approach__title-icon {
    height: 62px;
}

.creative-approach__title p:first-of-type {
    text-align: right;
}

.creative-approach__title p span:nth-of-type(2) {
    color: #4a5fe6;
    position: relative;
}

.creative-approach__title p:nth-of-type(2) {
    text-align: center;
    margin-right: 10%;
}

.creative-approach__title p:nth-of-type(3) {
    text-align: right;
    margin-right: 10%;
}

@media (max-width: 1240px) {
    .creative-approach__title {
        font-size: 48px;
    }

    .approach-card__title {
        font-size: 22px;
    }

    .approach-card__description {
        font-size: 15px;
    }
}

/* Для экранов до 768px */
@media (max-width: 768px) {
    .creative-approach__title {
        font-size: 24px;
        line-height: 120%;
    }


    .creative-approach__title p:first-of-type {
        text-align: left;
        white-space: pre-line;
    }

    .creative-approach__title p:nth-of-type(2) {
        text-align: left;
    }

    .creative-approach__title p:nth-of-type(3) {
        text-align: left;
    }

    .approach__title-icon {
        position: absolute;
        vertical-align: middle;
        width: 74px;
        height: 56px;
        right: -85px;
        top: -29px;
    }
}


/*ai-texnology Section*/

.ai-texnology {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ai-texnology-title-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.ai-texnology-title-text span {
    font-weight: 700;
    color: #4a5fe6;
}

.ai-texnology-text-descr {
    padding-left: 16px;
    position: relative;
}

.ai-texnology-text-descr::after {
    content: "";
    top: 0;
    position: absolute;
    display: block;
    width: 2px;
    left: 0;
    height: 100%;
    background-color: #4A5FE6;
}

/* Для экранов до 768px */
@media (max-width: 768px) {


    .ai-texnology {
        display: block;
    }


}







/*Position Section*/
.position {
    width: 100%;
    padding: 60px 0
}

.position__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 104.5px 75px;
    width: 100%;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 40px
}

.position__body-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0
}

.position__body span {
    font-size: 32px;
    font-weight: 600;
    line-height: 38.4px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #f7f7f7;
    max-width: 759px
}

.position__body p {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: left;
    max-width: 676px;
    color: #f7f7f7
}

.position__body a {
    width: 210px;
    height: 51px;
    border-radius: 40px;
    background: #ffc702;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 30px;
    line-height: 19.2px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #2c2d2c
}





