.hhk-services-shell,
.hhk-services-shell * {
    box-sizing: border-box;
}

.hhk-services-shell {
    --hhk-columns: 3;
    --hhk-gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    background: transparent;
    box-shadow: none !important;
}

.hhk-services-viewport {
    width: 100%;
    overflow: hidden;
    background: transparent;
    box-shadow: none !important;
}

.hhk-services-track {
    display: flex;
    gap: var(--hhk-gap);
    width: 100%;
    align-items: stretch;
}

.hhk-mode-carousel .hhk-services-track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
}

.hhk-mode-carousel .hhk-services-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.hhk-mode-carousel .hhk-services-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.hhk-mode-grid .hhk-services-track {
    display: grid;
    grid-template-columns: repeat(var(--hhk-columns), minmax(0, 1fr));
    overflow: visible;
}

.hhk-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 255px;
    padding: 30px;
    border: 1px solid #E6CFAF;
    border-radius: 4px !important;
    background: #fff;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
    box-shadow: none !important;
    isolation: isolate;
    transition: border-color .24s ease, background .24s ease, filter .24s ease;
}

.hhk-mode-carousel .hhk-service-card {
    flex: 0 0 calc((100% - (var(--hhk-gap) * (var(--hhk-columns) - 1))) / var(--hhk-columns));
    scroll-snap-align: start;
}

.hhk-service-card:hover,
.hhk-service-card:focus {
    border-color: rgba(217,154,54,.95);
    filter: saturate(1.03);
    text-decoration: none !important;
    outline: none;
}

.hhk-service-card:focus-visible {
    outline: 2px solid rgba(217,154,54,.55);
    outline-offset: 2px;
}

.hhk-service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: transparent;
    z-index: -2;
}

.hhk-service-card:after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 190px;
    height: 92px;
    border: 1px solid rgba(217,154,54,.24);
    border-radius: 70px 0 0 0;
    opacity: .45;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: -1;
}

.hhk-service-head {
    display: grid;
    grid-template-columns: auto 1px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
}

.hhk-service-number {
    display: block;
    color: #D99A36;
    font-size: 34px;
    line-height: .95;
    font-weight: 700;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.hhk-service-divider {
    display: block;
    width: 1px;
    height: 34px;
    background: rgba(217,154,54,.32);
    margin-top: 4px;
}

.hhk-service-title {
    display: block;
    position: relative;
    color: #031D36;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: uppercase;
    padding-top: 3px;
    padding-bottom: 26px;
}

.hhk-service-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 13px;
    width: 44px;
    height: 2px;
    background: #D99A36;
}

.hhk-service-title-link,
.hhk-service-title-link:hover,
.hhk-service-title-link:focus {
    color: inherit;
    text-decoration: none !important;
}

.hhk-service-title-link:focus-visible,
.hhk-point-link:focus-visible {
    outline: 2px solid rgba(217,154,54,.45);
    outline-offset: 3px;
    border-radius: 4px;
}

.hhk-service-body {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 18px;
}

.hhk-service-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex: 0 0 auto;
    background: #031D36;
    border: 1px solid #D99A36;
    color: #D99A36;
    box-shadow: none !important;
    transition: transform .28s ease, color .28s ease, background .28s ease;
}

.hhk-service-card:hover .hhk-service-icon {
    transform: scale(1.035);
}

.hhk-service-icon i {
    font-size: 27px;
    line-height: 1;
}

.hhk-service-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: currentColor;
}

.hhk-service-icon svg [fill="none"] {
    fill: none;
}

.hhk-service-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: block;
}

.hhk-service-points {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: #06213D;
}

.hhk-point-row {
    position: relative;
    display: block;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}

.hhk-point-row:before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D99A36;
}

.hhk-point-link {
    color: inherit;
    text-decoration: none !important;
    transition: color .22s ease, opacity .22s ease;
}

.hhk-point-link:hover,
.hhk-point-link:focus {
    color: #D99A36;
    text-decoration: none !important;
}

.hhk-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    background: transparent;
    box-shadow: none !important;
}

.hhk-carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #D99A36;
    background: #fff;
    color: #D99A36;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: none !important;
    transition: color .24s ease, background .24s ease, opacity .24s ease, transform .24s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hhk-carousel-btn:hover,
.hhk-carousel-btn:focus {
    background: #031D36;
    color: #fff;
    outline: none;
    transform: none;
}

.hhk-carousel-btn[disabled] {
    opacity: .38;
    cursor: not-allowed;
    transform: none;
}

.hhk-carousel-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.hhk-mode-grid .hhk-carousel-controls {
    display: none !important;
}

@media (max-width: 1024px) {
    .hhk-services-shell {
        --hhk-columns: 2;
    }

    .hhk-service-head {
        column-gap: 14px;
    }

    .hhk-service-body {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hhk-services-shell {
        --hhk-columns: 1;
    }

    .hhk-services-viewport {
        overflow: visible;
    }

    .hhk-mode-carousel .hhk-services-track {
        padding-bottom: 0;
        scroll-padding-left: 0;
    }

    .hhk-carousel-controls {
        justify-content: center;
        margin-bottom: 12px;
    }

    .hhk-service-card {
        min-height: 250px;
    }

    .hhk-service-head {
        grid-template-columns: auto 1px minmax(0, 1fr);
        column-gap: 12px;
    }

    .hhk-service-number {
        font-size: 30px;
    }

    .hhk-service-title {
        font-size: 16px;
        padding-bottom: 22px;
    }

    .hhk-service-title:after {
        bottom: 10px;
    }

    .hhk-service-body {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 14px;
        margin-top: 14px;
    }

    .hhk-service-icon {
        width: 68px;
        height: 68px;
    }

    .hhk-point-row {
        font-size: 13.5px;
        padding-left: 14px;
    }
}
