.promo {
    display: grid;
    grid-template-columns: 353px 1fr;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 50px;
    .slider-l {
        border-radius: 30px;
        background: var(--white);
        padding: 30px 20px 20px;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        > p {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 0.2px;
            margin-bottom: 88px;
        }
        .slides {
            display: flex;
            gap: 20px;
            .item {
                min-width: 100%;
                margin-bottom: 20px;
                padding-right: 30px;
                h3 {
                    color: var(--ff-2-f-00);
                    font-size: 20px;
                    font-weight: 600;
                    letter-spacing: 0.2px;
                    margin-bottom: 16px;
                }
                p {
                    letter-spacing: 0.16px;
                    b {
                        font-weight: 700;
                    }
                }
            }
        }
        .controls {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            .arrow {
                cursor: pointer;
                display: flex;
                width: 40px;
                height: 40px;
                justify-content: center;
                align-items: center;
                flex-shrink: 0;
                border-radius: 12px;
                background: var(--grey-1);
                &::before {
                    content: '\e903';
                    font: 400 16px/1 'icon';
                }
            }
            .arrow-l::before {
                transform: rotate(180deg);
            }
            .ws-arrow-disabled::before {
                opacity: .2;
            }
        }
    }
    .slider-r {
        border-radius: 30px;
        background: var(--white);
        overflow-x: hidden;
        position: relative;
        .slides {
            display: flex;
            gap: 20px;
            height: 100%;
            .item {
                min-width: 100%;
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: start;
                img {
                    position: absolute;
                    height: 100%;
                    object-fit: cover;
                }
                div {
                    border-radius: 0px 20px 20px 0px;
                    background: rgba(0, 0, 0, 0.1);
                    backdrop-filter: blur(17px);
                    padding: 4px 30px 8px 30px;
                    position: relative;
                    z-index: 1;
                    margin-bottom: 12px;
                    margin-top: auto;
                    h2 {
                        color: var(--white);
                        font-size: 40px;
                        font-weight: 600;
                        letter-spacing: 0.4px;
                    }
                    p {
                        color: var(--white);
                        font-size: 20px;
                        font-weight: 200;
                        letter-spacing: 0.2px;
                    }
                }
                a {
                    margin: 0 0 30px 30px;
                    position: relative;
                    z-index: 1;
                }
            }
        }
        .bubbles {
            position: absolute;
            right: 10px;
            bottom: 10px;
        }
    }
    .bottom {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: center;
        gap: 10px;
        padding: 0 10px 0 20px;
        border-radius: 20px;
        background: var(--white);
        & > p,
        & > p span {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 0.2px;
        }
        & > p span {
            display: flex;
            align-items: end;
            gap: 4px;
            &::after {
                content: '';
                width: 10px;
                height: 10px;
                margin-bottom: 5px;
                flex-shrink: 0;
                border-radius: 5px;
                background: var(--ff-2-f-00);
            }
        }
        .items {
            height: 100%;
            padding: 10px 0;
            display: flex;
            gap: 10px;
            div {
                position: relative;
                align-self: stretch;
                width: min(430px, 100%);
                padding: 16px;
                display: flex;
                flex-direction: column;
                border-radius: 20px;
                background: var(--white-grey);
                > *:not(img) {
                    position: relative;
                    z-index: 1;
                }
                h3,
                p {
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    line-clamp: 1;
                    max-width: 60%;
                }
                h3 {
                    font-size: 20px;
                    font-weight: 700;
                    letter-spacing: 0.2px;
                }
                p {
                    letter-spacing: 0.16px;
                    margin-bottom: auto;
                }
                a {
                    font-size: 14px;
                    letter-spacing: 0.14px;
                    margin-top: 14.6%;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    &::after {
                        content: '\e903';
                        font: 400 12px/1 'icon';
                    }
                }
                img {
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    width: min(235px, 55%);
                    aspect-ratio: 235/160;
                    border-radius: 20px;
                }
            }
        }
    }
    + .goods {
        background: var(--grey-1);
        + .goods + .goods {
            background: var(--grey-1);
        }
    }
}
.categories {
    padding: 50px calc((100% - 1440px) / 2) 80px;
    margin-bottom: 50px;
    background: var(--grey-1);
    &:has(+ .goods) {
        margin-bottom: 0;
    }
    .top-box {
        max-width: calc(100vw - 40px);
        margin: 0 auto 20px;
        .title {
            max-width: 400px;
        }
    }
    .wrapper {
        width: min(100%, calc(100vw - 40px));
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px 10px;
    }
    .item {
        position: relative;
        border-radius: 30px;
        min-height: 180px;
        background: var(--white);
        padding: 14px 20px 15px;
        img {
            &:first-of-type {
                position: absolute;
                bottom: 0;
                right: 0;
                width: min(281px, 59.5%);
                aspect-ratio: 28/20;
                border-radius: 30px;
            }
            &:last-of-type {
                display: flex;
                width: 60px;
                aspect-ratio: 1;
                margin-bottom: 10px;
            }
        }
        h3,
        p {
            width: 52%;
        }
        h3 {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.2px;
        }
        p {
            letter-spacing: 0.16px;
        }
        a {
            position: absolute;
            right: 20px;
            bottom: 20px;
            width: 40px;
            aspect-ratio: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            background-color: var(--ff-2-f-00);
            opacity: 0;
            transition: opacity .3s linear;
            &::before {
                content: '\e900';
                font: 100 16px/1 'icon';
                color: var(--white);
            }
        }
    }
    + .goods + .goods {
        background: var(--grey-1);
    }
}
.progress .items {
    display: contents;
    > div {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-bottom: 158px;
        &:first-of-type::before,
        &:last-of-type::after {
            content: 'KP-Energy';
            position: absolute;
            top: 4px;
            right: 584px;
            z-index: -1;
            color: var(--grey-1);
            font-family: 'Montserrat';
            font-feature-settings: normal;
            font-size: 300px;
            font-weight: 700;
            line-height: 210px;
            white-space: nowrap;
            pointer-events: none;
        }
        &:last-of-type {
            margin-top: -41px;
            &::after {
                top: 0;
                left: 638px;
                right: auto;
                pointer-events: none;
            }
            &::before {
                content: '';
                position: absolute;
                z-index: -1;
                left: 0;
                top: -60px;
                height: 60px;
                width: 100vw;
                border-radius: 20px 0px 0px 20px;
                background: var(--white);
                pointer-events: none;
            }
        }
        div {
            position: relative;
            display: grid;
            grid-template-columns: 50px auto;
            grid-template-rows: max-content;
            gap: 10px 12px;
            padding-top: 33px;
            padding-left: 114px;
            .decor {
                position: absolute;
                left: -21px;
                width: 245px;
                height: 332px;
                pointer-events: none;
            }
            img {
                width: 100%;
                aspect-ratio: 1;
                grid-area: span 2;
            }
            h3 {
                font-size: 20px;
                font-weight: 700;
                padding-top: 7px;
                text-decoration: underline;
                text-decoration-color: var(--ff-2-f-00);
            }
        }
        &:last-of-type div {
            padding: 40px 80px 0 0;
            .decor {
                left: auto;
                right: -78px;
            }
            p {
                max-width: 279px;
            }
        }
    }
}
.about {
    position: relative;
    margin-left: max(20px, calc((100% - 1440px) / 2));
    max-width: calc(100vw - (100vw - 1440px));
    width: calc(100% - 40px);
    height: 447px;
    background-color: var(--white);
    border-radius: 30px 0px 0px 30px;
    &::after {
        content: '';
        position: absolute;
        left: 100%;
        top: 0;
        height: 100%;
        width: 50vw;
        background: var(--white);
        pointer-events: none;
    }
    img {
        position: absolute;
        height: 100%;
        width: auto;
        border-radius: 30px 0px 0px 30px;
    }
    > div {
        max-width: 740px;
        margin-left: auto;
        padding-top: 105px;
        position: relative;
        z-index: 1;
        h2 {
            font-size: 28px;
            font-weight: 700;
            display: flex;
            gap: 16px;
            align-items: center;
            margin-bottom: 15px;
        }
        p {
            letter-spacing: 0.16px;
            &:first-of-type {
                margin-bottom: 20px;
            }
            strong {
                font-weight: 700;
            }
        }
        a {
            margin-top: 37px;
            display: block;
            margin-left: auto;
            width: fit-content;
        }
    }
}
.partners {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    .top-box .title {
        max-width: 352px;
    }
    .slider {
        position: relative;
        padding: 20px 0;
        background: var(--white);
        &::after {
            content: '';
            pointer-events: none;
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, #F3F3F3 0%, rgba(255, 255, 255, 0.00) 100%) 0 0/500px 100% no-repeat,
                linear-gradient(-90deg, #F3F3F3 0%, rgba(255, 255, 255, 0.00) 100%) 100% 0/500px 100% no-repeat;
        }
    }
    .slides {
        display: flex;
        align-items: center;
        gap: 20px;
        > div {
            gap: 20px;
            display: flex;
            flex-shrink: 0;
        }
        .item {
            position: relative !important;
            flex-basis: 200px;
            flex-shrink: 0;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            background: var(--white-grey);
            overflow: hidden;
            img {
                width: 100%;
            }
            a {
                position: absolute;
                bottom: 0;
                border-radius: 10px 10px 0px 0px;
                background: var(--ff-2-f-00);
                box-shadow: none;
                color: var(--white);
                font-size: 16px;
                padding: 13px 25px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transform: translateY(101%);
                transition: .3s linear;
                &::after {
                    content: '\e903';
                    font: 400 16px/1 'icon';
                    color: inherit;
                }
            }
        }
    }
}
.form {
    display: grid;
    grid-template-columns: 473px 1fr;
    gap: 10px;
    div {
        height: 570px;
        border-radius: 30px;
        border: 10px solid var(--white);
        overflow: hidden;
        position: relative;
        &::before {
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid rgba(233, 233, 233, 0.5);
            border-radius: 20px;
            pointer-events: none;
        }
    }
    .img img {
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .dot-a::after {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    & div:nth-child(2) {
        padding: 40px 70px;
        background: url(../images/index/form-img-r2.webp) 100% 0/ cover no-repeat;
        form {
            max-width: 460px;
            display: flex;
            flex-direction: column;
            h2 {
                text-align: center;
                font-size: 28px;
                font-weight: 700;
            }
            p {
                text-align: center;
                padding-inline: 30px;
                margin-bottom: 20px;
            }
            label {
                font-size: 12px;
                margin: 0 12px 2px 12px;
            }
            input,
            textarea {
                border-radius: 10px;
                background: var(--white);
                padding: 8px 12px;
                margin-bottom: 8px;
                border: none;
                &::placeholder {
                    font-size: inherit;
                    color: var(--grey-4);
                }
            }
            textarea {
                padding: 10px 12px;
                height: 80px;
                margin-bottom: 40px;
            }
            button {
                margin: 0 auto;
                &:disabled {
                    opacity: .4;
                }
            }
        }
    }
}
:is(.progress, .about, .partners, .form) {
    margin-bottom: 150px;
}
@media screen and (max-width: 1440px) {
    .about {
        margin-left: auto;
        width: calc(100% - 20px);
        height: initial;
        padding-right: 20px;
        &::after {
            display: none;
        }
        > div {
            width: calc(100% - 490px);
            padding: 30px 0;
            a {
                margin-top: 30px;
            }
        }
    }
    .form {
        grid-template-columns: 420px 1fr;
        & div:nth-child(2) {
            padding: 40px;
            background: url(../images/index/form-img-r2.webp) 57% 0/ cover no-repeat;
        }
    }
    :is(.progress, .about, .partners, .form) {
        margin-bottom: 120px;
    }
}
@media screen and (max-width: 1152px) {
    .promo {
        grid-template-columns: 270px 1fr;
        .slider-l {
            border-radius: 20px;
            padding: 10px;
            min-height: initial;
            > p {
                font-size: 16px;
                letter-spacing: 0.16px;
                margin-bottom: 50px;
            }
            .slides .item {
                margin-bottom: 30px;
                h3 {
                    margin-bottom: 10px;
                }
            }
        }
        .slider-r {
            border-radius: 20px;
            .slides {
                gap: 10px;
                .item div {
                    padding: 4px 30px 8px 10px;
                    margin-bottom: 8px;
                    h2 {
                        font-size: 24px;
                        letter-spacing: 0.24px;
                    }
                    p {
                        font-size: 14px;
                        letter-spacing: 0.14px;
                    }
                }
            }
        }
        .bottom {
            grid-template-columns: 80px 1fr;
            & > p,
            & > p span {
                font-size: 16px;
                letter-spacing: 0.16px;
            }
            & > p span::after {
                width: 8px;
                height: 8px;
            }
            .items {
                overflow-x: auto;
                padding: 8px 0;
                scroll-behavior: smooth;
                scroll-snap-type: x mandatory;
                &::-webkit-scrollbar {
                    display: none;
                }
                div {
                    scroll-snap-align: center;
                    min-width: 260px;
                    padding: 10px;
                    border-radius: 12px;
                    h3,
                    p {
                        font-size: 14px;
                        letter-spacing: 0.14px;
                    }
                    a {
                        font-size: 12px;
                        letter-spacing: 0.12px;
                        gap: 4px;
                        &::after {
                            font-size: .8cap;
                            margin-top: .8cap;
                        }
                    }
                }
            }
        }
    }
    :is(.categories, progress) .top-box {
        max-width: calc(100% - 20px);
    }
    .categories {
        padding: 50px 0;
        .wrapper {
            width: calc(100% - 20px);
            grid-template-columns: repeat(2, 1fr);
        }
        .item {
            border-radius: 20px;
            img {
                &:first-of-type {
                    border-radius: 20px;
                }
                &:last-of-type {
                    width: 40px;
                }
            }
            h3 {
                font-size: 16px;
                letter-spacing: 0.16px;
            }
            p {
                font-size: 14px;
                letter-spacing: 0.12px;
            }
            a {
                right: 14px;
                bottom: 14px;
                width: 30px;
                opacity: 1;
                &::before {
                    font-size: 12px;
                }
            }
        }
    }
    .progress {
        .items {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 1fr;
            &::before,
            &::after {
                content: '';
                position: absolute;
                z-index: 1;
                top: -60px;
                width: calc(100% + 10px);
                background: var(--white);
                height: 60px;
                pointer-events: none;
            }
            &::before {
                grid-row: 2/3;
                right: -10px;
                border-radius: 12px 0 0 12px;
            }
            &::after {
                border-radius: 0 12px 12px 0;
                grid-row: 3/4;
                left: -10px;
            }
            > div {
                display: contents;
                position: static;
                &:first-of-type::before,
                &:last-of-type::after {
                    display: none;
                }
                &:first-of-type::before,
                &:last-of-type::before {
                    content: 'KP-Energy';
                    position: absolute;
                    display: block;
                    top: 4px;
                    pointer-events: none;
                    z-index: -1;
                    grid-column: 1/3;
                    color: var(--grey-1);
                    font-family: 'Montserrat';
                    font-feature-settings: normal;
                    font-size: 300px;
                    font-weight: 700;
                    line-height: 210px;
                    white-space: nowrap;
                    left: 0;
                    background: none;
                }
                &:last-of-type::before {
                    transform: translateX(-50%);
                    grid-row: 3/4;
                }
                &:last-of-type::after {
                    display: none;
                }
                div {
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                    padding-bottom: 115px;
                    * > :not(.decor) {
                        z-index: 3;
                    }
                    img {
                        &.decor {
                            width: initial;
                            aspect-ratio: initial;
                            height: 280px;
                            z-index: 2;
                        }
                        &:not(.decor) {
                            width: 30px;
                            margin-top: 33px;
                        }
                    }
                    h3 {
                        margin-bottom: 4px;
                    }
                    p {
                        font-size: 15px;
                    }
                }
                &:first-of-type div:not(:last-child),
                &:last-of-type div:not(:first-child) {
                    padding-top: 0;
                    padding-left: 80px;
                    .decor {
                        left: -60px;
                    }
                }
                &:first-of-type div:last-child,
                &:last-of-type div:first-child {
                    padding: 0 80px 0 0;
                    .decor {
                        left: auto;
                        right: -78px;
                    }
                }
                &:last-of-type div p {
                    max-width: initial;
                }
            }
        }
    }
    .about {
        padding-right: 10px;
        img {
            width: 45%;
            object-fit: cover;
            object-position: right center;
        }
        > div {
            width: 60%;
            padding: 30px 0;
        }
    }
    .partners .slides .item a {
        transform: none !important;
        top: 0;
        left: 0;
        bottom: initial;
        border-radius: inherit;
        background: rgba(0, 0, 0, 0);
        color: rgba(0, 0, 0, 0);
        font-size: 16px;
        padding: 0;
        height: 100%;
        &::after {
            display: none;
        }
    }
    .form {
        display: flex;
        flex-direction: column;
        gap: 4px;
        .img {
            aspect-ratio: 35/20;
            img {
                object-position: center 67%;
            }
        }
        div {
            height: initial;
        }
        & div:nth-child(2) {
            background: url(../images/index/form-img-r2.webp) 57% 0/ auto 100% no-repeat;
        }
    }
    :is(.progress, .about, .partners, .form) {
        margin-bottom: 100px;
    }
}
@media screen and (max-width: 768px) {
    .promo {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        .slider-l {
            order: 1;
            > p {
                margin-bottom: 30px;
            }
            .slides .item {
                padding-right: 0;
            }
        }
        .slider-r .slides {
            min-height: 500px;
            gap: 10px;
            .item {
                div {
                    margin-right: 10px;
                }
                a {
                    margin: 0 0 45px 10px;
                }
            }
        }
        .bottom {
            width: calc(100% + 10px);
            margin-right: -10px;
            padding: 0 0px 0 10px;
            border-radius: 20px 0 0 20px;
            .items div {
                &:last-child {
                    margin-right: 10px;
                }
                h3,
                p {
                    max-width: 65%;
                }
                a {
                    margin-top: 9.167%;
                }
            }
        }
    }
    .categories {
        display: flex;
        flex-direction: column;
        .top-box {
            display: contents;
            .title {
                width: fit-content;
                margin-bottom: 16px;
                gap: 23px;
                padding-left: 10px;
            }
            .btn {
                order: 1;
                align-self: center;
                margin-top: 30px;
            }
        }
        .wrapper {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px 10px;
        }
        .item {
            min-height: 140px;
            padding: 14px 12px;
            img:first-of-type {
                width: min(217px, 60%);
            }
            h3 {
                width: 70%;
            }
            p {
                width: 56%;
            }
        }
    }
    .progress .items {
        grid-template-columns: repeat(2, 50%);
        &::before,
        &::after {
            top: -40px;
            height: 40px;
        }
        &::before {
            right: -10px;
        }
        > div div {
            h3 {
                font-size: 14px;
                padding-top: 6px;
            }
            p {
                font-size: 12px;
            }
            :is(h3, p),
            img:not(.decor) {
                z-index: 3;
            }
        }
    }
    .about {
        padding-right: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        row-gap: 4px;
        background: none;
        width: calc(100% - 10px);
        margin-right: 0;
        &::before,
        &::after {
            display: block;
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            grid-column: 1/3;
            grid-row: 2/5;
            background: var(--white);
            pointer-events: none;
            border-radius: 30px 0px 0px 30px;
        }
        &::before {
            grid-row: 1/2;
        }
        img {
            position: absolute;
            grid-column: 1/3;
            grid-row: 1/2;
            width: auto;
            height: 100%;
            object-fit: cover;
            object-position: center right;
        }
        > div {
            display: contents;
            width: 60%;
            padding: 30px 0;
            h2 {
                grid-column: 1/3;
                grid-row: 1/2;
                height: 177px;
                z-index: 1;
                display: flex;
                padding-right: 30px;
                align-items: center;
                justify-content: end;
                white-space: nowrap;
                font-size: 20px;
                gap: 18px;
                margin-bottom: 0;
            }
            p {
                position: relative;
                z-index: 1;
                grid-column: span 2;
                padding: 0 30px;
                &:first-of-type {
                    padding-top: 30px;
                    margin-bottom: 11px;
                }
            }
            .btn {
                position: relative;
                z-index: 1;
                grid-column: span 2;
                margin: 25px 30px 30px auto;
            }
        }
    }
    .partners {
        gap: 10px;
        .top-box {
            display: contents;
            .title {
                gap: 12px;
                padding-left: 10px;
                width: fit-content;
                &::before {
                    display: none;
                }
            }
            .btn {
                margin-top: 20px;
                order: 1;
                align-self: center;
            }
        }
        .slider {
            padding: 10px 0;
            &::after {
                background: linear-gradient(90deg, #F3F3F3 7%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #F3F3F3 93%);
            }
        }
        .slides {
            gap: 10px;
            > div {
                gap: 10px;
            }
        }
    }
    .form {
        .dot-a::after {
            right: 14px;
        }
        & div:nth-child(2) {
            padding: 40px 20px;
            background: var(--white-grey);
            form {
                max-width: initial;
                h2 {
                    font-size: 20px;
                }
                p {
                    font-size: 14px;
                    padding-inline: 0;
                }
            }
        }
    }
}
@media screen and (max-width: 640px) {
    .promo .bottom .items div {
        min-width: min(260px, calc(100vw - 135px));
    }
    .categories .item p {
        font-size: 12px;
    }
    .progress .items > div {
        &:last-of-type::before {
            right: 0;
            left: initial;
            width: auto;
            transform: translateX(12%);
        }
        div img {
            width: 30px;
            &:not(.decor) {
                margin-top: 20px;
            }
        }
        &:first-of-type div:not(:last-child),
        &:last-of-type div:not(:first-child) {
            padding: 0 0 50px 35px;
            min-height: 245px;
            .decor {
                left: -77px;
            }
        }
        &:first-of-type div:last-child,
        &:last-of-type div:first-child {
            padding: 0 39px 50px 0;
            .decor {
                right: -87px;
            }
        }
    }
    .form .img {
        aspect-ratio: 35/30;
        img {
            object-position: center 58%;
        }
    }
}
@media (hover: hover) {
    .promo .bottom .items div a:hover {
        color: var(--ff-2-f-00);
    }
    .partners .slides .item:hover a {
        transform: translateY(0);
        box-shadow: 0px -24px 10px 0px rgba(0, 0, 0, 0.01), 0px -13px 8px 0px rgba(0, 0, 0, 0.05), 0px -6px 6px 0px rgba(0, 0, 0, 0.09), 0px -1px 3px 0px rgba(0, 0, 0, 0.10);
    }
    .categories .item:hover a {
        opacity: 1;
    }
}