.bt-hww {
    --bt-blue: #2174b7;
    --bt-navy: #1d1d1b;
    --bt-coral: #ac1f53;
    --bt-orange: #ebb15b;
    --bt-paper: #f5f8fc;
    --bt-ink: #1d1d1b;
    --bt-content-width: 1380px;
    --bt-side-padding: 52px;
    --bt-title-size: 54px;
    --bt-title-color: var(--bt-navy);
    --bt-header-align: center;
    position: relative;
    width: min(100%, var(--bt-content-width));
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    padding: var(--bt-top-padding, 72px) var(--bt-side-padding) var(--bt-bottom-padding, 62px);
    border-radius: var(--bt-radius, 30px);
    background:
        radial-gradient(circle at 12% 15%, rgba(33, 116, 183, .12), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(172, 31, 83, .12), transparent 28%),
        linear-gradient(145deg, #fff 0%, var(--bt-paper) 100%);
    color: var(--bt-ink);
    box-shadow: 0 28px 80px rgba(26, 58, 98, .09);
}

.bt-hww::before,
.bt-hww::after {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(33, 116, 183, .11);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.bt-hww::before {
    top: -166px;
    right: -78px;
}

.bt-hww::after {
    bottom: -205px;
    left: -54px;
    width: 330px;
    height: 330px;
    border-color: rgba(172, 31, 83, .12);
}

.bt-hww *,
.bt-hww *::before,
.bt-hww *::after {
    box-sizing: border-box;
}

.bt-hww__header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: var(--bt-header-align);
}

.bt-hww__eyebrow {
    margin: 0 0 10px;
    color: var(--bt-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bt-hww__title {
    margin: 0;
    color: var(--bt-title-color);
    font-family: "Roboto Condensed", sans-serif;
    font-size: clamp(34px, 4vw, var(--bt-title-size));
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.bt-hww__title span {
    color: var(--bt-blue);
}

.bt-hww__intro {
    max-width: 640px;
    margin: 18px auto 0;
    color: #53667c;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.65;
}

.bt-hww__stage {
    position: relative;
    z-index: 1;
    width: min(100%, 1380px);
    height: clamp(500px, 45vw, 610px);
    margin: 12px auto 0;
}

.bt-hww__path {
    position: absolute;
    inset: 68px 0 auto;
    width: 100%;
    height: calc(100% - 68px);
    overflow: visible;
    pointer-events: none;
}

.bt-hww__path path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bt-hww__path-shadow {
    stroke: rgba(29, 29, 27, .1);
    stroke-width: 14;
}

.bt-hww__path-blue {
    stroke: rgba(33, 116, 183, .72);
    stroke-width: 5;
}

.bt-hww__path-coral {
    stroke: rgba(172, 31, 83, .55);
    stroke-width: 3;
    stroke-dasharray: 2 14;
}

.bt-hww__journey {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bt-hww__item {
    position: absolute;
    top: var(--bt-y);
    left: var(--bt-x);
    z-index: 2;
    width: clamp(116px, 10vw, 152px);
    height: clamp(116px, 10vw, 152px);
    transform: translate(-50%, -50%);
}

.bt-hww__item.is-active {
    z-index: 4;
}

.bt-hww__node {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(33, 116, 183, .3);
    border-radius: 50%;
    outline: none;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .64) 52%, rgba(33, 116, 183, .14) 100%);
    color: var(--bt-navy);
    cursor: pointer;
    opacity: .54;
    box-shadow: 0 12px 34px rgba(29, 29, 27, .09);
    transform: scale(.94);
    transition: opacity .3s ease, transform .34s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, color .3s ease, background .3s ease;
}

.bt-hww__node::before,
.bt-hww__node::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
}

.bt-hww__node::before {
    inset: -8px;
    border: 2px solid var(--bt-accent);
    border-right-color: transparent;
    opacity: .42;
    transform: rotate(-38deg);
}

.bt-hww__node::after {
    inset: -15px;
    border: 1px solid color-mix(in srgb, var(--bt-accent) 48%, transparent);
    border-top-color: transparent;
    border-left-color: transparent;
    opacity: .25;
    transform: rotate(28deg);
}

.bt-hww__node:hover,
.bt-hww__node:focus-visible,
.bt-hww__item.is-active .bt-hww__node {
    background: linear-gradient(145deg, color-mix(in srgb, var(--bt-accent) 90%, white), var(--bt-accent));
    color: #fff;
    opacity: 1;
    box-shadow: 0 20px 44px color-mix(in srgb, var(--bt-accent) 28%, transparent);
    transform: scale(1.06);
}

.bt-hww__node:hover::before,
.bt-hww__node:focus-visible::before,
.bt-hww__item.is-active .bt-hww__node::before {
    opacity: .9;
    transform: rotate(32deg) scale(1.03);
}

.bt-hww__node:hover::after,
.bt-hww__node:focus-visible::after,
.bt-hww__item.is-active .bt-hww__node::after {
    opacity: .55;
    transform: rotate(-24deg) scale(1.04);
}

.bt-hww__number {
    position: absolute;
    top: 25%;
    left: 50%;
    color: currentColor;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    opacity: .68;
    transform: translateX(-50%);
}

.bt-hww__node-title {
    display: block;
    padding-top: 15px;
    font-size: clamp(15px, 1.25vw, 19px);
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-align: center;
}

.bt-hww__panel {
    position: absolute;
    bottom: calc(100% + 28px);
    left: 50%;
    width: clamp(300px, 31vw, 440px);
    padding: 24px 27px 25px 31px;
    border: 1px solid color-mix(in srgb, var(--bt-accent) 23%, white);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 58px rgba(29, 29, 27, .14);
    transform: translateX(calc(-50% + var(--bt-panel-shift))) translateY(0);
}

.bt-hww__panel::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--bt-accent);
    content: "";
}

