.kkm-services-process,
.kkm-services-process * {
    box-sizing: border-box;
}

.kkm-services-process {
    --kkm-services-process-container-width: 1400px;
    position: relative;
    overflow: hidden;
    padding: 82px 20px;
    background: #ffffff;
    font-family: "Inter", Arial, sans-serif;
}

.kkm-services-process__container {
    width: min(100%, var(--kkm-services-process-container-width));
    max-width: var(--kkm-services-process-container-width);
    margin: 0 auto;
}

.kkm-services-process__header {
    margin: 0 auto 60px;
    text-align: center;
}

.kkm-services-process__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #ff6a00;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.kkm-services-process__eyebrow::before,
.kkm-services-process__eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: #ff6a00;
    flex: 0 0 auto;
}

.kkm-services-process__title {
    margin: 0;
    color: #0d3474;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(34px, 2.8vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.kkm-services-process__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.kkm-services-process__steps::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 9%;
    right: 9%;
    border-top: 4px dotted #0d3474;
    pointer-events: none;
}

.kkm-services-process__step {
    position: relative;
    z-index: 2;
    min-width: 0;
    text-align: center;
}

.kkm-services-process__icon-wrap {
    position: relative;
    width: max-content;
    margin: 0 auto 22px;
}

.kkm-services-process__icon {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #0d3474;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.kkm-services-process__icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.kkm-services-process__icon i {
    font-size: 31px;
}

.kkm-services-process__number {
    position: absolute;
    top: -7px;
    left: -9px;
    z-index: 3;
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #ff6a00;
    border: 2px solid #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.kkm-services-process__step-title {
    max-width: 190px;
    margin: 0 auto 12px;
    color: #0d3474;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.kkm-services-process__step-description {
    max-width: 185px;
    margin: 0 auto;
    color: #2f3845;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.elementor-widget-kkm_2026_services_process,
.elementor-widget-kkm_2026_services_process .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
}

@media (min-width: 768px) {
    .kkm-services-process__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1200px) {
    .kkm-services-process__steps {
        max-width: 980px;
        gap: 14px;
    }

    .kkm-services-process__step-title {
        font-size: 17px;
    }

    .kkm-services-process__step-description {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .kkm-services-process {
        padding: 64px 20px 68px;
    }

    .kkm-services-process__header {
        margin-bottom: 42px;
    }

    .kkm-services-process__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 44px;
        max-width: 760px;
    }

    .kkm-services-process__steps::before {
        display: none;
    }

    .kkm-services-process__step-title,
    .kkm-services-process__step-description {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .kkm-services-process {
        padding: 50px 16px 54px;
    }

    .kkm-services-process__eyebrow {
        gap: 9px;
        margin-bottom: 12px;
        font-size: 11px;
    }

    .kkm-services-process__eyebrow::before,
    .kkm-services-process__eyebrow::after {
        width: 20px;
    }

    .kkm-services-process__title {
        font-size: clamp(30px, 8.2vw, 38px);
    }

    .kkm-services-process__steps {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        max-width: 520px;
    }

    .kkm-services-process__step {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        column-gap: 18px;
        text-align: left;
        align-items: start;
    }

    .kkm-services-process__step::before {
        content: "";
        position: absolute;
        top: 69px;
        left: 37px;
        bottom: -24px;
        border-left: 3px dotted #0d3474;
    }

    .kkm-services-process__step:last-child::before {
        display: none;
    }

    .kkm-services-process__icon-wrap {
        grid-row: span 2;
        margin: 0;
    }

    .kkm-services-process__icon {
        width: 62px;
        height: 62px;
    }

    .kkm-services-process__icon svg {
        width: 28px;
        height: 28px;
    }

    .kkm-services-process__icon i {
        font-size: 28px;
    }

    .kkm-services-process__step-title {
        max-width: none;
        margin: 5px 0 8px;
        font-size: 18px;
    }

    .kkm-services-process__step-description {
        max-width: none;
        margin: 0;
        font-size: 14px;
    }
}
