/* 主导航与正文共享 1440px 容器；保留原站高度与 Logo。 */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: white; transition: background .2s; }
.site-header:hover, .site-header.is-scrolled { background: #080a0e; }
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: flex; align-items: center; flex-shrink: 0; min-height: 48px; }
.brand img { width: 162px; height: 36px; }
.desktop-nav { display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 40px); height: 100%; }
.desktop-nav a { display: flex; align-items: center; position: relative; white-space: nowrap; font-size: var(--text-small); }
.desktop-nav a::after { content: ''; position: absolute; inset: auto 0 24px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; color: white; }
#mobile-menu { position: fixed; inset: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100dvh; background: #101214; color: white; border: 0; padding: 0 var(--gutter) 32px; }
#mobile-menu::backdrop { background: rgb(0 0 0 / 50%); }
.mobile-menu-head { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-head .icon-button { color: white; border: 0; }
#mobile-menu nav { display: flex; flex-direction: column; margin-top: 48px; }
#mobile-menu nav a { padding-block: 24px; font-size: var(--text-heading); border-bottom: 1px solid #343940; }
#mobile-menu nav a[aria-current] { color: #9bb4ff; }
.mobile-menu-contact { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; min-height: 48px; color: #a8afbc; }
.mobile-menu-preferences { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 24px; }
.mobile-menu-preferences .language-link { display: inline-flex; align-items: center; min-height: 48px; }
.mobile-menu-preferences .icon-button { color: white; }
.secondary-nav { position: relative; z-index: 2; margin-top: -56px; background: var(--surface); box-shadow: 0 8px 20px var(--shadow); }
.product-tabs-wrap { max-width: 900px; }
.product-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-tabs a { min-height: 112px; display: flex; justify-content: center; align-items: center; position: relative; font-size: var(--text-heading); white-space: nowrap; }
/* 品牌文字仍连写，只有二级导航中用半空格左右的视觉间距区分两个词。 */
.product-word { margin-inline-start: .125em; }
.product-tabs a::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand); transform: scaleX(0); }
.product-tabs a[aria-current="page"]::after, .product-tabs a:hover::after { transform: scaleX(1); }
.product-tabs a[aria-current="page"] { color: var(--link); background: var(--subtle); }
.case-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 900px; }
.case-filters button { position: relative; min-height: 112px; padding: 12px 8px; border: 0; background: transparent; overflow-wrap: anywhere; }
.case-filters button[aria-pressed="true"] { color: var(--link); background: var(--subtle); }
.case-filters button::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand); transform: scaleX(0); }
.case-filters button[aria-pressed="true"]::after, .case-filters button:hover::after { transform: scaleX(1); }
.slider-controls { display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding-top: 24px; }
.slide-prev .icon { transform: rotate(180deg); }
@media (max-width: 1023px) {
    html[lang="en"] .case-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1150px) and (min-width: 1024px) {
    .desktop-nav { gap: 24px; }
}
@media (max-width: 559px) {
    html[lang="en"] .case-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .header-inner { height: 72px; }
    .desktop-nav { display: none; }
    .menu-toggle { display: inline-grid; }
    body:not(.js-ready) .desktop-nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; background: #080a0e; height: auto; padding: 8px 20px; flex-wrap: wrap; gap: 0 24px; font-size: var(--text-small); }
    body:not(.js-ready) .desktop-nav a { min-height: 44px; }
}
@media (max-width: 767px) {
    .secondary-nav { margin-top: -40px; }
    .product-tabs a { font-size: var(--text-body); min-height: 80px; }
    .case-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case-filters button { min-height: 64px; font-size: var(--text-small); }
}
