.elementor-widget-novafit_workflow_section {
    overflow: hidden;
}

.nvf-workflow,
.nvf-workflow * {
    box-sizing: border-box;
}

.nvf-workflow {
    --nvf-workflow-gap: 24px;
    --nvf-workflow-desktop-cols: 4;
    --nvf-workflow-slides-visible: 4;
    background: #f5f2ee;
    color: #111;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.nvf-workflow__inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.nvf-workflow__header {
    margin: 0 auto 48px;
    text-align: center;
}

.nvf-workflow__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 23px;
    margin: 0 0 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: #af2648;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nvf-workflow__title {
    margin: 0;
    color: #111;
    font-family: inherit;
    font-size: clamp(32px, 3.3vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.nvf-workflow__intro {
    max-width: 610px;
    margin: 18px auto 0;
    color: #171717;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}

.nvf-workflow__intro p,
.nvf-workflow__statement p,
.nvf-workflow__card-text p {
    margin: 0;
}

.nvf-workflow__intro p + p,
.nvf-workflow__statement p + p,
.nvf-workflow__card-text p + p {
    margin-top: 0.8em;
}

.nvf-workflow__steps-wrap {
    width: 100%;
}

.nvf-workflow__steps {
    display: grid;
    grid-template-columns: repeat(var(--nvf-workflow-desktop-cols), minmax(0, 1fr));
    gap: var(--nvf-workflow-gap);
    align-items: stretch;
}

.nvf-workflow__card {
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 14px;
    isolation: isolate;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.nvf-workflow__card:hover,
.nvf-workflow__card:focus-visible {
    transform: translateY(-3px);
}

.nvf-workflow__image-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #d7d7d7;
}

.nvf-workflow__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, .1);
}

.nvf-workflow__image {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.nvf-workflow__card:hover .nvf-workflow__image,
.nvf-workflow__card:focus-visible .nvf-workflow__image {
    transform: scale(1.04);
}

.nvf-workflow__number {
    position: absolute;
    z-index: 2;
    top: 30px;
    left: 32px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(30px, 2.4vw, 42px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.nvf-workflow__card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 32px 32px 36px;
}

.nvf-workflow__step-label {
    margin: 0 0 12px;
    color: #af2648;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nvf-workflow__card-title {
    margin: 0 0 12px;
    color: #111;
    font-family: inherit;
    font-size: clamp(22px, 1.55vw, 30px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.nvf-workflow__card-text {
    margin: 0;
    color: #242424;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.nvf-workflow__bottom {
    margin: 56px auto 0;
    max-width: 650px;
    text-align: center;
}

.nvf-workflow__statement {
    color: #111;
    font-family: inherit;
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.nvf-workflow__note {
    margin: 22px 0 0;
    color: #111;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.nvf-workflow__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    margin: 22px auto 0;
    padding: 16px 34px;
    color: #fff;
    background: #af2648;
    border-radius: 999px;
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.nvf-workflow__button::after {
    content: "→";
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    transition: transform .25s ease;
}

.nvf-workflow__button:hover,
.nvf-workflow__button:focus-visible {
    color: #fff;
    background: #243f6b;
    transform: translateY(-1px);
}

.nvf-workflow__button:hover::after,
.nvf-workflow__button:focus-visible::after {
    transform: translateX(3px);
}

.nvf-workflow[data-reveal="yes"] [data-nvf-reveal-item],
.nvf-workflow[data-reveal="yes"] [data-nvf-reveal-card] {
    opacity: 0;
    transform: translateY(24px);
}

.nvf-workflow.is-visible [data-nvf-reveal-item],
.nvf-workflow.is-visible [data-nvf-reveal-card],
.elementor-editor-active .nvf-workflow [data-nvf-reveal-item],
.elementor-editor-active .nvf-workflow [data-nvf-reveal-card] {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .nvf-workflow__header {
        margin-bottom: 36px;
    }

    .nvf-workflow.is-tablet-slider .nvf-workflow__steps-wrap {
        overflow: visible;
        width: 100%;
    }

    .nvf-workflow.is-tablet-slider .nvf-workflow__steps {
        display: flex;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .nvf-workflow.is-tablet-slider .nvf-workflow__steps::-webkit-scrollbar {
        display: none;
    }

    .nvf-workflow.is-tablet-slider .nvf-workflow__card {
        flex: 0 0 calc((100% - (var(--nvf-workflow-gap) * (var(--nvf-workflow-slides-visible) - 1))) / var(--nvf-workflow-slides-visible));
        margin-right: var(--nvf-workflow-gap);
        scroll-snap-align: start;
    }

    .nvf-workflow.is-tablet-slider .nvf-workflow__card:last-child {
        margin-right: 0;
    }

    .nvf-workflow:not(.is-tablet-slider) .nvf-workflow__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .nvf-workflow {
        --nvf-workflow-slides-visible: 1.15;
    }

    .nvf-workflow__header {
        margin-bottom: 30px;
    }

    .nvf-workflow__label {
        min-height: 34px;
        padding: 9px 18px;
        font-size: 10px;
    }

    .nvf-workflow__title {
        font-size: clamp(31px, 10vw, 44px);
    }

    .nvf-workflow__intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .nvf-workflow__steps,
    .nvf-workflow.is-tablet-slider .nvf-workflow__steps {
        display: flex;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .nvf-workflow__steps::-webkit-scrollbar {
        display: none;
    }

    .nvf-workflow__card,
    .nvf-workflow.is-tablet-slider .nvf-workflow__card {
        flex: 0 0 calc((100% - (var(--nvf-workflow-gap) * (var(--nvf-workflow-slides-visible) - 1))) / var(--nvf-workflow-slides-visible));
        margin-right: var(--nvf-workflow-gap);
        scroll-snap-align: start;
    }

    .nvf-workflow__card:last-child,
    .nvf-workflow.is-tablet-slider .nvf-workflow__card:last-child {
        margin-right: 0;
    }

    .nvf-workflow__number {
        top: 24px;
        left: 24px;
    }

    .nvf-workflow__card-content {
        padding: 26px 24px 30px;
    }

    .nvf-workflow__card-title {
        font-size: 23px;
    }

    .nvf-workflow__card-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .nvf-workflow__bottom {
        margin-top: 42px;
    }

    .nvf-workflow__statement {
        font-size: clamp(23px, 7vw, 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nvf-workflow *,
    .nvf-workflow *::before,
    .nvf-workflow *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .nvf-workflow[data-reveal="yes"] [data-nvf-reveal-item],
    .nvf-workflow[data-reveal="yes"] [data-nvf-reveal-card] {
        opacity: 1 !important;
        transform: none !important;
    }
}
