/* ============ "Как мы работаем" — homepage 5-step version ============ */
.hwh{
    display: grid;
    gap: 1.75rem;
}
.hwh__step{
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon body";
    align-items: center;
    gap: 1rem;
}
.hwh .hwh__num{ display: none !important; } /* number circles removed 2026-11-09 */
.hwh__num{
    grid-area: num;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #5cc8f5 0%, #1aa7e6 55%, #0b8fd1 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem !important;
    line-height: 1;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0b5c86, 0 8px 18px -8px rgba(11,92,134,.6);
}
.hwh__icon{
    grid-area: icon;
    width: 5.75rem;
    height: 5.75rem;
}
.hwh__icon img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hwh__body{
    grid-area: body;
    border-left: 2px solid #38bdf8;
    padding-left: 1rem;
    min-width: 0;
}
.hwh__title{
    margin: 0;
    font-weight: 800;
    color: #1e3a5f;
    font-size: 1.15rem !important;
    line-height: 1.25;
}
.hwh__desc{
    margin: .35rem 0 0;
    color: #334e68;
    font-size: .95rem !important;
    line-height: 1.55;
}

/* ---- desktop: 5 columns, number → title → icon → text, chevrons between ---- */
@media (min-width: 1024px){
    .hwh{
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2.75rem;
    }
    .hwh__step{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .9rem;
        position: relative;
    }
    .hwh__body{ display: contents; }
    .hwh__num{ order: 1; }
    .hwh__title{
        order: 2;
        min-height: 3.75em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hwh__icon{
        order: 3;
        width: 9rem;
        height: 7.5rem;
    }
    .hwh__desc{
        order: 4;
        margin-top: .25rem;
        text-align: left;
        align-self: stretch;
    }
    .hwh__step:not(:last-child)::after{
        content: "";
        position: absolute;
        right: -1.75rem;
        top: 8.35rem;
        width: .8rem;
        height: .8rem;
        border-top: 3px solid #0ea5e9;
        border-right: 3px solid #0ea5e9;
        transform: rotate(45deg);
    }
}
