h2 {
    text-align: center;
}
.web-development,
.creation {
    padding-top: 175px;
    padding-bottom: 175px;
}
.web-development .content>div,
.about .content>div,
.exclusive .content>div {
    position: relative;
}
:is(.web-development, .about) .content .macbook>img {
    width: 90%;
}
:is(.web-development, .about) .content .macbook .display {
    position: absolute;
    width: 69.5%;
    top: 4%;
    left: 10.5%;
}
:is(.web-development, .about) .content .macbook .display img {
    width: 100%;
}
:is(.web-development, .about) .content .macbook .display video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.web-development button {
    margin: initial;
}
.exclusive {
    background: var(--background-section);
    padding-top: 175px;
    padding-bottom: 100px;
}
.exclusive .content {
    margin-bottom: 175px;
}
.exclusive .content img {
    max-width: 367px;
    width: 90%;
    display: block;
}
.exclusive .content button {
    margin: 40px 0 0 0;
}
.exclusive .advantages {
    display: flex;
    align-items: center;
    gap: 60px;
}
.exclusive .advantages span::before {
    font-family: 'icon';
    font-size: 90px;
    color: var(--color-icon);
    content: '\e910';
}
.exclusive .advantages li {
    list-style-type: none;
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
    font-style: italic;
}
.exclusive .advantages li::before {
    content: '';
    background: var(--color-text);
    min-width: 15px;
    height: 15px;
    display: block;
}
.offer {
    padding: 100px 0;
}
.offer .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 70px 10%;
    &.seo {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 20px;
        padding: 40px 0;
        >div {
            width: 100% !important;
        }
    }
}
.offer .items span {
    margin-bottom: 25px;
    animation: icon-motion 2s infinite linear;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}
