.th-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: background-color var(--th-transition), transform var(--th-transition);
    background-color: var(--th-bg-white);
}

.th-site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--th-shadow-sm);
}

.th-top-bar {
    transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity var(--th-transition);
    height: 40px;
    background-color: var(--th-bg-light);
    border-bottom: 1px solid var(--th-border);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.th-site-header.hide-top .th-top-bar {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

.th-top-bar .th-container,
.th-main-nav .th-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.th-top-bar__phone {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.th-top-bar__right {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.th-main-nav {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--th-border-soft);
    background: transparent;
}

.th-logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--th-text);
    display: flex;
    align-items: center;
    z-index: 100001;
    transition: none;
}

.th-logo:hover,
.th-logo:focus,
.th-logo:active {
    color: var(--th-text);
}

.th-logo-text,
.th-logo-text:hover,
.th-logo-text:focus,
.th-logo-text:active {
    color: var(--th-text);
}

.th-logo-text span,
.th-logo-text:hover span,
.th-logo-text:focus span,
.th-logo-text:active span {
    color: var(--th-orange);
}

.th-logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
}

.th-logo-text span {
    color: var(--th-orange);
}

.th-nav-items .th-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.th-nav-items .menu-item > a {
    position: relative;
    font-weight: 600;
    color: var(--th-text);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.th-nav-items .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--th-orange), var(--th-yellow));
    transition: width 0.3s;
}

.th-nav-items .menu-item > a:hover::after {
    width: 100%;
}

.th-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    z-index: 100001;
    position: relative;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.th-mobile-toggle:hover,
.th-mobile-toggle:focus,
.th-mobile-toggle:active {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.th-mobile-toggle::before,
.th-mobile-toggle::after {
    display: none !important;
    content: none !important;
}

.th-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--th-orange);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.th-mobile-toggle.is-active span {
    background-color: var(--th-orange);
}

.th-mobile-toggle.is-active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.th-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.th-mobile-toggle.is-active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.th-mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
}

.th-mobile-menu.is-open {
    transform: translateY(0);
    visibility: visible;
}

.th-mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.th-mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.th-mobile-menu__list a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--th-text);
    text-decoration: none;
    transition: color var(--th-transition);
}

.th-mobile-menu__list a:hover {
    color: var(--th-orange);
}

.th-header-spacer {
    height: 120px;
    display: block;
    width: 100%;
}

@media (max-width: 1024px) {
    .th-nav-items,
    .th-action-btn {
        display: none !important;
    }

    .th-mobile-toggle {
        display: block;
    }

    .th-header-spacer {
        height: 100px;
    }

    .th-top-bar__right {
        display: none;
    }
}

.th-top-bar__phone {
    position: relative;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.th-top-bar__phone:hover,
.th-top-bar__phone:focus,
.th-top-bar__phone:active {
    color: #666;
}

.th-top-bar__phone::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--th-orange), var(--th-yellow));
    transition: width 0.3s ease;
}

.th-top-bar__phone:hover::after,
.th-top-bar__phone:focus::after {
    width: 100%;
}

