.home-services {
    background: #fff;
    position: relative;
}

.home-services .wpo-section-title {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-services .wpo-section-title span {
    background: #ff7063;
    color: #fff;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    display: inline-block;
}

.home-services .wpo-section-title h2 {
    color: #1e3446;
    margin-top: 18px;
}

.home-services__intro {
    font-size: 16px;
    line-height: 1.75;
    color: #5a6b7d;
}

.home-services__intro a {
    color: #177265;
    font-weight: 600;
    text-decoration: none;
}

.home-services__intro a:hover {
    color: #1e3446;
    text-decoration: underline;
}

.home-services__section-footer {
    max-width: 820px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.75;
    color: #5a6b7d;
}

.home-services__section-footer a {
    color: #177265;
    font-weight: 600;
    text-decoration: none;
}

.home-services__section-footer a:hover {
    color: #1e3446;
    text-decoration: underline;
}

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

.home-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 52, 70, 0.08);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(30, 52, 70, 0.14);
    text-decoration: none;
    color: inherit;
}

.home-service-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-service-card:hover .home-service-card__media img {
    transform: scale(1.05);
}

.home-service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 52, 70, 0) 40%, rgba(30, 52, 70, 0.45) 100%);
}

.home-service-card__badge {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    background: #ff7063;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 0;
}

.home-service-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.home-service-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #1e3446;
}

.home-service-card__text {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #5a6b7d;
    flex: 1;
}

.home-service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.home-service-card__tags li {
    background: #f3f6f6;
    border: 1px solid #e4e8e8;
    color: #1e3446;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 0;
}

.home-service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #177265;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-service-card__cta::after {
    content: "→";
    transition: transform 0.2s ease;
}

.home-service-card:hover .home-service-card__cta::after {
    transform: translateX(4px);
}

.home-services__footer {
    margin-top: 40px;
    text-align: center;
}

.home-services__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #177265;
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 16px 32px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-services__button:hover {
    background: #1e3446;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .home-services__grid {
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .home-services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-service-card {
        flex-direction: row;
        min-height: 148px;
    }

    .home-service-card__media {
        width: 132px;
        min-width: 132px;
        aspect-ratio: auto;
        min-height: 100%;
    }

    .home-service-card__badge {
        left: 10px;
        top: 10px;
        font-size: 9px;
        padding: 4px 8px;
    }

    .home-service-card__body {
        padding: 14px 14px 14px 12px;
    }

    .home-service-card__title {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .home-service-card__text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-service-card__tags {
        display: none;
    }

    .home-services__section-footer {
        margin-top: 28px;
        font-size: 14px;
        text-align: left;
    }

    .home-service-card__cta {
        font-size: 12px;
    }

    .home-services__footer {
        margin-top: 28px;
    }
}
