/* ================================================================
 * Block: Checklist with panel — checklist_panel
 * Design: Growston NEW (rebuild)
 * Tokens: assets/css/growston-tokens.css (--g-*)
 * ================================================================ */

.g-checklist {
    padding-block: var(--g-space-9); /* 100px */
}

.g-checklist--light {
    background: var(--g-color-white);
}

.g-checklist--gray {
    background: #f7f7f7;
}

.g-checklist--dark {
    background: var(--g-color-hero-bg);
}

.g-checklist__inner {
    padding-inline: var(--g-pad-x);
}

/* ── Asymmetric grid (checklist 4fr / panel 3fr) ── */
.g-checklist__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--g-space-7); /* 50px */
}

@media (min-width: 900px) {
    .g-checklist__grid {
        grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
        align-items: center;
    }
}

/* ── Left column ── */
.g-checklist__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--g-space-5); /* 20px */
    min-width: 0;
}

.g-checklist__eyebrow {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-medium);
    font-size: var(--g-fs-body);
    line-height: 1;
    color: var(--g-color-cyan);
    margin: 0;
}

.g-checklist__heading {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-medium);
    font-size: var(--g-fs-h2); /* 70px */
    line-height: 1;
    color: var(--g-color-heading);
    margin: 0;
}

.g-checklist--dark .g-checklist__heading {
    color: var(--g-color-white);
}

.g-checklist__heading p {
    margin: 0;
}

.g-checklist__intro {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-regular);
    font-size: var(--g-fs-body);
    line-height: 1.5;
    color: var(--g-color-ink);
    margin: 0;
}

.g-checklist--dark .g-checklist__intro {
    color: var(--g-color-white);
}

/* ── Checklist ── */
.g-checklist__list {
    display: flex;
    flex-direction: column;
    gap: var(--g-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.g-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: var(--g-space-3);
}

.g-checklist__icon {
    flex: none;
    color: var(--g-color-cyan);
    margin-top: 2px;
}

.g-checklist__icon-img {
    flex: none;
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-top: 2px;
}

.g-checklist__item-text {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-regular);
    font-size: var(--g-fs-body);
    line-height: 1.5;
    color: var(--g-color-ink);
}

.g-checklist--dark .g-checklist__item-text {
    color: var(--g-color-white);
}

/* ── Right panel (dark card) ── */
.g-checklist__panel {
    display: flex;
    flex-direction: column;
    background: var(--g-color-ink);
    border-radius: var(--g-radius-card); /* 30px */
    box-shadow: 0 20px 60px color-mix(in srgb, var(--g-color-ink) 20%, transparent);
    padding: var(--g-space-7); /* 50px */
    min-width: 0;
}

.g-checklist__panel-label {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-medium);
    font-size: var(--g-fs-body);
    line-height: 1;
    color: var(--g-color-cyan);
    margin: 0 0 var(--g-space-5);
}

.g-checklist__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--g-space-3);
    padding-block: var(--g-space-3);
    border-bottom: 1px solid var(--g-color-white-23);
}

.g-checklist__row:last-child {
    border-bottom: none;
}

.g-checklist__row-label {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-regular);
    font-size: var(--g-fs-body);
    color: var(--g-color-white);
}

.g-checklist__value {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-medium);
    font-size: var(--g-fs-body);
    color: var(--g-color-white);
    white-space: nowrap;
}

.g-checklist__badge {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-medium);
    font-size: var(--g-fs-body);
    line-height: 1;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--g-radius-pill);
    background: color-mix(in srgb, var(--g-color-cyan) 20%, transparent);
    color: var(--g-color-cyan);
}

.g-checklist__badge--err {
    background: color-mix(in srgb, var(--g-color-red) 20%, transparent);
    color: var(--g-color-red);
}

.g-checklist__panel-note {
    font-family: var(--g-font-body);
    font-weight: var(--g-fw-regular);
    font-size: var(--g-fs-body);
    line-height: 1.5;
    color: var(--g-color-white-60);
    margin: var(--g-space-5) 0 0;
}

/* ── Responsywność ── */
@media (max-width: 768px) {
    .g-checklist__inner {
        padding-inline: var(--g-space-6);
    }
}
