/* ── SECTION ── */
.benefits {
    padding: 40px 0 40px;
    overflow: hidden;
    background-color: var(--bg);
    border-bottom: 1px solid var(--grey-1);
}

/* ── HEADER ── */
.benefits__label {
    display: block;
    margin-bottom: 8px;
}

.benefits__title {
    margin-top: 0;
    margin-bottom: 12px;
}

/* ── LAYOUT: stacked mobile ── */
.benefits__body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── IMAGE (mobile: above list) ── */
.benefits__image-wrap {
    width: calc(100% + 40px);
    margin: 0 -16px 12px;
    overflow: hidden;
}

.benefits__image-wrap{
    display: none;
}

.benefits__image-wrap.benefits__image-wrap-mobile{
    display: flex;
}

.benefits__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── LIST ── */
.benefits__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── ITEM ── */
.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.benefit-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item__icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item__icon img,
.benefit-item__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-item__text {}

.benefit-item__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.benefit-item__desc {
    color: var(--black);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
}

/* ── ICON STYLES ── */
.icon-shield  { color: var(--primary); }
.icon-cubes   { color: var(--primary); }
.icon-price   { color: var(--primary); }
.icon-clock   { color: var(--primary)}

/* ─────────────────────────────────
   TABLET 768px
───────────────────────────────── */
@media (min-width: 768px) {
    .benefits {
        padding: 56px 32px 72px;
    }

    /* Image above list on tablet, full bleed right */
    .benefits__image-wrap {
        width: calc(100% + 64px);
        margin: 0 -32px 40px;
    }

    .benefit-item__name  { font-size: 16px; }
    .benefit-item__desc  { font-size: 14px; }

    .benefits__body {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .benefits__image-wrap.benefits__image-wrap-mobile{
        display: none;
    }

    .benefits__image-wrap{
        display: block;
    }

    .benefits__list-col{
        width: 400px;
        min-width: 400px;
    }
}

/* ─────────────────────────────────
   DESKTOP 1024px
   Two-column: list left, image right (bleeds past container)
───────────────────────────────── */
@media (min-width: 1024px) {
    .benefits {
        padding: 48px 0 150px;
        /* no side padding — controlled by inner */
    }

    .benefits__inner {
        position: relative;
    }

    .benefits__label,
    .benefits__title {
        /* already inside inner */
    }

    .benefits__title { margin-bottom: 48px; }

    /* LEFT: list, takes up ~45% of container */
    .benefits__list-col {
        flex: 0 0 450px;
        min-width: 0;
    }

    .benefits__list {
        gap: 32px;
    }

    .benefit-item__name  { font-size: 20px; }
    .benefit-item__desc  { font-size: 20px }

    /* RIGHT: image bleeds beyond container right edge */
    .benefits__image-wrap {
        flex: 1;
        width: calc(66% + max(0px, (100vw - var(--content)) / 2));
        /* Remove mobile overrides */
        margin: 0;
        /* Push image to bleed right: extend past padding + half viewport extra */
        margin-right: calc(-48px - ((100vw - var(--content)) / 2));
        align-self: stretch;
        display: flex;
        align-items: center;
        overflow: visible;
        padding-left: 48px;
        position: relative;
    }

    .benefits__image-wrap img {
        width: 100%;
        max-width: 1110px;
        height: 100%;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.18));
        margin-top: 0;
        position: absolute;
        left: 0;
        right: 0;
    }

    .benefits__image-wrap.benefits__image-wrap-mobile {
        display: none;
    }
}
