/* -------------------- section--header -------------------- */

.section--header {
    margin-top:138px
}

.section--header .section__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section--header .section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.section--header .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 100;
}

.section--header::after {
    content: '';
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #BB8E6E, #D9B898);
    opacity: 90%;
    z-index: 10;
}

.section--header .section__column {
    width: 50%;
    padding: 120px 0 120px 80px;
}

.section--header .section__header {
    margin: 0 0 12px 0;
}

.section--header .section__header img {
    margin: 0 0 45px 0;
    max-width: 240px;
}

.section--header .section__header .page__title {
    color: var(--color-white);
    font-size: 45px;
}

.section--header .section__subtitle {
    color: var(--color-white);
    font-size: 25px;
    font-weight: 400;
    padding: 0 0 25px 0;
    margin: 0 0 25px 0;
}

.section--header .section__subtitle::after {
    content: '';
    width: 76px;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: var(--color-secondary);
}

.section--header .section__text {
    color: var(--color-white);
    font-size: 20px;
}

@media all and (max-width: 1280px) {
    .section--header .section__header img{
        max-width: 200px;
    }
}

@media all and (max-width: 1024px) {
    .section--header {
        margin-top:80px
    }
    .section--header {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .section--header .section__image {
        position: relative;
        top: initial;
        left: initial;
        width: 100%;
        height: 350px;
    }
    .section--header .section__header img{
        max-width: 180px;
        margin: 0 0 40px 0;
    }
    .section--header .section__column {
        width: 100%;
        padding: 80px 0;
    }

    .section--header::after {
        width: 100%;
        height: calc(100% - 350px);
    }
    .section--header .section__header .page__title{
        font-size:40px;
    }
    .section--header .section__subtitle{
        font-size: 20px;
    }
    .section--header .section__text {
        font-size:18px;
    }
}
@media all and (max-width: 768px) {
    .section--header .section__header img{
        max-width: 160px;
        margin: 0 0 35px 0;
    }
    .section--header .section__header .page__title{
        font-size:35px;
    }
}
@media all and (max-width: 400px) {
    .section--header .section__header img{
        max-width: 140px;
        margin: 0 0 25px 0;
    }
    .section--header .section__header .page__title{
        font-size:29px;
    }
    .section--header .section__subtitle{
        font-size: 18px;
    }
    .section--header .section__text {
        font-size:16px;
    }
}
/* -------------------- section--about -------------------- */

.section--about {
    background: var(--color-secondary);
    padding: 100px 0;

    scroll-margin-top: 100px;
}

.section--about .section__title {
    width: 100%;
    text-align: center;
    color: var(--color-primary);
}

.section--about .section__text {
    width: 100%;
    text-align: center;
    color: var(--color-white);
}
@media all and (max-width: 1024px) {
    .section--about {
        padding: 80px 0;
    }
}

@media all and (max-width: 768px) {
    .section--about {
        padding: 60px 0;
    }
}
/* -------------------- section--services -------------------- */
.section--services {
    padding: 80px 0;

    scroll-margin-top: 100px;
}

.section--services .section__header {
    margin: 0 0 70px 0;
}

.section--services .section__title {
    width: 100%;
    text-align: center;
    color: var(--color-secondary);
}

.section--services .section__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 70px 0;
}

.section--services .item {
    width: calc(100% / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section--services .item .item__image {
}

.section--services .item .item__title {
    margin: 30px 0 15px 0;
    color: var(--color-third);
    font-size: 30px;
    text-align: center;
    width: 100%;
    font-family: "Libre Bodoni", serif;
    line-height: 1.3;
}

.section--services .item .item__text {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-secondary);
    width: 100%;
    text-align: center;
}

@media all and (max-width: 1024px) {
    .section--services {
        padding: 70px 0;
    }
    .section--services .item {
        width: calc(100% / 2)
    }
    .section--services .item img {
        max-width: 140px;
    }
    .section--services .item .item__title {
        font-size:28px;
    }
}

@media all and (max-width: 768px) {
    .section--services {
        padding: 60px 0;
    }
    .section--services .item {
        width: 100%;
    }
    .section--services .item img {
        max-width: 120px;
    }
    .section--services .item .item__title {
        font-size:24px;
    }
}

/* -------------------- rows -------------------- */
.rows {
    scroll-margin-top: 100px;
}
.rows .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.rows::before {
    content: '';
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #BB8E6E, #D9B898);
    z-index: -1;
}

.rows::after {
    content: '';
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-secondary);
    z-index: -1;
}

@media all and (max-width: 1024px) {
    .rows .container {
        flex-direction: column;
        padding: 0;
    }

    .rows::before,
    .rows::after {
        display: none;
    }
}

/* -------------------- section--approche -------------------- */
.section--approche {
    padding: 125px 0;
    scroll-margin-top: 100px;
}

.section--approche .section__header {
}

.section--approche .section__title {
    color: var(--color-white);
}

