.nxemp-sticky,
.nxemp-sticky * {
    box-sizing: border-box;
}

.nxemp-sticky {
    --nxsc-bar-bg: #eef3fb;
    --nxsc-text: #172344;
    --nxsc-muted: #67738c;
    --nxsc-button: #0673f9;
    --nxsc-button-text: #fff;
    --nxsc-popup: #fff;
    --nxsc-accent: #0673f9;
    --nxsc-border: #d9e2ef;
    --nxsc-button-radius: 10px;
    --nxsc-popup-radius: 18px;
    --nxsc-max: 1350px;
    --nxsc-z: 99990;
    color: var(--nxsc-text);
    font-family: inherit;
}

.nxemp-sticky__bar {
    position: fixed;
    z-index: var(--nxsc-z);
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 72px;
    background: var(--nxsc-bar-bg);
    border-top: 1px solid color-mix(in srgb, var(--nxsc-border) 86%, transparent);
}

.nxemp-sticky__inner {
    width: min(calc(100% - 40px), var(--nxsc-max));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nxemp-sticky__prompt {
    min-width: 0;
    color: var(--nxsc-muted);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    margin-right: auto;
}

.nxemp-sticky__phone,
.nxemp-sticky__cta,
.nxemp-sticky-modal__book {
    border: 0;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.nxemp-sticky__phone {
    min-height: 46px;
    padding: 0 18px;
    color: var(--nxsc-text);
    background: #fff;
    border: 1px solid var(--nxsc-border);
    border-radius: var(--nxsc-button-radius);
    font-size: 14px;
    font-weight: 700;
}

.nxemp-sticky__phone:hover,
.nxemp-sticky__phone:focus-visible {
    color: var(--nxsc-text);
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--nxsc-accent) 36%, var(--nxsc-border));
}

.nxemp-sticky__phone svg,
.nxemp-sticky__cta svg,
.nxemp-sticky-modal__book svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.nxemp-sticky__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nxemp-sticky__cta {
    min-height: 46px;
    padding: 0 21px;
    border-radius: var(--nxsc-button-radius);
    background: var(--nxsc-button);
    color: var(--nxsc-button-text);
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--nxsc-button) 20%, transparent);
}

.nxemp-sticky__cta:hover,
.nxemp-sticky__cta:focus-visible {
    color: var(--nxsc-button-text);
    transform: translateY(-1px);
    opacity: .94;
}

.nxemp-sticky__people {
    min-width: 230px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nxemp-sticky__avatars {
    height: 72px;
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
    padding-left: 6px;
}

.nxemp-sticky__avatar {
    position: relative;
    width: 78px;
    height: 118px;
    display: grid;
    place-items: end center;
    margin-left: -15px;
    pointer-events: none;
}

.nxemp-sticky__avatar:first-child {
    margin-left: 0;
}

.nxemp-sticky__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 6px 8px rgba(23, 35, 68, .08));
}

.nxemp-sticky__initials {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--nxsc-accent) 12%, white);
    border: 2px solid #fff;
    color: var(--nxsc-accent);
    font-weight: 800;
}

.nxemp-sticky__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.16;
}

.nxemp-sticky__identity strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--nxsc-text);
    font-size: 14px;
    font-weight: 800;
}

.nxemp-sticky__identity span {
    max-width: 190px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--nxsc-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.nxemp-sticky__spacer {
    height: 0;
}

.nxemp-sticky-modal {
    position: fixed;
    z-index: calc(var(--nxsc-z) + 10);
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.nxemp-sticky-modal[aria-hidden="false"],
.nxemp-sticky-modal.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.nxemp-sticky-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 48, .68);
    backdrop-filter: blur(6px);
}

