/* [our_solutions_cards] — sticky scrub cards (no GSAP pin — avoids fighting homepage hero) */

.df-our-solutions-cards {
    /* lead = settle centered/closed, then open distance for card scrub */
    --df-solutions-cards-lead: 30vh;
    --df-solutions-cards-open: 140vh;
    --df-solutions-cards-pin: calc(var(--df-solutions-cards-lead) + var(--df-solutions-cards-open));
    position: relative;
    z-index: 2;
    height: calc(100vh + var(--df-solutions-cards-pin));
    height: calc(100dvh + var(--df-solutions-cards-pin));
    color: #1e1e1e;
    background: #fff;
    isolation: isolate;
    overflow: visible
}

/* Sticky breaks if ancestors clip — keep Elementor wrappers open */
.elementor-widget:has(.df-our-solutions-cards),
.elementor-widget-shortcode:has(.df-our-solutions-cards),
.elementor-element:has(.df-our-solutions-cards),
.elementor-container:has(.df-our-solutions-cards),
.elementor-section:has(.df-our-solutions-cards) {
    overflow: visible !important
}

.df-our-solutions-cards__sticky {
    position: sticky;
    top: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    overflow: hidden
}

.df-our-solutions-cards__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    width: 100%
}

.df-our-solutions-cards__heading {
    margin: 0;
    padding: 0 16px;
    max-width: 100%;
    font-family: var(--df-font-heading, Poppins, sans-serif);
    font-size: 60px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #4d4d4d
}

@media (min-width: 701px) {
    .df-our-solutions-cards__heading {
        align-self: stretch;
        padding-left: 230px;
        padding-right: 24px;
        text-align: left
    }
}

.df-our-solutions-cards__stage-wrap {
    position: relative
}

.df-our-solutions-cards__stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 2005px;
    height: 1229px;
    transform-origin: 0 0
}

.df-our-solutions-cards__card {
    position: absolute;
    overflow: hidden;
    border-radius: 16px;
    background: #fafafa;
    will-change: transform
}

.df-our-solutions-cards__card--marketing {
    top: 171.38px;
    left: 0;
    z-index: 3;
    width: 750.766px;
    height: 885.493px;
    box-shadow:
        4px 1px 10px rgba(18, 18, 18, .045),
        14px 4px 28px rgba(18, 18, 18, .055)
}

.df-our-solutions-cards__card--mascot {
    top: 192.16px;
    left: 0;
    z-index: 2;
    width: 715.528px;
    height: 843.931px;
    background: #ebebeb;
    box-shadow:
        3px 0 5px rgba(18, 18, 18, .07),
        12px 2px 22px rgba(18, 18, 18, .1),
        24px 8px 42px rgba(18, 18, 18, .035)
}

.df-our-solutions-cards__card--virtual {
    top: 192.16px;
    left: 0;
    z-index: 1;
    width: 715.528px;
    height: 843.931px;
    background: #e6e6e6
}

.df-our-solutions-cards__copy {
    position: absolute;
    height: 233px
}