.section--approche .section__text {
    color: var(--color-white);
}

@media all and (max-width: 1024px) {
    .section--approche {
        width: 100%;
        padding: 80px 20px;
        background: linear-gradient(to right, #BB8E6E, #D9B898);
    }
    .section--approche .section__title {
        width: 100%;
        text-align: center;
    }
    .section--approche .section__title br {
        display: none;
    }
    .section--approche .section__text {
        width: 100%;
        text-align: center;
    }
}
@media all and (max-width: 768px) {
    .section--approche  {
        padding: 50px 16px;
    }
}
/* -------------------- section--why -------------------- */
.section--why {
    padding: 125px 0;
    scroll-margin-top: 100px;
}

.section--why .section__header {
}

.section--why .section__title {
    color: var(--color-primary);
}

.section--why .section__text {
    color: var(--color-white);
}

.section--why .section__text h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 550;
}

.section--why .section__text p:not(:first-child) {
    margin-top: 0;
}

.section--why .section__text h3:not(:first-child) {
    margin-top: 34px;
}

@media all and (max-width: 1024px) {
    .section--why {
        width: 100%;
        padding: 80px 20px;
        background: var(--color-secondary);
    }
    .section--why .section__title {
        width: 100%;
        text-align: center;
    }
    .section--why .section__text {
        width: 100%;
        text-align: center;
    }
}
@media all and (max-width: 768px) {
    .section--why {
        padding: 50px 16px;
    }
}

/* -------------------- section--solutions -------------------- */
.section--solutions {
    padding: 110px 0;
    scroll-margin-top: 100px;
}

.section--solutions .section__header {
    margin-bottom: 80px;
}

.section--solutions .section__title{
    text-align: center;
    color: var(--color-third);
}
.section--solutions .section__text {
    text-align: center;
    color: var(--color-secondary);
}

.section--solutions .section__text {
    margin-top: 50px;
}
@media all and (max-width: 1024px) {
    .section--solutions {
        padding: 80px 0;
    }
    .section--solutions .section__header{
        margin: 0 0 50px 0;
    }
}
@media all and (max-width: 768px) {
    .section--solutions {
        padding: 60px 0;
    }
    .section--solutions .section__header{
        margin: 0 0 20px 0;
    }
}
/* -------------------- slider -------------------- */
.solutions-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.solutions-slider__viewport {
    overflow: hidden;
}

.solutions-slider__track {
    display: flex;
    transition: transform 0.45s ease;
    gap:0;
}

/* item */
.solutions-slider__item {
    flex: 0 0 calc(100% / 8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.solutions-slider__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* arrows */
.slider-arrow {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;

    transition: opacity 0.2s ease;

    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow svg * {
    fill: var(--color-primary);
    transition: linear .15s;
}

.slider-arrow:hover svg * {
    fill: var(--color-secondary);
}

.slider-arrow[disabled] {
    opacity: 0!important;
    cursor: default;
}

.slider-arrow.slider-arrow--next {
    transform-origin: center center;
    transform: rotate(180deg);
}

/* -------------------- responsive -------------------- */
@media (max-width: 1200px) {
    .solutions-slider__item {
        flex-basis: calc(100% / 6);
    }
}

@media (max-width: 1100px) {
    .solutions-slider__item {
        flex-basis: calc(100% / 4);
    }
}

@media (max-width: 768px) {
    .solutions-slider__item {
        flex-basis: calc(100% / 2);
    }
}

@media (max-width: 480px) {
    .solutions-slider__item {
        flex-basis: 100%;
    }
}


/* -------------------- block--separator -------------------- */
.block--separator {
    width: 100%;
    aspect-ratio: 1920 / 525;
    min-height: 250px;
}

.block--separator img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left bottom;
}

/* -------------------- section--contact -------------------- */
.section--contact {
    scroll-margin-top: 100px;
}
.section--contact .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section--contact .section__column {
    width: 50%;
    padding: 100px 80px 100px 0;
}

.section--contact .section__header {
    margin: 0 0 60px 0;
}

.section--contact .section__title {
    color: var(--color-primary);
}

.section--contact .section__text {
    color: var(--color-white);
    margin: 30px 0 0 0;
}

.section--contact::before {
    content: '';
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-secondary);
}

.section--contact .section__image {
    content: '';
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.section--contact .section__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media all and (max-width: 1024px) {
    .section--contact{
        background: var(--color-secondary);
    }
    .section--contact::before{
        display: none;
    }
    .section--contact .section__column {
        width: 100%;
        padding: 80px 0;

    }
    .section--contact .section__image{
        position: relative;
        top:initial;
        right: initial;
        width: 100%;
    }
    .section--contact .section__title{
        width: 100%;
        text-align: center;
    }
    .section--contact .section__text{
        width: 100%;
        text-align: center;
    }
}
@media all and (max-width: 768px) {
    .section--contact .section__column {
        padding: 60px 0 80px 0;

    }
}
