@charset "UTF-8";
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.top-bar.fixed {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px var(--app-shadow);
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--app-primary);
    text-decoration: none;
}
.brand-wrap:hover {
    color: var(--app-primary);
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}
.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--app-primary);
    letter-spacing: -0.5px;
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    padding: 0.5rem;
    cursor: pointer;
}
.menu-icon {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--app-primary);
    position: relative;
    transition: all 0.3s ease;
}
.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--app-primary);
    transition: all 0.3s ease;
}
.menu-icon::before {
    top: -8px;
}
.menu-icon::after {
    top: 8px;
}
.menu-btn.active .menu-icon {
    background: transparent;
}
.menu-btn.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.menu-btn.active .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-menu li {
    margin: 0;
}
.main-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--app-text);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.main-menu a:hover,
.main-menu a.active {
    color: var(--app-primary);
    background: var(--app-primary-light);
}
.main-menu a i {
    font-size: 1.1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--app-primary-light);
    color: var(--app-primary);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    margin-left: 0.5rem;
}
.header-phone:hover {
    background: var(--app-primary);
    color: #fff;
    transform: scale(1.05);
    text-decoration: none;
}

@media (max-width: 991px) {
    .menu-btn {
        display: block;
    }
    .app-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding-top: 1rem;
        gap: 0.5rem;
    }
    .app-nav.open {
        display: flex;
    }
    .main-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }
    .main-menu a {
        padding: 0.75rem 1rem;
        width: 100%;
    }
    .header-phone {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .brand-name {
        font-size: 1rem;
    }
    .brand-logo {
        height: 32px;
    }
    .top-bar {
        padding: 0.75rem 0;
    }
}