/* ---------- Sekcja „Jak zacząć” ---------- */

.steps-section {
    width: 100%;
    background: #ffffff;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.steps-head {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-list {
    width: 100%;
    max-width: 1200px;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: none;
    position: relative;
}

/* przerywana linia łącząca kroki */
.steps-list::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 12.5%;
    right: 12.5%;
    border-top: 1.5px dashed #c9d9cd;
}

.steps-item {
    position: relative;
    padding: 24px 22px 26px;
    background: #F1F5ED;
    border: 1px solid #e5ece7;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.steps-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 28, 25, 0.07);
}

.steps-num {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #087443;
    color: #ffffff;
    font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px #ffffff;
}

.steps-item:last-child .steps-num { background: #101c19; }

.steps-title {
    margin: 22px 0 0;
    font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: -0.4px;
    color: #101c19;
}

.steps-desc {
    margin: 8px 0 0;
    font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: -0.2px;
    color: #4b5552;
}

@media (max-width: 1024px) {
    .steps-list { grid-template-columns: repeat(2, 1fr); }
    .steps-list::before { display: none; }
}

@media (max-width: 640px) {
    .steps-section { padding: 60px 16px; }
    .steps-list { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .steps-item { flex-direction: row; flex-wrap: wrap; column-gap: 14px; padding: 18px; }
    .steps-title { margin: 0; align-self: center; flex: 1; }
    .steps-desc { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .steps-item { transition: none; }
    .steps-item:hover { transform: none; }
}
