/* Services page introduction. */
.services-hero {
    align-items: center;
    min-height: 270px;
    padding-block: 62px;
}

.services-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.12;
    letter-spacing: normal;
}

.services-hero > p {
    max-width: 560px;
    color: #454d44;
    font-size: 16px;
    line-height: 1.7;
}

/* Simple service cards with direct next steps. */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-block: 56px 88px;
}

.service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(20px, 2.5vw, 32px);
    border: 1px solid #e1e7df;
    border-radius: 14px;
    background: #f7f8f5;
}

.service-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #e5ece4;
    color: #315341;
    font-size: 14px;
    font-weight: 800;
}

.service-card h2 {
    margin: 20px 0 10px;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.25;
}

.service-card p {
    flex: 1;
    color: #454d44;
    font-size: 16px;
    line-height: 1.7;
}

.service-card .text-link {
    margin-top: 18px;
}

/* Stack the service cards on small screens. */
@media (max-width: 800px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .services-hero {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-block: 42px;
    }
}
