.nav-v2,
.nav-v2 *,
.nav-v2 *::before,
.nav-v2 *::after,
.nav-v2__overlay {
    box-sizing: border-box;
}

.nav-v2 {
    position: sticky;
    z-index: 9000;
    top: 0;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
    box-shadow: 0 2px 20px rgba(36, 65, 124, .07);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    transition: box-shadow .3s;
}

.nav-v2.scrolled {
    box-shadow: 0 4px 28px rgba(36, 65, 124, .14);
}

.nav-v2__inner {
    display: flex;
    max-width: 1200px;
    height: 95px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-v2__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    text-decoration: none;
}

.nav-v2__logo img {
    display: block;
    width: auto;
    height: 72px;
}

.nav-v2__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-v2__item {
    position: relative;
}

#navItemTherapies { order: 1; }
#navItemProfessionals { order: 2; }
#navItemFind { order: 3; }
#navItemWellness { order: 4; }
#navItemContact { order: 5; }

.nav-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #3a4a6b;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-v2__link:hover,
.nav-v2__item--open > .nav-v2__link {
    background: #f0f4fb;
    color: #24417c;
}

.nav-v2__contact {
    padding: 12px 16px;
    background: #b512c8;
    box-shadow: 0 6px 16px rgba(181, 18, 200, .24);
    color: #fff;
}

.nav-v2__contact:hover {
    transform: translateY(-1px);
    background: #8f0da3;
    color: #fff;
}

.nav-v2__chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #8fa3c8;
    transition: transform .25s;
}

.nav-v2__item--open .nav-v2__chevron {
    transform: rotate(180deg);
    color: #24417c;
}

.nav-v2__dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    min-width: 240px;
    margin: 0;
    padding: 8px;
    transform: translateX(-50%) translateY(-4px);
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(36, 65, 124, .14);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    visibility: hidden;
}

.nav-v2__item--open .nav-v2__dropdown {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.nav-v2__drop-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #3a4a6b;
    line-height: 1.3;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.nav-v2__drop-item:hover {
    background: #f0f4fb;
    color: #24417c;
}

.nav-v2__drop-icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef2fb;
    color: #24417c;
    font-size: 16px;
}

.nav-v2__drop-item:hover .nav-v2__drop-icon {
    background: #dde7fa;
}

.nav-v2__drop-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-v2__drop-name {
    color: #24417c;
    font-size: 14px;
    font-weight: 700;
}

.nav-v2__drop-desc {
    color: #7185a2;
    font-size: 12px;
    font-weight: 400;
}

.nav-v2__close-btn,
.nav-v2__close-row {
    display: none;
}

.nav-v2__hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.nav-v2__bar {
    display: block;
    width: 100%;
    height: 2.5px;
    transform-origin: center;
    border-radius: 2px;
    background: #24417c;
    transition: transform .3s, opacity .3s;
}

.nav-v2--mobile-open .nav-v2__bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-v2--mobile-open .nav-v2__bar:nth-child(2) {
    opacity: 0;
}

.nav-v2--mobile-open .nav-v2__bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-v2__overlay {
    position: fixed;
    z-index: 8998;
    inset: 0;
    display: none;
    background: rgba(10, 20, 50, .45);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    transition: opacity .3s;
}

.nav-v2__overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .nav-v2__hamburger {
        display: flex;
    }

    .nav-v2__overlay {
        display: block;
    }

    .nav-v2__list {
        position: fixed;
        z-index: 8999;
        top: 0;
        right: max(-340px, -88vw);
        display: flex;
        width: min(340px, 88vw);
        height: 100vh;
        height: 100dvh;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
        padding: 80px 16px 32px;
        background: #fff;
        box-shadow: -4px 0 30px rgba(36, 65, 124, .15);
        transition: right .35s cubic-bezier(.4, 0, .2, 1);
    }

    .nav-v2--mobile-open .nav-v2__list {
        right: 0;
    }

    .nav-v2__close-row {
        position: absolute;
        top: 18px;
        right: 16px;
        display: block;
    }

    .nav-v2__close-btn {
        display: flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: #f0f4fb;
        color: #24417c;
        cursor: pointer;
        font-size: 20px;
    }

    .nav-v2__item {
        width: 100%;
    }

    .nav-v2__link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 12px;
        border-radius: 10px;
        font-size: 16px;
        text-align: left;
    }

    .nav-v2__contact {
        justify-content: center;
        margin-top: 12px;
        color: #fff;
    }

    .nav-v2__dropdown {
        position: static;
        max-height: 0;
        min-width: 0;
        margin-top: 4px;
        padding: 4px 4px 4px 8px;
        transform: none;
        overflow: hidden;
        border: 0;
        border-radius: 10px;
        background: #f7faff;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
        visibility: visible;
    }

    .nav-v2__item--open .nav-v2__dropdown {
        max-height: 500px;
        transform: none;
    }

    .nav-v2__drop-item {
        padding: 10px 12px;
    }
}

@media (max-width: 700px) {
    .nav-v2__inner {
        height: 76px;
        padding: 0 18px;
    }

    .nav-v2__logo img {
        height: 58px;
    }
}

@media (max-width: 380px) {
    .nav-v2__inner {
        gap: 12px;
    }

    .nav-v2__logo img {
        height: 48px;
    }
}
