/* ================================================================
   "Hogyan használd a Kalkulátort" – megosztott szekció
   Prefix: .kkz-howto  |  Betölti: KalkulatorKezeles.cshtml és
   Kalkulator/KalkulatorFelulet.cshtml (ugyanazt a _hogyanhasznald
   partialt használják).

   A dizájn az Ajánlatok (.ajk-*) / Árajánlat szerkesztő (.arj-*) /
   Ügyfeleim (.ugy-*) / Tételeim (.tet-*) rendszerét viszi tovább.
   A bespoke "colostok-kalkulator" ikonfont (.demo-icon) megmarad –
   csak a kártya köré épül új keret.
   ================================================================ */

.kkz-howto {
    --kkz-brand: #009879;
    --kkz-brand-dark: #007a62;
    --kkz-brand-soft: #f0f9f6;
    --kkz-brand-border: #d1ede5;
    --kkz-ink: #1f2d3d;
    --kkz-ink-2: #5a6b7a;
    --kkz-ink-3: #7a8a99;
    --kkz-surface: #ffffff;
    --kkz-line: #e5ebef;
    --kkz-radius: 16px;
    --kkz-shadow: 0 4px 20px rgba(0, 0, 0, .06);

    padding: 8px 0 12px;
}

.kkz-howto__head {
    text-align: center;
    margin-bottom: 28px;
}

.kkz-howto__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--kkz-brand);
    margin-bottom: 8px;
}

.kkz-howto__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--kkz-ink);
    margin: 0;
}

.kkz-howto__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kkz-howto__card {
    background: var(--kkz-surface);
    border-radius: var(--kkz-radius);
    box-shadow: var(--kkz-shadow);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kkz-howto__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kkz-howto__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--kkz-brand-soft);
    border: 1px solid var(--kkz-brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kkz-howto__icon .demo-icon {
    color: var(--kkz-brand-dark);
    font-size: 20px;
    margin: 0;
    width: auto;
}

.kkz-howto__num {
    font-size: 12px;
    font-weight: 700;
    color: var(--kkz-ink-3);
    letter-spacing: .3px;
}

.kkz-howto__cardtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--kkz-ink);
    margin: 0;
}

.kkz-howto__text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--kkz-ink-2);
    margin: 0;
}

/* ---------- Hasznos tippek ---------- */

.kkz-tips {
    margin-top: 28px;
    background: var(--kkz-surface);
    border-radius: var(--kkz-radius);
    box-shadow: var(--kkz-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: stretch;
}

.kkz-tips__img {
    background-size: cover;
    background-position: center;
    min-height: 240px;
}

.kkz-tips__body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kkz-tips__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--kkz-ink);
    margin: 0 0 12px;
}

.kkz-tips__body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--kkz-ink-2);
    margin: 0 0 14px;
}

.kkz-tips__body p:last-child {
    margin-bottom: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991.98px) {
    .kkz-howto__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kkz-tips {
        grid-template-columns: 1fr;
    }

    .kkz-tips__img {
        min-height: 200px;
    }
}

@media (max-width: 575.98px) {
    .kkz-howto__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .kkz-tips__body {
        padding: 22px 20px;
    }
}