.offer .items span::before {
    font-family: 'icon';
    font-size: 40px;
    color: var(--color-icon);
}
.offer .items .corporate span::before {
    content: '\e929';
}
.offer .items .catalog span::before {
    content: '\e925';
}
.offer .items .card span::before {
    content: '\e92d';
}
.offer .items .online-store span::before {
    content: '\e921';
}
.offer .items .landing span::before {
    content: '\e92b';
}
.offer .items .cms span::before {
    content: '\e927';
}
.offer .items .seo span::before {
    content: '\e920';
}
.offer .items .applications span::before {
    content: '\e923';
}
.offer .items .blockchain span::before {
    content: '\e924';
}
.offer .items h3 {
    color: var(--color-link-section);
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.offer .items h3::after {
    content: '\e919';
    font-family: 'icon';
    cursor: pointer;
    transition: .5s;
    margin-left: 15px;
    color: var(--color-icon);
    font-size: 15px;
}
.offer .items.show h3::after {
    display: none;
}
.offer .items p {
    max-height: 0;
    position: relative;
    top: 0;
    left: 0;
    transition: .5s linear;
    overflow: hidden;
}
.offer .items div.show p {
    max-height: 500px;
}
.offer .items div.show h3::after {
    transform: rotate(180deg);
}
.creation {
    background: var(--background-section);
    &.main {
        padding-top: 0;
    }
    .wrapper>p {
        text-align: center;
    }
}
.creation .phase {
    margin-top: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.creation .phase .item {
    width: 330px;
    min-height: 147px;
}
.creation .phase .item .title {
    background: var(--background-create-title);
    padding: 5px 40px;
    margin-bottom: 10px;
    position: relative;
}
.creation .phase .item .title::before {
    content: " ";
    position: absolute;
    width: 65px;
    height: 65px;
    top: -20px;
    right: -48px;
    border-radius: 50px;
    background: var(--background-section);
}
.creation .phase .item ul {
    font-style: italic;
    padding: 0 40px 0 30px;
    list-style: none;
}
.creation .phase .item:nth-child(2n) {
    align-self: flex-end;
}
.creation .phase .item:nth-child(2n) .title::before {
    left: -45px;
}
.creation .phase img {
    position: absolute;
    top: -18px;
    left: calc(50% - 104px);
    align-self: center;
}
.portfolio {
    padding-top: 100px;
    padding-bottom: 100px;
}
.portfolio a {
    font-size: 26px;
    margin-top: 50px;
    color: var(--color-link-work);
    display: flex;
    justify-content: flex-end;
    text-shadow: 2px 1px 5px var(--color-shadow);
}
.product-list h2 {
    text-align: center;
}
.product-list>p {
    font-size: 17px;
    margin-bottom: 40px;
}
.about {
    &>div {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    &>div:nth-child(2n) {
        background: var(--background-section);
    }
    &>div:nth-child(2n) .content {
        flex-flow: row-reverse;
    }
    & .content img {
        max-width: 90%;
        margin-left: auto;
        display: block;
        margin-top: 89px;
    }
    & .content.last img {
        max-width: 50%;
        margin: auto;
    }
    & .content .macbook img {
        margin-left: 0;
        margin-top: 0;
        max-width: 100%;
    }
    &>div:nth-child(2n) .content img {
        margin-left: 0;
        margin-right: auto;
        margin-top: auto;
    }
    & .content p {
        margin-bottom: 20px;
    }
    & button {
        margin: 0;
    }
    &>div:nth-child(2n) button {
        margin-left: 50%;
    }
    &>div>.wrapper:has(>h2 + p)>h2 {
        margin-bottom: 20px;
    }
    &>div>.wrapper:not(img)>div>div {
        width: 100%;
    }
    &>div>.wrapper>p {
        margin: 0 auto;
        margin-bottom: 50px;
        text-align: center;
        max-width: 768px;
    }
    .profit-items {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        >div {
            width: 20.33% !important;
        }
        span {
            font-size: 90px;
            color: var(--color-span);
            font-weight: 900;
        }
        h3 {
            top: -50px;
            font-size: 18px;
            color: var(--color-section-header);
            font-weight: bold;
            position: relative;
        }
        p {
            top: -30px;
            color: var(--color-section-header);
            position: relative;
        }
    }
    &.dev div:nth-child(2) .content>div>div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
.price {
    padding: 80px 0 140px;
    background: linear-gradient(to right, var(--background-violet), var(--background-violet), var(--color-text), var(--background-gradient-blue));
    .table {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        color: var(--main-color-white);
        margin-bottom: 30px;
        position: relative;
    }
    .table .column div {
        padding-bottom: 10px;
    }
    .table .column div:first-child {
        padding: 6px 25px 0;
        min-height: 40px;
        text-align: center;
        max-width: 260px;
    }
    .table .column div p {
        background: var(--background-table-row);
        height: 30px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        padding: 0 25px;
        text-align: left;
    }
    .table .column.border div p {
        justify-content: center;
    }
    .table .column.border {
        border: 1px solid var(--main-color-white);
    }
    .table .column img {
        width: 31px;
        height: 31px;
        display: block;
    }
    .table .column div p span::before {
        font-family: 'icon';
        color: var(--main-color-white);
        font-size: 21px;
        line-height: 21px;
        margin-right: 20px;
    }
    .table .column div:nth-child(2) p:nth-child(1) span::before,
    .table .column div:nth-child(2) p:nth-child(2) span::before,
    .table .column div:nth-child(2) p:nth-child(3) span::before {
        width: 21px;
        height: 21px;
        border: 1px solid var(--main-color-white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .table .column div:nth-child(2) p:nth-child(1) span::before {
        content: '\e922';
        font-size: 7px;
        line-height: 7px;
    }
    .table .column div:nth-child(2) p:nth-child(2) span::before {
        content: '\e922';
        font-size: 12px;
        line-height: 12px;
    }
    .table .column div:nth-child(2) p:nth-child(3) span::before {
        content: '\e922';
        font-size: 17px;
        line-height: 17px;
    }
    .table .column div:nth-child(2) p:nth-child(4) span::before {
        content: '\e92f';
    }
    .table .column div:nth-child(3) p:nth-child(1) span::before {
        content: '\e92d';
    }
    .table .column div:nth-child(3) p:nth-child(2) span::before {
        content: '\e92b';
    }
    .table .column div:nth-child(3) p:nth-child(3) span::before {
        content: '\e91c';
    }
    .table .column div:nth-child(3) p:nth-child(4) span::before {
        content: '\e929';
    }
    .table .column div:nth-child(3) p:nth-child(5) span::before {
        content: '\e925';
    }
    .table .column div:nth-child(3) p:nth-child(6) span::before {
        content: '\e91b';
    }
    .table .column div:nth-child(3) p:nth-child(7) span::before {
        content: '\e925';
    }
    .table .column div:nth-child(3) p:nth-child(8) span::before {
        content: '\e91b';
    }
    .table .column div:nth-child(3) p:nth-child(9) span::before {
        content: '\e927';
    }
    .table .column div:nth-child(3) p:nth-child(10) span::before {
        content: '\e923';
    }
    .table .column div:last-child {
        max-width: 260px;
        padding: 0 0 0 13px;
        font-size: 12px;
        text-align: left;
    }
    .table .column button {
        min-width: 100%;
        padding: 10px;
        font-size: 12px;
        margin-bottom: 20px;
    }
}
.form-question {
    background: var(--background-section);
    padding-top: 100px;
    padding-bottom: 100px;
    h3 {
        text-transform: uppercase;
        font-weight: 800;
        margin-bottom: 22px;
        font-size: 18px;
    }
    p {
        margin-bottom: 30px;
        font-size: 16px;
    }
    form {
        flex-direction: row;
        justify-content: space-between;
        align-items: inherit;
    }
    form .info {
        display: flex;
        flex-direction: column;
    }
    form .info p {
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 16px;
    }
    form .info p::before {
        content: '';
        background: linear-gradient(to left, var(--background-violet), var(--background-violet), var(--color-text), var(--background-gradient-blue));
        width: 65px;
        height: 5px;
        margin: 32px 0 18px 0;
        display: block;
    }
    form .info input {
        width: 450px;
        height: 45px;
        background: var(--background-input);
        border-radius: 0;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--background-input);
        transition: .3s linear;
        &.error {
            border-bottom: 1px solid red;
        }
    }
    form .info textarea {
        width: 450px;
        height: 160px;
        font-weight: 400;
        font-style: italic;
        border: none;
        background: var(--background-input);
        border-radius: inherit;
        margin-bottom: 66px;
        font-size: 15px;
        padding: 15px 30px 14px;
        resize: none;
    }
    form .info button {
        margin: 0 auto 0 0;
    }
    form .types {
        width: 330px;
        max-width: 330px;
        padding: 30px;
        background: linear-gradient(to left, var(--background-violet), var(--background-violet), var(--color-text), var(--background-gradient-blue));
    }
    form .types .block {
        background: var(--main-color-white);
        padding: 15px 40px;
        text-transform: uppercase;
        font-size: 20px;
        margin-bottom: 60px;
        flex-direction: column;
        align-items: flex-start;
    }
    form .types .block strong {
        text-transform: uppercase;
        font-size: 20px;
        color: var(--color-text-list);
    }
    form .types>div {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    form .types>div:nth-child(8) {
        margin-bottom: 30px;
    }
    form .types p {
        color: var(--main-color-white);
        font-size: 16px;
        margin-bottom: 15px;
        font-weight: bold;
    }
    form .types input {
        background: var(--main-color-white);
        width: 20px;
        height: 20px;
        margin-bottom: 0;
    }
    form .types label {
        padding-left: 10px;
        color: var(--main-color-white);
        font-style: italic;
        font-size: 16px;
    }
}
@media screen and (max-width:1370px) {
    .about {
        .profit-items {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            >div {
                width: 100% !important;
            }
        }
    }
    .price .table .column div p {
        font-size: 13px;
    }
}
@media screen and (max-width:870px) {
    .offer {
        padding-inline: 30px !important;
    }
    .offer .wrapper {
        grid-gap: 30px 10%;
        grid-template-columns: repeat(2, 1fr);
    }
    .offer .items.seo {
        grid-template-columns: repeat(2, 1fr);
    }
    .creation .phase .item {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
        position: relative;
    }
    .creation .phase .item:nth-child(2n) {
        align-self: auto;
    }
    .creation .phase .item .title,
    .creation .phase .item ul li {
        font-size: 13px;
    }
    .creation .phase img {
        display: none;
    }
    .creation .phase .item::after {
        position: absolute;
        content: '';
        left: 0;
        top: 19px;
        bottom: -25px;
        width: 5px;
        z-index: 99;
    }
    .creation .phase .item:first-child:after {
        background: linear-gradient(to bottom, var(--color-line-1), var(--color-line-2));
    }
    .creation .phase .item:nth-child(2):after {
        background: linear-gradient(to bottom, var(--color-line-2), var(--color-line-3));
    }
    .creation .phase .item:nth-child(3):after {
        background: linear-gradient(to bottom, var(--color-line-4), var(--color-line-5));
    }
    .creation .phase .item:nth-child(4):after {
        background: linear-gradient(to bottom, var(--color-line-6), var(--color-line-7));
    }
    .creation .phase .item .title::before {
        width: 1px;
        position: absolute;
        top: -8px;
        left: -17px;
        z-index: 100;
        font-size: 12px;
        height: auto;
    }
    .creation .phase .item:nth-child(2n) .title::before {
        left: -17px;
    }
    .creation .phase .item:first-child .title::before {
        content: url(/resource/images/2023/03/img-1.png);
    }
    .creation .phase .item:nth-child(2) .title::before {
        content: url(/resource/images/2023/03/img-2.png);
    }
    .creation .phase .item:nth-child(3) .title::before {
        content: url(/resource/images/2023/03/img-3.png);
    }
    .creation .phase .item:nth-child(4) .title::before {
        content: url(/resource/images/2023/03/img-4.png);
    }
    .creation .phase .item:nth-child(5) .title::before {
        content: url(/resource/images/2023/03/img-5.png);
    }
    .creation .phase>p,
    .creation .phase>p strong {
        font-size: 12px;
    }
    .form-question {
        form {
            flex-direction: column;
            .types {
                order: -1;
            }
            .info p {
                text-align: center;
            }
            .info p::before {
                margin: 32px auto 18px;
            }
            .info button {
                margin: 0 auto;
            }
        }
    }
    .about {
        &.dev div:nth-child(2) .content>div>div {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        & .content.last img {
            max-width: 90%;
        }
    }
    .price .table {
        .column:nth-child(3),
        .column:nth-child(5) {
            display: none;
        }
        .column div:first-child,
        .column div p {
            padding: 5px;
            font-size: 12px;
        }
    }
}
@media screen and (max-width:578px) {
    .web-development,
    .creation {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .web-development button,
    .exclusive .content img {
        margin: 0 auto;
    }
    .exclusive {
        padding-top: 40px;
    }
    .exclusive .content {
        margin-bottom: 80px;
    }
    .exclusive .content button {
        margin: 40px auto 0;
    }
    .exclusive .advantages {
        flex-direction: column;
    }
    .exclusive .advantages li {
        font-size: 13px;
    }
    .offer {
        padding-inline: 10px !important;
    }
    .offer .items {
        padding: 0;
        width: 75%;
        margin: 0 auto;
        grid-template-columns: repeat(1, 1fr);
    }
    .offer .items.seo {
        grid-template-columns: 1fr;
    }
    .offer .items span {
        justify-content: center;
    }
    .price {
        .table .column button {
            display: none;
        }
        .table .column div {
            padding-bottom: 0;
        }
        .table .column div p:last-child {
            margin-bottom: 0;
        }
        .table .column div:last-child {
            position: absolute;
            top: calc(100% + 20px);
            width: 100%;
            max-width: 434px;
        }
        .table .column div:nth-child(2) {
            padding-bottom: 10px;
        }
    }
    .form-question {
        form .types {
            width: 100%;
            max-width: 100%;
        }
        form .info input,
        form .info textarea,
        form .info button {
            width: 100%;
        }
    }
    .about {
        .profit-items {
            display: grid;
            grid-template-columns: 1fr;
        }
    }
}