:root {
  color-scheme: light;
  --ink: #15233a;
  --muted: #5c6b7e;
  --line: #dde4ec;
  --paper: #f1f5fa;
  --soft: #eaf0f7;
  /* 品牌主色取自 logo:深蓝字体 + 黄色斜杠点缀 */
  --gold: #0a4a9f;
  --gold-dark: #073a7d;
  --brand: #0a4a9f;
  --brand-dark: #073a7d;
  --accent: #f5c518;
  --accent-dark: #e0b000;
  --steel: #0a4a9f;
  --cream: #fbfcfd;
  --deep: #0a1f3d;
  --brand-tint: #e6eef8;
  --ok: #3d7158;
  --shadow: 0 22px 55px rgba(10, 35, 70, .14);
  --display-font: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff, var(--cream) 420px),
    var(--cream);
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 252, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 240px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 18px;
  border-radius: 6px;
  color: #2a3950;
  font-size: 18px;
  font-weight: 600;
  transition: color .18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .22s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: transparent;
  color: var(--brand);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #071834;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: hero-zoom 8s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

/* 左侧深色遮罩，保证白底大图上的文字可读 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 24, 52, .82) 0%, rgba(7, 24, 52, .55) 38%, rgba(7, 24, 52, .08) 64%, rgba(7, 24, 52, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
}

.hero-text {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.18;
  margin: 0 0 22px;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, .92);
  max-width: 560px;
  margin: 0 0 32px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 56px;
  align-items: center;
  padding: 88px 0;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 18px;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 80px);
  max-width: 880px;
}

h2 {
  font-size: clamp(32px, 3.4vw, 44px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 20px;
  color: rgba(255, 255, 255, .9);
  max-width: 700px;
}

.page-hero {
  padding: 76px 0 52px;
  background:
    linear-gradient(135deg, rgba(7, 24, 52, .96), rgba(10, 43, 92, .9)),
    linear-gradient(90deg, #071834, #0a4a9f);
  color: #fff;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 18px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(23, 28, 33, .16);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  box-shadow: 0 18px 36px rgba(23, 28, 33, .22);
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  box-shadow: none;
}

.button.light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  padding: 96px 0;
}

.section.alt {
  background:
    linear-gradient(180deg, var(--paper), #fff);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 产品线：顶部图标标签 + 实拍产品拼图 */
.line-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 96px);
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.line-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding: 4px 4px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.line-tab:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.line-tab.is-active {
  border-color: var(--brand);
  color: var(--brand);
}

.line-tab.is-active .line-tab-icon {
  background: #fff;
  border-color: rgba(10, 74, 159, .24);
  color: var(--brand);
  box-shadow: 0 14px 34px rgba(10, 74, 159, .16);
}

.line-tab.is-active .line-tab-text strong {
  color: var(--brand);
}

.line-tab.is-active .line-tab-text small {
  color: var(--muted);
}

.line-tab-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(10, 74, 159, .08);
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(10, 35, 70, .08);
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.line-tab-icon svg {
  width: 31px;
  height: 31px;
}

.line-tab-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.line-tab-text strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.line-tab-text small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  text-align: center;
}

.product-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 1.08fr 1.08fr 1.08fr;
  grid-template-rows: 245px 245px;
  gap: 12px;
  min-height: 502px;
  grid-auto-flow: dense;
}

.product-mosaic[hidden] {
  display: none;
}

.mosaic-card {
  position: relative;
  display: block;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eef3f8;
  box-shadow: 0 14px 34px rgba(10, 35, 70, .1);
  isolation: isolate;
}

.mosaic-feature,
.mosaic-tall {
  grid-row: span 2;
}

.mosaic-wide {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.mosaic-tall {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.mosaic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 24, 52, 0) 38%, rgba(7, 24, 52, .72) 100%),
    linear-gradient(90deg, rgba(7, 24, 52, .26), rgba(7, 24, 52, 0) 58%);
  opacity: .94;
  transition: opacity .25s ease;
}

.mosaic-feature::after {
  background:
    linear-gradient(90deg, rgba(7, 24, 52, .55), rgba(7, 24, 52, 0) 64%),
    linear-gradient(180deg, rgba(7, 24, 52, .02) 20%, rgba(7, 24, 52, .5) 100%);
}

.mosaic-card:hover img {
  filter: saturate(1.05);
  transform: scale(1.06);
}

.mosaic-card:hover::after {
  opacity: 1;
}

.mosaic-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.mosaic-copy.vertical {
  top: 28px;
  bottom: auto;
  right: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.mosaic-copy span {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.mosaic-copy h3 {
  color: #fff;
  font-size: 24px;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}

.mosaic-copy.vertical h3 {
  font-size: 31px;
  letter-spacing: .08em;
}

.mosaic-wide .mosaic-copy h3 {
  font-size: 28px;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 28, 33, .06);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

a.card:hover,
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 67, 74, .24);
  box-shadow: 0 24px 52px rgba(23, 28, 33, .13);
}

