#services {
    background: linear-gradient(180deg, #141414 0%, #000000 100%);
}

.services-container {
    width: 100%;
    display: flex;
    flex-direction: column;

    span {
        width: fit-content;
        margin-bottom: 1rem;
        padding: 0.8rem 1rem;
        font-weight: 200;
        font-size: .8vw;
        opacity: .8;
        text-align: center;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 1rem;

        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
        border-radius: 50px;

        &::before {
            content: '';
            display: inline-block;
            width: 0.7vw;
            height: 0.7vw;
            background-image: url('../img/icon-span.svg');
            background-size: contain;
            background-repeat: no-repeat;
        }
    }

    h2 {
        font-size: 3vw;
        font-weight: 500;
        background: linear-gradient(90deg, #E7E7E7 0%, #424141 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .services-text-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
        margin-bottom: 4vw;
    }

    p {
        font-size: 1vw;
        opacity: .8;
        line-height: 1.6;
        margin-top: .6rem;
        max-width: 60%;
    }

    a {
        background: linear-gradient(to bottom, #ffffff 0%, #616161 100%);
        backdrop-filter: blur(10px);
        color: black;
        font-weight: 500;
        padding: 22px 48px;
        border-radius: 50px;
        text-decoration: none;
        width: fit-content;
        font-size: .8vw;
    }
}

.container-cards-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 2vw;
    margin-top: 4vw;


    .bg-card {
        background: #1c1c1c2a;
        background-size: cover;
        background-position: center;
        border-radius: 1vw;
        padding: 1.5vw 2vw;
    }

    .bg-card-mini {
        background: #ffffff;
        color: black;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 1vw;

        img {
            filter: invert(1) brightness(1);
        }
    }

    .mini-icons {
        width: 2vw;
    }

    h3 {
        display: flex;
        gap: 20px;
        font-weight: 350;
        font-size: 1.8vw;
        align-items: center;
        text-align: start;
        margin-bottom: 0.4vw;
    }

    p {
        opacity: .8;
        margin-bottom: 2vw;
        font-size: 1vw;
        font-weight: 350;
    }

    .card-services-one,
    .card-services-mini,
    .card-services-two {
        display: flex;
        flex-direction: column;
        background-size: cover;
        background-position: center;
        border-radius: 1.5vw;
    }

    .last-img {
        max-height: 26vw;
        object-fit: cover;
    }

    .last-img-two {
        max-height: 16vw;
        width: 100%;
        object-fit: cover;
        border-radius: 1.5vw;
    }

    .card-services-one {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        max-height: 38vw;
        width: 100%;
    }

    .card-services-one>img {
        margin-bottom: 0;
        padding-bottom: 0;
        border-radius: 1.5vw;
    }

    .card-services-mini {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        padding: 1.2vw;
        height: 8vw;

        p {
            font-size: 1vw;
            white-space: nowrap;
            max-width: 100%;
        }
    }

    .card-services-two {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        max-height: 28vw;


        img {
            margin-bottom: 0;
            padding-bottom: 0;
        }
    }
}