.be-section--discount-steps {
    max-width: 100%;
    padding: 56px 24px 72px;
    position: relative;
    z-index: 999;
}

.be-discount-steps-container {
    margin: 0 auto;
    max-width: 1440px;
}

.be-discount-steps__header {
    margin: 0 auto 30px;
    max-width: 1160px;
    text-align: center;
}

.be-discount-steps__title p {
    color: #1b365d;
    font-family: 'Encode Sans', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0;
}

.be-discount-steps__title strong,
.be-discount-steps__subtitle strong {
    color: #00aec7;
    font-weight: 700;
}

.be-discount-steps__subtitle {
    margin-top: 6px;
}

.be-discount-steps__subtitle p {
    color: #00aec7;
    font-family: 'Encode Sans', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.14;
    margin: 0;
}

.be-discount-steps__card {
    --be-step-gap: 18px;
    --be-step-marker-column: 64px;
    --be-step-row-padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(16, 56, 79, 0.08);
    overflow: hidden;
    padding: 24px 0;
    position: relative;
}

.be-discount-steps__timeline {
    background: #ffdbb4;
    bottom: 70px;
    left: calc(var(--be-step-row-padding) + (var(--be-step-marker-column) / 2) - 1px);
    position: absolute;
    top: 70px;
    width: 2px;
}

.be-discount-steps__row {
    align-items: center;
    column-gap: 18px;
    display: grid;
    grid-template-columns: var(--be-step-marker-column) minmax(200px, 240px) minmax(0, 1fr) minmax(0, 250px);
    min-height: 116px;
    padding: 0 var(--be-step-row-padding);
    position: relative;
}

.be-discount-steps__row + .be-discount-steps__row::before {
    background: #eef2f6;
    content: '';
    height: 1px;
    left: calc(var(--be-step-row-padding) + var(--be-step-marker-column) + var(--be-step-gap));
    position: absolute;
    right: var(--be-step-row-padding);
    top: 0;
}

.be-discount-steps__marker {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.be-discount-steps__marker span {
    align-items: center;
    background: #ffdbb4;
    border-radius: 999px;
    color: #ff8200;
    display: inline-flex;
    font-family: 'Encode Sans', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    line-height: 1;
    width: 40px;
}

.be-discount-steps__item-title p {
    color: #1b365d;
    font-family: 'Encode Sans', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: normal;
    margin: 0;
}

.be-discount-steps__item-text p {
    color: #828282;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    margin: 0;
}

.be-discount-steps__item-visual {
    display: flex;
    justify-content: flex-end;
}

.be-discount-steps__item-visual img {
    display: block;
    height: auto;
    width: auto;
}

@media (min-width: 1700px) and (max-width: 2300px) {
    .be-discount-steps-container {
        max-width: 1440px;
    }
}

@media (min-width: 1200px) and (max-width: 1699px) {
    .be-discount-steps-container {
        max-width: 1050px;
    }

    .be-discount-steps__header {
        max-width: 980px;
    }

    .be-discount-steps__card {
        --be-step-gap: 14px;
        --be-step-marker-column: 52px;
        --be-step-row-padding: 24px;
    }

    .be-discount-steps__row {
        column-gap: 14px;
        grid-template-columns: 52px minmax(180px, 210px) minmax(0, 1fr) minmax(0, 210px);
        min-height: 106px;
        padding: 0 24px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .be-discount-steps-container {
        max-width: 920px;
    }

    .be-discount-steps__card {
        --be-step-gap: 12px;
        --be-step-marker-column: 48px;
        --be-step-row-padding: 20px;
    }

    .be-discount-steps__title p {
        font-size: 30px;
    }

    .be-discount-steps__subtitle p {
        font-size: 20px;
    }

    .be-discount-steps__row {
        column-gap: 12px;
        grid-template-columns: 48px minmax(150px, 180px) minmax(0, 1fr) minmax(0, 180px);
        min-height: 84px;
        padding: 0 20px;
    }

    .be-discount-steps__marker span {
        font-size: 20px;
        height: 34px;
        width: 34px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .be-discount-steps-container {
        max-width: 720px;
    }

    .be-discount-steps__card {
        --be-step-gap: 12px;
        --be-step-marker-column: 44px;
        --be-step-row-padding: 20px;
    }

    .be-discount-steps__header {
        margin-bottom: 24px;
    }

    .be-discount-steps__title p {
        font-size: 28px;
    }

    .be-discount-steps__subtitle p {
        font-size: 18px;
    }

    .be-discount-steps__card {
        padding: 18px 0;
    }

    .be-discount-steps__timeline {
        bottom: 34px;
        top: 34px;
    }

    .be-discount-steps__row {
        align-items: start;
        grid-template-columns: 44px minmax(0, 170px) minmax(0, 1fr);
        padding: 18px 20px;
        row-gap: 12px;
    }

    .be-discount-steps__item-visual {
        grid-column: 2 / 4;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .be-section--discount-steps {
        padding: 40px 16px 56px;
    }

    .be-discount-steps-container {
        max-width: 100%;
    }

    .be-discount-steps__header {
        margin-bottom: 20px;
    }

    .be-discount-steps__title p {
        font-size: 24px;
        line-height: 1.18;
    }

    .be-discount-steps__subtitle p {
        font-size: 16px;
        line-height: 1.25;
    }

    /* Outer card becomes a transparent stacking container */
    .be-discount-steps__card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    /* Timeline hidden — each row is its own card */
    .be-discount-steps__timeline {
        display: none;
    }

    /* Each step becomes an individual card — 2-col grid: [circle] [title] / [text spans full width] */
    .be-discount-steps__row {
        background: var(--White--Background-Background, #F7F7F7);
        border-radius: 12px;
        column-gap: 12px;
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        min-height: unset;
        padding: 20px 16px;
        position: relative;
        row-gap: 10px;
    }

    /* Remove the horizontal divider between rows */
    .be-discount-steps__row + .be-discount-steps__row::before {
        display: none;
    }

    .be-discount-steps__marker {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    /* Marker circle: solid orange fill */
    .be-discount-steps__marker span {
        background: var(--BancoEstado-Orange-00, #FF8200);
        color: #ffffff;
        font-size: 20px;
        height: 40px;
        width: 40px;
    }

    /* Title: same row as circle, left-aligned */
    .be-discount-steps__item-title {
        align-self: center;
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .be-discount-steps__item-title p {
        color: var(--Brand-Colors-Blue-00, #1B365D);
        font-family: 'Encode Sans', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        letter-spacing: -0.4px;
        line-height: normal;
        text-align: left;
    }

    /* Body text: full width below, left-aligned */
    .be-discount-steps__item-text {
        grid-column: 1 / 3;
        grid-row: 2;
        text-align: left;
    }

    .be-discount-steps__item-text p {
        color: var(--Complementary-Colors-Black-40, #828282);
        font-family: 'Lato', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }

    .be-discount-steps__item-visual {
        justify-content: flex-start;
        margin-top: 0;
    }
}