.services {
    padding: 120px 0;
    background: #ffffff;
}

.services .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

.services__header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 70px;
}

.services__title {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #17242b;
}

.services__intro {
    max-width: 500px;
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.65;
    color: #66747b;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 35px;
    background: #f5f7f8;
    border: 1px solid #e1e7e9;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(23, 36, 43, 0.08);
}

.service-card--featured {
    background: #e9f0ef;
    border-color: #d8e3e1;
}

.service-card__number {
    margin-bottom: 70px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: #718087;
}

.service-card__body {
    flex: 1;
}

.service-card h3 {
    max-width: 480px;
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #17242b;
}

.service-card p {
    max-width: 500px;
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #66747b;
}

.service-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.45;
    color: #4f5e65;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #718b88;
}

.service-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #d9e0e2;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    color: #17242b;
}

.service-card__link span {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.service-card__link:hover span {
    transform: translateX(5px);
}

.services__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 50px;
    padding: 35px 40px;
    background: #17242b;
}

.services__bottom-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.services__bottom-text strong {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #ffffff;
}

.services__bottom-text span {
    max-width: 650px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
}

.services__button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    padding: 16px 22px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    color: #17242b;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.services__button:hover {
    background: #e9f0ef;
    transform: translateY(-2px);
}

.services__button span {
    font-size: 18px;
}

@media (max-width: 900px) {

    .services {
        padding: 90px 0;
    }

    .services__header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }
}

@media (max-width: 600px) {

    .services {
        padding: 75px 0;
    }

    .services .container {
        padding: 0 20px;
    }

    .services__title {
        font-size: 34px;
    }

    .services__intro {
        font-size: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .service-card__number {
        margin-bottom: 45px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .services__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

    .services__button {
        width: 100%;
        justify-content: space-between;
    }
}