.homeservices{
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .homeservices_top{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
        margin-top: 70px;
        position: relative;
    }
        .homeservices_top::before{
            content: "";
            height: 100%;
            width: 50%;
            background: var(--wp--preset--color--nv-grey-light);
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
        }
        .homeservices_top-narrow{
            display: flex;
            flex-direction: column;
            gap: var(--wp--preset--spacing--80);
            width: 100%;
            max-width: var(--wp--style--global--content-size);
            background: var(--wp--preset--color--nv-grey-light);
            position: relative;
            z-index: 2;
        }
            .homeservices_title{
                padding-bottom: var(--wp--preset--spacing--70);
                padding-right: var(--wp--preset--spacing--65);
                margin-top: -70px;
            }
    .homeservices_middle{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
        position: relative;
    }
        .homeservices_middle::before{
            content: "";
            height: 100%;
            width: 100%;
            background: var(--wp--preset--color--nv-grey-light);
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
        }
        .homeservices_middle-narrow{
            display: flex;
            flex-direction: column;
            gap: var(--wp--preset--spacing--80);
            width: 100%;
            max-width: var(--wp--style--global--content-size);
            background: var(--wp--preset--color--nv-grey-light);
            position: relative;
            z-index: 2;
        }
            .homeservices_items{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: var(--wp--preset--spacing--50);
                width: 100%;
            }
                .homeservices_item{
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: var(--wp--preset--spacing--50);
                    width: calc((100% - (4 * var(--wp--preset--spacing--50))) / 5);
                    background: var(--wp--preset--color--nv-white);
                    padding: var(--wp--preset--spacing--75) var(--wp--preset--spacing--65);
                    position: relative;
                    transition: background .2s ease-in-out;
                }
                .homeservices_item:hover{
                    background: var(--wp--preset--color--nv-grey);
                }
                        .homeservices_item-icon{
                            color: var(--wp--preset--color--nv-grey);
                            font-size: 40px;
                            transition: color .2s ease-in-out;
                        }
                        .homeservices_item:hover .homeservices_item-icon{
                            color: var(--wp--preset--color--nv-white);
                        }
                        .homeservices_item-title{
                            color: var(--wp--preset--color--nv-blue-dark);
                            font-size: var(--wp--preset--font-size--17);
                            font-weight: 800;
                            transition: color .2s ease-in-out;
                        }
                        .homeservices_item:hover .homeservices_item-title{
                            color: var(--wp--preset--color--nv-white);
                        }
                        .homeservices_item-button{
                            color: var(--wp--preset--color--nv-grey);
                            position: absolute;
                            bottom: 20px;
                            right: 20px;
                            transition: color .2s ease-in-out;
                        }
                        .homeservices_item:hover .homeservices_item-button{
                            color: var(--wp--preset--color--nv-white);
                        }
                            .homeservices_item-button-icon{
                                font-size: 16px;
                            }
    .homeservices_bottom{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
        position: relative;
    }
        .homeservices_bottom::before{
            content: "";
            height: 100%;
            width: 50%;
            background: var(--wp--preset--color--nv-grey-light);
            position: absolute;
            right: 0;
            top: 0;
            z-index: 1;
        }
        .homeservices_bottom-narrow{
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: var(--wp--preset--spacing--80);
            width: 100%;
            min-height: 215px;
            max-width: var(--wp--style--global--content-size);
            background: var(--wp--preset--color--nv-grey-light);
            position: relative;
            z-index: 2;
        }
            .homeservices_bottom-narrow::before{
                content: "";
                width: 50%;
                height: 100%;
                background: url(/wp-content/themes/nv/assets/images/vagues-grey-light2.png) no-repeat bottom left -1px;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 1;
            }
            .homeservices_content{
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: 50%;
                padding: var(--wp--preset--spacing--65);
                padding-left: 0;
            }
                .homeservices_text{
                    width: 100%;
                    max-width: 500px;
                }
                    .homeservices_text *:first-child{
                        margin-block-start: 0;
                    }
                    .homeservices_text *:last-child{
                        margin-block-end: 0;
                    }

@media (max-width: 1280px) {

    .homeservices_item{
        width: calc((100% - (2 * var(--wp--preset--spacing--50))) / 3);
    }

}

@media (max-width: 1024px) {

    .homeservices_top{
        margin-top: 0;
    }
    .homeservices_top-narrow{
        padding: var(--wp--preset--spacing--70);
        padding-left: 0;
    }
    .homeservices_title{
        padding-bottom: 0;
        padding-right: 0;
    }
    .homeservices_title:first-child{
        margin-top: 0;
    }

    .homeservices_item{
        padding-top: calc(2 * var(--wp--preset--spacing--75));
        padding-bottom: calc(2 * var(--wp--preset--spacing--75));
    }
    .homeservices_bottom-narrow{
        min-height: 0;
    }
    .homeservices_bottom-narrow::before{
        display: none;
    }
    .homeservices_content{
        width: 100%;
        padding-left: var(--wp--preset--spacing--65);
        padding-right: 0;
    }
    .homeservices_text{
        max-width: none;
    }

}

@media (max-width: 768px) {

    .homeservices_item{
        width: calc((100% - var(--wp--preset--spacing--50)) / 2);
    }

}

@media (max-width: 600px) {

    .homeservices_item{
        width: 100%;
    }

}