.gem-process,
.gem-process * {
    margin: 0;
    box-sizing: border-box;
}

.gem-process {
    background: #fff;
    padding: 48px 4vw 56px;
}

.gem-process__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    list-style: none;
    padding: 0;
}

.gem-process__steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: #f0c9d2;
}

.gem-process__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: gem-process-pop 0.6s cubic-bezier(0.2, 0.85, 0.25, 1.15) both;
}

.gem-process__step:nth-child(2) {
    animation-delay: 0.1s;
}

.gem-process__step:nth-child(3) {
    animation-delay: 0.2s;
}

.gem-process__step:nth-child(4) {
    animation-delay: 0.3s;
}

.gem-process__orb {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid #f3d0d7;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7b7c2;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
}

.gem-process__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gem-process__title {
    padding-top: 22px;
    color: #2a2a2a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gem-process__text {
    max-width: 250px;
    padding-top: 12px;
    color: #8a8a8a;
    font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
}

@keyframes gem-process-pop {
    0% {
        opacity: 0;
        transform: scale(0.86);
    }

    70% {
        transform: scale(1.04);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .gem-process {
        padding: 36px 20px 44px;
    }

    .gem-process__steps {
        display: flex;
        flex-direction: column;
        row-gap: 28px;
    }

    .gem-process__steps::before {
        display: none;
    }

    .gem-process__step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        column-gap: 18px;
    }

    .gem-process__copy {
        align-items: flex-start;
        padding-top: 6px;
    }

    .gem-process__step:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 36px;
        bottom: -64px;
        left: 35px;
        width: 1px;
        background: #f0c9d2;
        z-index: 0;
    }

    .gem-process__orb {
        flex-shrink: 0;
    }

    .gem-process__title {
        padding-top: 4px;
    }

    .gem-process__text {
        max-width: none;
        padding-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gem-process__step {
        animation: none;
    }
}
