/* ==========================================================================
   HOME — SOLUTIONS
   ========================================================================== */

.fhs-solutions{
    padding:20px 0 62px;
    background:var(--body-bg,#f5f7fa);
    color:var(--ui-ink);
}

.fhs-solutions .section-heading{
    margin-bottom:20px;
}

.fhs-solutions .section-title{
    margin:0;
    font-size:30px;
    font-weight:400;
    line-height:1.15;
}

.fhs-solutions .section-lead{
    margin-top:8px;
    color:#7c7f85;
    font-size:18px;
}

.fhs-layout{
    display:grid;
    grid-template-columns:420px minmax(0,1fr);
    gap:34px;
    min-height:clamp(540px,36vw,640px);
    align-items:stretch;
}

.fhs-nav{
    display:flex;
    min-width:0;
    flex-direction:column;
    justify-content:center;
    gap:8px;
}

.fhs-tab{
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    min-height:92px;
    padding:8px 18px 8px 8px;
    align-items:center;
    border:0;
    border-radius:52px;
    background:transparent;
    color:#1f2e39;
    text-align:left;
    cursor:pointer;
    transform:translateX(0);
    transition:
        transform .28s cubic-bezier(.2,.7,.2,1),
        background .28s ease,
        box-shadow .28s ease,
        color .28s ease;
}

.fhs-tab:hover{
    transform:translateX(10px);
    background:rgba(255,255,255,.82);
    box-shadow:0 10px 26px rgba(29,67,94,.07);
}

.fhs-tab.is-active{
    background:#fff;
    box-shadow:0 14px 34px rgba(29,67,94,.10);
}

.fhs-tab.is-active:hover{
    transform:translateX(6px);
    box-shadow:0 17px 38px rgba(29,67,94,.14);
}

.fhs-icon{
    display:grid;
    width:86px;
    height:86px;
    place-items:center;
    border:1px solid #d4e1e9;
    border-radius:50%;
    background:#fff;
    transform:scale(1);
    transition:
        transform .3s cubic-bezier(.2,.7,.2,1),
        border-color .3s ease,
        box-shadow .3s ease;
}

.fhs-tab:hover .fhs-icon{
    transform:scale(1.07) rotate(-2deg);
    border-color:rgba(5,100,161,.28);
    box-shadow:0 8px 20px rgba(29,67,94,.08);
}

.fhs-tab.is-active .fhs-icon{
    border-color:rgba(5,100,161,.24);
}

.fhs-icon img{
    display:block;
    width:70px;
    height:70px;
    object-fit:contain;
}

.fhs-copy{
    display:block;
    min-width:0;
}

.fhs-copy strong{
    display:block;
    margin-bottom:4px;
    color:#22313c;
    font-size:18px;
    font-weight:400;
    line-height:1.25;
    transition:color .25s ease,transform .25s ease;
}

.fhs-copy small{
    display:block;
    color:#7c7f85;
    font-size:14px;
    line-height:1.35;
    transition:color .25s ease;
}

.fhs-tab:hover .fhs-copy strong,
.fhs-tab.is-active .fhs-copy strong{
    color:var(--blue);
}

.fhs-tab:hover .fhs-copy small{
    color:#5f6870;
}

.fhs-panels{
    position:relative;
    min-width:0;
    min-height:clamp(540px,36vw,640px);
    overflow:hidden;
}

.fhs-panel{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    opacity:0;
    visibility:hidden;
    transform:scale(.985);
    transition:
        opacity .38s ease,
        visibility .38s ease,
        transform .5s cubic-bezier(.2,.7,.2,1);
}

.fhs-panel.is-active{
    opacity:1;
    visibility:visible;
    transform:none;
}

.fhs-image{
    position:absolute;
    inset:0;
    display:flex;
    padding:10px 0 38px;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.fhs-image img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:transform .6s cubic-bezier(.2,.7,.2,1);
}

.fhs-panel.is-active .fhs-image img{
    transform:scale(1.01);
}

.fhs-overlay{
    display:none;
}

@media(max-width:1180px){
    .fhs-layout{
        grid-template-columns:340px minmax(0,1fr);
    }

    .fhs-tab{
        grid-template-columns:82px minmax(0,1fr);
        min-height:82px;
    }

    .fhs-icon{
        width:72px;
        height:72px;
    }

    .fhs-icon img{
        width:58px;
        height:58px;
    }
}

@media(max-width:900px){
    .fhs-layout{
        grid-template-columns:1fr;
        min-height:0;
    }

    .fhs-nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .fhs-panels{
        min-height:460px;
    }

   .fhs-image{
        padding:12px 0 26px;
    }

    .fhs-tab{
        border-radius:40px;
    }

    .fhs-tab:hover,
    .fhs-tab.is-active:hover{
        transform:translateY(-3px);
    }
}

@media(max-width:620px){
    .fhs-solutions{
        padding:30px 0 42px;
    }

    .fhs-nav{
        grid-template-columns:1fr;
    }

    .fhs-panels{
        min-height:340px;
    }

   .fhs-image{
        padding:8px 0 20px;
    }
}