.card-body {
  padding: 26px;
}

.card p,
.muted {
  color: var(--muted);
}

.product-art {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .04)),
    linear-gradient(135deg, #e8edf0, #9aa6ae);
  overflow: hidden;
}

.product-art::before {
  content: "";
  width: 70%;
  max-width: 360px;
  aspect-ratio: 1.55;
  border: 8px solid rgba(255, 255, 255, .86);
  border-bottom-width: 18px;
  border-radius: 22px 22px 8px 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.42) 0 18%, transparent 18% 22%, rgba(255,255,255,.32) 22% 48%, transparent 48% 52%, rgba(255,255,255,.30) 52% 78%, transparent 78%),
    linear-gradient(180deg, rgba(69, 74, 78, .62), rgba(39, 43, 46, .38));
  box-shadow: 0 20px 38px rgba(19, 25, 30, .24);
  transition: transform .32s ease;
}

.product-art::after {
  content: "";
  position: absolute;
  inset: 18% -30% auto;
  height: 38px;
  background: rgba(255, 255, 255, .24);
  transform: rotate(-18deg);
}

a.card:hover .product-art::before,
.card:hover .product-art::before {
  transform: translateY(-5px) scale(1.03);
}

.product-art.heated::before {
  background:
    linear-gradient(90deg, rgba(255,235,190,.46) 0 30%, transparent 30% 34%, rgba(255,218,155,.42) 34% 66%, transparent 66% 70%, rgba(255,236,188,.38) 70%),
    linear-gradient(180deg, rgba(122, 63, 24, .56), rgba(96, 51, 26, .38));
}

.product-art.has-image {
  min-height: 230px;
  padding: 18px;
  background: #fff !important;
}

.product-art.has-image::before,
.product-art.has-image::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.product-art.has-image img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(23, 28, 33, .16));
}

.product-art.feature-image {
  min-height: 390px;
}

.product-art.feature-image img {
  height: 390px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-gallery .card {
  overflow: hidden;
}

.product-gallery img {
  width: 100%;
  height: 260px;
  padding: 18px;
  background: #fff;
  object-fit: contain;
}

.hero-showcase {
  display: grid;
  gap: 14px;
}

.showcase-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.hero .product-art,
.hero-cabinet {
  min-height: 420px;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .2);
}

.hero .product-art.has-image {
  min-height: 460px;
  padding: 24px;
  background: linear-gradient(160deg, #fff, #eef3f9) !important;
}

.hero .product-art.has-image img {
  height: 100%;
  max-height: 440px;
}

.showcase-chip {
  position: absolute;
  right: 34px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .18);
}

.showcase-chip.top {
  top: 36px;
}

.showcase-chip.bottom {
  bottom: 34px;
  left: 34px;
  right: auto;
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.showcase-strip span {
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  text-align: center;
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--accent);
}

.category-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}

.category-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.category-block.grid.two {
  align-items: center;
}

.side-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 14px 34px rgba(23, 28, 33, .07);
}

.side-nav::-webkit-scrollbar {
  width: 8px;
}

.side-nav::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.side-nav::-webkit-scrollbar-thumb:hover {
  background: #cdd2d5;
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  transition: background .18s ease, color .18s ease;
}

.side-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

/* 展开式分类:用原生 details/summary,无 JS 时全部链接仍可被爬虫读取 */
.side-nav-section {
  border-radius: 8px;
}

.side-nav-section + .side-nav-section {
  margin-top: 4px;
}

.side-nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .18s ease;
}

.side-nav-label::-webkit-details-marker {
  display: none;
}

.side-nav-label:hover {
  background: var(--soft);
}

.side-nav-label::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform .22s ease;
  flex: none;
}

.side-nav-section[open] > .side-nav-label::after {
  transform: rotate(45deg);
}

.side-nav-section[open] > .side-nav-label {
  color: var(--gold);
}

.side-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 10px;
}

.side-nav-sub a {
  padding: 9px 12px 9px 22px;
  font-size: 13px;
}

.side-nav-sub a[aria-current="page"] {
  background: var(--soft);
  color: var(--gold);
  font-weight: 700;
}

