/* FALIT homepage hero: scoped to the interactive presentation. */
.falit-home-pro .fhp-hero--interactive {
    min-height: 720px;
    isolation: isolate;
    background: #092448;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-media {
    position: absolute;
    inset: -15px;
    z-index: 0;
    background-color: #092448;
    background-size: cover;
    background-position: center;
    transform: translate3d(var(--fhp-bg-x, 0px), var(--fhp-bg-y, 0px), 0) scale(1.035);
    transition: transform .55s ease-out;
    will-change: auto;
}

.falit-home-pro .fhp-hero--interactive::before {
    z-index: 1;
    background: rgba(5, 24, 50, .75);
    pointer-events: none;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-ornament {
    position: absolute;
    z-index: 1;
    right: -125px;
    top: 10%;
    width: 390px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;
    pointer-events: none;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-ornament::after {
    content: "";
    position: absolute;
    inset: 50px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-inner {
    width: min(1320px, calc(100% - 112px));
    padding: 100px 0 96px;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(375px, .84fr);
    gap: clamp(40px, 5vw, 84px);
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-copy {
    max-width: 755px;
}

.falit-home-pro .fhp-hero--interactive h1 {
    max-width: 760px;
    font-size: clamp(49px, 5.25vw, 76px);
    line-height: 1.01;
    letter-spacing: -2.5px;
    text-wrap: balance;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-copy > p {
    max-width: 650px;
    margin-top: 24px;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.76;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-actions {
    margin-top: 29px;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-actions a {
    gap: 10px;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-actions a:hover {
    transform: translateY(-2px);
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-points {
    max-width: 670px;
    margin-top: 34px;
    gap: 14px 22px;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-point {
    font-size: 12px;
}

/* A compact, usable product explorer replaces the static product list. */
.falit-home-pro .fhp-hero--interactive .fhp-explorer {
    position: relative;
    width: 100%;
    max-width: 465px;
    justify-self: end;
    padding: 27px;
    border-top: 5px solid var(--falit-blue);
    border-radius: 9px;
    color: var(--falit-navy);
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 13, 36, .20);
    transform: translate3d(var(--fhp-panel-x, 0px), var(--fhp-panel-y, 0px), 0);
    transition: transform .45s ease-out, box-shadow .25s ease-out;
}

.falit-home-pro .fhp-explorer__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 19px;
}

.falit-home-pro .fhp-explorer__heading small {
    display: block;
    margin-bottom: 7px;
    color: var(--falit-navy);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.falit-home-pro .fhp-explorer__heading h2 {
    max-width: 345px;
    margin: 0;
    color: var(--falit-navy);
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.2;
    letter-spacing: -.6px;
}

.falit-home-pro .fhp-explorer__symbol {
    display: grid;
    flex: 0 0 37px;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid var(--falit-border);
    border-radius: 50%;
    color: var(--falit-navy);
    font-size: 20px;
}

.falit-home-pro .fhp-explorer__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.falit-home-pro .fhp-explorer__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-width: 0;
    min-height: 47px;
    padding: 10px 11px;
    border: 1px solid var(--falit-border);
    border-radius: 5px;
    background: #f5f8fc;
    color: var(--falit-navy);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.falit-home-pro .fhp-explorer__tab span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.falit-home-pro .fhp-explorer__tab-arrow {
    flex: 0 0 auto;
    font-size: 15px;
    opacity: .65;
}

.falit-home-pro .fhp-explorer__tab:hover {
    background: #e9f1fc;
    border-color: #9dbce7;
}

.falit-home-pro .fhp-explorer__tab[aria-selected="true"] {
    background: var(--falit-navy);
    border-color: var(--falit-navy);
    color: #fff;
}

.falit-home-pro .fhp-explorer__tab:focus-visible,
.falit-home-pro .fhp-explorer__panel a:focus-visible,
.falit-home-pro .fhp-hero-scroll:focus-visible {
    outline: 3px solid var(--falit-teal);
    outline-offset: 3px;
}

.falit-home-pro .fhp-explorer__panels {
    margin-top: 11px;
    min-height: 190px;
    padding: 19px 20px;
    background: #edf4fc;
    border-left: 3px solid var(--falit-blue);
    border-radius: 0 5px 5px 0;
}

.falit-home-pro .fhp-explorer__panel[hidden] {
    display: none !important;
}

.falit-home-pro .fhp-explorer__panel small {
    display: block;
    margin-bottom: 4px;
    color: var(--falit-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.falit-home-pro .fhp-explorer__panel h3 {
    margin: 0 0 5px;
    color: var(--falit-navy);
    font-size: 19px;
    line-height: 1.3;
}

.falit-home-pro .fhp-explorer__panel p {
    margin: 0;
    color: var(--falit-text);
    font-size: 12px;
    line-height: 1.6;
}

.falit-home-pro .fhp-explorer__panel a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    color: var(--falit-blue);
    font-size: 12px;
    font-weight: 850;
}

.falit-home-pro .fhp-explorer__panel a:hover {
    color: var(--falit-navy);
}

.falit-home-pro .fhp-explorer__note,
.falit-home-pro .fhp-explorer__empty {
    margin: 13px 0 0;
    color: var(--falit-muted);
    font-size: 11px;
    line-height: 1.6;
}

.falit-home-pro .fhp-hero--interactive .fhp-hero-scroll {
    position: absolute;
    z-index: 2;
    left: max(56px, calc((100% - 1320px) / 2));
    bottom: 21px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .5px;
}

.falit-home-pro .fhp-hero-scroll span {
    font-size: 18px;
    transition: transform .2s ease;
}

.falit-home-pro .fhp-hero-scroll:hover span {
    transform: translateY(4px);
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .falit-home-pro .fhp-hero--interactive.is-motion-enabled .fhp-hero-media,
    .falit-home-pro .fhp-hero--interactive.is-motion-enabled .fhp-explorer {
        will-change: transform;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-hero-copy {
        animation: fhp-hero-entrance .65s both;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-explorer {
        animation: fhp-explorer-entrance .7s .12s both;
    }
}

@keyframes fhp-hero-entrance {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes fhp-explorer-entrance {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}

@media (max-width: 1100px) {
    .falit-home-pro .fhp-hero--interactive .fhp-hero-inner {
        width: min(840px, calc(100% - 64px));
        padding: 82px 0 76px;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-explorer {
        max-width: 590px;
        justify-self: start;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-hero-scroll { left: 32px; }
}

@media (max-width: 760px) {
    .falit-home-pro .fhp-hero--interactive .fhp-hero-inner {
        width: calc(100% - 38px);
        padding: 64px 0 70px;
    }

    .falit-home-pro .fhp-hero--interactive h1 {
        font-size: clamp(39px, 10vw, 51px);
        letter-spacing: -1.6px;
    }

    .falit-home-pro .fhp-hero--interactive .fhp-hero-points { gap: 13px; }

    .falit-home-pro .fhp-hero--interactive .fhp-explorer {
        max-width: none;
        padding: 20px;
    }

    .falit-home-pro .fhp-explorer__panels { min-height: 0; }
    .falit-home-pro .fhp-hero--interactive .fhp-hero-scroll { left: 19px; }
    .falit-home-pro .fhp-hero--interactive .fhp-hero-ornament { display: none; }
}

@media (max-width: 380px) {
    .falit-home-pro .fhp-explorer__tabs { grid-template-columns: 1fr; }
    .falit-home-pro .fhp-hero--interactive .fhp-hero-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .falit-home-pro .fhp-hero--interactive .fhp-hero-media,
    .falit-home-pro .fhp-hero--interactive .fhp-explorer,
    .falit-home-pro .fhp-hero--interactive .fhp-hero-copy,
    .falit-home-pro .fhp-hero--interactive .fhp-hero-actions a,
    .falit-home-pro .fhp-hero-scroll span {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
