/* ============================================================
   Section Nos Implantations
   ============================================================ */

.wm-impl {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background-color: #080c16;
    font-family: var(--primary-font, 'Inter', sans-serif);
}

.wm-impl__bg-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    pointer-events: none;
}

.wm-impl__bg-line {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
}

.wm-impl__inner {
    position: relative;
    z-index: 1;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wm-impl__eyebrow {
    margin: 0 0 0.75rem;
    color: #4895ff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 600;
}

.wm-impl__title {
    margin: 0 0 3rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 200;
}

.wm-impl__title-hl {
    font-weight: 600;
    background: linear-gradient(90deg, #223c81, #4895ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wm-impl__map-wrap {
    position: relative;
    width: 100%;
    max-width: 88rem;
    margin: 0 auto;
}

.wm-impl__map-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.wm-impl__hotspots {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.wm-impl__hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.wm-impl__hotspot::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(35, 106, 240, 0.35);
    box-shadow: 0 0 0 6px rgba(35, 106, 240, 0.16);
    transform: translate(-50%, -50%);
}

.wm-impl__hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 0.8rem 1rem;
    border-radius: 0.35rem;
    background: #18a9e6;
    color: #080c16;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.1;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, 0.35rem);
    transform-origin: bottom center;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    pointer-events: none;
}

.wm-impl__hotspot-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #18a9e6;
    transform: translate(-50%, -50%) rotate(45deg);
}

.wm-impl__hotspot:hover .wm-impl__hotspot-tooltip,
.wm-impl__hotspot:focus-visible .wm-impl__hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.wm-impl__hotspot:focus-visible {
    outline: 2px solid #18a9e6;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .wm-impl {
        padding: 3rem 0 2.5rem;
    }

    .wm-impl__title {
        margin-bottom: 2rem;
    }

    .wm-impl__hotspot {
        width: 24px;
        height: 24px;
    }

    .wm-impl__hotspot::before {
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 4px rgba(35, 106, 240, 0.16);
    }

    .wm-impl__hotspot-tooltip {
        display: none;
    }
}