.product-list-card .card-body {
  display: grid;
  gap: 10px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.product-specs div {
  min-width: 0;
}

.product-specs dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-specs dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.products-page main .grid.three .card .card-body::after {
  content: "查看系列  →";
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 4px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  width: 28%;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.feature-card .card-body,
.shop-card .card-body {
  min-height: 190px;
}

.feature-mark,
.shop-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.shop-card {
  position: relative;
}

.shop-card::after,
a.card[href*=".html"]::after {
  content: "进入";
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s ease;
}

.shop-card:hover::after,
a.card[href*=".html"]:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fffae8;
  padding: 16px 18px;
  color: #5a4a16;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(23, 28, 33, .05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: linear-gradient(180deg, #fff, #f8fafb);
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .74);
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 26px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.footer-record {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 34px;
  padding-top: 18px;
  text-align: center;
}

.footer-record a {
  display: inline-block;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  margin: 0;
}

.footer-record a:hover {
  color: #fff;
}

.placeholder-note {
  font-size: 13px;
  color: var(--muted);
}

.certificate-image {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.certificate-image.full {
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(16, 14, 12, .985);
}

body.lightbox-open .site-header,
body.lightbox-open main,
body.lightbox-open .site-footer {
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}

.lightbox-nav.prev {
  left: max(16px, env(safe-area-inset-left));
}

.lightbox-nav.next {
  right: max(16px, env(safe-area-inset-right));
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, .26);
  border-color: rgba(255, 255, 255, .55);
  outline: none;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
}

.lightbox-counter[hidden] {
  display: none;
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: calc(94vw * var(--zoom, 1));
  max-height: calc((100vh - 48px) * var(--zoom, 1));
  object-fit: contain;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.is-zoomed .lightbox-image {
  cursor: grab;
}

.lightbox.is-zoomed .lightbox-stage {
  place-items: start center;
}

a[data-lightbox] {
  cursor: zoom-in;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .product-gallery,
  .category-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-text {
    max-width: 100%;
  }

  .line-tabs {
    gap: 18px;
    justify-content: flex-start;
  }

  .line-tab {
    min-width: 132px;
  }

  .product-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 220px;
    min-height: 0;
  }

  .mosaic-feature,
  .mosaic-tall,
  .mosaic-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero-showcase {
    gap: 10px;
  }

  .showcase-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .side-nav {
    position: static;
  }

  .products-page .side-nav {
    max-height: none;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .products-page .side-nav-section {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(10, 35, 70, .06);
  }

  .products-page .side-nav-section + .side-nav-section {
    margin-top: 12px;
  }

  .products-page .side-nav-label {
    padding: 12px 14px 8px;
    pointer-events: none;
  }

  .products-page .side-nav-label::after {
    display: none;
  }

  .products-page .side-nav-sub {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 12px 12px;
    scrollbar-width: none;
  }

  .products-page .side-nav-sub::-webkit-scrollbar {
    display: none;
  }

  .products-page .side-nav-sub a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    white-space: nowrap;
  }

  .products-page .side-nav-sub a:hover {
    border-color: rgba(10, 74, 159, .28);
    background: var(--brand-tint);
    color: var(--brand);
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand-logo {
    width: 138px;
    max-height: 38px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .page-hero {
    padding: 42px 0 32px;
  }

  .hero {
    min-height: 88vh;
  }

  /* 窄屏改为整体加深遮罩，竖向构图文字更清晰 */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 24, 52, .5) 0%, rgba(7, 24, 52, .68) 100%);
  }

  .hero-media img {
    object-position: center;
  }

  .hero-grid {
    padding: 36px 0 24px;
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .showcase-panel {
    padding: 10px;
  }

  .showcase-chip {
    right: 18px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .showcase-chip.top {
    top: 20px;
  }

  .showcase-chip.bottom {
    left: 18px;
    bottom: 18px;
  }

  .line-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .line-tab {
    min-width: 0;
    padding-bottom: 10px;
  }

  .line-tab-icon {
    width: 48px;
    height: 48px;
  }

  .line-tab-icon svg {
    width: 25px;
    height: 25px;
  }

  .line-tab-icon img {
    width: 30px;
    height: 30px;
  }

  .line-tab-text strong {
    font-size: 17px;
  }

  .product-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
    gap: 10px;
  }

  .mosaic-feature,
  .mosaic-tall,
  .mosaic-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-feature {
    min-height: 320px;
  }

  .mosaic-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .mosaic-copy.vertical {
    top: 22px;
    left: 18px;
  }

  .mosaic-copy h3,
  .mosaic-wide .mosaic-copy h3 {
    font-size: 22px;
  }

  .mosaic-copy.vertical h3 {
    font-size: 27px;
  }

  .product-art {
    min-height: 190px;
  }

  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  td {
    padding-top: 4px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .lightbox-stage {
    padding: max(16px, env(safe-area-inset-top)) 10px max(16px, env(safe-area-inset-bottom));
  }

  .lightbox-image {
    max-width: calc(96vw * var(--zoom, 1));
  }
}