.nxemp-sticky-modal__dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(820px, calc(100vh - 56px));
    display: grid;
    grid-template-columns: minmax(340px, 43%) minmax(0, 57%);
    overflow: hidden;
    background: var(--nxsc-popup);
    border-radius: var(--nxsc-popup-radius);
    box-shadow: 0 30px 90px rgba(8, 20, 48, .26);
    outline: none;
    transform: translateY(14px) scale(.985);
    transition: transform .25s ease;
}

.nxemp-sticky-modal[aria-hidden="false"] .nxemp-sticky-modal__dialog,
.nxemp-sticky-modal.is-open .nxemp-sticky-modal__dialog {
    transform: none;
}

.nxemp-sticky-modal__close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--nxsc-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.9);
    color: var(--nxsc-text);
    cursor: pointer;
}

.nxemp-sticky-modal__close svg {
    width: 19px;
    height: 19px;
}

.nxemp-sticky-modal__visual {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--nxsc-accent) 16%, transparent), transparent 36%),
        linear-gradient(150deg, color-mix(in srgb, var(--nxsc-accent) 8%, #f4f8ff), #e7eef8);
    border-right: 1px solid var(--nxsc-border);
}

.nxemp-sticky-modal__visual-copy {
    position: relative;
    z-index: 2;
    padding: 38px 34px 8px;
}

.nxemp-sticky-modal__visual-copy h3 {
    margin: 9px 0 0;
    color: var(--nxsc-text);
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.02;
    letter-spacing: -.03em;
}

.nxemp-sticky-modal__eyebrow {
    display: inline-block;
    color: var(--nxsc-accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.nxemp-sticky-modal__portraits {
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 20px 0;
}

.nxemp-sticky-modal__portrait {
    width: 58%;
    max-height: 470px;
    margin-left: -18%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.nxemp-sticky-modal__portrait:first-child {
    margin-left: 0;
}

.nxemp-sticky-modal__portraits[data-count="1"] .nxemp-sticky-modal__portrait {
    width: 88%;
    margin-left: 0;
}

.nxemp-sticky-modal__portraits[data-count="2"] .nxemp-sticky-modal__portrait {
    width: 67%;
    margin-left: -27%;
}

.nxemp-sticky-modal__portraits[data-count="2"] .nxemp-sticky-modal__portrait:first-child {
    margin-left: 0;
}

.nxemp-sticky-modal__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: 470px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 18px rgba(8, 20, 48, .12));
}

.nxemp-sticky-modal__portrait-fallback {
    width: 180px;
    height: 180px;
    display: grid;
    place-items: center;
    margin-bottom: 60px;
    border-radius: 50%;
    background: #fff;
    color: var(--nxsc-accent);
    font-size: 46px;
    font-weight: 850;
}

.nxemp-sticky-modal__content {
    min-width: 0;
    max-height: min(820px, calc(100vh - 56px));
    overflow: auto;
    padding: 50px 50px 42px;
    scrollbar-width: thin;
}

.nxemp-sticky-modal__head {
    padding-right: 46px;
    margin-bottom: 30px;
}

.nxemp-sticky-modal__head h2 {
    margin: 0;
    color: var(--nxsc-text);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: .98;
    letter-spacing: -.04em;
}

.nxemp-sticky-modal__head p {
    margin: 14px 0 0;
    max-width: 520px;
    color: var(--nxsc-muted);
    font-size: 15px;
    line-height: 1.6;
}

.nxemp-sticky-modal__employees {
    border-top: 1px solid var(--nxsc-border);
}

.nxemp-sticky-modal__employee {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--nxsc-border);
}

.nxemp-sticky-modal__number {
    padding-top: 4px;
    color: var(--nxsc-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.nxemp-sticky-modal__employee-main {
    min-width: 0;
}

.nxemp-sticky-modal__employee-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.nxemp-sticky-modal__employee-title h3 {
    margin: 0;
    color: var(--nxsc-text);
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.nxemp-sticky-modal__employee-title span {
    color: var(--nxsc-muted);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.nxemp-sticky-modal__bio {
    margin: 10px 0 0;
    color: var(--nxsc-muted);
    font-size: 13px;
    line-height: 1.55;
}

.nxemp-sticky-modal__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
}

.nxemp-sticky-modal__contact a {
    color: var(--nxsc-text);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.nxemp-sticky-modal__book {
    min-height: 43px;
    margin-top: 16px;
    padding: 0 17px;
    border-radius: var(--nxsc-button-radius);
    background: var(--nxsc-button);
    color: var(--nxsc-button-text);
    font-size: 13px;
    font-weight: 750;
}

.nxemp-sticky-modal__book:hover,
.nxemp-sticky-modal__book:focus-visible {
    color: var(--nxsc-button-text);
    opacity: .93;
    transform: translateY(-1px);
}

html.nxemp-sticky-modal-open,
html.nxemp-sticky-modal-open body {
    overflow: hidden !important;
}

@media (max-width: 1050px) {
    .nxemp-sticky__prompt {
        display: none;
    }

    .nxemp-sticky__phone {
        margin-right: auto;
    }

    .nxemp-sticky__right {
        margin-left: auto;
    }

    .nxemp-sticky-modal__dialog {
        grid-template-columns: minmax(280px, 38%) minmax(0, 62%);
    }

    .nxemp-sticky-modal__content {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 760px) {
    .nxemp-sticky__bar {
        min-height: 66px;
    }

    .nxemp-sticky__inner {
        width: calc(100% - 24px);
        min-height: 66px;
        gap: 10px;
    }

    .nxemp-sticky__phone {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .nxemp-sticky__phone span {
        display: none;
    }

    .nxemp-sticky__right {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }

    .nxemp-sticky__cta {
        min-height: 44px;
        padding: 0 15px;
        font-size: 13px;
    }

    .nxemp-sticky__people {
        min-width: 0;
        width: auto;
        height: 66px;
    }

    .nxemp-sticky__avatars {
        height: 66px;
    }

    .nxemp-sticky__avatar {
        width: 56px;
        height: 90px;
        margin-left: -11px;
    }

    .nxemp-sticky__identity {
        display: none;
    }

    .nxemp-sticky-modal {
        padding: 12px;
        place-items: end center;
    }

    .nxemp-sticky-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        border-radius: min(var(--nxsc-popup-radius), 16px);
    }

    .nxemp-sticky-modal__visual {
        min-height: 210px;
        height: 34vh;
        max-height: 300px;
        border-right: 0;
        border-bottom: 1px solid var(--nxsc-border);
    }

    .nxemp-sticky-modal__visual-copy {
        padding: 22px 22px 0;
    }

    .nxemp-sticky-modal__visual-copy h3 {
        display: none;
    }

    .nxemp-sticky-modal__portraits {
        padding-top: 0;
    }

    .nxemp-sticky-modal__portrait img {
        max-height: 230px;
    }

    .nxemp-sticky-modal__content {
        max-height: none;
        padding: 26px 22px 24px;
    }

    .nxemp-sticky-modal__head {
        padding-right: 42px;
        margin-bottom: 20px;
    }

    .nxemp-sticky-modal__head h2 {
        font-size: 31px;
    }

    .nxemp-sticky-modal__employee {
        padding: 20px 0;
    }

    .nxemp-sticky-modal__employee-title {
        display: block;
    }

    .nxemp-sticky-modal__employee-title span {
        display: block;
        margin-top: 5px;
        text-align: left;
    }

    .nxemp-sticky-modal__book {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .nxemp-sticky__cta svg {
        display: none;
    }

    .nxemp-sticky__people {
        max-width: 126px;
        overflow: visible;
    }

    .nxemp-sticky__avatar:nth-child(n+4) {
        display: none;
    }

    .nxemp-sticky-modal__close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nxemp-sticky *,
    .nxemp-sticky *::before,
    .nxemp-sticky *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
