.sfi-demo {
    background: #fff;
    text-align: center;
    padding: 90px 24px;
    font-family: 'Albert Sans', Sans-serif;
}

.sfi-demo h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0e1e39;
    margin: 0 0 10px
}

.sfi-demo p {
    color: #7b8794;
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto
}


/* =========================================================
   SFI - NEW RESPONSIVE STICKY SYSTEM
   ========================================================= */

.sfi-stage {
    --sfi-navy: #0B1932;
    --sfi-teal: #27A593;
    --sfi-teal-dark: #2E595A;
    --sfi-yellow: #F8BC2E;
    --sfi-muted: #0e1e399e;
    --sfi-font: 'Albert Sans', sans-serif;
    position: relative;
    width: 100%;
    background: #fff;
}


/* =========================================================
   STICKY VIEWPORT
   ========================================================= */

.sfi-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
}


/* =========================================================
   FIT WRAPPER

   JS will scale this only when required.
   ========================================================= */

.sfi-fit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transform-origin: center center;
    will-change: transform;
}


/* =========================================================
   MAIN SECTION
   ========================================================= */

.sfi-section {
    width: min(1860px, calc(100% - 40px));
    background: var(--sfi-navy);
    border-radius: 30px;
    padding: 70px 100px 80px;
    box-sizing: border-box;
    font-family: var(--sfi-font);
    position: relative;
}


/* =========================================================
   TITLE
   ========================================================= */

.sfi-title {
    text-align: center;
    color: #fff;
    font-size: clamp(32px, 3vw, 64px) !important;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 40px;
}

.sfi-title span {
    color: var(--sfi-yellow);
}


/* =========================================================
   TABS
   ========================================================= */

