.headerNav {
    align-items: center;
    column-gap: 12px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.headerNav__list {
    align-items: center;
    display: flex;
}

.headerNav__list li {
    font-size: 14px;
    font-weight: 700;
}

.headerNav__list li a {
    color: var(--c-link);
    letter-spacing: 0.1em;
    padding: 8px 12px;
}

.headerNav__contact {
    width: min(100%, 140px);
}

@media (any-hover: hover) {
    .headerNav__list li a:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 1360px) {
    .headerNav {
        display: none;
    }
}

.menuMobileWrapper {
    display: none;
    position: relative;
    z-index: var(--zIndex-mobileMenu);
}

@media screen and (max-width: 1360px) {
    .menuMobileWrapper {
        display: flex;
    }
}

.menuMobileButton {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    height: 18px;
    justify-content: center;
    padding: 0;
    position: relative;
    right: 0;
    width: 28px;
}

@media screen and (max-width: 1360px) {
    .menuMobileButton {
        display: inline-flex;
        justify-content: flex-end;
    }
}

.menuMobileButton__bar {
    background: #282e31;
    content: "";
    display: block;
    height: 2px;
    width: 100%;
}

.menuMobileButton__bar::before,
.menuMobileButton__bar::after {
    background: #282e31;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    transition: 0.3s ease;
    width: 100%;
}

.menuMobileButton__bar::before {
    top: 0;
}

.menuMobileButton__bar::after {
    bottom: 0;
}

.menuMobileButton.is-active .menuMobileButton__bar {
    height: 0;
}

.menuMobileButton.is-active .menuMobileButton__bar::before {
    opacity: 1;
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
    transition: 0.3s ease;
}

.menuMobileButton.is-active .menuMobileButton__bar::after {
    opacity: 1;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    transition: 0.3s ease;
}

/* Mobile menu */
.menuMobile {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.95);
    height: 100vh; /* fallback */
    height: 100dvh;
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
    width: 100%;
}

.menuMobile.is-active {
    opacity: 1;
    visibility: visible;
}

.menuMobile__list {
    align-content: center;
    display: grid;
    height: 100%;
    justify-items: center;
    margin-inline: auto;
    max-width: 360px;
    padding: 70px 16px 0 16px;
}

.menuMobile__item {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menuMobile__link {
    color: var(--c-link);
    display: flex;
    flex-direction: column;
    font-size: 18px;
    letter-spacing: 0.1em;
    padding: 18px 46px;
    row-gap: 4px;
}
