/* === Sekcja: Jak to działa === */
.how-it-works-section {
    background-color: #f8f9fa; /* jasne tło */
    color: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

/* Nagłówek sekcji */
.how-it-works-section h2 {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 1.9rem;
}

/* Kroki (boxy) */
.how-step {
    background-color: #fff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.how-step:hover {
    transform: translateY(-6px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Numer kroku */
.how-step .step-number {
    width: 56px;
    height: 56px;
    background-color: rgba(17, 102, 45, 0.1);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.how-step:hover .step-number {
    background-color: var(--brand-primary);
    color: #fff;
}

/* Tytuły i opisy */
.how-step h5 {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.how-step p {
    color: rgba(18, 39, 56, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA pod krokami */
.how-it-works-section .btn-brand-primary,
.how-it-works-section .btn-outline-brand {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
}

/* Responsywność */
@media (max-width: 767.98px) {
    .how-it-works-section h2 {
        font-size: 1.6rem;
    }

    .how-step {
        padding: 1.5rem 1.25rem;
    }

    .how-step h5 {
        font-size: 1rem;
    }

    .how-step p {
        font-size: 0.9rem;
    }

    .how-it-works-section .btn-brand-primary {
        width: 100%;
    }
}
