.elka-services {
    width: min(100%, var(--elka-services-max-width, 1280px));
    margin: var(--elka-services-margin-top, 44px) auto var(--elka-services-margin-bottom, 48px);
    padding: 0;
    color: var(--elka-services-title, #101b2a);
    background: var(--elka-services-block-bg, #fff);
    font-family: inherit;
}

.elka-services *,
.elka-services *::before,
.elka-services *::after {
    box-sizing: border-box;
}

.elka-services__heading {
    margin: 0;
    color: var(--elka-services-title, #101b2a);
    font-size: clamp(26px, 2.45vw, 36px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.elka-services__intro {
    max-width: 980px;
    margin: 12px 0 0;
    color: var(--elka-services-text, #526071);
    font-size: 16px;
    line-height: 1.55;
}

.elka-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
    align-items: stretch;
}

.elka-services__card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--elka-services-border, #dfe6e1);
    border-radius: var(--elka-services-radius, 16px);
    background: var(--elka-services-card-bg, #fff);
    box-shadow: 0 0 0 rgba(16, 27, 42, 0);
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.elka-services__card--linked {
    cursor: pointer;
}

.elka-services__card--linked:hover,
.elka-services__card--linked:focus,
.elka-services__card--linked:active {
    color: inherit;
    text-decoration: none;
}

.elka-services__card--linked:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--elka-services-hover-border, #008c3a) 32%, transparent);
    outline-offset: 3px;
}

.elka-services__image-wrap {
    height: var(--elka-services-image-height, 225px);
    overflow: hidden;
    background: #f4f6f4;
}

.elka-services__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.elka-services__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
}

.elka-services__title {
    margin: 0;
    color: var(--elka-services-title, #101b2a);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.elka-services__description {
    margin: 12px 0 0;
    color: var(--elka-services-text, #526071);
    font-size: 15px;
    line-height: 1.55;
}

.elka-services__note {
    margin: 14px 0 16px;
    color: var(--elka-services-text, #526071);
    font-size: 14px;
    line-height: 1.5;
}

.elka-services__footer {
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--elka-services-border, #dfe6e1);
}

.elka-services__price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
    color: var(--elka-services-title, #101b2a);
}

.elka-services__price-prefix {
    font-size: 16px;
    font-weight: 650;
}

.elka-services__price strong {
    color: var(--elka-services-accent, #008c3a);
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.elka-services__currency {
    font-size: 20px;
    font-weight: 750;
}

.elka-services__button {
    min-height: 46px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--elka-services-accent, #008c3a);
    border-radius: 10px;
    color: var(--elka-services-accent, #008c3a);
    background: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.elka-services__button:hover,
.elka-services__button:focus-visible {
    color: #fff;
    background: var(--elka-services-accent, #008c3a);
    text-decoration: none;
}

.elka-services__card--linked:hover .elka-services__button,
.elka-services__card--linked:focus-visible .elka-services__button {
    color: #fff;
    background: var(--elka-services-accent, #008c3a);
}

.elka-services__button-arrow {
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
    .elka-services--hover-lift .elka-services__card:hover,
    .elka-services--hover-lift .elka-services__card:focus-within {
        transform: translateY(-6px);
        border-color: var(--elka-services-hover-border, #008c3a);
        box-shadow: 0 15px 34px rgba(16, 27, 42, .09);
    }

    .elka-services--image-zoom .elka-services__card:hover .elka-services__image,
    .elka-services--image-zoom .elka-services__card:focus-within .elka-services__image {
        transform: scale(1.035);
    }
}

@media (max-width: 1020px) {
    .elka-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elka-services__card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 700px) {
    .elka-services {
        width: calc(100% - 20px);
    }

    .elka-services__heading {
        font-size: 27px;
    }

    .elka-services__intro {
        font-size: 15px;
    }

    .elka-services__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 20px;
    }

    .elka-services__card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
    }

    .elka-services__image-wrap {
        height: min(var(--elka-services-image-height, 225px), 215px);
    }

    .elka-services__body {
        padding: 19px 18px 17px;
    }

    .elka-services__title {
        font-size: 20px;
    }

    .elka-services__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .elka-services__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elka-services__card,
    .elka-services__image,
    .elka-services__button {
        transition: none !important;
    }
}
