/* =========================================
   HOME SERVICES
========================================= */

.home-services {
    width: 100%;
    background: #282A2C;
    color: #ffffff;
    padding: 60px 0;
    overflow: hidden;
}

.home-services__container {
    width: min(1400px, calc(100% - 120px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 100px;

    align-items: start;
}


/* =========================================
   LEFT SIDE
========================================= */

.home-services__left {
    display: flex;
    flex-direction: column;
}

.home-services__title {
    margin: 0 0 55px;
    color: #ffffff;

    font-size: clamp(42px, 5vw, 76px);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.home-services__image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.home-services__image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    pointer-events: none;
}

.home-services__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;

    object-fit: cover;
}

/* =========================================
   RIGHT SIDE
========================================= */

.home-services__right {
    display: flex;
    flex-direction: column;

    padding-top: 10px;
}

.home-services__text-block {
    width: 100%;
}

.home-services__text-block + .home-services__text-block {
    margin-top: 70px;
}

.home-services__text-block p {
    margin: 0;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.home-services__text-block p + p {
    margin-top: 28px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .home-services {
        padding: 90px 0;
    }

    .home-services__container {
        width: min(100% - 60px, 900px);
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .home-services__title {
        margin-bottom: 40px;
        font-size: clamp(42px, 8vw, 64px);
    }

    .home-services__right {
        padding-top: 0;
    }

    .home-services__text-block + .home-services__text-block {
        margin-top: 50px;
    }

    .home-services__text-block p {
        font-size: 17px;
        line-height: 1.65;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .home-services {
        padding: 70px 0;
    }

    .home-services__container {
        width: calc(100% - 40px);
        gap: 50px;
    }

    .home-services__title {
        margin-bottom: 30px;

        font-size: clamp(38px, 12vw, 52px);
        line-height: 1;
    }

    .home-services__text-block + .home-services__text-block {
        margin-top: 40px;
    }

    .home-services__text-block p {
        font-size: 16px;
        line-height: 1.7;
    }

    .home-services__text-block p + p {
        margin-top: 24px;
    }
}