.df-our-solutions-cards__title {
    margin: 0 0 18px;
    font-family: var(--df-font-heading, Poppins, sans-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.6578px
}

.df-our-solutions-cards__card--marketing .df-our-solutions-cards__title {
    max-width: 380px;
    font-size: 32px;
    font-weight: 600
}

.df-our-solutions-cards__text {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    color: #888
}

.df-our-solutions-cards__card--marketing .df-our-solutions-cards__copy {
    top: 603.99px;
    left: 90px;
    width: calc(100% - 180px)
}

.df-our-solutions-cards__card--mascot .df-our-solutions-cards__copy,
.df-our-solutions-cards__card--virtual .df-our-solutions-cards__copy {
    top: 583.21px;
    left: 290.23px;
    width: 365.687px
}

.df-our-solutions-cards__photo {
    position: absolute;
    display: block;
    object-fit: cover;
    border-radius: 0
}

.df-our-solutions-cards__card--marketing .df-our-solutions-cards__photo,
.df-our-solutions-cards__card--mascot .df-our-solutions-cards__photo,
.df-our-solutions-cards__card--virtual .df-our-solutions-cards__photo {
    top: 12px;
    right: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: 533px;
    border-radius: 8px
}

.df-our-solutions-cards__card--marketing .df-our-solutions-cards__photo {
    object-position: 50% 50%
}

.df-our-solutions-cards__card--mascot .df-our-solutions-cards__photo {
    object-position: 0% 45%
}

.df-our-solutions-cards__card--virtual .df-our-solutions-cards__photo {
    object-position: 50% 62%
}

.df-our-solutions-cards__photo-frame {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    height: 533px;
    overflow: hidden;
    border-radius: 8px
}

.df-our-solutions-cards__card--mascot .df-our-solutions-cards__photo-frame .df-our-solutions-cards__photo,
.df-our-solutions-cards__card--virtual .df-our-solutions-cards__photo-frame .df-our-solutions-cards__photo {
    top: 0;
    right: auto;
    left: 90px;
    width: 100%;
    height: 100%;
    border-radius: 0
}

.df-our-solutions-cards__cta {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0
}

.df-our-solutions-cards__btn {
    --df-cta-visit-more-text: #2a2a30;
    --df-cta-visit-more-accent: var(--df-color-accent, #a107c0);
    font-size: 18px
}

.df-our-solutions-cards__btn .df-cta-visit-more__label {
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 700px) {
    .df-our-solutions-cards {
        --df-solutions-cards-lead: 35svh;
        --df-solutions-cards-open: 160svh;
        --df-solutions-cards-pin: calc(var(--df-solutions-cards-lead) + var(--df-solutions-cards-open));
        height: calc(100svh + var(--df-solutions-cards-pin));
        padding: 0
    }

    .df-our-solutions-cards__sticky {
        height: 100svh
    }

    .df-our-solutions-cards__heading {
        font-size: 32px;
        font-weight: 600
    }

    .df-our-solutions-cards__stage-wrap {
        width: 402px;
        max-width: 100%;
        height: 720px
    }

    .df-our-solutions-cards__stage {
        display: block;
        width: 100%;
        height: 720px;
        transform-origin: 0 0
    }

    .df-our-solutions-cards__card {
        top: 0;
        left: 24px;
        width: 354px;
        height: 630px;
        min-height: 0;
        will-change: auto;
        box-shadow:
            0 5px 24px rgba(35, 35, 35, .035),
            0 1px 5px rgba(35, 35, 35, .02)
    }

    .df-our-solutions-cards__card--mascot {
        top: 0;
        left: 24px;
        width: 354px;
        height: 618px
    }

    .df-our-solutions-cards__card--virtual {
        top: 0;
        left: 24px;
        width: 354px;
        height: 606px
    }

    .df-our-solutions-cards__card--marketing .df-our-solutions-cards__photo,
    .df-our-solutions-cards__photo-frame {
        top: 12px;
        right: 12px;
        left: 12px;
        width: calc(100% - 24px);
        height: 280px;
        margin: 0;
        border-radius: 8px
    }

    .df-our-solutions-cards__card--mascot .df-our-solutions-cards__photo-frame .df-our-solutions-cards__photo,
    .df-our-solutions-cards__card--virtual .df-our-solutions-cards__photo-frame .df-our-solutions-cards__photo {
        top: 0;
        right: auto;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0
    }

    .df-our-solutions-cards__card--mascot .df-our-solutions-cards__photo-frame .df-our-solutions-cards__photo {
        top: 20px
    }

    .df-our-solutions-cards__copy,
    .df-our-solutions-cards__card--marketing .df-our-solutions-cards__copy,
    .df-our-solutions-cards__card--mascot .df-our-solutions-cards__copy,
    .df-our-solutions-cards__card--virtual .df-our-solutions-cards__copy {
        top: 326px;
        left: 24px;
        display: block;
        width: calc(100% - 48px);
        height: auto;
        min-height: 0;
        padding: 0
    }

    .df-our-solutions-cards__card--mascot .df-our-solutions-cards__copy {
        top: 320px
    }

    .df-our-solutions-cards__card--virtual .df-our-solutions-cards__copy {
        top: 314px
    }

    .df-our-solutions-cards__title {
        margin-bottom: 16px;
        font-size: 20px;
        letter-spacing: -.4px
    }

    .df-our-solutions-cards__card--marketing .df-our-solutions-cards__title {
        max-width: none;
        font-size: 24px;
        font-weight: 600
    }

    .df-our-solutions-cards__text {
        font-size: 14px;
        line-height: 22px
    }

    .df-our-solutions-cards__cta {
        position: relative;
        left: auto;
        bottom: auto;
        width: max-content;
        max-width: 100%;
        margin: 24px 0 0
    }
}

@media (prefers-reduced-motion: reduce) {
    .df-our-solutions-cards__card {
        will-change: auto;
        transition: none
    }
}
