/* Services hero */

.services-hero {
    padding: 0;
}

.services-hero .container {
    max-width: 1410px;
}

.services-hero__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;

    color: #1D3F77;
}

.services-hero__text {
	/*
    max-width: 800px;
	*/
    margin: 0 0 0 auto;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;

    color: #8A8A8A;
}


/* Services list */

.services-list {
    padding: 40px 0 80px;

    background: #F5F5F5;
}

.services-list .container {
    max-width: 1410px;
}

.services-list__row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 40px;

    margin-top: 40px;
}

.services-list__row:first-child {
    margin-top: 0;
}


/* Service card */

.service-card {
    /* height: 100%; */

    overflow: hidden;

    border-radius: 10px;
    background: #ffffff;
}

.service-card__image {
    height: 300px;

    overflow: hidden;
}

.service-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    filter: grayscale(1);
}

.service-card__content {
    padding: 30px 50px 30px;
}

.service-card--large .service-card__content {
    min-height: 180px;
}

.service-card__title {
    margin: 0 0 16px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;

    color: #1D3F77;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 16px;

    max-width: 598px;
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-card__list li {
    position: relative;

    padding-left: 12px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;

    color: #6B6B6B;
}

.service-card__list li::before {
    content: "";

    position: absolute;
    top: 8px;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #F7941D;
}


/* Testing banner */

.testing-banner {
    padding: 0 0 100px;
}

.testing-banner .container {
    max-width: 1410px;
}

.testing-banner__content {
    min-height: 222px;
    padding: 50px 40px;

    overflow: hidden;

    border-radius: 10px;

    background-image: url('../img/services/Frame6.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testing-banner__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testing-banner__title {
    max-width: 720px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;

    color: #ffffff;
}

.testing-banner__text {
    max-width: 820px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.8);
}

.testing-banner__certificate {
    width: 204px;
    height: 142px;

    margin-left: auto;
}

.testing-banner__certificate img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================
   Services adaptive
========================= */

@media (max-width: 767px) {
    .services-hero {
        padding: 0 0 28px;
    }

    .services-hero .container,
    .services-list .container,
    .testing-banner .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-hero__title {
        margin-bottom: 18px;

        font-size: 28px;
        line-height: 1;
    }

    .services-hero__text {
        max-width: 100%;
        margin: 0;

        font-size: 13px;
        line-height: 1.45;
    }

    .services-list {
        padding: 0 0 36px;
    }

    .services-list__row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 10px;

        margin-top: 10px;
    }

    .services-list__row:first-child {
        margin-top: 0;
    }

    .services-list__row > [class*="col"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .service-card {
        border-radius: 10px;
    }

    .service-card__image {
        height: 170px;
    }

    .service-card__content {
        padding: 22px 18px;
    }

    .service-card--large .service-card__content {
        min-height: auto;
    }

    .service-card__title {
        margin-bottom: 14px;

        font-size: 12px;
        line-height: 1.2;
    }

    .service-card__list {
        gap: 14px;
        max-width: 100%;
    }

    .service-card__list li {
        padding-left: 12px;

        font-size: 12px;
        line-height: 1.35;
    }

    .service-card__list li::before {
        top: 7px;

        width: 4px;
        height: 4px;
    }

    .testing-banner {
        padding: 0 0 40px;
    }

    .testing-banner__content {
        min-height: 300px;
        padding: 28px 18px;

        border-radius: 10px;
    }

    .testing-banner__info {
        gap: 20px;
    }

    .testing-banner__title {
        max-width: 100%;

        font-size: 18px;
        line-height: 1.2;
    }

    .testing-banner__text {
        max-width: 100%;

        font-size: 13px;
        line-height: 1.45;
    }

    .testing-banner__certificate {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
}