/* Six-step delivery process; DOM order remains chronological on every screen. */
.delivery-process {
    position: relative;
    isolation: isolate;
    padding: 110px 0 120px;
    margin: 40px 0 70px;
    background: #fff;
}

.delivery-process>.white-banner-hexpattern {
    inset: 0;
    opacity: .25;
    pointer-events: none;
}

.delivery-process .container {
    overflow: visible;
}

.delivery-process h2 {
    color: #191e43;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 56px;
}

.delivery-process h2>span {
    color: #13a4b8;
}

.delivery-process-flow {
    margin-top: 40px;
    position: relative;
}

.delivery-process-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.delivery-process-line {
    fill: none;
    stroke: #20b3c4;
    stroke-width: 4;
}

.delivery-process-arrows {
    fill: #20b3c4;
    stroke: #fff;
    stroke-width: 2;
}

.delivery-process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 72px;
    margin: 0;
    padding: 0 40px 0 0;
    list-style: none;
}

.delivery-process-step {
    position: relative;
    margin: 0;
    padding: 0;
    background: none;
    min-width: 0;
}

.delivery-process-step--4 {
    grid-column: 3;
    grid-row: 2;
}

.delivery-process-step--5 {
    grid-column: 2;
    grid-row: 2;
}

.delivery-process-step--6 {
    grid-column: 1;
    grid-row: 2;
}

.delivery-process-badge {
    width: 142px;
    aspect-ratio: 795 / 878;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(140deg, #343a73, #24294f);
    clip-path: url('#service-card-clip');
    color: #6ae9e6;
}

.delivery-process-badge>span {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.delivery-process-badge svg {
    width: 68px;
    height: 64px;
}

.delivery-process-step--6 .delivery-process-badge {
    background: linear-gradient(140deg, #20b8c8, #18a5b9);
    color: #fff;
}

.delivery-process-step h3 {
    margin: 10px 0 12px;
    color: #11164d;
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.15;
}

.delivery-process-step p {
    margin: 0;
    max-width: 290px;
    color: #232951;
    font-size: 20px;
    line-height: 1.45;
}

/* Keep the full desktop journey visible below the fixed header on 1080p screens. */
@media (min-width: 992px) and (max-height: 1080px) {
    .delivery-process {
        padding: 40px 0 48px;
        margin: 16px 0 24px;
        scroll-margin-top: 204px;
    }

    .delivery-process h2 {
        margin-bottom: 48px;
        scroll-margin-top: 244px;
    }

    .delivery-process-steps {
        gap: 28px 48px;
    }

    .delivery-process-badge {
        width: 104px;
    }

    .delivery-process-badge>span {
        font-size: 26px;
    }

    .delivery-process-badge svg {
        width: 52px;
        height: 48px;
    }

    .delivery-process-step h3 {
        font-size: 26px;
        margin: 8px 0;
    }

    .delivery-process-step p {
        font-size: 18px;
        line-height: 1.4;
    }
}

@media (max-width: 991px) {
    .delivery-process {
        padding: 90px 0;
    }

    .delivery-process-steps {
        gap: 40px 32px;
        padding-right: 24px;
    }

    .delivery-process-badge {
        width: 112px;
    }

    .delivery-process-step p {
        font-size: 17px;
    }
}

@media (min-width: 992px) and (max-height: 740px) {
    .delivery-process {
        padding: 16px 0 24px;
    }

    .delivery-process h2 {
        margin-bottom: 40px;
        scroll-margin-top: 220px;
    }

    .delivery-process-steps {
        gap: 18px 32px;
    }

    .delivery-process-badge {
        width: 80px;
    }

    .delivery-process-badge>span {
        font-size: 22px;
    }

    .delivery-process-badge svg {
        width: 38px;
        height: 36px;
    }

    .delivery-process-step h3 {
        font-size: 22px;
    }

    .delivery-process-step p {
        font-size: 16px;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    .delivery-process {
        padding: 75px 0;
        margin-block: 20px 40px;
    }

    .delivery-process h2 {
        margin-bottom: 36px;
    }

    .delivery-process-route {
        display: none;
    }

    .delivery-process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .delivery-process-step {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        column-gap: 20px;
        align-content: center;
    }

    .delivery-process-step--4,
    .delivery-process-step--5,
    .delivery-process-step--6 {
        grid-column: auto;
        grid-row: auto;
    }

    .delivery-process-badge {
        width: 100px;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .delivery-process-badge>span {
        font-size: 26px;
    }

    .delivery-process-badge svg {
        width: 54px;
        height: 50px;
    }

    .delivery-process-step h3 {
        margin-top: 0;
        grid-column: 2;
    }

    .delivery-process-step p {
        grid-column: 2;
    }
}
.delivery-process,
.delivery-process-step p {
    font-family: univia-pro, sans-serif;
}

.delivery-process h2 {
    font-size: 40px;
}

@media (max-width: 767px) {
    .delivery-process h2 {
        font-size: 30px;
    }
}
