.top-bar {
    background-color: var(--accent-dark);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.top-bar__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    color: var(--text-light);
    white-space: nowrap;
}

.top-bar__phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.top-bar__phone:hover {
    color: var(--accent-hover);
}

.nav {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background-color: rgba(15, 18, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: background-color var(--transition);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    white-space: nowrap;
}

.nav__menu {
    display: none;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--text-light);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition);
    transform-origin: center;
}

.nav__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(15, 18, 16, 0.98);
    z-index: calc(var(--z-header) + 10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__phone {
    margin-top: 1rem;
    font-size: var(--fs-lg);
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .nav__menu {
        display: flex;
    }

    .nav__hamburger {
        display: none;
    }
}
