.nml-goals {
    padding: 80px 0;
    background: var(--color-bg, #fff);
}

/* ── Grid layout ── */
.nml-goals__inner {
    display: grid;
    grid-template-columns: 390px 1fr;
    grid-template-areas:         "heading cards"        "image cards";
    /* Cards span both rows: without this the surplus height would be split
       between them and push the image away from the heading. */
    grid-template-rows: auto 1fr;
    gap: 32px 123px;
    align-items: start;
}

.nml-goals__heading    { grid-area: heading; }
.nml-goals__cards      { grid-area: cards; }
.nml-goals__image-wrap { grid-area: image; }

/* ── Heading ── */
.nml-goals__heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--color-text-primary);
    margin: 0;
}

/* Wrap a word in <span> to give it the accent colour. */
.nml-goals__heading span { color: var(--color-accent); }

/* ── Image ── */
.nml-goals__image-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-line);
}

.nml-goals__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    filter: grayscale(1);
}

/* ── Cards stack ── */
.nml-goals__cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nml-goals__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-line-blue);
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #4C83F333;
}

/* ── Icon badge ── */
.nml-goals__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(151.85deg, #162F6F -0.45%, #FF4171 231.49%);
    border-radius: 8px;
}

.nml-goals__icon img {
    display: block;
    width: 20px;
    height: 20px;
}

/* ── Card text ── */
.nml-goals__card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nml-goals__card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: var(--color-text-primary);
    margin: 0;
}

.nml-goals__card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {

    .nml-goals {
        padding: 40px 0;
    }

    .nml-goals__inner {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .nml-goals__heading {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
        width: 100%;
    }

    .nml-goals__image-wrap {
        max-height: 200px;
        border-radius: 8px;
        width: 100%;
    }

    .nml-goals__card-title {
        font-size: 16px;
        line-height: 24px;
    }

    .nml-goals__card {
        padding: 16px;
        border-radius: 8px;
        gap: 16px;
    }
}