.bt-hww__panel::after {
    position: absolute;
    bottom: -9px;
    left: calc(50% - var(--bt-panel-shift));
    width: 18px;
    height: 18px;
    border-right: 1px solid color-mix(in srgb, var(--bt-accent) 23%, white);
    border-bottom: 1px solid color-mix(in srgb, var(--bt-accent) 23%, white);
    background: #fff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.bt-hww__panel[hidden] {
    display: none;
}

.bt-hww__panel-label {
    display: block;
    margin-bottom: 7px;
    color: var(--bt-accent);
    font-size: 12px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bt-hww__panel p {
    margin: 0;
    color: var(--bt-ink);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.55;
}

.bt-hww__hint {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    color: #6d7d91;
    font-size: 13px;
    letter-spacing: .02em;
    text-align: center;
}

@media (max-width: 1080px) {
    .bt-hww__item {
        width: 116px;
        height: 116px;
    }

    .bt-hww__panel {
        width: 340px;
    }
}

@media (max-width: 767px) {
    .bt-hww {
        width: calc(100% - 28px);
        padding: 48px 18px 36px;
        border-radius: min(var(--bt-radius, 30px), 24px);
    }

    .bt-hww__header { text-align: left; }

    .bt-hww__title {
        font-size: clamp(36px, 11vw, 48px);
    }

    .bt-hww__stage {
        height: auto;
        margin-top: 35px;
    }

    .bt-hww__path,
    .bt-hww__hint {
        display: none;
    }

    .bt-hww__journey {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .bt-hww__journey::before {
        position: absolute;
        top: 46px;
        bottom: 46px;
        left: 43px;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(var(--bt-blue), var(--bt-coral), var(--bt-orange), var(--bt-blue));
        content: "";
        opacity: .3;
    }

    .bt-hww__item,
    .bt-hww__item.is-active {
        position: relative;
        top: auto;
        left: auto;
        z-index: 1;
        display: grid;
        width: 100%;
        height: auto;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: start;
        transform: none;
    }

    .bt-hww__node {
        z-index: 2;
        width: 86px;
        height: 86px;
        min-height: 86px;
        padding: 10px;
        opacity: .68;
        transform: scale(.9);
    }

    .bt-hww__node:hover,
    .bt-hww__node:focus-visible,
    .bt-hww__item.is-active .bt-hww__node {
        transform: scale(1);
    }

    .bt-hww__number {
        top: 19px;
        font-size: 8px;
    }

    .bt-hww__node-title {
        padding-top: 11px;
        font-size: 13px;
    }

    .bt-hww__panel {
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        min-height: 86px;
        margin: 0 0 0 14px;
        padding: 17px 18px 18px 22px;
        border-radius: 17px;
        transform: none;
    }

    .bt-hww__panel::after {
        display: none;
    }

    .bt-hww__panel-label {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .bt-hww__panel p {
        font-size: 15px;
        line-height: 1.48;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-hww__node,
    .bt-hww__node::before,
    .bt-hww__node::after {
        transition: none;
    }
}