.sfi-tabbar {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.sfi-tabbar-inner {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 28px 28px;
    display: flex;
    gap: 6px;
    margin-bottom: -22px;
}

.sfi-tab {
    border: 1px solid transparent !important;
    background: transparent;
    font-family: inherit;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: var(--sfi-navy) !important;
    padding: 11px 24px !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition:
        background .25s,
        color .25s;
}

.sfi-tab:hover {
    background: var(--sfi-teal) !important;
    color: #fff !important;
    border: 1px solid var(--sfi-teal) !important;
}

.sfi-tab.is-active {
    background: var(--sfi-teal);
    color: #fff !important;
    border: 1px solid var(--sfi-teal) !important;
}

.sfi-tab:focus {
    background: var(--sfi-teal) !important;
    color: #fff !important;
    border: 1px solid var(--sfi-teal) !important;
}

.sfi-tab:focus-visible {
    outline: 3px solid var(--sfi-yellow);
    outline-offset: 2px
}

.sfi-tab2:hover {
    background: #F8BC2E !important;
    color: var(--sfi-navy) !important;
    border: 1px solid #F8BC2E !important;
}

.sfi-tab2:focus {
    background: #F8BC2E !important;
    color: var(--sfi-navy) !important;
    border: 1px solid #F8BC2E !important;
}

.sfi-card {
    background: #fff;
    border-radius: 22px;
    padding: 55px 116px 65px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-width: 1394px;
    margin: 0 auto;
}


.sfi-panel {
    display: none;
}

.sfi-panel.is-active {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 69px;
}


.sfi-item {
    border-top: 1px solid #0B193233;
    padding: 20px 0;
}

.sfi-item:first-child {
    border-top: 0;
}

.sfi-item:last-child {
    border-bottom: 1px solid #0B193233;
}


.sfi-head {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    text-align: left !important;
    font-family: var(--sfi-font);
}


.sfi-heading {
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.25;
    font-weight: 600;
    color: var(--sfi-muted);
    transition: color .3s;
}

.sfi-item.is-open .sfi-heading {
    color: var(--sfi-navy);
}

.sfi-arrow {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: var(--sfi-teal-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s, transform .3s;
    text-align: center;
    line-height: 30px;
}

.sfi-item.is-open .sfi-arrow {
    opacity: 1;
    transform: scale(1);
}


.sfi-body {
    display: grid;
    grid-template-rows: 0fr;
    transition:
        grid-template-rows .45s cubic-bezier(.4, 0, .2, 1);
}

.sfi-item.is-open .sfi-body {
    grid-template-rows: 1fr;
}

.sfi-body-inner {
    overflow: hidden;

    min-height: 0;
}

.sfi-desc {
    font-size: 15px;

    line-height: 1.5;

    color: var(--sfi-navy);

    max-width: 330px;

    margin: 0;

    padding-top: 6px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.sfi-actions {
    display: flex;

    gap: 10px;

    padding: 14px 0 5px;

    flex-wrap: wrap;
}

.sfi-btn {
    font-family: inherit;

    font-size: 15px;

    font-weight: 500;

    padding: 11px 15px;

    border-radius: 6px;

    text-decoration: none;

    display: inline-block;
}

.sfi-btn--solid {
    background: var(--sfi-teal-dark);

    color: #fff;

    border: 1px solid var(--sfi-teal-dark);
}

.sfi-btn--solid:hover {
    color: #0B1932 !important;
    background: #fff !important;
    border: 1px solid #0b1932 !important;
}

.sfi-btn--ghost {
    background: #fff;

    color: var(--sfi-navy);

    border: 1px solid var(--sfi-navy);
}

.sfi-btn--ghost:hover {
    background: var(--sfi-teal-dark);
    color: #fff;
    border: 1px solid var(--sfi-teal-dark);
}


/* =========================================================
   VISUALS
   ========================================================= */

.sfi-visuals {
    position: relative;

    min-height: 400px;
}

.sfi-group {
    position: absolute;

    inset: 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: 1fr .75fr;

    gap: 14px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(18px) scale(.985);

    transition:
        opacity .5s ease,
        transform .5s ease,
        visibility .5s;
}

.sfi-group.is-active {
    opacity: 1;

    visibility: visible;

    transform: none;
}

.sfi-group .img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.sfi-group .img-wrap:first-child {
    grid-column: 2 span;
}


.sfi-group .img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* =========================================================
   DESKTOP HEIGHT ADJUSTMENT
   ========================================================= */

@media (min-width: 901px) and (max-height: 850px) {

    .sfi-section {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .sfi-title {
        margin-bottom: 28px;
    }

    .sfi-panel.is-active {
        grid-template-columns: 0.75fr 1fr;
        gap: 40px;
    }

    .sfi-card {
        padding: 38px 40px 45px;
    }

    .sfi-item {
        padding: 15px 0;
    }

    .sfi-visuals {
        min-height: 330px;
    }
}


@media (min-width: 901px) and (max-height: 700px) {

    .sfi-section {
        padding-top: 30px;
        padding-bottom: 35px;
    }

    .sfi-title {
        font-size: 38px !important;

        margin-bottom: 20px;
    }

    .sfi-tabbar-inner {
        padding-top: 12px;
        padding-bottom: 20px;
    }

    .sfi-card {
        padding: 25px 40px 30px;
    }

    .sfi-item {
        padding: 10px 0;
    }

    .sfi-heading {
        font-size: 20px;
    }

    .sfi-desc {
        font-size: 13px;
    }

    .sfi-visuals {
        min-height: 250px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .sfi-sticky {
        position: static;

        height: auto;
    }

    .sfi-fit {
        transform: none !important;
    }

    .sfi-section {
        width: calc(100% - 28px);

        padding: 35px 18px;

        border-radius: 24px;
    }

    .sfi-title {
        font-size: 32px !important;

        margin-bottom: 25px;
    }

    .sfi-tabbar-inner {
        padding: 10px 10px 25px;
    }

    .sfi-tab {
        font-size: 15px !important;

        padding: 10px 18px !important;
    }

    .sfi-card {
        padding: 30px 18px;
    }

    .sfi-panel.is-active {
        grid-template-columns: 1fr;
    }

    .sfi-visuals {
        min-height: 320px;
    }
}